/* Hootreel — «Premiere», site B (family film), 14.10.2026; served by the app from app/public since site-into-app.
   Own stylesheet: nothing here is shared with family/, night/, tales/ or gift/.
   Palette: cream #FBF3EA, paper #FFFDF9, plum #2A1631 (ink and the dark grounds of the films), berry #D23C5F (the one
   brand colour), candle #F4B860 only for the small lights on the dark grounds. Type: Jost (display, a party poster) +
   DM Sans (text), both SIL OFL 1.1, local files under /fonts/. Signature shapes: the premiere ticket with its
   notches, the date stamp, the TV and the phones. */
/* Fonts (.contracts/fonts.md): both files narrowed to wght 400-700 by tools/build_fonts.py. DM Sans is the body text,
   so `optional` (web.dev, font-best-practices); Jost swaps in. Each fallback face sits on Arial (or its metric twins)
   with overrides from the font tables and a measured size-adjust (`python3 tools/build_fonts.py metrics`). */
@font-face { font-family: "Jost"; src: url("/fonts/jost/Jost.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dmsans/DMSans.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: optional; }
@font-face { font-family: "Jost Fallback"; src: local("Arial"), local("Arimo"), local("Liberation Sans");
  size-adjust: 96.13%; ascent-override: 111.31%; descent-override: 39.01%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"), local("Arimo"), local("Liberation Sans");
  size-adjust: 103.98%; ascent-override: 95.4%; descent-override: 29.81%; line-gap-override: 0%; }

:root {
  --cream: #FBF3EA; --paper: #FFFDF9; --blush: #F7DCE0; --plum: #2A1631; --plum-2: #3A2142; --muted: #6E5B6B;
  --line: rgba(42, 22, 49, .13); --on-plum: #FBF3EA; --on-plum-muted: rgba(251, 243, 234, .7);
  --brand: #D23C5F; --brand-hover: #B92F51; --candle: #F4B860;
  --font-display: "Jost", "Jost Fallback", "Futura", "Avenir Next", system-ui, sans-serif;
  --font-body: "DM Sans", "DM Sans Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --r: 22px; --pad: 20px; --max: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--plum); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.02em; line-height: 1.02; }
h1 { font-weight: 600; font-size: 36px; }
h2 { font-weight: 600; font-size: 36px; }
h3 { font-weight: 500; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1.3 var(--font-display); letter-spacing: .2em;
  text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.plum .eyebrow { color: var(--candle); }
.lede { font-size: 18px; color: var(--muted); max-width: 52ch; }
.plum .lede { color: var(--on-plum-muted); }
.draft { display: inline-block; font: 700 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px;
  border-radius: 6px; background: var(--blush); color: var(--brand); vertical-align: middle; }
.hl { color: var(--brand); }
.plum .hl { color: var(--candle); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0;
  border-radius: 14px; background: var(--brand); color: #fff; font: 600 16px/1 var(--font-display); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .2s, transform .15s; }
.btn:hover { background: var(--brand-hover); }
.btn:active { transform: translateY(1px); }
.btn.cream { background: var(--cream); color: var(--plum); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brand); padding-bottom: 1px; background: none; border-top: 0;
  border-left: 0; border-right: 0; color: inherit; font-size: inherit; cursor: pointer; font-family: inherit; }
.plum .textlink { border-bottom-color: var(--candle); }

/* header: light bar, the wordmark with a candle dot */
.top { position: sticky; top: 0; z-index: 30; background: rgba(251, 243, 234, .94); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.mark { font: 700 23px/1 var(--font-display); letter-spacing: -.03em; text-decoration: none; display: inline-flex; align-items: baseline; gap: 2px; }
.mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); display: inline-block; margin-left: 2px; }
.menu { display: none; gap: 26px; font: 500 14px/1 var(--font-display); }
.menu a { text-decoration: none; opacity: .75; }
.menu a:hover { opacity: 1; }

/* media slots: a placeholder picture until the filled copy puts the pilot cut in */
.slot { position: relative; overflow: hidden; background: var(--plum); }
.slot > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.slot .media-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slot[data-media="video"] > svg, .slot[data-media="image"] > svg, .slot[data-media="video"] > .ph, .slot[data-media="image"] > .ph { display: none; }
.ph { position: absolute; left: 10px; top: 10px; z-index: 2; font: 600 10px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream); background: rgba(42, 22, 49, .55); padding: 6px 8px; border-radius: 6px; }
.slot .tag.standin { position: absolute; right: 10px; top: 10px; z-index: 3; font: 600 10px/1 var(--font-body); letter-spacing: .12em;
  text-transform: uppercase; color: var(--plum); background: var(--candle); padding: 6px 8px; border-radius: 6px; }
.r169 { aspect-ratio: 16 / 9; }
.r916 { aspect-ratio: 9 / 16; }
.r34 { aspect-ratio: 3 / 4; }

/* ---------- home: first screen ---------- */
.hero { position: relative; background: var(--plum); color: var(--on-plum); }
.hero-film { position: relative; height: 60svh; min-height: 440px; }
.hero-film .slot { position: absolute; inset: 0; }
.hero-film .wide { display: none; }
.hero-film::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(180deg, rgba(42, 22, 49, .35) 0%, rgba(42, 22, 49, 0) 30%, rgba(42, 22, 49, .45) 50%, rgba(42, 22, 49, .96) 100%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-bottom: 18px; }
.hero-copy h1 { max-width: 15ch; }
.hero-copy .sub { margin-top: 12px; font: 500 19px/1.35 var(--font-display); color: var(--on-plum); max-width: 34ch; }
.hero-copy .sub b { color: var(--candle); font-weight: 600; }
.film-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; font-size: 13px; color: var(--on-plum-muted); }
.play { display: inline-flex; align-items: center; gap: 10px; background: rgba(251, 243, 234, .14); color: var(--on-plum); border: 1px solid rgba(251, 243, 234, .35);
  border-radius: 999px; padding: 8px 14px 8px 8px; font: 600 14px/1 var(--font-display); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.play .tri { width: 26px; height: 26px; border-radius: 50%; background: var(--cream); position: relative; }
.play .tri::after { content: ""; position: absolute; left: 10px; top: 8px; border-left: 9px solid var(--plum); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* the premiere ticket with the date */
.ticket-row { position: relative; z-index: 4; padding-bottom: 40px; margin-top: 8px; }
.ticket { position: relative; background: var(--paper); color: var(--plum); border-radius: var(--r); padding: 22px 20px 20px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .5);
  -webkit-mask: radial-gradient(circle 13px at 0 112px, transparent 98%, #000 100%) left / 51% 100% no-repeat,
                radial-gradient(circle 13px at 100% 112px, transparent 98%, #000 100%) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 13px at 0 112px, transparent 98%, #000 100%) left / 51% 100% no-repeat,
                radial-gradient(circle 13px at 100% 112px, transparent 98%, #000 100%) right / 51% 100% no-repeat; }
.ticket .t-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; min-height: 64px; }
.ticket .t-label { font: 600 12px/1.3 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--brand); }
.ticket .t-q { font: 600 24px/1.1 var(--font-display); margin-top: 6px; letter-spacing: -.02em; }
.stamp { flex: none; width: 70px; height: 74px; border-radius: 12px; background: var(--brand); color: #fff; text-align: center; padding-top: 9px;
  font-family: var(--font-display); }
.stamp b { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.stamp span { display: block; font-size: 32px; font-weight: 600; line-height: 1.05; }
.stamp.empty { background: var(--blush); color: var(--brand); }
.perf { border-top: 2px dashed var(--line); margin: 14px -4px 16px; }
.datefield { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.datefield label { font-weight: 600; font-size: 15px; }
select, .field input, .field textarea { font: 500 16px/1.3 var(--font-body); color: var(--plum); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px; }
select:focus, .field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.dp { display: inline-flex; gap: 8px; }
select { cursor: pointer; padding-right: 10px; }
.lanes-line { margin-top: 8px; font: 500 14px/1.4 var(--font-body); color: var(--on-plum-muted); }
.ready { margin-top: 14px; font-size: 15px; line-height: 1.45; }
.ready strong { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.ready .warn { color: var(--brand); font-weight: 600; }
.lanes { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.lanes li { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: baseline; font-size: 14px; padding: 9px 12px;
  background: var(--cream); border-radius: 10px; }
.lanes li b { font-family: var(--font-display); font-weight: 600; }
.lanes li em { font-style: normal; font-weight: 600; color: var(--brand); white-space: nowrap; }
.ticket .btn { width: 100%; margin-top: 16px; }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
.sec.plum { background: var(--plum); color: var(--on-plum); }
.sec.paper { background: var(--paper); }
.sec-head { max-width: 760px; margin-bottom: 34px; }
.sec-head h2 { margin-top: 14px; }
.sec-head .lede { margin-top: 14px; }

/* the premiere: a TV and two phones */
.premiere { display: grid; gap: 34px; }
.screen-card h3 { margin-top: 18px; }
.screen-card p { margin-top: 8px; color: var(--on-plum-muted); max-width: 40ch; }
.num { font: 600 13px/1 var(--font-display); color: var(--candle); letter-spacing: .14em; }
.tv { position: relative; padding: 10px; background: #120914; border-radius: 16px; box-shadow: 0 0 0 1px rgba(251, 243, 234, .08), 0 30px 80px -30px rgba(244, 184, 96, .45); }
.tv .slot { border-radius: 8px; }
.tv::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 90px; height: 8px; margin-left: -45px; border-radius: 4px; background: #120914; }
.tv-wrap { padding-bottom: 16px; }
.phone { position: relative; width: 100%; max-width: 240px; padding: 9px; background: #120914; border-radius: 34px;
  box-shadow: 0 0 0 1px rgba(251, 243, 234, .1), 0 30px 70px -30px rgba(0, 0, 0, .8); }
.phone .slot { border-radius: 26px; }
.phone::before { content: ""; position: absolute; z-index: 5; top: 16px; left: 50%; width: 58px; height: 16px; margin-left: -29px; border-radius: 10px; background: #120914; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.phone-note { position: absolute; z-index: 5; left: 50%; bottom: 20px; transform: translateX(-50%); white-space: nowrap;
  font: 600 11px/1 var(--font-body); background: rgba(251, 243, 234, .92); color: var(--plum); padding: 7px 10px; border-radius: 999px; }
.opening { margin-top: 28px; border: 1px solid rgba(251, 243, 234, .18); border-radius: var(--r); padding: 18px 20px; display: flex; gap: 16px; align-items: center; }
.opening .card-title { font: 500 italic 20px/1.25 var(--font-display); }
.opening small { display: block; color: var(--on-plum-muted); font-size: 13px; margin-top: 4px; }

/* the family is in it */
.family-grid { display: grid; gap: 22px; }
.family-film { border-radius: var(--r); }
.cast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cast figure { margin: 0; }
.cast .slot { border-radius: 16px; }
.cast figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.cast figcaption b { display: block; font: 600 16px/1.2 var(--font-display); color: var(--plum); }
.facts { display: grid; gap: 14px; }
.fact { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.fact .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--blush); color: var(--brand); display: grid; place-items: center; font: 700 15px/1 var(--font-display); }
.fact p { color: var(--muted); }
.fact b { color: var(--plum); }

/* one true detail */
.detail { display: grid; gap: 22px; }
.wrote { background: var(--blush); border-radius: var(--r); padding: 24px; }
.wrote .who { font: 600 12px/1.3 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.wrote blockquote { margin: 12px 0 0; font: 500 26px/1.2 var(--font-display); letter-spacing: -.02em; }
.beats { display: grid; gap: 16px; counter-reset: beat; }
.beat .slot { border-radius: 16px; }
.beat h3 { margin-top: 12px; font-size: 18px; }
.beat h3::before { counter-increment: beat; content: counter(beat) " · "; color: var(--brand); }
.beat p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.from-pilot { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* story and finale, picked for you */
.picked { display: grid; gap: 26px; }
.picked-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick-card { background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.pick-card .body { padding: 14px 16px 18px; }
.pick-card .k { font: 600 11px/1.3 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pick-card h3 { margin-top: 6px; }
.pick-card .chosen { display: inline-block; margin-top: 10px; font: 600 11px/1 var(--font-body); color: #fff; background: var(--brand); padding: 6px 9px; border-radius: 6px; letter-spacing: .08em; text-transform: uppercase; }
.alts { display: grid; gap: 18px; }
.alts h4 { margin: 0 0 8px; font: 600 13px/1.3 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.alts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.alts li { padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; }
.alts li b { font-family: var(--font-display); font-weight: 600; }
.alts li.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.alts li span { color: var(--muted); }

/* on time and the guarantee: three stubs */
.stubs { display: grid; gap: 12px; }
.stub { background: var(--paper); border-radius: 18px; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-left: 6px solid var(--brand); }
.stub .what { font: 600 26px/1 var(--font-display); letter-spacing: -.02em; }
.stub .note { font-size: 14px; color: var(--muted); margin-top: 6px; }
.stub .price { font: 600 20px/1 var(--font-display); color: var(--brand); white-space: nowrap; }
.promise2 { display: grid; gap: 14px; margin-top: 22px; }
.pcard { background: var(--paper); border-radius: var(--r); padding: 22px; border: 1px solid var(--line); }
.pcard h3 { margin-top: 8px; }
.pcard p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* founder */
.founder { display: grid; gap: 24px; align-items: center; }
.founder .slot { border-radius: var(--r); }
.founder blockquote { margin: 14px 0 0; font: 500 26px/1.25 var(--font-display); letter-spacing: -.015em; }
.founder .sign { margin-top: 14px; font-weight: 600; color: var(--brand); }
.founder .cap { margin-top: 8px; font-size: 13px; color: var(--on-plum-muted); }

/* questions */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 30px 17px 0; position: relative; font: 600 17px/1.3 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font-size: 24px; color: var(--brand); font-weight: 400; }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 0 18px; color: var(--muted); }

/* final */
.final { position: relative; color: var(--on-plum); background: var(--plum); }
.final .slot { position: absolute; inset: 0; }
/* the last call's moments take turns under the dark veil (16.10: «самые милые моменты… переключались») */
.final .end-rot { position: absolute; inset: 0; }
.final .eyebrow, .final .hl { color: var(--candle); }
.final::after { content: ""; position: absolute; inset: 0; background: rgba(42, 22, 49, .66); z-index: 1; }
.final .wrap { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 110px; text-align: center; }
.final h2 { font-size: 40px; max-width: 18ch; margin: 14px auto 26px; }

.foot { background: var(--paper); border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; }
.foot .wrap { display: grid; gap: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.foot nav a { text-decoration: none; color: var(--muted); }
.fine { color: var(--muted); font-size: 13px; }

/* the film with sound, over the page */
.viewer { position: fixed; inset: 0; z-index: 60; background: rgba(18, 9, 20, .94); display: grid; place-items: center; padding: 16px; }
.viewer[hidden] { display: none; }
.viewer .box { width: min(1100px, 100%); }
.viewer .slot { border-radius: 14px; }
.viewer .bar { display: flex; justify-content: space-between; align-items: center; color: var(--on-plum); margin-bottom: 10px; font: 500 15px/1.3 var(--font-display); }
.viewer .close { background: none; border: 1px solid rgba(251, 243, 234, .4); color: var(--on-plum); border-radius: 10px; padding: 8px 14px; cursor: pointer; font: 600 14px/1 var(--font-display); }

/* ---------- order ---------- */
body.flow { background: var(--cream); }
.steps-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.steps-bar ol { list-style: none; margin: 0 auto; padding: 12px var(--pad); max-width: var(--max); display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.steps-bar ol::-webkit-scrollbar { display: none; }
.steps-bar li { flex: none; font: 600 12px/1 var(--font-display); letter-spacing: .04em; padding: 8px 11px; border-radius: 999px; color: var(--muted); background: var(--cream); }
.steps-bar li.done { color: var(--plum); }
.steps-bar li.now { color: #fff; background: var(--brand); }
.order { padding: 32px 0 130px; }
.order-grid { display: grid; gap: 28px; }
.order h1 { font-size: 34px; }
.order .lede { margin-top: 10px; font-size: 17px; }
.form { display: grid; gap: 22px; margin-top: 26px; max-width: 620px; }
.field { display: grid; gap: 8px; }
.field > label, .field .label { font: 600 15px/1.3 var(--font-display); }
.field .hint { font-size: 13px; color: var(--muted); }
.field textarea { min-height: 110px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--plum);
  font: 500 15px/1 var(--font-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.chip.tip { border-style: dashed; color: var(--muted); font-size: 14px; }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; }
.person .face { width: 76px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--blush); position: relative; }
.person .face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person .face svg { width: 100%; height: 100%; }
.person .face .ph { display: none; }
.person h3 { font-size: 18px; }
.person .row { display: grid; gap: 8px; margin-top: 8px; }
.person input[type="text"] { width: 100%; }
.upload { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--font-display); color: var(--brand); cursor: pointer; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.side { display: grid; gap: 14px; align-content: start; }
.side .slot { border-radius: 18px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; font-size: 15px; }
.side-card .k { font: 600 11px/1.3 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.side-card p { margin-top: 6px; color: var(--muted); }
.side-card b { color: var(--plum); }
.flowbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: rgba(255, 253, 249, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.flowbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 78px; gap: 12px; }
.flowbar .back { text-decoration: none; font-weight: 600; color: var(--muted); }
.title-card { background: var(--plum); color: var(--on-plum); border-radius: var(--r); padding: 26px 22px; text-align: center; }
.title-card .k { font: 600 11px/1.3 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--candle); }
.title-card .t { margin-top: 10px; font: 500 italic 26px/1.2 var(--font-display); }
.title-card .line { margin-top: 12px; color: var(--on-plum-muted); font-size: 15px; }
.preview-cast { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; margin-top: 18px; }
.preview-cast figure { margin: 0; }
.preview-cast .slot { border-radius: 14px; }
.preview-cast figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
.preview-cast figcaption b { display: block; color: var(--plum); font: 600 15px/1.2 var(--font-display); }
.logline { margin-top: 20px; font: 500 21px/1.35 var(--font-display); letter-spacing: -.01em; }
.option { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 16px; padding: 16px; cursor: pointer; }
.option input { width: 20px; height: 20px; accent-color: var(--brand); }
.option b { font: 600 18px/1.2 var(--font-display); display: block; }
.option span { font-size: 14px; color: var(--muted); }
.option .p { font: 600 18px/1 var(--font-display); color: var(--brand); white-space: nowrap; }
.option:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 0; border-top: 2px dashed var(--line); margin-top: 6px; }
.total b { font: 600 30px/1 var(--font-display); }
.done-note { background: var(--blush); border-radius: 16px; padding: 18px; font-size: 15px; }
.done-note[hidden] { display: none; }

/* ---------- wider screens ---------- */
@media (min-width: 720px) {
  :root { --pad: 32px; }
  h1 { font-size: 60px; }
  h2 { font-size: 46px; }
  .phones { gap: 22px; }
  .stubs { grid-template-columns: repeat(3, 1fr); }
  .stub { flex-direction: column; align-items: flex-start; }
  .promise2 { grid-template-columns: 1fr 1fr; }
  .beats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .menu { display: flex; }
  h1 { font-size: 72px; }
  .hero-film { height: 88svh; min-height: 600px; }
  .hero-film .tall { display: none; }
  .hero-film .wide { display: block; }
  .hero-copy { padding-bottom: 64px; }
  .hero-copy .wrap { padding-right: 470px; }
  .ticket-row { position: absolute; right: 0; left: 0; bottom: 40px; padding: 0; pointer-events: none; }
  .ticket-row .wrap { display: flex; justify-content: flex-end; }
  .ticket { width: 410px; pointer-events: auto; }
  .ticket .t-head { min-height: 78px; }
  .lanes-line { display: none; }
  .sec { padding: 110px 0; }
  .premiere { grid-template-columns: 1.55fr 1fr; align-items: end; gap: 40px; }
  .family-grid { grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
  .detail { grid-template-columns: 1fr 2.2fr; gap: 30px; align-items: start; }
  .picked { grid-template-columns: 1.25fr 1fr; gap: 44px; }
  .founder { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .order-grid { grid-template-columns: 1.35fr 1fr; gap: 56px; }
  .order h1 { font-size: 44px; }
  .final h2 { font-size: 56px; }
  .foot .wrap { grid-template-columns: 1fr auto; align-items: start; }
}

/* ---------- after the cold review (14.10): phone step counter, labelled call fields, consent, the builder, the wait ---------- */
.steps-mini { display: none; padding: 10px var(--pad) 12px; font: 600 13px/1.2 var(--font-display); }
.steps-mini .bar { margin-top: 8px; height: 4px; border-radius: 2px; background: var(--blush); overflow: hidden; }
.steps-mini .bar i { display: block; height: 100%; background: var(--brand); }
@media (max-width: 719px) { .steps-bar ol { display: none; } .steps-mini { display: block; } }
.person .row.field { gap: 6px; }
.person .row.field label:not(.upload) { font: 600 14px/1.3 var(--font-display); }
.person .row.field input[type="text"] { min-height: 48px; }
.person.kid .row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; align-self: center; }
.upload-btn { position: relative; overflow: hidden; }
.upload-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
.builder { display: grid; gap: 16px; background: var(--paper); border: 1px dashed var(--line); border-radius: 18px; padding: 16px; }
.builder .chips + .chips { margin-top: 8px; }
.chip.swatch { display: inline-flex; align-items: center; gap: 8px; }
.chip.swatch i { width: 18px; height: 18px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.wait-card { background: var(--blush); border-radius: 18px; padding: 20px; }
.wait-card .k { font: 600 11px/1.3 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.wait-card p { margin-top: 6px; }
.ai-line { margin-top: 14px; font-size: 14px; color: var(--muted); }
.order .hint { font-size: 13px; color: var(--muted); }
.switch-line { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero-copy h1 { font-size: 31px; max-width: 20ch; }
@media (min-width: 720px) { .hero-copy h1 { font-size: 46px; } }
@media (min-width: 980px) { .picked.one { grid-template-columns: 1fr; max-width: 960px; } .hero-copy h1 { font-size: 54px; max-width: 17ch; } }

/* ---------- Vitali's model (16.10): logo №1, our three films, how it works, the questionnaire, «Your story», thanks ---------- */
.mark img, .lockup { display: block; height: 38px; width: auto; }
.mark-img { flex: none; width: 56px; height: 56px; }
.films { display: grid; gap: 22px; }
.our-film { background: var(--plum-2); border-radius: var(--r); overflow: hidden; }
.our-film .body { padding: 16px 18px 20px; }
.our-film h3 { color: var(--on-plum); }
.our-film .meta { margin-top: 4px; font-size: 13px; color: var(--candle); }
.our-film p { margin-top: 8px; color: var(--on-plum-muted); font-size: 15px; }
.our-film .textlink { margin-top: 12px; color: var(--on-plum); border-bottom-color: var(--candle); }
.our-film.soon { opacity: .8; }
.how { display: grid; gap: 28px; align-items: center; }
.how-film { border-radius: var(--r); }
.how-steps { list-style: none; counter-reset: how; padding: 0; margin: 0; display: grid; gap: 14px; }
.how-steps li { counter-increment: how; position: relative; padding-left: 50px; min-height: 36px; color: var(--muted); }
.how-steps li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font: 600 16px/1 var(--font-display); }
.how-steps b { color: var(--plum); }
.free-line { margin-top: 16px; font: 600 15px/1.4 var(--font-display); color: var(--brand); }
.ok-line { font-size: 14px; color: var(--muted); background: var(--blush); border-radius: 12px; padding: 12px 14px; }
.cast.four { grid-template-columns: repeat(4, 1fr); }
.q-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 8px; }
.q-card .q { font: 600 17px/1.3 var(--font-display); }
.q-card textarea { min-height: 76px; font: 500 16px/1.4 var(--font-body); color: var(--plum); background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; resize: vertical; }
.chips.ex .chip { min-height: 38px; font-size: 13px; }
.person textarea { font: 500 15px/1.4 var(--font-body); color: var(--plum); background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.story-page { max-width: 980px; }
.story-page h1 { font-size: 34px; }
.story-block { margin-top: 30px; }
.sub-h { font: 600 12px/1.3 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.frame { margin: 0; }
.frame .slot { border-radius: 12px; }
.frame figcaption { margin-top: 6px; font-size: 14px; line-height: 1.4; }
.frame figcaption b { color: var(--brand); }
.tale { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.tale p { font: 400 18px/1.55 var(--font-body); margin-top: 8px; }
.facts-line { color: var(--muted); font-size: 14px !important; margin-top: 14px !important; }
.approve { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.change-box { margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.change-box[hidden] { display: none; }
.change-box textarea { font: 500 16px/1.4 var(--font-body); color: var(--plum); background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.thanks { display: grid; gap: 24px; align-items: center; max-width: 1000px; }
.thanks .slot { border-radius: var(--r); }
.thanks h1 { margin-top: 10px; }
.thanks .lede { margin-top: 12px; }
@media (min-width: 720px) { .films { grid-template-columns: repeat(3, 1fr); } .board { grid-template-columns: repeat(3, 1fr); } .story-page h1 { font-size: 44px; } }
@media (min-width: 980px) { .how { grid-template-columns: 1.1fr 1fr; gap: 50px; } .thanks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 719px) { .cast.four { grid-template-columns: repeat(2, 1fr); } }

/* ---------- any holiday (16.10): the first screen's cuts one after another, the offer ---------- */
.rot .rot-item { opacity: 0; transition: opacity .8s ease; }
.rot .rot-item.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rot .rot-item { transition: none; } }
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.offer-list li { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: 14px; padding: 14px 16px; color: var(--muted); }
.offer-list b { color: var(--plum); }
@media (min-width: 720px) { .offer-list { grid-template-columns: 1fr 1fr; } }

/* ---------- 16.10, Vitali's review: «How it works» cuts take turns; the TV and the two phones on one line ---------- */
/* ---------- the roles (19.10): «Your child can be anyone» and «Just like Mom & Dad» ---------- */
.r45 { aspect-ratio: 4 / 5; }
.r43 { aspect-ratio: 4 / 3; }
.roles-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.roles-arrows { display: none; gap: 10px; margin-bottom: 34px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--plum);
  font: 600 20px/1 var(--font-display); cursor: pointer; }
.arrow:hover:not([disabled]) { border-color: var(--brand); color: var(--brand); }
.arrow[disabled] { opacity: .35; cursor: default; }
.roles-track { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 14px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.roles-track:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.role-card { scroll-snap-align: start; text-decoration: none; color: inherit; display: grid; gap: 4px; align-content: start; }
.role-card .slot { border-radius: 18px; margin-bottom: 8px; background: var(--blush); }
.role-card b { font: 600 18px/1.2 var(--font-display); }
.role-card span:not(.ph) { font-size: 14px; color: var(--muted); line-height: 1.4; }
.role-card:hover b { color: var(--brand); }
.role-card .ph { font-size: 9px; }
.jl-grid { display: grid; gap: 18px; }
.jl-card .slot { border-radius: var(--r); }
.jl-card h3 { margin-top: 14px; color: var(--on-plum); }
.jl-card p { margin-top: 6px; color: var(--on-plum-muted); }
.jl-note { margin-top: 24px; padding: 16px 18px; border: 1px solid rgba(251, 243, 234, .2); border-radius: 16px; color: var(--on-plum-muted); }
.jl-note b { color: var(--on-plum); }
@media (min-width: 720px) { .roles-track { grid-auto-columns: 30%; } .jl-grid { grid-template-columns: repeat(2, minmax(0, 360px)); } }
@media (min-width: 980px) { .roles-arrows { display: flex; } .roles-track { grid-auto-columns: calc((100% - 4 * 14px) / 5); } }

.how-film.rot { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--plum); }
.how-film.rot .slot { position: absolute; inset: 0; }
.premiere .num { margin-top: 18px; }
/* the premiere now sits on the light ground (the films took the plum one): its small text in the light ground's colours */
.sec:not(.plum) .screen-card p { color: var(--muted); }
.sec:not(.plum) .num { color: var(--brand); }
.sec:not(.plum) .opening { border-color: var(--line); }
.sec:not(.plum) .opening small { color: var(--muted); }
@media (min-width: 980px) {
  /* one height for all three screens: the TV is 16:9, the phones 9:16, frames and stands alike, so tops, bottoms and the
     01 / 02 / 03 captions sit on one line */
  .premiere { --ph: 320px; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
  .premiere .phones { display: contents; }
  .premiere .screen-card { flex: none; }
  .premiere .tv-card { width: calc(var(--ph) * 16 / 9 + 20px); }
  .premiere .tv .slot { width: calc(var(--ph) * 16 / 9); height: var(--ph); aspect-ratio: auto; }
  .premiere .phones .screen-card { width: calc(var(--ph) * 9 / 16 + 20px); }
  .premiere .phone { width: 100%; max-width: none; padding: 10px; }
  /* the TV's stand takes 16 px under its frame; the phones' captions start the same distance lower */
  .premiere .phones .num { margin-top: 34px; }
  .premiere .phone .slot { height: var(--ph); aspect-ratio: auto; }
  .premiere .screen-card p { max-width: none; }
}

/* 19.10, Vitali: «на телефоне слишком загружено» — secondary lines only on wider screens */
@media (max-width: 599px) { .desk { display: none !important; } }
