/* Trajectory of Growth, alt6 "Day into Night".
   One gallery visit from daylight to evening: the wall colour, ink and glow are driven by scroll
   (JS sets --bg, --ink, --mute, --night, --dot on <html>). Montserrat throughout. Mobile first. */

:root {
  --wall: #F6F4EF;
  --bg: #F6F4EF;
  --ink: #141311;
  --mute: #5C574F;
  --line: rgba(20, 19, 17, .16);
  --night: 0;
  --dot: #141311;
  --barc: #141311;
  --glow: 255, 255, 255;
  --f: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --pad: 16px;
  --gy: clamp(104px, 16vh, 176px);   /* the one vertical rhythm between blocks */
  --s2: clamp(40px, 7vh, 72px);      /* inside a block */
  --ease: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 var(--f);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
main, .foot { position: relative; z-index: 1; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, blockquote, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--ink); color: var(--bg); }

/* ---------- the gallery wall: colour from JS, soft light falloff, no grain ---------- */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg); }
.sky i { position: absolute; inset: 0; display: block; }
/* ceiling lights washing down the wall: invisible by day, warm pools by night */
.sky-wash {
  opacity: var(--night);
  background:
    radial-gradient(ellipse 46% 38% at 22% -6%, rgba(var(--glow), .13), rgba(var(--glow), 0) 72%),
    radial-gradient(ellipse 46% 38% at 78% -6%, rgba(var(--glow), .11), rgba(var(--glow), 0) 72%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(var(--glow), .05), rgba(var(--glow), 0) 80%);
}
/* daylight: a soft skylight falloff from the top */
.sky-floor {
  opacity: calc(1 - var(--night));
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 40%, rgba(60,40,20,0) 70%, rgba(60,40,20,.06));
}

/* ---------- split words / chars ---------- */
.w { display: inline-block; white-space: nowrap; }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .04em .14em; margin: -.1em -.04em -.14em; }
.wi, .c { display: inline-block; will-change: transform; }

/* ---------- glow: words and points light up as you reach them ---------- */
.gw .wi { text-shadow: 0 0 calc(var(--night) * 28px) rgba(var(--glow), calc(var(--night) * .55)); }
.lg { opacity: .16; }
.lg.is-lit { animation: lampon 1.3s steps(1, end) forwards, lampfade 1.3s ease-out forwards; }
.lg.is-lit { text-shadow: 0 0 calc(var(--night) * 20px) rgba(var(--glow), calc(var(--night) * .45)); }
@keyframes lampon { 0% { opacity: .16; } 12% { opacity: .85; } 20% { opacity: .3; } 30% { opacity: 1; } 38% { opacity: .55; } 48%, 100% { opacity: 1; } }
@keyframes lampfade { to { opacity: 1; } }
.dots li { position: relative; padding-left: 26px; }
.dots li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 calc(var(--night) * 14px) calc(var(--night) * 1px) rgba(var(--glow), calc(var(--night) * .95));
}

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) var(--pad) 14px;
  color: var(--barc); pointer-events: none;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), color .3s;
}
.bar > * { pointer-events: auto; }
.bar.is-hidden { transform: translateY(-110%); }
.logo {
  display: block; width: 128px; height: 13px; background: currentColor;
  -webkit-mask: url("assets/logo.png") left center / contain no-repeat;
  mask: url("assets/logo.png") left center / contain no-repeat;
}
.bar-r { display: flex; align-items: center; gap: 22px; }
.bar-cta { display: none; text-decoration: none; font-weight: 600; font-size: 15px; }
.lang { display: flex; gap: 4px; }
.lang button { padding: 8px 6px; font-size: 14px; font-weight: 600; opacity: .5; transition: opacity .2s; }
.lang button.is-active, .lang button:hover { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 16px 30px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font: 600 17px/1.1 var(--f); text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.btn:hover { transform: translateY(-2px); }
.btn-big { min-height: 64px; padding: 20px 40px; font-size: 18px;
  box-shadow: 0 0 calc(var(--night) * 50px) rgba(var(--glow), calc(var(--night) * .35)); }

/* ---------- HERO (alt1 mechanism) ---------- */
.hero { position: relative; height: 320vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; background: var(--wall); }
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #2a2723 url("assets/hero2_poster.jpg") center / cover no-repeat; }
.hero-dim { position: absolute; inset: 0; background: #0f0e0c; opacity: .5; }
.hero-mask { position: absolute; inset: 0; z-index: 2; background: var(--wall); mix-blend-mode: screen; display: flex; align-items: center; justify-content: center; }
.mask-title { font: 900 15vw/.86 var(--f); text-transform: uppercase; letter-spacing: -.04em; color: #000; text-align: center; transform-origin: 50% 50%; will-change: transform; margin-top: -2vh; }
.mt-l { display: table; margin: 0 auto; white-space: nowrap; }
.mt-dt { display: none; }
.hero-ui {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(72px + env(safe-area-inset-top)) var(--pad) calc(24px + env(safe-area-inset-bottom));
  pointer-events: none; color: #141311;
}
.hero-ui a { pointer-events: auto; }
.hero-ui .btn { background: #141311; color: #F6F4EF; }
.hero-top { font: 500 17px/1.35 var(--f); max-width: 15em; }
.hero-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero-mod { font: 400 16px/1.45 var(--f); color: #5C574F; }
.hero-mod span:first-child { color: #141311; font-weight: 700; }
.hero-over { position: absolute; inset: auto 0 0 0; z-index: 4; padding: 0 var(--pad) calc(64px + env(safe-area-inset-bottom)); color: #fff; pointer-events: none; }
.hero-over p { font: 700 clamp(30px, 8.8vw, 96px)/1.06 var(--f); letter-spacing: -.03em; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.ho { display: block; opacity: 0; }
.ho:nth-child(2) { font-weight: 300; }

/* ---------- PAIN ---------- */
.pain { position: relative; height: 330vh; }
.pain-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.pain-g { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: .35em; padding: 0 var(--pad); }
.pl { font: 700 clamp(30px, 9vw, 124px)/1.06 var(--f); letter-spacing: -.035em; }
.pl:nth-child(2) { text-align: right; }
.pain-a .pl { color: var(--mute); font-weight: 400; }
.pain-b .pl { font-weight: 800; }
.pain-b { visibility: hidden; }

/* ---------- blocks: one rhythm ---------- */
.blk { position: relative; padding-top: var(--gy); }
.col { width: calc(100% - 2 * var(--pad)); max-width: 1180px; margin-left: auto; margin-right: auto; }
.blk > * + * { margin-top: var(--s2); }
.q { font: 400 clamp(25px, 6.6vw, 64px)/1.22 var(--f); letter-spacing: -.025em; max-width: 19em; }
.q-big { font-weight: 500; font-size: clamp(28px, 7.6vw, 84px); line-height: 1.14; max-width: 15em; }
.by { margin-top: 26px; font: 500 17px var(--f); color: var(--mute); }
.lead-line { margin-top: var(--s2); font: 300 clamp(22px, 5.6vw, 46px)/1.2 var(--f); letter-spacing: -.02em; }
.lead-big { font: 400 clamp(26px, 6.8vw, 70px)/1.16 var(--f); letter-spacing: -.03em; max-width: 16em; }
.h-sec { font: 800 clamp(40px, 11.6vw, 150px)/.98 var(--f); letter-spacing: -.045em; }
.sub { margin-top: 16px; font: 500 18px/1.4 var(--f); color: var(--mute); }
.ih { display: block; }
.ih2 { font-weight: 300; }

/* ---------- films: enlarge onto the screen on scroll ---------- */
.film-clip { position: relative; width: 100%; will-change: clip-path; }
.gvid {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer;
  background: #1a1612 center / cover no-repeat;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.45), 0 0 calc(var(--night) * 90px) rgba(var(--glow), calc(var(--night) * .14));
}
.gvid video { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; background: transparent; }
.gvid.has-frame video { opacity: 1; }
.gvid-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; transition: opacity .3s, transform .3s; }
.gvid-play svg { width: 84px; height: 84px; fill: rgba(255,255,255,.1); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 2px 10px rgba(0,0,0,.4)); }
.gvid-play:hover { transform: scale(1.08); }
.gvid.is-playing .gvid-play { opacity: 0; pointer-events: none; }
.gvid-sound { position: absolute; left: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.35); }
.gvid-sound svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gvid-sound[hidden] { display: none; }
.cap { margin-top: 20px; font: 400 15px/1.45 var(--f); color: var(--mute); }
.cap b { display: block; color: var(--ink); font-weight: 700; font-size: 16px; }
.cap span { display: block; color: var(--ink); }
.cap i { display: block; font-style: normal; }
.gq { font: 400 clamp(20px, 5.2vw, 30px)/1.42 var(--f); letter-spacing: -.01em; max-width: 26em; }
.blk > .film + .col { margin-top: 28px; }

/* ---------- PATH: the halls at dusk (ported from the main site) ---------- */
.seq-fade { position: relative; z-index: 1; height: 34vh; pointer-events: none; }
.seq { position: relative; height: 430vh; background: #120e0f; margin-top: 0; }
.seq-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #120e0f; }
.seq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.seq-stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; pointer-events: none; background: linear-gradient(rgba(14,10,10,0), rgba(14,10,10,.55)); }
.hud-scrub { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: calc(84px + env(safe-area-inset-bottom)); }
.hs-track { position: relative; height: 1px; background: rgba(244,239,230,.3); }
.hs-fill { position: absolute; inset: 0; background: #F4EFE6; transform-origin: 0 50%; transform: scaleX(0); }
.hs-steps { position: relative; height: 40px; }
.hs-steps li { position: absolute; left: var(--x, 0); top: 0; padding-top: 16px; transform: translateX(-50%); white-space: nowrap;
  font: 500 14px/1.2 var(--f); color: #F4EFE6; opacity: 0; transition: opacity .4s; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hs-steps li::before { content: ""; position: absolute; left: 50%; top: -4.5px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
  background: #1c1517; border: 1px solid rgba(244,239,230,.6); transition: background .4s, border-color .4s, box-shadow .4s; }
.hs-steps li:first-child { transform: none; }
.hs-steps li:first-child::before { left: 0; margin-left: 0; }
.hs-steps li:last-child { transform: translateX(-100%); }
.hs-steps li:last-child::before { left: auto; right: 0; margin-left: 0; }
.hs-steps li.is-past::before { background: #F4EFE6; border-color: #F4EFE6; }
.hs-steps li.is-on { opacity: 1; font-weight: 700; }
.hs-steps li.is-on::before { background: #E5322D; border-color: #E5322D; box-shadow: 0 0 0 5px rgba(229,50,45,.25); animation: hsPulse 1.6s ease-out infinite; }
@keyframes hsPulse { 0% { box-shadow: 0 0 0 0 rgba(229,50,45,.55); } 100% { box-shadow: 0 0 0 10px rgba(229,50,45,0); } }

/* ---------- VALENTINA ---------- */
.author-grid { display: grid; gap: var(--s2); }
.portrait { overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), 0 0 calc(var(--night) * 80px) rgba(var(--glow), calc(var(--night) * .12)); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.facts b { display: block; font: 800 clamp(28px, 8vw, 52px)/1 var(--f); letter-spacing: -.04em; white-space: nowrap; }
.facts span { display: block; margin-top: 8px; font: 400 15px/1.4 var(--f); color: var(--mute); }
.author-txt .dots { margin-top: 40px; font: 400 17px/1.45 var(--f); }
.dots li + li { margin-top: 14px; }
.dots a { font-weight: 700; text-underline-offset: 4px; }

/* ---------- INSIDE ---------- */
.chaps { display: grid; gap: var(--gy); }
.chap-n { font: 500 16px var(--f); color: var(--mute); }
.chap-w { margin-left: .9em; }
.chap-t { margin-top: 10px; font: 800 clamp(34px, 9.6vw, 104px)/1 var(--f); letter-spacing: -.04em; }
.chap .dots { margin-top: 32px; font: 400 clamp(18px, 4.8vw, 22px)/1.42 var(--f); max-width: 30em; }
.chap .dots li + li { margin-top: 18px; }

/* ---------- WHO ---------- */
.who-sub { margin-top: var(--s2); font: 800 clamp(28px, 8vw, 92px)/1.04 var(--f); letter-spacing: -.04em; max-width: 12em; }
.who-m1 { margin-top: var(--s2); font: 400 17px/1.5 var(--f); color: var(--mute); max-width: 32em; }
.who-m1 a { color: var(--ink); font-weight: 700; text-underline-offset: 4px; }

/* ---------- PRICING ---------- */
.early { margin-top: var(--s2); }
.early-t { font: 700 18px/1.4 var(--f); }
.early-d { font-weight: 400; color: var(--mute); margin-left: .3em; }
.count { margin-top: 20px; }
.count-l { font: 500 15px var(--f); color: var(--mute); }
.count-n { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.count-n span { display: flex; flex-direction: column; }
.count-n b { font: 300 clamp(40px, 11vw, 96px)/1 var(--f); font-variant-numeric: tabular-nums; letter-spacing: -.03em;
  text-shadow: 0 0 calc(var(--night) * 30px) rgba(var(--glow), calc(var(--night) * .5)); }
.count-n i { font: 400 14px/1.6 var(--f); font-style: normal; color: var(--mute); }
.count.is-over .count-n { display: none; }

/* the card: black, white and greys only */
.card-wrap { position: relative; padding: 0 var(--pad); }
.card-wrap::before { /* the spotlight on the wall behind the card */
  content: ""; position: absolute; left: 50%; top: -18%; width: 150%; height: 90%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 40% 50% at 50% 30%, rgba(255,244,228,.12), rgba(255,244,228,0) 70%);
}
.card {
  position: relative; max-width: 1180px; margin: 0 auto;
  --fg: #0B0B0B; --bgc: #F5F4F2; --k: #0B0B0B; --kc: #F5F4F2; --hi: #FFFFFF; --mut: #5E5E5E; --line: rgba(11,11,11,.16);
  background: var(--bgc); color: var(--fg);
  padding: 14px 14px 22px;
  box-shadow: 0 2px 4px rgba(0,0,0,.3), 0 40px 100px -30px rgba(0,0,0,.8), 0 0 120px rgba(255,240,220,.06);
}
.card ::selection { background: #0B0B0B; color: #fff; }
.ptable { font-family: var(--f); }
.pt-row { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 0; }
.pt-f { grid-column: 1 / 5; display: flex; align-items: center; gap: 14px; padding: 18px 16px 18px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.3; }
.pt-c { display: flex; align-items: center; padding: 18px clamp(16px, 2vw, 32px); border-top: 1px solid var(--line); }
.pt-p1 { grid-column: 5 / 9; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.pt-p2 { grid-column: 9 / 13; background: var(--k); color: var(--kc); border-top-color: rgba(245,244,242,.14); }
.pt-head .pt-f, .pt-head .pt-c { border-top: 1px solid var(--fg); }
.pt-head .pt-p2 { border-top-color: var(--k); }
.pt-head .pt-c { position: relative; flex-direction: column; align-items: flex-start; padding-top: clamp(24px, 3vw, 40px); padding-bottom: 28px; }
.pt-name { font: 800 clamp(22px, 2.3vw, 34px)/1 var(--f); letter-spacing: -.035em; overflow-wrap: anywhere; hyphens: manual; }
.pt-formula { margin-top: 12px; font-size: 15px; line-height: 1.35; color: var(--mut); }
.pt-p2 .pt-formula { color: rgba(245,244,242,.75); }
.pt-badge { position: absolute; top: clamp(20px, 2.6vw, 36px); right: clamp(16px, 2vw, 32px); padding: 5px 10px; border: 1px solid rgba(255,255,255,.45); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.pt-badge::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.pt-price .pt-f { color: var(--mut); }
.price { font: 700 clamp(24px, 2.3vw, 36px)/1 var(--f); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-c .price:not(.price--early) { text-decoration: line-through; text-decoration-thickness: 1.5px; opacity: .55; font-weight: 500; }
.pt-feat .pt-c { justify-content: flex-start; }
.pt-feat .ico { width: 22px; height: 22px; }
.pt-feat .no { color: var(--mut); }
.pt-only .pt-f { font-weight: 600; }
.pt-only .pt-p2 .ico { color: var(--hi); }
.pt-sep > * { border-top: 1px solid var(--fg); }
.pt-sep > .pt-p2 { border-top-color: rgba(255,255,255,.55); }
.pt-sep .pt-f { gap: 10px; padding: 16px 0 14px; font-size: 15px; font-weight: 700; }
.pt-sep .pt-f i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }
.pt-sep .pt-c { padding-top: 0; padding-bottom: 0; }
.pt-cl { display: none; }
.pt-cta .pt-c { padding-top: 26px; padding-bottom: clamp(26px, 3vw, 38px); }
.pt-cta .pt-f { border-top-color: transparent; }
.pt-cta .pt-p1 { border-bottom: 1px solid var(--line); }
.buy {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 72px; padding: 14px clamp(18px, 1.8vw, 26px);
  font: 700 15px/1.25 var(--f); text-decoration: none; text-align: left;
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .4s var(--ease);
}
.buy .ico { width: 24px; height: 24px; flex: none; transition: transform .45s var(--ease); }
.buy:hover .ico { transform: translateX(6px); }
.buy--main { background: var(--hi); color: var(--k); border: 1px solid var(--hi); }
.buy--second { background: transparent; color: var(--fg); border: 1.5px solid var(--fg); }
.buy--second:hover { background: var(--fg); color: var(--bgc); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.card-note { margin-top: 22px; font-size: 15px; line-height: 1.45; color: var(--mut); max-width: 44em; }

/* ---------- FINAL ---------- */
.final { position: relative; padding-top: var(--gy); }
.final-stage { padding: 0 var(--pad) var(--gy); width: 100%; max-width: calc(1180px + 2 * var(--pad)); margin: 0 auto; overflow: hidden; }
.final-h { font: 900 clamp(40px, 18vw, 250px)/.9 var(--f); letter-spacing: -.05em;
  filter: drop-shadow(0 0 calc(var(--night) * 26px) rgba(var(--glow), calc(var(--night) * .4))); }
.fl { display: block; white-space: nowrap; }
.fl:nth-child(2) { padding-left: 14vw; }
.fl:nth-child(3) { font-weight: 300; }
.final-sub { margin-top: var(--s2); font: 400 18px/1.45 var(--f); color: var(--mute); max-width: 22em; }
.final .btn { margin-top: 26px; }

/* ---------- FOOTER ---------- */
.foot { padding: 64px var(--pad) calc(120px + env(safe-area-inset-bottom)); background: #08070A; color: #EDE8E0; }
.logo-f { width: 168px; height: 17px; }
.foot-mod { margin-top: 18px; color: #A8A29A; }
.foot-l { margin-top: 40px; display: grid; gap: 10px; font-size: 18px; }
.foot-l a { text-decoration: none; }
.foot-l a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-p { display: inline-block; margin-top: 40px; color: #A8A29A; font-size: 15px; }

/* ---------- sticky early-bird bar ---------- */
.ebar {
  position: fixed; z-index: 55; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 16px; border-radius: 999px;
  background: rgba(18, 16, 15, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #F3EEE6; text-decoration: none; box-shadow: 0 12px 36px -10px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: translateY(160%); transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.ebar.show { transform: none; }
.ebar-t { flex: 1; min-width: 0; font: 400 13px/1.3 var(--f); }
.ebar-t b { font-weight: 700; white-space: nowrap; }
.ebar-cta { flex: none; padding: 12px 16px; border-radius: 999px; background: #F3EEE6; color: #141311; font: 700 14px/1 var(--f); }

/* =================== DESKTOP =================== */
@media (min-width: 900px) {
  :root { --pad: 48px; }
  .logo { width: 150px; height: 15px; }
  .bar { padding-top: 24px; padding-bottom: 24px; }
  .bar-cta { display: inline-block; }
  .mt-ph { display: none; }
  .mt-dt { display: block; }
  .hero-ui { padding-top: 96px; padding-bottom: 40px; }
  .hero-top { font-size: 19px; max-width: 20em; }
  .hero-bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .hero-mod { font-size: 18px; }
  .hero-over { padding-bottom: 80px; padding-left: 8vw; }
  .pl { font-size: min(6vw, 11vh); }
  .pain-g { padding: 0 8vw; }
  .pl:nth-child(2) { text-align: center; }
  .pl:nth-child(3) { text-align: right; }

  .film-clip { width: min(94vw, 150vh); margin: 0 auto; }
  .film .cap { width: min(94vw, 150vh); max-width: none; }
  .seq { height: 600vh; }
  .hud-scrub { left: 8vw; right: 8vw; bottom: 88px; }
  .hs-steps li { opacity: .6; font-size: 14px; }
  .hs-steps li.is-past { opacity: .85; }

  .author-grid { grid-template-columns: 1.25fr 1fr; gap: 5vw; align-items: center; }
  .author-txt .dots { font-size: 18px; }
  .facts span { font-size: 16px; }

  .chap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5vw; align-items: start; }
  .chap .dots { margin-top: 0; padding-top: 40px; }

  .card { padding: 40px 48px 36px; }
  .pt-sep .pt-p1 { background: none; }

  .ebar { left: 50%; right: auto; width: auto; transform: translate(-50%, 160%); padding-left: 22px; gap: 22px; bottom: 18px; }
  .ebar.show { transform: translate(-50%, 0); }
  .ebar-t { flex: none; font-size: 15px; white-space: nowrap; }
  .ebar-cta { font-size: 15px; padding: 12px 20px; }

  .final-stage { padding-left: 8vw; padding-right: 8vw; max-width: none; }
  .foot { padding-left: 8vw; padding-right: 8vw; padding-bottom: 110px; }
  .foot-l { grid-auto-flow: column; justify-content: start; gap: 36px; }
}

/* =================== PHONE: comparison table as on the main site =================== */
@media (max-width: 899px) {
  .pt-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 0; }
  .pt-head .pt-f, .pt-price .pt-f, .pt-cta .pt-f { display: none; }
  .pt-p1 { grid-column: 1; border-right: 0; }
  .pt-p2 { grid-column: 2; }
  .pt-head .pt-c { padding: 14px 10px 14px; }
  .pt-badge { position: static; order: 5; margin-top: 12px; max-width: 100%; font-size: 12px; padding: 4px 7px; gap: 6px; white-space: nowrap; }
  .pt-name { font-size: clamp(16px, 4.5vw, 24px); overflow-wrap: normal; }
  .pt-formula { font-size: 13px; margin-top: 8px; }
  .pt-price .pt-c { flex-direction: column; align-items: flex-start; gap: 5px; padding: 12px 10px; }
  .pt-cl { display: block; font-size: 13px; font-weight: 500; opacity: .75; }
  .price { font-size: clamp(20px, 6vw, 28px); }
  .pt-price:not(.pt-early) .pt-p1 { border-bottom: 1px solid var(--line); }
  .pt-feat, .pt-sep { grid-template-columns: minmax(0,1fr) 52px 52px; }
  .pt-sep { margin-top: 22px; }
  .pt-sep > * { border-top: 0; }
  .pt-sep .pt-f { grid-column: 1; padding: 10px 8px 10px 0; font-size: 14px; gap: 8px; }
  .pt-sep .pt-c { grid-column: auto; justify-content: center; padding: 8px 0; min-height: 0; }
  .pt-sep .pt-p1 { background: none; border: 1px solid var(--line); border-bottom: 0; }
  .pt-feat .pt-f { grid-column: 1; padding: 13px 10px 13px 0; font-size: 15px; gap: 8px; }
  .pt-feat .pt-c { padding: 0; justify-content: center; min-height: 48px; }
  .pt-feat .pt-p1, .pt-sep .pt-p1 { grid-column: 2; }
  .pt-feat .pt-p2, .pt-sep .pt-p2 { grid-column: 3; }
  .pt-feat .pt-p1 { border-left: 1px solid var(--line); border-right: 0; }
  .pt-feat .ico { width: 20px; height: 20px; }
  .pt-row.pt-feat.is-last .pt-f { border-bottom: 1px solid var(--line); }
  .pt-cta { grid-template-columns: minmax(0, 1fr); margin-top: 20px; row-gap: 10px; }
  .pt-cta .pt-c { grid-column: 1; padding: 0; border: 0; }
  .pt-cta .pt-p2 { order: -1; padding: 10px; }
  .buy { min-height: 60px; padding: 12px 16px; font-size: 15px; }
  .buy--main { min-height: 64px; }
  .buy:hover .ico { transform: none; }
  .buy--second:hover { background: transparent; color: var(--fg); }
}

/* ---------- reduced motion: everything static and readable ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-stage { position: relative; }
  .hero-over { display: none; }
  .pain { height: auto; }
  .pain-stage { position: relative; height: auto; display: block; padding: 14vh 0; }
  .pain-g { position: relative; inset: auto; }
  .pain-b { visibility: visible; margin-top: 8vh; }
  .lg { opacity: 1; }
  .seq { height: 100vh; }
  .hs-steps li.is-on::before { animation: none; }
  .btn, .ebar { transition: none; }
}

/* soft hand-over from the wall colour into the halls and back out: no hard edge */
#turn { padding-bottom: 0; }
.seq-fade { height: calc(var(--gy) * 1.4); }
.seq-fade-in { margin-top: var(--gy); background: linear-gradient(180deg, rgba(18,14,15,0), #120e0f); }
.seq-fade-out { background: linear-gradient(180deg, #120e0f, rgba(18,14,15,0)); }
.blk-tight { padding-top: 0; }

/* round 1 fixes */
.pt-badge { position: static; order: -1; margin-bottom: 14px; align-self: flex-start; }
@media (min-width: 900px) {
  .pt-name { font-size: 26px; overflow-wrap: normal; }
  .buy { font-size: 14px; }
  .facts b { font-size: 40px; }
}
@media (max-width: 899px) { .pt-badge { order: 5; margin-bottom: 0; } }

/* ================= round 2: client feedback (6 Oct) ================= */
/* pain: no dead scroll after the animation; the quote follows right away */
.pain { height: 250vh; }
#perspective { padding-top: calc(var(--gy) * .45); }
#perspective .film { margin-top: 32px; }

/* captions: pie timer, no "video with sound" line */
.cap { display: flex; align-items: flex-start; gap: 12px; }
.cap-t { display: block; min-width: 0; }
.cap b { font-size: 15px; }
.pie { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; color: var(--ink);
  border: 1.5px solid currentColor;
  background: conic-gradient(transparent calc((1 - var(--r, 1)) * 360deg), currentColor 0); }
@media (min-width: 900px) { .film .cap { display: flex; margin-left: auto; margin-right: auto; } }

/* the statement before the halls: closer above and below */
#turn { padding-top: calc(var(--gy) * .6); }
.seq-fade { height: var(--gy); }
.seq-fade-in { margin-top: calc(var(--gy) * .45); }
#graduates { padding-top: var(--s2); }

/* Valentina: smaller name, calmer facts, no glow (cleaner, more professional) */
#author .h-sec { font-size: clamp(34px, 9vw, 104px); }
.facts b { font-size: clamp(22px, 6vw, 30px); white-space: normal; letter-spacing: -.03em; line-height: 1.08; }
@media (min-width: 900px) { .facts b { font-size: 32px; } }
#author .lg.is-lit, #author .gw .wi { text-shadow: none; }
#author .dots li::before { box-shadow: none; }
#author .portrait, #author .gvid { box-shadow: 0 30px 70px -34px rgba(0,0,0,.55); }
/* White option (?valentina=2): the section becomes a white room with black text */
html.valentina-2 #author {
  --ink: #141311; --mute: #5C574F; --dot: #141311; --night: 0; --line: rgba(20,19,17,.16);
  background: #F6F4EF; color: var(--ink); margin-top: var(--s2); padding-bottom: var(--gy);
}
html.valentina-2 #author .portrait, html.valentina-2 #author .gvid { box-shadow: 0 24px 60px -30px rgba(30,24,16,.35); }

/* chapters: smaller titles */
.chap-t { font-size: clamp(26px, 6.8vw, 56px); letter-spacing: -.035em; }

/* sticky early-price bar: alt4's format */
.ebar { display: none; }
.dock { position: fixed; z-index: 55; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 16px; border-radius: 99px; text-decoration: none;
  background: rgba(30, 27, 24, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(255, 240, 220, .07), 0 12px 40px rgba(0, 0, 0, .5);
  transform: translateY(160%); transition: transform .6s var(--ease); font-family: var(--f); }
.dock.show { transform: none; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: #e5322d; flex: none; animation: recp 1.8s ease-out infinite; }
@keyframes recp { 0% { box-shadow: 0 0 0 0 rgba(229, 50, 45, .6); } 100% { box-shadow: 0 0 0 10px rgba(229, 50, 45, 0); } }
.dock-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.dock-t { font-size: 13px; color: rgba(243, 238, 230, .68); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-p { font-size: 15px; font-weight: 400; color: #F3EEE6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-cta { flex: none; background: #f7f0e6; color: #191714; font-weight: 700; font-size: 14px; padding: 12px 16px; border-radius: 99px; }
@media (min-width: 900px) {
  .dock { left: 50%; right: auto; width: 560px; margin-left: -280px; bottom: 18px; }
  .dock-txt { flex-direction: row; gap: 10px; align-items: baseline; }
  .dock-t { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } .dock { transition: none; } }

/* final: the main site's closing block with the phone, under a warm spotlight in the evening gallery */
.final { position: relative; overflow: hidden; isolation: isolate; padding: var(--gy) 0 0; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 56% at 66% 62%, rgba(255, 226, 184, .10), rgba(255, 226, 184, 0) 70%); }
.final-in { position: relative; z-index: 2; width: calc(100% - 2 * var(--pad)); max-width: 1180px; margin: 0 auto; }
.final-title { font: 800 clamp(44px, 12.4vw, 116px)/.94 var(--f); letter-spacing: -.045em;
  filter: drop-shadow(0 0 calc(var(--night) * 22px) rgba(var(--glow), calc(var(--night) * .32))); }
.final-lead { margin-top: 18px; font: 400 17px/1.45 var(--f); color: var(--mute); max-width: 30ch; }
.final-btn { margin-top: 26px; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 60px; padding: 0 30px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font: 600 17px/1 var(--f); text-decoration: none; transition: transform .35s var(--ease);
  box-shadow: 0 0 calc(var(--night) * 50px) rgba(var(--glow), calc(var(--night) * .3)); }
.final-btn .ico { width: 22px; height: 22px; transition: transform .45s var(--ease); }
.final-btn:hover .ico { transform: translateX(5px); }
.final-img { position: relative; z-index: 1; width: 150vw; margin: 8px 0 0 -25vw; pointer-events: none;
  -webkit-mask: radial-gradient(60% 62% at 52% 60%, #000 52%, transparent 100%);
  mask: radial-gradient(60% 62% at 52% 60%, #000 52%, transparent 100%); }
.final-img img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) { .final-btn { width: 100%; } }
@media (min-width: 900px) {
  .final { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-bottom: var(--gy); }
  .final-text { max-width: min(620px, 44vw); }
  .final-img { position: absolute; bottom: 0; right: max(0px, calc(50% - 780px)); width: min(62vw, calc(94svh * 4 / 3), 1500px); margin: 0;
    -webkit-mask: radial-gradient(55% 60% at 55% 62%, #000 50%, transparent 100%); mask: radial-gradient(55% 60% at 55% 62%, #000 50%, transparent 100%); }
}

/* option bar (only with ?opt=valentina) */
.optbar { position: fixed; left: 10px; right: 10px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 9000; display: flex; gap: 6px; align-items: center;
  padding: 8px; border-radius: 16px; background: rgba(20,14,10,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--f); }
.optbar-t { flex: none; padding: 0 8px; font: 600 13px/1 var(--f); color: #F4EADC; opacity: .7; }
.optbar button { flex: 1; min-height: 44px; padding: 0 16px; border-radius: 12px; background: rgba(255,255,255,.1); color: #F4EADC; font: 600 14px/1 var(--f); }
.optbar button.on { background: #F4EADC; color: #1d140e; }
@media (min-width: 900px) { .optbar { left: auto; right: 20px; bottom: 20px; } .optbar button { flex: none; } }
/* round 2 fixes */
.final-img, .final-img {
  -webkit-mask: linear-gradient(to right, transparent 0%, #000 22%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 22%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(to right, transparent 0%, #000 22%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 22%, #000 74%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 899px) {
  .dock { gap: 10px; padding-left: 14px; }
  .dock-p { font-size: 13.5px; letter-spacing: -.01em; }
  .dock-t { font-size: 12.5px; }
  .dock-cta { font-size: 13.5px; padding: 11px 14px; }
}
@media (max-width: 899px) { .dock-p { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.22; } }
@media (min-width: 900px) {
  .final-title { font-size: clamp(56px, 6.4vw, 100px); }
  .final-text { max-width: min(560px, 40vw); }
  .final-img { width: min(56vw, calc(90svh * 4 / 3), 1300px); }
  .final-img, .final-img {
    -webkit-mask: linear-gradient(to right, transparent 0%, #000 32%, #000 70%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 30%, #000 72%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask: linear-gradient(to right, transparent 0%, #000 32%, #000 70%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 30%, #000 72%, transparent 100%);
    mask-composite: intersect;
  }
}
/* hero title drawn as SVG vectors (sharp at any zoom); the HTML title stays for screen readers and layout */
.hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-mask.svg-on { background: transparent; mix-blend-mode: normal; }
.hero-mask.svg-on .mask-title { opacity: 0; }
/* early-price bar: «Ранняя цена» is the headline, the date under it, no price */
.dock-t { font-size: 15px !important; font-weight: 700 !important; color: #F3EEE6 !important; }
.dock-p { font-size: 13px !important; font-weight: 400 !important; color: rgba(243,238,230,.72) !important; }
/* halls: room for the lights to come on before the walk */
.seq { height: 560vh; }
@media (min-width: 900px) { .seq { height: 760vh; } }
@media (prefers-reduced-motion: reduce) { .seq { height: 100vh; } }
/* phone: the bold bar line must never be cut off */
@media (max-width: 899px) {
  .dock { gap: 9px; padding-left: 13px; }
  .dock-t { font-size: 14px !important; letter-spacing: -.015em; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.2; }
  .dock-cta { font-size: 13px; padding: 11px 12px; }
}
@media (max-width: 899px) { .dock-t { font-size: 13px !important; letter-spacing: -.015em; } .dock-cta { padding: 11px 11px; } }
/* bar: highlight line clearly bigger than the price line; a slimmer button makes room on phones */
.dock-t { font-size: 14.5px !important; letter-spacing: -.01em; }
.dock-p { font-size: 12px !important; }
@media (max-width: 899px) { .dock-cta { font-size: 13px !important; padding: 11px 13px !important; } }
.dock-t { white-space: normal !important; overflow: visible !important; line-height: 1.15; }

/* ================= round 3: client feedback ================= */
/* white rooms (Valentina, plans): black text, soft fades from and into the evening, no hard cuts */
.light-sec {
  --ink: #141311; --mute: #5C574F; --dot: #141311; --night: 0; --line: rgba(20,19,17,.16);
  --fade: calc(var(--gy) * 1.1);
  position: relative; isolation: isolate; color: var(--ink);
  padding-top: calc(var(--gy) * 1.45); padding-bottom: calc(var(--gy) * 1.45);
}
.light-sec::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(246,244,239,0) 0, #F6F4EF var(--fade), #F6F4EF calc(100% - var(--fade)), rgba(246,244,239,0) 100%);
}
.light-sec.light-open { padding-bottom: var(--gy); }
.light-sec.light-open::before { background: linear-gradient(180deg, rgba(246,244,239,0) 0, #F6F4EF var(--fade), #F6F4EF 100%); }
.light-sec .lg.is-lit, .light-sec .gw .wi, .light-sec .count-n b { text-shadow: none; }
.light-sec .dots li::before { box-shadow: none; }
#author { margin-top: 0; }
#author .portrait, #author .gvid { box-shadow: 0 24px 60px -30px rgba(30,24,16,.35); }
#program { padding-top: var(--gy); }
/* the Valentina quote: same size and style as the first quote */
#author .q, #perspective .q { font: 400 clamp(25px, 6.6vw, 64px)/1.22 var(--f); letter-spacing: -.025em; max-width: 19em; }
/* ROBINEAU as the logo on the text line */
.inline-logo { display: inline-block; width: 7.1em; height: .7em; vertical-align: baseline; margin-left: .15em; background: currentColor;
  -webkit-mask: url("assets/logo.png") left bottom / contain no-repeat; mask: url("assets/logo.png") left bottom / contain no-repeat; }

/* chapters: calmer, smaller; bullets at the size of the small subtext; a line with a checkpoint per chapter */
#program .h-sec { font-size: clamp(34px, 9vw, 92px); }
.chaps { position: relative; padding-left: 36px; gap: calc(var(--gy) * .7); margin-top: var(--s2); }
.chaps-line { position: absolute; left: 6px; top: 6px; bottom: 0; width: 1px; background: rgba(242, 236, 227, .14); }
.chaps-line b { position: absolute; inset: 0; display: block; background: #FFFFFF; transform-origin: 50% 0; transform: scaleY(0);
  box-shadow: 0 0 8px rgba(var(--glow), .55); }
.chap { position: relative; }
.chap-dot { position: absolute; left: -36px; top: 3px; width: 13px; height: 13px; border-radius: 50%;
  border: 1px solid rgba(242, 236, 227, .4); background: #121015; transition: background .5s, border-color .5s, box-shadow .6s; }
.chap-dot.hit { background: #FFFFFF; border-color: #FFFFFF; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 0 16px rgba(255, 255, 255, .6); }
.chap-n { font-size: 15px; }
.chap-t { margin-top: 8px; font-size: clamp(22px, 5.6vw, 36px); letter-spacing: -.03em; line-height: 1.1; }
.chap .dots { margin-top: 20px; font: 400 15px/1.5 var(--f); max-width: 34em; }
.chap .dots li + li { margin-top: 10px; }
.chap .dots li { padding-left: 22px; }
.chap .dots li::before { width: 5px; height: 5px; top: .66em; }
@media (min-width: 900px) {
  .chaps { padding-left: 48px; }
  .chap-dot { left: -48px; }
  .chap-n, .chap .dots { font-size: 16px; }
  .chap { grid-template-columns: 1fr 1.2fr; gap: 4vw; }
  .chap .dots { padding-top: 4px; margin-top: 0; }
}

/* plans: white room, the card black and white */
.pricing .card { background: #fff; box-shadow: 0 0 0 1px rgba(11,11,11,.08), 0 40px 80px -50px rgba(0,0,0,.35); }
.pricing .card-wrap::before { display: none; }
.pt-cta .pt-c, .pt-cta .pt-p2 { background: transparent; border: 0; padding: 24px 0 0; }
.pt-cta .pt-p1 { padding-right: 14px; }
.pt-cta .pt-p2 { padding-left: 14px; }
.buy { border-radius: 0; transition: transform .35s var(--ease), box-shadow .45s var(--ease), background .35s, border-color .35s, color .35s; }
.buy--main { position: relative; overflow: hidden; isolation: isolate; background: #0B0B0B; color: #F5F4F2; border: 1px solid #0B0B0B;
  box-shadow: 0 18px 36px -20px rgba(0,0,0,.6); }
.buy--main::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255,255,255,.14) 50%, transparent 66%);
  transform: translateX(-120%); animation: buySheen 5.5s cubic-bezier(.19,1,.22,1) infinite; }
@keyframes buySheen { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.buy--main:hover { transform: translateY(-2px); box-shadow: 0 26px 50px -20px rgba(0,0,0,.6); }
.buy--second { background: transparent; color: #0B0B0B; border: 1px solid rgba(11,11,11,.22); }
.buy--second:hover { border-color: #0B0B0B; background: transparent; color: #0B0B0B; }
@media (max-width: 899px) {
  .pt-cta .pt-c, .pt-cta .pt-p2, .pt-cta .pt-p1 { padding: 0; }
  .pt-cta .pt-p2 { order: -1; }
}
@media (prefers-reduced-motion: reduce) { .buy--main::before { animation: none; } }

/* final: the main site closing block (sizes and layout as on the site), on the photo's own warm studio colour */
.final { --ink: #2B1B12; --mute: rgba(11,11,11,.74); --night: 0; color: #2B1B12;
  background: linear-gradient(180deg, #F6F4EF 0, #ECE6DD 140px, #ECE6DD 100%);
  min-height: 100vh; min-height: 100svh; display: block; padding: 135px 0 54px; }
.final::before { display: none; }
.final-in { width: auto; max-width: none; margin: 0; padding: 0 48px; position: relative; z-index: 2; }
.final-text { max-width: 640px; }
.final-title { font: 800 60px/1.003 var(--f); letter-spacing: -.03em; text-transform: uppercase; filter: none; }
.final-lead { margin-top: 28px; font: 400 19px/1.5 var(--f); color: rgba(11,11,11,.74); max-width: 428px; }
.final-btn { margin-top: 40px; height: 72px; min-height: 0; padding: 0 40px; border-radius: 0; background: #0B0B0B; color: #F4F2F1;
  font: 600 15px/1 var(--f); box-shadow: none; }
.final-btn:hover { background: #2B1B12; }
.final-img, .final-img {
  position: absolute; z-index: 1; bottom: 0; right: max(0px, calc(50% - 780px)); margin: 0;
  width: min(64vw, calc(94svh * 4 / 3), 1500px);
  -webkit-mask: linear-gradient(to right, transparent 0%, #000 18%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 16%);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(to right, transparent 0%, #000 18%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 16%);
  mask-composite: intersect;
}
@media (max-width: 899px) {
  .final { min-height: 0; padding: 52px 0 0; }
  .final-in { padding: 0 18px; }
  .final-title { font-size: 36px; line-height: 1.003; }
  .final-lead { font-size: 17px; margin-top: 14px; max-width: none; }
  .final-btn { width: 100%; height: 60px; margin-top: 22px; }
  .final-img, .final-img { position: relative; right: auto; bottom: auto; width: 150vw; margin: 4px 0 0 -25vw; }
}
/* ================= round 6 ================= */
/* Upside logo on the text line, black */
.inline-upside { display: inline-block; width: 2.9em; height: 1.2em; vertical-align: -.32em; margin: 0 .12em; background: currentColor;
  -webkit-mask: url("assets/upside-logo.png") center / contain no-repeat; mask: url("assets/upside-logo.png") center / contain no-repeat; }
/* course name: italic and underlined, clickable */
.course-link { font-style: italic; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; color: inherit; }
/* calmer sizes */
#who .lead-big { font-size: clamp(21px, 5.4vw, 44px); line-height: 1.25; }
/* plans: the dark evening holds a little longer before the white comes in, so the text above keeps its margin */
.light-sec.light-open::before { background: linear-gradient(180deg, rgba(246,244,239,0) 0, rgba(246,244,239,0) calc(var(--fade) * .45), #F6F4EF calc(var(--fade) * 1.25), #F6F4EF 100%); }
/* countdown: smaller, no extra label line */
.count { margin-top: 12px; }
.count-l:empty { display: none; }
.count-n b { font-size: clamp(30px, 7.4vw, 56px) !important; }
.count-n i { font-size: 12px !important; }
.inline-upside { width: 3.5em; height: 1.45em; vertical-align: -.42em; }
/* ================= round 7 ================= */
.inline-upside { width: 4.3em; height: 1.8em; vertical-align: -.6em; }
/* graduates -> Valentina: the evening holds longer before the white comes in, so the text above keeps its margin */
#author { padding-top: calc(var(--gy) * 1.75); }
#author::before { background: linear-gradient(180deg, rgba(246,244,239,0) 0, rgba(246,244,239,0) calc(var(--fade) * .55), #F6F4EF calc(var(--fade) * 1.45), #F6F4EF calc(100% - var(--fade)), rgba(246,244,239,0) 100%); }
/* facts: capitals in the light text face of «Для художников…», not the heavy blocky weight */
/* early-price bar: the date line is simply larger than the price, not bold */
.dock-t { font-size: 14px !important; font-weight: 500 !important; }
.dock-p { font-size: 12px !important; }
/* footer: centred logo, underlined email, icon row, small ROBINEAU gallery link */
.foot { text-align: center; }
.logo-f { display: block; margin: 0 auto; }
.foot-mail { margin-top: 36px; font-size: 18px; }
.foot-mail a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.foot-soc { margin: 26px 0 0; padding: 0; list-style: none; display: flex; justify-content: center; gap: 14px; }
.foot-soc a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(237,232,224,.22); color: #EDE8E0; transition: background .25s, color .25s; }
.foot-soc a:hover { background: #EDE8E0; color: #08070A; }
.foot-soc svg { width: 21px; height: 21px; fill: currentColor; }
.foot-gal { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; color: #A8A29A; font-size: 15px; text-decoration: none; }
.foot-gal:hover { color: #EDE8E0; }
.foot-gal-logo { width: 104px; height: 11px; }
.foot-p { display: block; }
.logo-f { -webkit-mask-position: center; mask-position: center; }
/* plan comparison options (preview only, via ?plans=2 / ?plans=3; default unchanged) */
html.plans-2 .pt-c, html.plans-2 .pt-f { border-top-color: transparent !important; }
html.plans-2 .pt-p1 { border-left: 0 !important; border-right: 0 !important; border-bottom: 0 !important; background: #F3F1EC; }
html.plans-2 .pt-head .pt-f, html.plans-2 .pt-head .pt-c { border-top: 0 !important; }
html.plans-2 .pt-feat .pt-f, html.plans-2 .pt-sep .pt-f { border-top: 1px solid rgba(20,19,17,.1) !important; }
html.plans-2 .pt-row.pt-feat.is-last .pt-f { border-bottom: 0 !important; }
html.plans-2 .pt-sep .pt-p1 { border: 0 !important; }
html.plans-2 .pt-cta .pt-p1, html.plans-2 .pt-cta .pt-c { background: transparent; }
html.plans-3 .ptable *, html.plans-3 .pt-c, html.plans-3 .pt-f { border-color: transparent !important; border-width: 0 !important; }
html.plans-3 .pt-p1 { background: #F3F1EC; }
html.plans-3 .pt-cta .pt-p1, html.plans-3 .pt-cta .pt-c { background: transparent; }
html.plans-3 .pt-feat .pt-f, html.plans-3 .pt-feat .pt-c { padding-top: 14px; padding-bottom: 14px; }
html.plans-3 .pricing .card { box-shadow: 0 40px 80px -50px rgba(0,0,0,.35); }
html.plans-3 .pt-badge { border: 1px solid rgba(255,255,255,.45) !important; border-width: 1px !important; }
html.plans-3 .buy--second { border: 1px solid #141311 !important; border-width: 1px !important; }
/* round 8: facts bold (not the heavy blocky weight), small discreet bullets */
.dots li { padding-left: 20px; }
.dots li::before { width: 5px !important; height: 5px !important; top: .68em !important; }
html.plans-2 .pt-feat .pt-f, html.plans-2 .pt-sep .pt-f { border-top-color: transparent !important; }
html.plans-2 .pt-feat .pt-f, html.plans-2 .pt-feat .pt-c { padding-top: 14px; padding-bottom: 14px; }
html.plans-2 .pricing .card { box-shadow: 0 40px 80px -50px rgba(0,0,0,.35) !important; }
html.plans-2 .pt-feat .pt-f, html.plans-2 .pt-sep .pt-f, html.plans-2 .pt-feat .pt-c, html.plans-2 .pt-sep .pt-c { border: 0 !important; box-shadow: none !important; }

/* round 9: the warm closing block is back, its text in the page's own dark instead of brown */
.final { --ink: #121015; color: #121015; }
.final-title { color: #121015; }
.final-btn { background: #121015 !important; color: #F1F0EE !important; }
.final-btn:hover { background: #000 !important; }
/* Valentina's quote now sits under her video */
.a-q-under { margin-top: var(--s2, 32px); }
/* bar: no price line, the date line sits centred in the bar */
.dock-p { display: none !important; }
.dock-txt { justify-content: center; align-self: center; }
/* round 10: the first quote sits halfway between the last pain line and the video */
#perspective { margin-top: -22vh; position: relative; z-index: 1; }
#perspective .film { margin-top: 9vh; }
@media (min-width: 900px) { #perspective { margin-top: -24vh; } #perspective .film { margin-top: 13vh; } }
/* plans header: the countdown belongs to the heading, in the page's own text styles */
.pricing .early { margin-top: 14px; }
.pricing .early-t { font: 500 17px/1.4 var(--f); color: var(--mute); }
.pricing .count { margin-top: 8px; }
.pricing .count-n { gap: 4px 18px; }
.pricing .count-n b { font-weight: 700 !important; font-size: clamp(26px, 6.4vw, 44px) !important; letter-spacing: -.03em; }
.pricing .count-n i { font: 400 13px/1.5 var(--f) !important; color: var(--mute); }
#perspective .film { margin-top: 21vh; }
@media (min-width: 900px) { #perspective .film { margin-top: 20vh; } }

/* ================= round 11: the closing block's warm language carried into pain, Valentina and plans ================= */
/* shared tokens: warm studio gradient #F6F4EF -> #ECE6DD, text #121015 */
.warm-sec, .pain { --ink: #121015; --mute: rgba(18,16,21,.7); --dot: #121015; --night: 0; --line: rgba(18,16,21,.14); color: #121015; }

/* PAIN: the pinned stage sits in the warm studio light; the wall blends on into the afternoon as you scroll */
.pain-stage { background: linear-gradient(180deg, #F6F4EF 0%, #F1EEEA 55%, #ECE6DD 100%); }
.pain-a .pl { color: rgba(18,16,21,.55); }
.pain-b .pl { color: #121015; }

/* VALENTINA: warm room, big uppercase title like the closing block, photo, ledger of facts, list, film and quote */
#author::before {
  background: linear-gradient(180deg,
    rgba(246,244,239,0) 0, rgba(246,244,239,0) calc(var(--fade) * .55),
    #F6F4EF calc(var(--fade) * 1.45), #ECE6DD calc(100% - var(--fade) * 1.2),
    rgba(236,230,221,0) 100%) !important;
}
#author .a-grid { display: grid; gap: 28px; }
.a-title { font: 800 40px/1.003 var(--f); letter-spacing: -.03em; text-transform: uppercase; color: #121015; }
.a-role { margin-top: 14px; font: 400 17px/1.5 var(--f); color: rgba(18,16,21,.72); }
#author .portrait { aspect-ratio: 3 / 2; box-shadow: 0 30px 60px -36px rgba(43,27,18,.45); }
#author .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
#author .facts li { padding: 16px 0 18px; border-top: 1px solid rgba(18,16,21,.16); }
#author .facts b { display: block; font: 800 22px/1.05 var(--f) !important; letter-spacing: -.02em; text-transform: uppercase; white-space: normal; color: #121015; }
#author .facts span { display: block; margin-top: 8px; font: 400 14px/1.45 var(--f); color: rgba(18,16,21,.7); }
#author .a-list { margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(18,16,21,.16); font: 400 17px/1.5 var(--f); color: #121015; }
#author .a-list li + li { margin-top: 14px; }
#author .gvid { box-shadow: 0 30px 70px -40px rgba(43,27,18,.5); }
#author .cap { color: rgba(18,16,21,.7); }
#author .q { color: #121015; }
@media (min-width: 900px) {
  #author .a-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "head photo" "body photo"; column-gap: 5vw; row-gap: 40px; align-items: start; }
  #author .a-head { grid-area: head; }
  #author .portrait { grid-area: photo; align-self: center; }
  #author .a-body { grid-area: body; }
  .a-title { font-size: clamp(56px, 5.4vw, 80px); }
  .a-role { margin-top: 22px; font-size: 19px; }
  #author .facts b { font-size: 26px !important; }
  #author .facts span { font-size: 15px; }
}

/* PLANS: warm room, the dark «Практика» column, «Самостоятельный» in a lighter warm tone */
.pricing.light-open::before {
  background: linear-gradient(180deg,
    rgba(236,230,221,0) 0, rgba(236,230,221,0) calc(var(--fade) * .45),
    #ECE6DD calc(var(--fade) * 1.25), #F2EFEA 55%, #F6F4EF 100%) !important;
}
.warm-title { font: 800 40px/1.003 var(--f) !important; letter-spacing: -.03em; text-transform: uppercase; color: #121015; }
@media (min-width: 900px) { .warm-title { font-size: clamp(56px, 5.4vw, 80px) !important; } }
.pricing .early-t, .pricing .count-n i { color: rgba(18,16,21,.7) !important; }
.pricing .count-n b { color: #121015; }
.pricing .card { background: #FBF7F1 !important; box-shadow: 0 0 0 1px rgba(43,27,18,.06), 0 40px 80px -50px rgba(43,27,18,.4) !important; }
html.plans-2 .pt-p1 { background: #F2E6D5 !important; }
html.plans-2 .pt-cta .pt-p1 { background: transparent !important; }
.pricing .card { --fg: #121015; --mut: rgba(18,16,21,.66); --line: rgba(18,16,21,.12); color: #121015; }
.buy--second { color: #121015 !important; border-color: rgba(18,16,21,.28) !important; }
.buy--second:hover { border-color: #121015 !important; }
.card-note { color: rgba(18,16,21,.66) !important; }
/* round 11b: the closing block's fade, clean neutral light grey at the top melting into the warm beige */
.pain-stage { background: linear-gradient(180deg, #F4F3F1 0%, #F4F3F1 12%, #ECE6DD 100%); }
#author::before {
  background: linear-gradient(180deg,
    rgba(244,243,241,0) 0, rgba(244,243,241,0) calc(var(--fade) * .55),
    #F4F3F1 calc(var(--fade) * 1.45), #ECE6DD calc(100% - var(--fade) * 1.2),
    rgba(236,230,221,0) 100%) !important;
}
.pricing.light-open::before {
  background: linear-gradient(180deg,
    rgba(244,243,241,0) 0, rgba(244,243,241,0) calc(var(--fade) * .45),
    #F4F3F1 calc(var(--fade) * 1.25), #ECE6DD 86%, #F6F4EF 100%) !important;
}
/* footer social icons: bare white icons, no circles */
.foot-soc { gap: 26px !important; }
.foot-soc a { width: auto !important; height: auto !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: #EDE8E0 !important; opacity: 1; transition: opacity .25s !important; }
.foot-soc a:hover { background: none !important; color: #EDE8E0 !important; opacity: .6; }
.foot-soc svg { width: 35px !important; height: 35px !important; }
/* round 12: tighter start to «Уже в пути» on phones; facts without rule lines */
@media (max-width: 899px) { #graduates { padding-top: 0 !important; margin-top: -40px; position: relative; z-index: 1; } }
#author .facts li { border-top: 0 !important; }
#author .a-list { border-top: 0 !important; padding-top: 6px; }
/* ================= round 13 ================= */
/* one title style everywhere: the size and weight of «Пять недель. Три главы.» (normal case) */
#graduates .h-sec, .a-title, .warm-title, .pricing .h-sec {
  font: 800 clamp(34px, 9vw, 92px)/.98 var(--f) !important; letter-spacing: -.045em !important; text-transform: none !important; }
/* plans: back to the neutral colours (no gold, no warm column), the light timer */
.pricing .card { background: #fff !important; box-shadow: 0 40px 80px -50px rgba(0,0,0,.35) !important; }
html.plans-2 .pt-p1 { background: #F3F1EC !important; }
html.plans-2 .pt-cta .pt-p1 { background: transparent !important; }
.pricing .count-n b { font-weight: 300 !important; font-size: clamp(30px, 7.4vw, 56px) !important; letter-spacing: -.03em; }
.pricing .count-n i { font: 400 12px/1.6 var(--f) !important; }
/* Valentina: less air under the closing quote */
#author { padding-bottom: calc(var(--gy) * .9) !important; }
/* first quote: tighter, still even above and below (phones) */
@media (max-width: 899px) { #perspective { margin-top: -32vh; } #perspective .film { margin-top: 11.5vh; } }
/* Valentina: the closing fade only starts below the quote */
#author { padding-bottom: calc(var(--gy) * 1.05) !important; }
#author::before {
  background: linear-gradient(180deg,
    rgba(244,243,241,0) 0, rgba(244,243,241,0) calc(var(--fade) * .55),
    #F4F3F1 calc(var(--fade) * 1.45), #ECE6DD calc(100% - var(--gy) * .75),
    rgba(236,230,221,0) 100%) !important;
}
.seq-stage::after { background: linear-gradient(rgba(14,10,10,0), rgba(14,10,10,.32)) !important; }
/* halls: light behind the canvas too, so nothing dark shows on the way in */
.seq { background: #E7E4DF !important; }
/* Valentina: a more natural gap between her video and the quote */
#author .a-q-under { margin-top: clamp(40px, 7vh, 72px) !important; }
/* no dark lead-in: the fade into the halls is light like the halls themselves */
.seq-fade-in { background: linear-gradient(180deg, rgba(231,228,223,0), #E7E4DF) !important; }

/* ================= CONSISTENCY LAYER (one type scale, one rhythm) ================= */
:root { --sec: 96px; }
@media (min-width: 900px) { :root { --sec: 150px; } }
/* quotes: one size everywhere */
.q, .gq, #who .lead-big { font: 400 24px/1.28 var(--f) !important; letter-spacing: -.02em !important; }
@media (min-width: 900px) { .q, .gq, #who .lead-big { font-size: 40px !important; } }
/* body 17, small 15, labels 14 */
.lg, .dots li, .who-m1, .final-lead, .a-role, .early-t, .card-note, .foot-mod { font-size: 17px !important; }
.sub, .by, .chap-n, .cap-t b, .cap-t span, .facts span, .count-n i { font-size: 15px !important; }
.pt-formula, .pt-cl, .hs-steps li { font-size: 14px !important; }
@media (min-width: 900px) { .lg, .dots li, .who-m1, .final-lead, .a-role, .early-t { font-size: 19px !important; } }
/* small headings: one style (chapter names, facts, plan names) */
.chap-t, #author .facts b, .pt-name { font: 800 22px/1.08 var(--f) !important; letter-spacing: -.02em !important; }
/* one vertical rhythm for the plain sections */
#graduates, #program, #who { padding-top: var(--sec) !important; }
#who { padding-bottom: var(--sec) !important; }
#graduates .h-sec, #program .h-sec, .a-title, .pricing .h-sec { margin-bottom: 0; }

/* VARIANT 7: warm espresso darks (no purple) + the closing block's UPPERCASE titles everywhere */
#graduates .h-sec, #program .h-sec, .a-title, .pricing .h-sec, .final-title {
  font: 800 36px/1.003 var(--f) !important; letter-spacing: -.03em !important; text-transform: uppercase !important; }
@media (min-width: 900px) { #graduates .h-sec, #program .h-sec, .a-title, .pricing .h-sec, .final-title { font-size: 60px !important; } }
#program .ih2 { font-weight: 800 !important; }
.foot { background: #120F0C !important; }
.seq-fade-out { background: linear-gradient(180deg, #2A231D, rgba(42,35,29,0)) !important; }
.pt-p2, .buy--main, .final-btn, .dock { --k: #1A1511; }
.pt-p2 { background: #1A1511 !important; }
.buy--main, .final-btn { background: #1A1511 !important; }
.dock { background: rgba(26,21,17,.94) !important; }

/* ================= COLOURS v2: light grey + a hint of beige; neutral near-black darks from the Practice column and the buttons ================= */
.foot { background: #0E0E0E !important; }
.seq-fade-out { background: linear-gradient(180deg, #161616, rgba(22,22,22,0)) !important; }
.pt-p2 { background: #0B0B0B !important; }
.buy--main, .final-btn { background: #0B0B0B !important; color: #F4F2F1 !important; }
.dock { background: rgba(17,17,17,.94) !important; }

/* ================= chapters + graduates: a softer charcoal (not pure black) with the original golden glow ================= */
#program, #graduates { --glow: 255, 210, 158; position: relative; isolation: isolate; }
#program::after, #graduates::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 38% at 18% 6%, rgba(255,210,158,.10), rgba(255,210,158,0) 72%),
    radial-gradient(ellipse 65% 45% at 92% 58%, rgba(255,210,158,.07), rgba(255,210,158,0) 70%),
    radial-gradient(ellipse 90% 30% at 50% 100%, rgba(255,226,190,.05), rgba(255,226,190,0) 75%); }
#program .dots li::before { background: #FFD7A3 !important; box-shadow: 0 0 12px 1px rgba(255,210,158,.85) !important; }
#program .chaps-line b { background: #FFD7A3 !important; box-shadow: 0 0 8px rgba(255,210,158,.55) !important; }
#program .chap-dot.hit { background: #FFD7A3 !important; border-color: #FFD7A3 !important; box-shadow: 0 0 0 4px rgba(255,215,163,.12), 0 0 16px rgba(255,215,163,.6) !important; }
.seq-fade-out { background: linear-gradient(180deg, #201F1E, rgba(32,31,30,0)) !important; }

/* ================= round 16 ================= */
/* plans (option B): white card, minimal lines, original «Полный формат» tag, light grey page behind */
.pricing.light-open::before { background: linear-gradient(180deg, rgba(240,239,237,0) 0, rgba(240,239,237,0) calc(var(--fade) * .45), #F0EFED calc(var(--fade) * 1.25), #F0EFED 100%) !important; }
.pricing .card { background: #fff !important; }
/* Valentina: calmer and lighter: softer title, simple facts, light grey room */
#author::before { background: linear-gradient(180deg, rgba(240,239,237,0) 0, rgba(240,239,237,0) calc(var(--fade) * .55), #F0EFED calc(var(--fade) * 1.45), #F0EFED calc(100% - var(--gy) * .75), rgba(240,239,237,0) 100%) !important; }
#author .a-title { font: 600 34px/1.05 var(--f) !important; letter-spacing: -.025em !important; text-transform: none !important; }
@media (min-width: 900px) { #author .a-title { font-size: 56px !important; } }
#author .a-role { margin-top: 10px; color: rgba(18,16,21,.62) !important; }
#author .facts { gap: 26px 22px !important; margin-top: 8px; }
#author .facts li { padding: 0 !important; }
#author .facts b { font: 600 21px/1.15 var(--f) !important; letter-spacing: -.015em !important; text-transform: none !important; }
#author .facts span { margin-top: 6px !important; font-size: 14px !important; line-height: 1.45 !important; color: rgba(18,16,21,.6) !important; }
#author .dots { display: grid; gap: 12px; }
#author .dots li { font-size: 16px !important; line-height: 1.5 !important; }
#author .portrait { box-shadow: 0 20px 50px -34px rgba(0,0,0,.35) !important; }
/* closing block on the photo's own grey (the original studio picture), no beige */
.final { background: linear-gradient(180deg, #F0EFED 0, #D9D7D8 160px, #D9D7D8 100%) !important; }

/* ================= round 17 ================= */
/* quote + video + halls lead-in: one continuous background, no second colour, no line */
.seq { background: transparent !important; }
.seq-fade-in { background: none !important; }
/* testimonials: no glow on the caption / quote text (it smeared into a faint box) */
#graduates .gw .wi, #graduates .lg, #graduates .lg.is-lit, #graduates .gq, #graduates .cap-t, #graduates .sub { text-shadow: none !important; }
/* chapters: the golden light at the top, stronger */
#program::after { background:
    radial-gradient(ellipse 85% 42% at 18% 4%, rgba(255,210,158,.22), rgba(255,210,158,0) 72%),
    radial-gradient(ellipse 70% 50% at 92% 55%, rgba(255,210,158,.12), rgba(255,210,158,0) 70%),
    radial-gradient(ellipse 90% 30% at 50% 100%, rgba(255,226,190,.07), rgba(255,226,190,0) 75%) !important; }
/* Valentina's facts: one calm vertical list instead of a 2x2 block */
#author .facts { grid-template-columns: 1fr !important; gap: 22px !important; }
#author .facts li { display: grid; grid-template-columns: 1fr; }
#author .facts b { font-size: 22px !important; }
#author .facts span { font-size: 15px !important; max-width: 30ch; }
/* no light/dark fades: light rooms start and end with a clean edge */
#author::before { background: #F0EFED !important; }
.pricing.light-open::before { background: #D9D7D8 !important; }
/* plans + closing block read as one grey room: no white card, Independent straight on the grey, Practice a softer charcoal */
.pricing .card { background: transparent !important; box-shadow: none !important; }
html.plans-2 .pt-p1, .pt-p1 { background: transparent !important; }
.pt-p2 { background: #262524 !important; }
.buy--second { background: transparent !important; }
.final { background: #D9D7D8 !important; }
/* video caption: the little timer sits to the right of the title, not like a bullet */
.cap { display: flex !important; align-items: flex-start; gap: 12px; }
.cap .pie { order: 2; flex: none; margin-top: 3px; }
.cap .cap-t { order: 1; }
.cap { justify-content: flex-start !important; } .cap .cap-t { flex: 0 1 auto !important; } .cap .pie { margin-left: 2px; }

/* chapters title back to the earlier look: normal case, bold first line, light second */
#program .h-sec { font: 800 clamp(34px, 9vw, 92px)/.98 var(--f) !important; letter-spacing: -.045em !important; text-transform: none !important; }
#program .ih2 { font-weight: 300 !important; }
/* timer: inline, right after the last word of the title */
.cap .cap-t { flex: 1 1 auto !important; }
.cap-tt { display: block; }
.cap-tt .pie { display: inline-block; vertical-align: -2px; width: 14px !important; height: 14px !important; margin: 0 0 0 8px !important; }
.final-img { overflow: visible; }

.cap-tt b { display: inline !important; }
/* ================= round 18: dark rooms lit with a deep red light (no white, no washed-out gold) ================= */
.sky-wash { background:
    radial-gradient(ellipse 55% 42% at 20% -8%, rgba(214,52,40,.30), rgba(214,52,40,0) 72%),
    radial-gradient(ellipse 50% 40% at 82% -6%, rgba(232,84,52,.22), rgba(232,84,52,0) 72%),
    radial-gradient(ellipse 85% 55% at 50% 0%, rgba(160,30,34,.14), rgba(160,30,34,0) 80%) !important; }
#program::after, #graduates::after { background:
    radial-gradient(ellipse 85% 42% at 16% 4%, rgba(214,52,40,.32), rgba(214,52,40,0) 72%),
    radial-gradient(ellipse 70% 50% at 94% 52%, rgba(178,36,40,.24), rgba(178,36,40,0) 70%),
    radial-gradient(ellipse 95% 34% at 40% 100%, rgba(236,96,58,.14), rgba(236,96,58,0) 75%) !important; }
/* chapters + «Для художников…»: one room. The light pools fade out softly instead of stopping at the section edge */
#program::after { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 100%); }
#who { position: relative; isolation: isolate; }
#who::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 70% 45%, rgba(178,36,40,.16), rgba(178,36,40,0) 72%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 35%, #000 70%, transparent 100%); }
/* no in-between strips or blurs where light meets dark */
.seq-fade-out { display: none !important; }
.seq-stage::after { display: none !important; }
#graduates { margin-top: 0 !important; }
/* equal breathing room on both sides of every light/dark edge */
:root { --edge: 84px; }
@media (min-width: 900px) { :root { --edge: 130px; } }
#graduates { padding-bottom: var(--edge) !important; }
#author { padding-top: var(--edge) !important; padding-bottom: var(--edge) !important; }
#program { padding-top: var(--edge) !important; }
#who { padding-bottom: var(--edge) !important; }
#pricing { padding-top: var(--edge) !important; }
/* Valentina's facts: back to two columns, two rows */
#author .facts { grid-template-columns: 1fr 1fr !important; gap: 24px 20px !important; }
#author .facts b { font-size: 20px !important; }
#author .facts span { font-size: 14px !important; }
/* dark rooms: warm umber light instead of red */
.sky-wash { background:
    radial-gradient(ellipse 55% 42% at 20% -8%, rgba(176,96,56,.30), rgba(176,96,56,0) 72%),
    radial-gradient(ellipse 50% 40% at 82% -6%, rgba(196,124,72,.22), rgba(196,124,72,0) 72%),
    radial-gradient(ellipse 85% 55% at 50% 0%, rgba(120,62,38,.16), rgba(120,62,38,0) 80%) !important; }
#program::after, #graduates::after { background:
    radial-gradient(ellipse 85% 42% at 16% 4%, rgba(176,96,56,.32), rgba(176,96,56,0) 72%),
    radial-gradient(ellipse 70% 50% at 94% 52%, rgba(136,70,44,.26), rgba(136,70,44,0) 70%),
    radial-gradient(ellipse 95% 34% at 40% 100%, rgba(200,128,74,.14), rgba(200,128,74,0) 75%) !important; }
#who::after { background: radial-gradient(ellipse 80% 60% at 70% 45%, rgba(136,70,44,.18), rgba(136,70,44,0) 72%) !important; }
/* plans: the table is a full-width white cut-out (edge to edge), the two plans share the width as two halves; no card shadow or inner frame */
.pricing .card-wrap { padding: 0 !important; }
.pricing .card-wrap::before, .pricing .card::before, .pricing .card::after { display: none !important; }
.pricing .card { background: #fff !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
  margin: 0 !important; width: 100% !important; max-width: none !important; padding: 28px var(--pad) 30px !important; }
html.plans-2 .pt-p1, .pt-p1 { background: transparent !important; }
.pricing .early { margin-bottom: 22px; }
/* less dead space between the plans and the closing block */
#pricing { padding-bottom: 0 !important; }
.pricing .card-note { margin: 18px 0 0 !important; }
.final { padding-top: 56px !important; }
@media (min-width: 900px) { .final { padding-top: 96px !important; } .pricing .card { padding: 40px max(var(--pad), calc((100% - 1180px) / 2)) 44px !important; } }
/* plans: not full width after all: a white card around the table, buttons and note; title + timer stay on the grey */
.pricing .card-wrap { padding: 0 var(--pad) !important; }
.pricing .card { padding: 20px 16px 24px !important; }
@media (min-width: 900px) { .pricing .card { padding: 40px 48px 40px !important; max-width: 1180px !important; margin: 0 auto !important; } }

/* «Уже в пути»: same treatment as «Пять недель. Три главы.», light then heavy, normal case */
#graduates .h-sec { font: 800 clamp(34px, 9vw, 92px)/.98 var(--f) !important; letter-spacing: -.045em !important; text-transform: none !important; }
#graduates .ph-l { font-weight: 300; }
#graduates .ph-b { font-weight: 800; }
#graduates .ph-l, #graduates .ph-b { display: block; }
/* testimonial quotes: comfortable reading size */
#graduates .gq { font-size: 19px !important; line-height: 1.45 !important; letter-spacing: -.01em !important; }
@media (min-width: 900px) { #graduates .gq { font-size: 26px !important; } }
/* Valentina: clear breathing room between the facts and the list */
#author .facts + .dots, #author .facts + .a-list, #author .a-list, #author .author-txt .dots { margin-top: 44px !important; }
@media (min-width: 900px) { #author .facts + .dots, #author .facts + .a-list, #author .a-list, #author .author-txt .dots { margin-top: 60px !important; } }
/* plan table fills its white card edge to edge: Independent to the left edge, the dark Practice column to the right edge */
.pricing .card { padding: 0 0 24px !important; overflow: hidden; }
.pricing .ptable { margin: 0 !important; width: 100% !important; }
.pricing .pt-f { padding-left: 16px !important; }
.pricing .pt-c.pt-p1 { padding-left: 16px !important; }
.pricing .pt-c.pt-p2 { padding-right: 16px !important; }
.pricing .pt-row.pt-cta { padding: 18px 16px 0 !important; }
.pricing .pt-row.pt-cta .pt-c { padding: 0 !important; }
.pricing .card-note { padding: 0 16px !important; }
@media (min-width: 900px) {
  .pricing .card { padding: 0 0 40px !important; }
  .pricing .pt-f, .pricing .pt-c.pt-p1 { padding-left: 40px !important; }
  .pricing .pt-c.pt-p2 { padding-right: 40px !important; }
  .pricing .pt-row.pt-cta { padding: 24px 40px 0 !important; }
  .pricing .card-note { padding: 0 40px !important; }
}
/* closing photo sits right on the footer: no gap underneath */
.final { padding-bottom: 0 !important; }
.final-img { margin-bottom: 0 !important; line-height: 0; }
.final-img img { display: block; }
#graduates .ph-l, #graduates .ph-b { display: inline !important; }

/* closing title in the chapters-title style: light first line, heavy second line, normal case */
.final-title { font: 800 clamp(34px, 9vw, 92px)/.98 var(--f) !important; letter-spacing: -.045em !important; text-transform: none !important; }
.final-title .ft-l { display: block; font-weight: 300; }
.final-title .ft-b { display: block; font-weight: 800; }
/* Valentina's closing quote: a little smaller */
#author .q { font-size: 20px !important; line-height: 1.38 !important; }
@media (min-width: 900px) { #author .q { font-size: 32px !important; } }
/* one continuous background from the pain lines through the quote and the video (the pinned stage had its own gradient, which left a band) */
.pain-stage { background: transparent !important; }
/* hero words over the film: no blurred shadow (it was clipped into faint boxes by the word masks) */
.hero-over p, .hero-over .wi, .hero-over .ho { text-shadow: none !important; }
/* Valentina's closing quote = the same size as the first quote («Хорошие художники…») */
#author .q { font-size: 24px !important; line-height: 1.28 !important; letter-spacing: -.02em !important; }
@media (min-width: 900px) { #author .q { font-size: 40px !important; } }

/* ================= plans, option A: two cards side by side (light Independent, dark Practice) ================= */
.pricing .card { background: transparent !important; padding: 0 !important; overflow: visible; }
.pa { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.pa-c { display: flex; flex-direction: column; padding: 18px 13px 16px; }
.pa-light { background: #fff; color: #141311; }
.pa-dark { background: #262524; color: #F1F0EE; }
.pa-name { font: 800 16px/1.12 var(--f) !important; letter-spacing: -.02em; hyphens: auto; }
.pa-sub { margin-top: 4px; font-size: 13px; color: rgba(20,19,17,.6); }
.pa-lbl { margin-top: 18px; font-size: 13px; opacity: .65; }
.pa-price { font: 800 22px/1.1 var(--f); letter-spacing: -.02em; margin-top: 4px; }
.pa-old { margin-top: 6px; font-size: 13px; opacity: .6; }
.pa-old s { text-decoration-thickness: 1.5px; }
.pa-lbl2 { display: none; }
.pa-inc { margin-top: 16px; font-size: 13.5px; line-height: 1.4; opacity: .75; }
.pa-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.pa-list li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.35; }
.pa-list li::before { content: ""; position: absolute; left: 1px; top: .32em; width: 9px; height: 5px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.pa-badge { position: static !important; align-self: flex-start; margin: 0 0 10px !important; order: 0 !important; }
.pa-btn { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 12px; font: 600 13px/1 var(--f); text-decoration: none; position: relative; overflow: hidden; }
.pa-c > .pa-btn { margin-top: 18px; }
.pa-c { justify-content: flex-start; }
.pa-c .pa-btn { margin-top: auto; }
.pa-c .pa-inc + .pa-btn, .pa-c .pa-list + .pa-btn { margin-top: 18px; }
.pa-btn .ico { width: 16px; height: 16px; flex: none; transition: transform .3s; }
.pa-btn--light { border: 1px solid #141311; color: #141311; }
/* Practice button: bright, with a slow light sweep and a gentle pulse so it reads as the one to press */
.pa-btn--main { background: #F1F0EE; color: #141311; box-shadow: 0 0 0 0 rgba(241,240,238,.55); animation: paPulse 2.6s ease-out infinite; }
.pa-btn--main::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.9), rgba(255,255,255,0)); transform: skewX(-18deg); animation: paSweep 3.2s ease-in-out infinite; }
.pa-btn--main:hover .ico, .pa-btn--main:active .ico { transform: translateX(4px); }
.pa-btn--main:active { transform: scale(.98); }
@keyframes paSweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes paPulse { 0% { box-shadow: 0 0 0 0 rgba(241,240,238,.5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(241,240,238,0); } }
@media (prefers-reduced-motion: reduce) { .pa-btn--main, .pa-btn--main::after { animation: none; } }
@media (min-width: 900px) {
  .pa { max-width: 980px; }
  .pa-c { padding: 40px 36px 36px; }
  .pa-name { font-size: 26px !important; } .pa-price { font-size: 34px; } .pa-list li, .pa-inc { font-size: 16px; }
  .pa-btn { padding: 18px 20px; font-size: 15px; }
}

/* no leftover card shadow (it framed the note in a lighter box) */
html .pricing .card, html.plans-2 .pricing .card, html.plans-3 .pricing .card { box-shadow: none !important; outline: 0 !important; }
/* both plans share one row grid, so «Ранняя цена», the prices and the buttons line up across the two cards */
.pa { grid-template-rows: repeat(8, auto); }
.pa-c { display: grid !important; grid-row: span 8; grid-template-rows: subgrid; align-content: start; }
.pa-c > * { margin-top: 0; }
.pa-c > .pa-sub, .pa-c > .pa-badge { margin-top: 6px !important; align-self: start; justify-self: start; }
.pa-c > .pa-lbl { margin-top: 18px; align-self: end; }
.pa-c > .pa-price { margin-top: 4px; }
.pa-c > .pa-old { margin-top: 6px; }
.pa-c > .pa-inc { margin-top: 16px; }
.pa-c > .pa-list { margin-top: 8px; }
.pa-c > .pa-btn { margin-top: 18px !important; align-self: end; }
/* first video: the same gap below its caption as above the video (the empty lead-in strip before the halls is gone) */
.seq-fade-in { height: 0 !important; margin: 0 !important; }
#perspective { padding-bottom: 84px !important; }
@media (min-width: 900px) { #perspective { padding-bottom: 140px !important; } }
/* «Выпускницы Модуля 1» -> first video: same gap as Valentina's role line -> her photo */
#graduates .col + .film, #graduates .film:first-of-type { margin-top: 20px !important; }
/* belt and braces for Safari: identical header heights in both cards, so prices align even without subgrid */
.pa-c > .pa-name { min-height: 2.24em; }
.pa-c > .pa-sub, .pa-c > .pa-badge { height: 28px !important; box-sizing: border-box; display: flex !important; align-items: center; margin-top: 6px !important; }
.pa-c > .pa-lbl { align-self: start !important; }
@media (min-width: 900px) { .pa-c > .pa-name { min-height: 1.15em; } }
.pa-c > .pa-badge { margin-bottom: 0 !important; }
/* closing photo: animate on its own GPU layer so the scroll-linked lift is smooth on phones */
.final-img { transform: translateZ(0); will-change: transform; }
.final-img img { will-change: transform; backface-visibility: hidden; }

.dock-t b { font-weight: 700; }
/* closing photo: no fade at the top edge (only the soft side edges stay) */
.final-img { -webkit-mask: linear-gradient(to right, transparent 0%, #000 18%, #000 84%, transparent 100%) !important; mask: linear-gradient(to right, transparent 0%, #000 18%, #000 84%, transparent 100%) !important; }

/* hero: no buy button; a quiet cue to scroll instead (a line that keeps drawing downward) */
.scroll-cue { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; font: 500 15px/1 var(--f); color: var(--ink, #141311); }
.scroll-cue i { position: relative; display: block; width: 1px; height: 46px; background: rgba(20,19,17,.18); overflow: hidden; margin-left: 2px; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: currentColor; animation: cueDrop 1.8s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes cueDrop { 0% { top: -40%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue i::after { animation: none; top: 0; height: 100%; } }
/* closing block: no heading, text or button (the plans sit right above); only the hand with the phone, rising from just under the plans note */
.final .final-text, .final .final-in { display: none !important; }
.final { min-height: 0 !important; padding-top: 8px !important; }
@media (min-width: 900px) {
  .final { padding-top: 24px !important; }
  .final-img { position: relative !important; right: auto !important; bottom: auto !important; margin: 0 auto !important; width: min(1100px, 76vw) !important; }
}
/* no hairline between the plans and the phone photo: trim the photo's light top edge and close any sub-pixel seam */
.pricing.light-open::before { bottom: -2px !important; }
.final { margin-top: -1px !important; }
.final-img { overflow: hidden; }
.final-img img { margin-top: -6px !important; }
/* Instagram icon drawn as even strokes (same line weight all the way round) */
.foot-soc svg.ig { fill: none !important; stroke: currentColor; stroke-width: 1.8; }
.foot-soc svg.ig .ig-dot { fill: currentColor; stroke: none; }
/* photo's top edge melts into the grey over a few pixels of plain background (well above the phone), so no line shows */
.final-img { -webkit-mask: linear-gradient(to bottom, transparent 0, #000 22px), linear-gradient(to right, transparent 0%, #000 18%, #000 84%, transparent 100%) !important;
  -webkit-mask-composite: source-in !important; mask: linear-gradient(to bottom, transparent 0, #000 22px), linear-gradient(to right, transparent 0%, #000 18%, #000 84%, transparent 100%) !important; mask-composite: intersect !important; }
/* footer email a little smaller */
.foot-mail { font-size: 15px !important; }
/* the top-edge fade travels with the photo as it rises (the figure keeps only its side fades) */
.final-img { -webkit-mask: linear-gradient(to right, transparent 0%, #000 18%, #000 84%, transparent 100%) !important; mask: linear-gradient(to right, transparent 0%, #000 18%, #000 84%, transparent 100%) !important; }
.final-img img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26px); mask-image: linear-gradient(to bottom, transparent 0, #000 26px); }

/* «Художники в пути»: the same type as «Валентина Робино» */
#graduates .h-sec { font: 600 34px/1.05 var(--f) !important; letter-spacing: -.025em !important; text-transform: none !important; }
@media (min-width: 900px) { #graduates .h-sec { font-size: 56px !important; } }
/* a little more room between the heading block and the first testimonial video */
#graduates .col + .film, #graduates .film:first-of-type { margin-top: 36px !important; }
/* Low Power Mode preview: the silent moving image over the player, with a small "sound off" badge; tap = real video with sound */
.gvid-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; }
.gvid.is-preview .gvid-play { opacity: 0 !important; }
.gvid.is-preview::after { content: ""; position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='white'/%3E%3Cpath d='M17 9l5 6M22 9l-5 6'/%3E%3C/svg%3E") center / 18px no-repeat; pointer-events: none; }
/* hero: course line sits further from the logo; no scroll cue */
.hero-top { margin-top: 28px !important; }
@media (min-width: 900px) { .hero-top { margin-top: 40px !important; } }
.scroll-cue { display: none !important; }

/* «Художники в пути»: like «Пять недель. Три главы.», light then heavy, one line */
#graduates .h-sec { font: 800 clamp(34px, 9vw, 92px)/.98 var(--f) !important; letter-spacing: -.045em !important; text-transform: none !important; }
#graduates .ph-l { display: inline !important; font-weight: 300; }
#graduates .ph-b { display: inline !important; font-weight: 800; }
/* a little less air above «Художники в пути» */
#graduates { padding-top: 64px !important; }
@media (min-width: 900px) { #graduates { padding-top: 110px !important; } }

/* closing photo: no CSS masks (they had to be repainted every frame); the soft edges are plain overlays in the section grey */
.final-img, .final-img img { -webkit-mask: none !important; mask: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
.final-img { position: relative; overflow: hidden; transform: none !important; }
.final-img img { transform: none !important; margin-top: -6px !important; will-change: auto; }
.fi-move { position: relative; transform-origin: 50% 100%; will-change: transform; backface-visibility: hidden; }
.fi-move::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 30px; z-index: 1; pointer-events: none; background: linear-gradient(#D9D7D8, rgba(217,215,216,0)); }
.final-img::before, .final-img::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 2; pointer-events: none; }
.final-img::before { left: 0; background: linear-gradient(90deg, #D9D7D8, rgba(217,215,216,0)); }
.final-img::after { right: 0; width: 16%; background: linear-gradient(270deg, #D9D7D8, rgba(217,215,216,0)); }
/* revert: the original space above «Художники в пути» and between its subtitle and the first video */
#graduates { padding-top: var(--sec) !important; }
#graduates .col + .film, #graduates .film:first-of-type { margin-top: calc(var(--gy) * .45) !important; }
.hero-top { color: #6E6A64 !important; }
.hero-top { color: #141311 !important; }

/* ================= readiness check («Готовы ли вы к Модулю 2?»), part of the course section ================= */
.rd-h { font: 800 clamp(34px, 9vw, 92px)/.98 var(--f) !important; letter-spacing: -.045em !important; text-transform: none !important; }
.rd-l { font-weight: 300; }
.rd .who-m1 { margin-top: 36px; }

.rd-tap { margin-top: 18px; font-size: 15px; opacity: .7; }
.rd-check { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.rd-check button { all: unset; box-sizing: border-box; width: 100%; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; cursor: pointer;
  border: 1px solid rgba(242,236,227,.18); color: inherit; font: 400 16px/1.4 var(--f); transition: border-color .3s, background .3s; -webkit-tap-highlight-color: transparent; }
.rd-check i { flex: none; width: 22px; height: 22px; border: 1.5px solid rgba(242,236,227,.5); border-radius: 50%; position: relative; margin-top: 1px; transition: background .3s, border-color .3s, box-shadow .3s; }
.rd-check i::after { content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 4px; border-left: 2px solid #1E1D1C; border-bottom: 2px solid #1E1D1C; transform: rotate(-45deg) scale(0); transition: transform .3s; }
.rd-check button[aria-pressed="true"] { border-color: rgba(255,215,163,.7); background: rgba(255,215,163,.06); }
.rd-check button[aria-pressed="true"] i { background: #FFD7A3; border-color: #FFD7A3; box-shadow: 0 0 14px rgba(255,210,158,.6); }
.rd-check button[aria-pressed="true"] i::after { transform: rotate(-45deg) scale(1); }
.rd-result { margin-top: 18px; min-height: 1.5em; font: 600 18px/1.4 var(--f); }
.rd-r { display: none; }
.rd-result[data-s="0"] [data-r="0"], .rd-result[data-s="low"] [data-r="low"], .rd-result[data-s="mid"] [data-r="mid"], .rd-result[data-s="ok"] [data-r="ok"] { display: inline; }
.rd-result[data-s="0"] { font-weight: 400; opacity: .55; font-size: 15px; }
.rd-result[data-s="ok"] { color: #FFD7A3; }
#graduates .col + .film, #graduates .film:first-of-type { margin-top: 34px !important; }
#graduates { padding-top: 76px !important; }
@media (min-width: 900px) { #graduates { padding-top: 124px !important; } }
/* Valentina: same space above her name as above «Художники в пути» */
#author { padding-top: 76px !important; }
@media (min-width: 900px) { #author { padding-top: 124px !important; } }
/* the same space above every section title as above «Валентина Робино» */
#program, #pricing { padding-top: 76px !important; }
@media (min-width: 900px) { #program, #pricing { padding-top: 124px !important; } }
.rd-check { margin-top: 26px !important; }
/* vector timer (replaces the conic-gradient one, which showed hairline gaps) */
.pie { border: 0 !important; background: none !important; border-radius: 0 !important; color: var(--ink); }
.pie svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pie .pie-ring { fill: none; stroke: currentColor; stroke-width: 1.6; }
.pie .pie-fill { fill: currentColor; }
/* less empty space between the first video's caption and the end of the section */
#perspective { padding-bottom: 48px !important; }
@media (min-width: 900px) { #perspective { padding-bottom: 90px !important; } }
.pie .pie-ring { stroke-width: 1.4; } /* the wedge fills right up to the ring: one solid pie, no inner gap */
/* revert: the original space under the first video's caption */
#perspective { padding-bottom: 84px !important; }
@media (min-width: 900px) { #perspective { padding-bottom: 140px !important; } }
#graduates .sub { color: var(--ink) !important; opacity: 1 !important; }

.rd-result[data-s="near"] [data-r="near"] { display: inline; }
.rd-result[data-s="near"] { color: #FFD7A3; }
/* «Готов(а) ли я к Модулю 2?»: same space above and below as «Пять недель. Три главы.» */
#who { padding-top: 76px !important; }
.rd-check { margin-top: 46px !important; }
@media (min-width: 900px) { #who { padding-top: 124px !important; } }
/* option bar (only with ?opt=) */
.optbar { position: fixed; left: 8px; right: 8px; top: 64px; z-index: 9000; display: flex; gap: 6px; overflow-x: auto; padding: 7px; border-radius: 14px; background: rgba(20,19,17,.9); scrollbar-width: none; }
.optbar button { flex: none; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); color: #F1F0EE; font: 500 13px/1 var(--f); white-space: pre; }
.optbar button.on { background: #F1F0EE; color: #141311; }
/* plans background options; every one ends in the closing block's grey so the two still read as one room */
html.planbg-2 .pricing.light-open::before { background: linear-gradient(180deg, #EFEEEC 0%, #E4E2E1 55%, #D9D7D8 100%) !important; }
html.planbg-3 .pricing.light-open::before { background: radial-gradient(ellipse 85% 45% at 50% 0%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%), #D9D7D8 !important; }
html.planbg-4 .pricing.light-open::before { background: radial-gradient(ellipse 70% 40% at 12% 8%, rgba(236,224,206,.9), rgba(236,224,206,0) 70%), radial-gradient(ellipse 60% 40% at 95% 70%, rgba(240,238,235,.8), rgba(240,238,235,0) 70%), #D9D7D8 !important; }
html.planbg-5 .pricing.light-open::before { background: radial-gradient(ellipse 38% 30% at 22% 0%, rgba(255,255,255,.7), rgba(255,255,255,0) 72%), radial-gradient(ellipse 38% 30% at 78% 0%, rgba(255,255,255,.7), rgba(255,255,255,0) 72%), linear-gradient(180deg, #E2E0DF, #D9D7D8 60%) !important; }
html.planbg-6 .pricing.light-open::before { background:
    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%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #E8E6E4 0%, #D9D7D8 70%) !important; }
html.planbg-3 .pricing.light-open::before { background: radial-gradient(ellipse 95% 70% at 50% 0%, rgba(255,255,255,.95), rgba(255,255,255,.35) 45%, rgba(255,255,255,0) 80%), #D9D7D8 !important; }
.hero-top { margin-top: 12px !important; } @media (min-width: 900px) { .hero-top { margin-top: 20px !important; } }
.rd-sub { display: block; margin-top: 6px; font-weight: 400; color: var(--ink); opacity: .85; }
/* quiz answer: white, in the style of the former «Для художников…» line, with a slight glow (no gold) */
.rd-result { font: 400 24px/1.28 var(--f) !important; letter-spacing: -.02em; color: var(--ink) !important; text-shadow: 0 0 18px rgba(255,240,222,.35); }
@media (min-width: 900px) { .rd-result { font-size: 40px !important; } }
.rd-result[data-s="ok"], .rd-result[data-s="near"] { color: var(--ink) !important; }
.rd-result[data-s="0"] { font: 400 15px/1.4 var(--f) !important; opacity: .55; text-shadow: none; }
.rd-sub { font: 400 17px/1.45 var(--f); letter-spacing: 0; margin-top: 10px; opacity: .8; text-shadow: none; }
@media (min-width: 900px) { .rd-sub { font-size: 19px; } }
.optbar { transition: opacity .3s, transform .3s; }
.optbar.is-off { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.optbar::before { content: "Фон"; flex: none; align-self: center; padding: 0 6px 0 4px; font: 600 12px/1 var(--f); color: rgba(241,240,238,.6); }
.optbar { bottom: auto !important; top: 64px !important; backdrop-filter: none !important; align-items: center; max-width: none; left: 8px !important; right: 8px !important; } @media (min-width: 900px) { .optbar { left: auto !important; right: 20px !important; } }
.optbar { background: #141311 !important; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.rd-result em { font-style: italic; }
/* ===== plans background, round 2: real depth and texture. The last layer always fades into the closing block's grey ===== */
html[class*="planbg-"] .pricing.light-open::before { background-color: #D9D7D8 !important; }
/* 2 Mist: big soft light and shadow clouds */
html.planbg-2 .pricing.light-open::before { background:
  linear-gradient(180deg, rgba(217,215,216,0) 78%, #D9D7D8 100%),
  radial-gradient(ellipse 60% 28% at 18% 12%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%),
  radial-gradient(ellipse 55% 30% at 85% 30%, rgba(160,157,158,.45), rgba(160,157,158,0) 70%),
  radial-gradient(ellipse 70% 30% at 30% 55%, rgba(250,249,248,.6), rgba(250,249,248,0) 70%),
  radial-gradient(ellipse 50% 26% at 90% 72%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%),
  radial-gradient(ellipse 60% 30% at 8% 80%, rgba(170,167,168,.35), rgba(170,167,168,0) 70%), #D9D7D8 !important; }
/* 3 Plaster: large cloudy texture like a gallery wall */
html.planbg-3 .pricing.light-open::before { background:
  linear-gradient(180deg, rgba(217,215,216,0) 80%, #D9D7D8 100%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -.55'/%3E%3C/filter%3E%3Crect width='700' height='700' filter='url(%23p)'/%3E%3C/svg%3E") 0 0 / 700px 700px,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='q'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.009' numOctaves='3' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.1 -.55'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23q)'/%3E%3C/svg%3E") 0 0 / 600px 600px, #D9D7D8 !important; }
/* 4 Concrete: fine grit plus soft blotches */
html.planbg-4 .pricing.light-open::before { background:
  linear-gradient(180deg, rgba(217,215,216,0) 80%, #D9D7D8 100%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E"),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 -.42'/%3E%3C/filter%3E%3Crect width='500' height='500' filter='url(%23b)'/%3E%3C/svg%3E") 0 0 / 500px 500px,
  linear-gradient(180deg, #E1DFDE, #D4D2D3), #D9D7D8 !important; }
/* 5 Window light: soft diagonal beams falling across the wall */
html.planbg-5 .pricing.light-open::before { background:
  linear-gradient(180deg, rgba(217,215,216,0) 78%, #D9D7D8 100%),
  linear-gradient(118deg, rgba(255,255,255,0) 8%, rgba(255,255,255,.55) 18%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 40%, rgba(255,255,255,.4) 50%, rgba(255,255,255,0) 61%, rgba(255,255,255,0) 70%, rgba(255,255,255,.3) 78%, rgba(255,255,255,0) 88%),
  linear-gradient(180deg, #CFCDCE, #D9D7D8 40%), #D9D7D8 !important; }
/* 6 Vignette: lit centre, darker edges, real depth */
html.planbg-6 .pricing.light-open::before { background:
  linear-gradient(180deg, rgba(217,215,216,0) 80%, #D9D7D8 100%),
  radial-gradient(ellipse 80% 60% at 50% 32%, #EDEBEA 0%, #D9D7D8 52%, #BCBABB 100%) !important; }
/* 7 Linen: a fine woven texture over a soft fade */
html.planbg-7 .pricing.light-open::before { background:
  linear-gradient(180deg, rgba(217,215,216,0) 82%, #D9D7D8 100%),
  repeating-linear-gradient(0deg, rgba(0,0,0,.035) 0 1px, rgba(0,0,0,0) 1px 3px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, rgba(255,255,255,0) 1px 4px),
  radial-gradient(ellipse 80% 50% at 30% 10%, rgba(255,255,255,.5), rgba(255,255,255,0) 70%),
  linear-gradient(180deg, #E3E1E0, #D9D7D8) !important; }
/* 8 Drifting mist: the Mist clouds slowly moving */
html.planbg-8 .pricing.light-open::before { background:
  radial-gradient(ellipse 30% 22% at 50% 50%, rgba(255,255,255,.7), rgba(255,255,255,0) 70%) 0 0 / 120% 60%,
  radial-gradient(ellipse 30% 22% at 50% 50%, rgba(160,157,158,.4), rgba(160,157,158,0) 70%) 0 0 / 110% 55%,
  radial-gradient(ellipse 30% 22% at 50% 50%, rgba(250,249,248,.6), rgba(250,249,248,0) 70%) 0 0 / 130% 70%, #D9D7D8 !important;
  animation: planMist 26s ease-in-out infinite alternate; }
html.planbg-8 .pricing.light-open::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(217,215,216,0), #D9D7D8); }
@keyframes planMist { 0% { background-position: -20% 0%, 90% 30%, 10% 85%; } 100% { background-position: 60% 20%, 10% 60%, 80% 40%; } }
@media (prefers-reduced-motion: reduce) { html.planbg-8 .pricing.light-open::before { animation: none; } }
.pricing .early { margin-bottom: 0 !important; } .pricing .card-wrap { margin-top: 32px !important; } @media (min-width: 900px) { .pricing .card-wrap { margin-top: 48px !important; } }
.pricing .card-wrap { margin-top: 14px !important; } /* same gap as title -> «Ранняя цена заканчивается через» */
/* quiz answer: the earlier bolder, smaller setting, in white with a slight glow */
.rd-result { font: 600 18px/1.4 var(--f) !important; letter-spacing: 0 !important; color: var(--ink) !important; text-shadow: 0 0 14px rgba(255,240,222,.35); }
@media (min-width: 900px) { .rd-result { font-size: 22px !important; } }
.rd-result[data-s="0"] { font: 400 15px/1.4 var(--f) !important; text-shadow: none; }
#graduates .ph-l, #graduates .ph-b { display: block !important; } /* «Художники на своей» light, «траектории» heavy, two lines */
/* the Module 1 note now comes first, then the quiz title */
.rd .who-m1 { margin-top: 0 !important; margin-bottom: 46px; }
/* Valentina's section: the same Mist background as the plans */
#author::before { background:
  radial-gradient(ellipse 60% 28% at 18% 12%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%),
  radial-gradient(ellipse 55% 30% at 85% 30%, rgba(160,157,158,.45), rgba(160,157,158,0) 70%),
  radial-gradient(ellipse 70% 30% at 30% 55%, rgba(250,249,248,.6), rgba(250,249,248,0) 70%),
  radial-gradient(ellipse 50% 26% at 90% 72%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%),
  radial-gradient(ellipse 60% 30% at 8% 80%, rgba(170,167,168,.35), rgba(170,167,168,0) 70%), #D9D7D8 !important; }
/* keep the Mist at the plans' scale all the way down her (taller) section */
#author::before { background-size: 100% 900px !important; background-repeat: repeat-y !important; }
.who-m1 a { color: var(--ink) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.rd-result em { font-style: normal !important; font-weight: inherit; text-shadow: inherit; background: none !important; } /* the word now matches the rest of the answer */
/* «Выберите тариф»: the same light/heavy two-line title as «Художники на своей траектории» */
#pricing .pr-h { font: 800 clamp(34px, 9vw, 92px)/.98 var(--f) !important; letter-spacing: -.045em !important; text-transform: none !important; }
#pricing .pr-h .ph-l { display: block; font-weight: 300; }
#pricing .pr-h .ph-b { display: block; font-weight: 800; }
/* Valentina's list: the same bullet as the course chapters (size, indent, spacing, text size), in black */
#author .dots { display: block !important; gap: 0 !important; }
#author .dots li { font-size: 17px !important; line-height: 1.5 !important; padding-left: 22px !important; }
#author .dots li + li { margin-top: 10px !important; }
#author .dots li::before { width: 5px !important; height: 5px !important; left: 2px !important; top: .68em !important; background: #121015 !important; box-shadow: none !important; }
@media (min-width: 900px) { #author .dots li { font-size: 19px !important; } }
/* quiz: one joined list (no gaps between the statements); a ticked statement lifts slightly */
.rd-check { gap: 0 !important; }
.rd-check li + li button { margin-top: -1px; }
.rd-check button { position: relative; transition: transform .25s, box-shadow .25s, border-color .3s, background .3s !important; }
.rd-check button[aria-pressed="true"] { z-index: 1; transform: translateY(-3px); box-shadow: 0 10px 22px -8px rgba(0,0,0,.6), 0 0 0 1px rgba(255,215,163,.35); background: rgba(255,215,163,.09) !important; }
/* «Готов(а) ли я» heavy on top, «к Модулю 2?» light below */
.rd-h .rd-l { display: block; font-weight: 800 !important; }
.rd-h .rd-b { display: block; font-weight: 300 !important; }
#pricing .pr-h .ph-l, #pricing .pr-h .ph-b { display: inline !important; } /* «Выберите тариф» on one line */
/* «Выберите» heavy on top, «тариф» light below */
#pricing .pr-h .ph-l { display: block !important; font-weight: 800 !important; }
#pricing .pr-h .ph-b { display: block !important; font-weight: 300 !important; }
/* Valentina's title: «Ваш преподаватель» heavy, her name light below (same scale as the other section titles) */
#author .a-title { font: 800 clamp(34px, 9vw, 92px)/.98 var(--f) !important; letter-spacing: -.045em !important; }
#author .a-title .at-b { display: block; font-weight: 800; }
#author .a-title .at-l { display: block; font-weight: 300; }
.rd-result em { font-style: italic !important; } /* only the slant differs; weight, colour and glow match the sentence */
/* ===== tick-style options (preview: ?opt=tick). 1 = current boxes ===== */
html[class*="tick-"]:not(.tick-1) .rd-check button { border: 0 !important; background: none !important; box-shadow: none !important; transform: none !important; padding-left: 4px; padding-right: 4px; }
html[class*="tick-"]:not(.tick-1) .rd-check li + li button { margin-top: 0; }
/* 2 Lines: hairline separators, ring that fills with a glow */
html.tick-2 .rd-check li + li button { border-top: 1px solid rgba(242,236,227,.14) !important; }
html.tick-2 .rd-check button[aria-pressed="true"] span { color: #fff; }
/* 3 Glow row: the whole row lights up warmly when ticked */
html.tick-3 .rd-check button { border-radius: 14px !important; transition: background .35s, box-shadow .35s !important; }
html.tick-3 .rd-check button[aria-pressed="true"] { background: radial-gradient(ellipse 80% 120% at 12% 50%, rgba(255,215,163,.18), rgba(255,215,163,0) 70%) !important; box-shadow: 0 0 30px -10px rgba(255,210,158,.45) !important; }
html.tick-3 .rd-check button span { transition: opacity .3s; opacity: .7; }
html.tick-3 .rd-check button[aria-pressed="true"] span { opacity: 1; }
/* 4 Toggle: an iOS-style switch on the right */
html.tick-4 .rd-check button { flex-direction: row-reverse; justify-content: space-between; }
html.tick-4 .rd-check li + li button { border-top: 1px solid rgba(242,236,227,.12) !important; }
html.tick-4 .rd-check i { width: 44px !important; height: 26px !important; border-radius: 99px !important; border: 0 !important; background: rgba(242,236,227,.18) !important; box-shadow: none !important; flex: none; margin-top: 0 !important; }
html.tick-4 .rd-check i::after { left: 3px !important; top: 3px !important; width: 20px !important; height: 20px !important; border: 0 !important; border-radius: 50% !important; background: #F1F0EE; transform: none !important; transition: left .3s !important; }
html.tick-4 .rd-check button[aria-pressed="true"] i { background: #FFD7A3 !important; box-shadow: 0 0 14px rgba(255,210,158,.55) !important; }
html.tick-4 .rd-check button[aria-pressed="true"] i::after { left: 21px !important; background: #1E1D1C; }
/* 5 Hand tick: no circle at rest, a drawn tick appears; text is struck through softly when unticked? no: text brightens */
html.tick-5 .rd-check i { border: 1.5px dashed rgba(242,236,227,.4) !important; background: none !important; box-shadow: none !important; }
html.tick-5 .rd-check i::after { left: 4px !important; top: 2px !important; width: 14px !important; height: 7px !important; border-left: 2.5px solid #FFD7A3 !important; border-bottom: 2.5px solid #FFD7A3 !important; transform: rotate(-45deg) scale(0) !important; transform-origin: 30% 70%; transition: transform .35s cubic-bezier(.3,1.6,.5,1) !important; filter: drop-shadow(0 0 6px rgba(255,210,158,.8)); }
html.tick-5 .rd-check button[aria-pressed="true"] i { border-color: transparent !important; }
html.tick-5 .rd-check button[aria-pressed="true"] i::after { transform: rotate(-45deg) scale(1.15) !important; }
/* 6 Underline: no marker at all; a glowing line draws under the chosen statement */
html.tick-6 .rd-check i { display: none !important; }
html.tick-6 .rd-check button span { background: linear-gradient(#FFD7A3, #FFD7A3) 0 100% / 0 2px no-repeat; transition: background-size .45s, color .3s; padding-bottom: 3px; color: rgba(242,236,227,.65); }
html.tick-6 .rd-check button[aria-pressed="true"] span { background-size: 100% 2px; color: #fff; text-shadow: 0 0 12px rgba(255,210,158,.4); }
html.tick-6 .rd-check button span::before { content: "+ "; color: rgba(255,215,163,.8); }
html.tick-6 .rd-check button[aria-pressed="true"] span::before { content: "✓ "; color: #FFD7A3; }
/* 7 Cards: soft rounded cards with space, no hard border; ticked card lifts */
html.tick-7 .rd-check { gap: 10px !important; }
html.tick-7 .rd-check button { border-radius: 16px !important; background: rgba(242,236,227,.05) !important; padding: 16px 18px !important; transition: transform .25s, background .3s, box-shadow .3s !important; }
html.tick-7 .rd-check button[aria-pressed="true"] { background: rgba(255,215,163,.12) !important; transform: translateY(-3px) !important; box-shadow: 0 14px 26px -12px rgba(0,0,0,.7) !important; }
/* Valentina's title back to the earlier single line: her name in the semibold section style */
#author .a-title { font: 600 34px/1.05 var(--f) !important; letter-spacing: -.025em !important; }
@media (min-width: 900px) { #author .a-title { font-size: 56px !important; } }
/* «Выберите тариф» on one line (bold «Выберите», light «тариф») */
#pricing .pr-h .ph-l, #pricing .pr-h .ph-b { display: inline !important; }
/* the instruction sits between the title and the statements; the line under them only shows answers */
.rd-tap { margin: 0 0 14px !important; font: 400 15px/1.4 var(--f) !important; opacity: .6; }
.rd-check { margin-top: 0 !important; }
#who .rd-h { margin-bottom: 30px; }
.rd-result[data-s="0"] [data-r="0"] { display: none !important; }
/* ticks centred on the text block */
.rd-check button { align-items: center !important; }
.rd-check i { margin-top: 0 !important; }
/* plans: title back to the earlier bold capitals; more air between title, timer and the plan cards */
#pricing .warm-title { font: 800 36px/1.003 var(--f) !important; letter-spacing: -.03em !important; text-transform: uppercase !important; }
@media (min-width: 900px) { #pricing .warm-title { font-size: 60px !important; } }
.pricing .early { margin-top: 26px !important; }
.pricing .count { margin-top: 12px !important; }
.pricing .card-wrap { margin-top: 40px !important; }
@media (min-width: 900px) { .pricing .early { margin-top: 36px !important; } .pricing .card-wrap { margin-top: 56px !important; } }
/* tap hint: a fingertip dot with water-ripple rings */
.rd-check button { position: relative; }
.rd-hint { position: absolute; right: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; pointer-events: none; transition: opacity .4s; }
.rd-hint::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255,215,163,.95); box-shadow: 0 0 12px rgba(255,210,158,.8); animation: rdTap 2.2s ease-in-out infinite; }
.rd-hint b { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1.5px solid rgba(255,215,163,.85); opacity: 0; animation: rdRipple 2.2s ease-out infinite; }
.rd-hint b:nth-child(2) { animation-delay: .25s; }
.rd-hint b:nth-child(3) { animation-delay: .5s; }
.rd-hint.is-gone { opacity: 0; }
@keyframes rdTap { 0%, 100% { transform: scale(1); } 12% { transform: scale(.7); } 24% { transform: scale(1); } }
@keyframes rdRipple { 0%, 10% { opacity: 0; transform: scale(1); } 14% { opacity: .9; } 70%, 100% { opacity: 0; transform: scale(3.6); } }
@media (prefers-reduced-motion: reduce) { .rd-hint::before, .rd-hint b { animation: none; } }
.rd-check li:first-child button span { padding-right: 34px; }
/* hint dot: a true circle (it inherited the toggle/box sizing) */
.rd-hint { width: 14px !important; height: 14px !important; flex: none; }
.rd-hint::before { width: 14px; height: 14px; inset: auto; left: 0; top: 0; }
/* answer area keeps one height whatever the answer, so the section never jumps */
.rd-result { min-height: 5.6em !important; }
@media (min-width: 900px) { .rd-result { min-height: 4.2em !important; } }
/* option 9 «Warm light»: the same soft light-to-warm wash as the sections right after the hero, for Valentina and the plans */
html.planbg-9 .pricing.light-open::before,
html.planbg-9 #author::before { background: linear-gradient(180deg, #F2EFEB 0%, #EEEAE4 45%, #E9E4DD 100%) !important; background-size: auto !important; }
html.planbg-9 .final { background: #E9E4DD !important; }
/* warm light: the closing photo's grey studio wall is tinted to the same warm tone, so the photo melts into the section */
html.planbg-9 .final .fi-move img { filter: sepia(.12) saturate(1.15) brightness(1.04); }
html.planbg-9 .final-img::before { background: linear-gradient(90deg, #E9E4DD, rgba(233,228,221,0)) !important; }
html.planbg-9 .final-img::after { background: linear-gradient(270deg, #E9E4DD, rgba(233,228,221,0)) !important; }
html.planbg-9 .fi-move::before { background: linear-gradient(#E9E4DD, rgba(233,228,221,0)) !important; }
/* tap hint: ripple rings only, in white, no centre dot */
.rd-hint::before { display: none !important; }
.rd-hint b { border-color: rgba(255,255,255,.9) !important; }
#author .dots li + li { margin-top: 20px !important; } /* more air between Valentina's bullet points */
/* Valentina's closing quote a touch smaller */
#author .q { font-size: 21px !important; line-height: 1.32 !important; }
@media (min-width: 900px) { #author .q { font-size: 34px !important; } }
/* quiz: no tap/focus box around a statement on iPhone, only the tick */
.rd-check button { -webkit-tap-highlight-color: transparent !important; outline: none !important; }
.rd-check button:focus, .rd-check button:focus-visible, .rd-check button:active { outline: none !important; box-shadow: none !important; background: none !important; }
/* quiz answer: one fixed height from the start (fits the longest answer), so the section never changes size */
.rd-result { height: 101px !important; min-height: 0 !important; overflow: hidden; margin-top: 14px !important; }
@media (min-width: 900px) { .rd-result { height: 96px !important; } }
#who { padding-bottom: 64px !important; }
@media (min-width: 900px) { #who { padding-bottom: 110px !important; } }
/* «Ранняя цена заканчивается через» in the same red as the early-price bar's dot */
.pricing .early-t { color: #e5322d !important; }
/* shorter end of the quiz section */
#who { padding-bottom: 28px !important; }
@media (min-width: 900px) { #who { padding-bottom: 40px !important; } }
/* ===== early-price dock: the pricing palette (charcoal, off-white), slimmer and quieter ===== */
.dock { left: 14px !important; right: 14px !important; gap: 10px !important; padding: 5px 5px 5px 14px !important;
  background: rgba(38,37,36,.9) !important; -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 10px 30px rgba(0,0,0,.28) !important; }
.dock-t { font: 400 13px/1.2 var(--f) !important; letter-spacing: 0 !important; color: rgba(244,242,241,.72) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
.dock-t b { font-weight: 600 !important; color: #F4F2F1; }
.dock-cta { background: #F4F2F1 !important; color: #111 !important; font: 600 13px/1 var(--f) !important; letter-spacing: 0 !important; padding: 10px 15px !important; }
.rec-dot { width: 6px !important; height: 6px !important; }
@keyframes recp { 0% { box-shadow: 0 0 0 0 rgba(229,50,45,.45); } 100% { box-shadow: 0 0 0 7px rgba(229,50,45,0); } }
@media (min-width: 900px) {
  .dock { left: 50% !important; right: auto !important; width: auto !important; margin-left: 0 !important; transform: translate(-50%, 160%); bottom: 22px !important; padding: 5px 5px 5px 18px !important; gap: 14px !important; }
  .dock.show { transform: translate(-50%, 0) !important; }
  .dock-t { font-size: 14px !important; }
  .dock-cta { font-size: 14px !important; padding: 11px 18px !important; }
}
/* dock on phones: the whole line «Ранняя цена до 23 октября» fits (checked at 375 and 360 px) */
@media (max-width: 899px) { .dock { gap: 8px !important; padding: 5px 5px 5px 12px !important; } .dock-t { font-size: 12.5px !important; } .dock-cta { font-size: 12.5px !important; padding: 10px 13px !important; } }
@media (max-width: 379px) { .dock { left: 10px !important; right: 10px !important; } .dock-t { font-size: 12px !important; } .dock-cta { font-size: 12px !important; padding: 10px 12px !important; } }
/* dock: only as wide as its content, centred (phones too) */
.dock { left: 50% !important; right: auto !important; width: max-content !important; max-width: calc(100% - 20px) !important; margin-left: 0 !important;
  transform: translate(-50%, 160%) !important; }
.dock.show { transform: translate(-50%, 0) !important; }
.dock-txt { flex: 0 1 auto !important; }
/* quiz: no instruction line; the list sits under the heading with the section's usual gap (30px heading -> first statement) */
.rd-tap { display: none !important; }
#who .rd-h { margin-bottom: 16px !important; }
/* quiz default (nothing ticked): «Если ничего из этого не про вас, рекомендуем начать с Модуля 1» styled like the other answers */
.rd-result[data-s="0"] [data-r="0"] { display: inline !important; }
.rd-result[data-s="0"] { font: 600 18px/1.4 var(--f) !important; opacity: 1 !important; text-shadow: 0 0 14px rgba(255,240,222,.35) !important; }
@media (min-width: 900px) { .rd-result[data-s="0"] { font-size: 22px !important; } }
.rd-result a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
/* quiz spacing: heading -> list = list -> answer = (3-line) answer -> end of section */
#who .rd-h { margin-bottom: var(--rdg) !important; }
#who { --rdg: 17px; padding-bottom: 31px !important; }
.rd-result { margin-top: var(--rdg) !important; height: 4.2em !important; margin-bottom: 0 !important; }
/* quiz gaps = the gap above the title (Module 1 note -> title, 45px text to text); shorter end of the section */
#who .rd-h { margin-bottom: 34px !important; }
.rd-result { margin-top: 28px !important; }
#who { padding-bottom: 18px !important; }
/* a little more room after the answer */
#who { padding-bottom: 30px !important; }

/* answer area: at least 3 lines (no jumps), grows only if an answer needs a 4th line on a narrow phone, so nothing is ever cut off */
.rd-result { height: auto !important; min-height: 4.2em !important; }

/* «Модуль 1» never splits across two lines */
.rd-result a { white-space: nowrap; }

/* quiz answers in Montserrat Light; «Модуль 1» links bold + underlined */
.rd-result, .rd-result[data-s="0"], .rd-result[data-s="ok"], .rd-result[data-s="near"] { font-weight: 300 !important; }
.rd-result em { font-weight: 300 !important; font-style: italic !important; }
.rd-result a { font-weight: 700; }

/* hero film at its real brightness: no overall dimming, just a soft dark fade at the bottom where the words come up */
.hero-dim { opacity: 0; background: linear-gradient(to top, rgba(12,11,10,.62) 0%, rgba(12,11,10,.38) 22%, rgba(12,11,10,.12) 40%, rgba(12,11,10,0) 55%) !important; }

/* quiz answers: a touch heavier (Regular) with a slightly stronger glow */
.rd-result, .rd-result[data-s="0"], .rd-result[data-s="ok"], .rd-result[data-s="near"] { font-weight: 400 !important; text-shadow: 0 0 14px rgba(255,240,222,.48) !important; }
.rd-result em { font-weight: 400 !important; }
/* quiz answer: pure white so it stands out */
.rd-result, .rd-result .rd-r, .rd-result a, .rd-result em { color: #fff !important; }
/* more room after the answer (was 30px) */
#who { padding-bottom: 48px !important; }
/* plan buttons: identical height at every screen size. The light button's outline is drawn inside it (adds no height) instead of a
   1px border that made it 2px taller than the black one; +2px above it keeps the cards' height, so the black button stays where it was. */
.pa-c > .pa-btn.pa-btn--light { border-width: 0 !important; box-shadow: inset 0 0 0 1px currentColor !important; margin-top: 20px !important; }
/* video sound button: bottom right (thumb side) instead of bottom left */
.gvid-sound { left: auto !important; right: 12px !important; }
/* «Художники на своей траектории» -> first video: same gap as «Пять недель. Три главы.» -> «Глава 1» */
#graduates .col + .film, #graduates .film:first-of-type { margin-top: 44px !important; }
/* tick glow: Safari draws the glow correctly while the tick animates (own GPU layer), then clips it to a square when the animation
   ends and the tick is flattened back into the page. Keeping the tick on its own layer permanently keeps the soft glow. */
html.tick-5 .rd-check i::after { will-change: transform, filter; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* glow fixes (same family as the tick):
   - quiz answer: the answer area grows with its text now, so it no longer needs to clip; letting it overflow removes the glow box
   - video play triangle: soft drop-shadow on an element that fades in and out; keep it on its own layer so Safari never flattens it into a square */
.rd-result { overflow: visible !important; }
.gvid-play svg { will-change: transform, filter; -webkit-backface-visibility: hidden; backface-visibility: hidden; }


/* compare bar (preview only, ?opt=plansp,planbg) */
.cmpbar { position: fixed; left: 8px; right: 8px; top: 64px; z-index: 9000; display: grid; gap: 6px; padding: 8px; border-radius: 14px; background: #141311; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: opacity .3s, transform .3s; font-family: var(--f); }
.cmpbar.is-off { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.cmpbar-row { display: flex; align-items: center; gap: 6px; }
.cmpbar-t { flex: none; width: 62px; padding-left: 4px; font: 600 12px/1 var(--f); color: rgba(241,240,238,.6); }
.cmpbar button { flex: 1; min-height: 38px; padding: 0 10px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); color: #F1F0EE; font: 500 13px/1.1 var(--f); }
.cmpbar button.on { background: #F1F0EE; color: #141311; }
@media (min-width: 900px) { .cmpbar { left: auto; right: 20px; top: 84px; width: 420px; } }
.cmpbar { top: auto; bottom: calc(14px + env(safe-area-inset-bottom)); }
.cmpbar.is-off { transform: translateY(12px); }
@media (min-width: 900px) { .cmpbar { top: auto; bottom: 20px; } }

/* chosen 7 Oct: plans on the grey Mist background, Valentina's section keeps its warm cream */
html[class*="planbg-"] #author::before { background: linear-gradient(180deg, #F2EFEB 0%, #EEEAE4 45%, #E9E4DD 100%) !important; background-size: auto !important; }   /* whatever the plans background, her section stays cream */


/* plans background option 10 (preview: ?opt=planbg): beige mist, the grey Mist's soft light and shadow clouds in warm beige; plans section only */
html.planbg-10 .pricing.light-open::before { background:
  linear-gradient(180deg, rgba(217,215,216,0) 78%, #D9D7D8 100%),   /* fades into the grey of the block below, no seam */
  radial-gradient(ellipse 60% 28% at 18% 12%, rgba(255,252,247,.8), rgba(255,252,247,0) 70%),
  radial-gradient(ellipse 55% 30% at 85% 30%, rgba(186,168,145,.42), rgba(186,168,145,0) 70%),
  radial-gradient(ellipse 70% 30% at 30% 55%, rgba(251,247,241,.65), rgba(251,247,241,0) 70%),
  radial-gradient(ellipse 50% 26% at 90% 72%, rgba(255,252,247,.6), rgba(255,252,247,0) 70%),
  radial-gradient(ellipse 60% 30% at 8% 80%, rgba(192,175,152,.32), rgba(192,175,152,0) 70%), #E2DACF !important; background-size: auto !important; }
/* chosen 7 Oct: the plans section has the same cream gradient as Valentina's section (only the last strip fades into the grey block below, so no seam) */
html.planbg-2 .pricing.light-open::before { background: linear-gradient(180deg, rgba(217,215,216,0) 88%, #D9D7D8 100%), linear-gradient(180deg, #F2EFEB 0%, #EEEAE4 45%, #E9E4DD 100%) !important; background-size: auto !important; }

/* Valentina's facts grid: a little further in from the screen edges on phones */
@media (max-width: 899px) { #author .facts { padding-left: 14px !important; padding-right: 14px !important; } }
/* quiz: a little less space between the title and the first statement (was 45px text to text) */
#who .rd-h { margin-bottom: 24px !important; }
/* Valentina's facts: headlines and small lines line up across each row (no stretching of the headline area) */
#author .facts > li { align-content: start; }
@supports (grid-template-rows: subgrid) {
  #author .facts > li { grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 6px; }
  #author .facts > li > span { margin-top: 0 !important; }
}

.cmpbar-wrap { flex-wrap: wrap; }
.cmpbar-wrap button { flex: 1 1 30%; min-height: 40px; font-size: 12.5px; }


/* ===== quiz instruction (chosen 7 Oct): «Нажмите на все пункты, которые про вас» in white on the left, the ripple right after it.
   The ripple fades out on the first tap. Gap to the first statement = gap from the last statement to the answer (45px). ===== */
#who .rd-tap { display: flex !important; align-items: center; justify-content: flex-start; gap: 12px; margin: 0 0 1px !important;
  font: 400 15px/1.4 var(--f) !important; color: #fff !important; opacity: 1 !important; }
#who .rd-h { margin-bottom: 20px !important; }
#who .rd-tap-dot { display: none !important; order: 2; position: relative; flex: none; width: 14px; height: 14px; margin-left: 2px; transition: opacity .4s; }
#who .rd-tap-dot b { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.9); opacity: 0; animation: rdRipple 2.2s ease-out infinite; }
#who .rd-tap-dot b:nth-child(2) { animation-delay: .25s; } #who .rd-tap-dot b:nth-child(3) { animation-delay: .5s; }
#who.is-tapped .rd-tap-dot { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) { #who .rd-tap-dot b { animation: none; opacity: .8; } }

/* 7 Oct: instruction line sits evenly between title and list (17px above and below); the ripple is back on the right of the first statement */

.cmpbar { bottom: calc(66px + env(safe-area-inset-bottom)) !important; }

/* chosen 7 Oct: instruction line in light italic with the answers' soft glow; 22px above and below it */
#who .rd-tap { font: italic 300 16px/1.4 var(--f) !important; text-shadow: 0 0 14px rgba(255,240,222,.48); }
#who .rd-h { margin-bottom: 25px !important; }
#who .rd-tap { margin-bottom: 6px !important; }

