/* HireStep landing v2 + правки раунду 1 — mobile-first, breakpoints 768 / 1024 / 1200 */

:root {
  --green: #1F3A1C;
  --green-dark: #163014;
  --gold: #D9B26A;
  --cream: #F6F3EC;
  --brown: #8C6420;
  --white: #FFFFFF;
  --ph: #E7E1D3;
  --ph-dark: #2A4A27;
  --muted: #4A5747;
  --line: rgba(31, 58, 28, .14);
  --line-dark: rgba(217, 178, 106, .3);
  --sans: 'Manrope', 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --logo: 'Lora', Georgia, serif;
  --r: 20px;
  --gutter: 16px;
  --panel-gap: 12px;
  --header: 64px;
  interpolate-size: allow-keywords;
}
@media (min-width: 768px) { :root { --gutter: 24px; --panel-gap: 18px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; --panel-gap: 24px; --header: 72px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.modal-open { overflow: hidden; }
body { margin: 0; background: var(--cream); color: var(--green); font: 400 16px/1.55 var(--sans); overflow-x: hidden; overflow-x: clip; } /* hidden = fallback for Safari < 16 */
@media (min-width: 1024px) { body { font-size: 17px; } }
main { overflow-x: hidden; overflow-x: clip; } /* clip (not hidden) keeps position: sticky working */
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown); }
.on-dark a:hover { color: var(--gold); }
em, i { font-style: normal; }
/* accent word: gold «plate» on light, gold colour on dark — no italics */
h1 em, h2 em, h3 em { background: linear-gradient(transparent .16em, var(--gold) .16em); /* top trimmed: on tight line-height a full box covered the commas of the line above */ color: var(--green); padding: 0 .18em; border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { background: none; color: var(--gold); padding: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--gold); }
[id] { scroll-margin-top: calc(var(--header) + 8px); }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; margin-top: 32px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--cream); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.todo { background: #FFF3B0; color: #3A3000; padding: 0 .25em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--brown); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); flex: none; }
.eyebrow--gold { color: var(--gold); }
.h2 { font-size: clamp(28px, 3.6vw, 48px); max-width: 14em; }
.h3, .section h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; font-weight: 800; }
.lead { font-size: 17px; color: var(--muted); max-width: 65ch; }
@media (min-width: 1024px) { .lead { font-size: 18px; } }
.on-dark .lead { color: rgba(246, 243, 236, .85); }
.split-head { display: grid; gap: 16px; margin-bottom: 32px; }
@media (min-width: 1024px) { .split-head { grid-template-columns: 7fr 5fr; align-items: end; } }
.section-head { margin-bottom: 32px; }
.split-head .section-head { margin-bottom: 0; }

/* ---------- sections as panels ---------- */
.section { position: relative; padding-block: 56px; }
@media (min-width: 1200px) { .section { padding-block: 88px; } }
.panel { margin: var(--panel-gap); border-radius: 32px; overflow: hidden; overflow: clip; }
.panel > * { position: relative; z-index: 1; }
.panel--white { background: var(--white); }
.panel--cream { background: var(--cream); box-shadow: 0 30px 80px -50px rgba(31, 58, 28, .45), inset 0 0 0 1px rgba(31, 58, 28, .08); }
.panel--green, .on-dark { background: var(--green); color: var(--cream); }
.lead-form, .plan .btn { position: relative; }
/* background graphics: translucent volume stairs on light panels, grain + gold glow on dark ones */
.panel--white::before, .panel--cream::before, .trust::before {
  content: ""; position: absolute; z-index: 0; right: 0; bottom: 0; width: min(560px, 70%); aspect-ratio: 4 / 3; pointer-events: none; opacity: .45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cpath d='M0 299H100V224H200V149H300V74H400' fill='none' stroke='%23D9B26A' stroke-width='1.5'/%3E%3Cpath d='M40 299H140V244H240V189H340V134H400' fill='none' stroke='%23D9B26A' stroke-width='1' opacity='.5'/%3E%3C/svg%3E") right bottom / contain no-repeat;
}
.panel--green::before { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.panel--green::after { content: ""; position: absolute; z-index: 0; top: -20%; right: -10%; width: 60%; aspect-ratio: 1; pointer-events: none; background: radial-gradient(circle, rgba(217, 178, 106, .18), transparent 65%); }

/* ---------- wordmark (Lora only here) ---------- */
.wm { font: 500 26px/1 var(--logo); text-decoration: none; color: var(--green); letter-spacing: -.01em; white-space: nowrap; }
.on-dark .wm { color: var(--cream); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; background: var(--green); color: var(--cream); border: 0; border-radius: 999px; font: 700 16px/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--gold); color: var(--green); }
.btn--gold { background: var(--gold); color: var(--green); }
.btn--gold:hover, .on-dark .btn--gold:hover { background: var(--cream); color: var(--green); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: var(--cream); color: var(--green); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn--wide { width: 100%; }
.link-btn { background: none; border: 0; padding: 10px 0; font: 700 15px var(--sans); color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; display: inline-block; }
button.link-btn { display: block; margin: 0 auto; }

/* ---------- placeholders ---------- */
.ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: var(--ar, 4/3); width: 100%; padding: 14px; background: var(--ph); color: var(--brown); border: 1.5px dashed var(--brown); border-radius: var(--r); font: 600 13px/1.35 var(--sans); text-align: center; overflow: hidden; }
.ph::before { content: ""; width: 28px; height: 28px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M3 8h4l2-3h6l2 3h4v11H3z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M3 8h4l2-3h6l2 3h4v11H3z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.ph__cap { max-width: 32ch; position: relative; }
.ph--dark, .on-dark .ph:not(.ph--logo) { background: var(--ph-dark); border-color: var(--gold); color: var(--gold); }
.ph--video { justify-content: flex-end; }
.ph--video::before { position: absolute; top: 12px; left: 12px; width: 20px; height: 20px; }
.ph--video::after { content: ""; position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -40px 0 0 -30px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23D9B26A'/%3E%3C/svg%3E") 55% 50% / 28px no-repeat; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.ph--dark.ph--video::after, .on-dark .ph--video::after { background-color: rgba(246, 243, 236, .12); border: 1px solid var(--gold); }
.ph__pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 34px); white-space: nowrap; background: var(--gold); color: var(--green); padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.ph--logo { width: 150px; height: 60px; aspect-ratio: auto; flex: none; background: #E4E4E2; color: #505050; border: 0; border-radius: 12px; font: 800 13px/1.1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 8px; }
.ph--logo::before { content: none; }
.ph--avatar { width: 56px; height: 56px; aspect-ratio: 1; padding: 0; border-radius: 50%; flex: none; }
.ph--avatar::before { width: 22px; height: 22px; }

/* ---------- progress (stepped) + header ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 5px; z-index: 60; pointer-events: none; clip-path: polygon(0 100%, 0 80%, 25% 80%, 25% 60%, 50% 60%, 50% 40%, 75% 40%, 75% 0, 100% 0, 100% 100%); }
.progress__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(246, 243, 236, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); transition: background-color .4s, box-shadow .4s; }
.header__in { height: var(--header); display: flex; align-items: center; gap: 24px; }
.header__logo { margin-right: auto; transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.nav { display: none; gap: 26px; }
.nav > a:not(.btn), .nav__more-btn { text-decoration: none; font-weight: 600; font-size: 15px; position: relative; white-space: nowrap; }
.nav > a:not(.btn)::after, .nav__more-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav > a:not(.btn):hover::after, .nav > a.is-active::after, .nav__more-btn.is-active::after { transform: scaleX(1); }
.nav__more { position: relative; display: none; }
.nav__more-btn { padding: 0; border: 0; background: none; color: inherit; font-family: var(--sans); cursor: pointer; }
.nav__more-list { position: absolute; top: calc(100% + 16px); right: -12px; min-width: 180px; padding: 8px; border-radius: 16px; background: var(--white); color: var(--green); box-shadow: 0 30px 60px -24px rgba(16, 32, 15, .45), 0 0 0 1px rgba(31, 58, 28, .06); display: none; }
.nav__more-list::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.nav__more.is-open .nav__more-list { display: grid; }
.nav__more-list a { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; }
.nav__more-list a:hover, .nav__more-list a:focus-visible, .nav__more-list a.is-active { background: var(--cream); }
.nav__cta { display: none; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 7px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--green); transition: transform .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.header__cta { display: inline-flex; }
.header.is-over-intro { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--cream); }
.header.is-over-intro .header__logo { opacity: 0; transform: translateY(-12px) scale(.9); pointer-events: none; }
.header.is-over-intro .header__cta, .header.is-dark .header__cta { background: var(--gold); color: var(--green); }
.header.is-over-intro .burger span, .header.is-dark .burger span { background: var(--cream); }
.header.is-dark:not(.is-over-intro) { background: rgba(16, 32, 15, .74); color: var(--cream); box-shadow: 0 1px 0 rgba(217, 178, 106, .2); }
.header.is-dark .header__logo { color: var(--cream); }
@media (max-width: 767.98px) {
  .header__in { gap: 10px; }
  .header__cta { min-height: 38px; padding: 7px 12px; font-size: 13px; }
  .header__logo { font-size: 22px; }
}
@media (max-width: 1023.98px) {
  .header.nav-open { background: var(--cream); color: var(--green); }
  .header.nav-open .burger span { background: var(--green); }
  .header.nav-open .header__logo { opacity: 1; transform: none; pointer-events: auto; color: var(--green); }
  .header.nav-open .nav { display: flex; flex-direction: column; gap: 2px; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header)); height: calc(100svh - var(--header)); overflow-y: auto; background: var(--cream); padding: 8px var(--gutter) 20px; box-shadow: 0 12px 24px rgba(31, 58, 28, .1); }
  .header.nav-open .nav > a:not(.btn) { font-size: 22px; font-weight: 800; padding: 10px 0; }
  .header.nav-open .nav > a:not(.btn)::after { bottom: 6px; width: 40px; right: auto; }
  .header.nav-open .nav__cta { display: inline-flex; margin-top: auto; }
}
@media (min-width: 1024px) { .nav { display: flex; align-items: center; } .burger { display: none; } }
@media (min-width: 1024px) and (max-width: 1199.98px) { .nav { gap: 20px; } .nav__wide { display: none; } .nav__more { display: block; } }

/* ---------- 1. hero + intro ---------- */
.hero { position: relative; overflow: hidden; }
.hero__stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: calc(var(--header) + 24px) 0 20px; }
/* dot centre sits at ≈(0.218·w, 0.058·w) of the svg — positions below put it in the gap between text and portrait */
.hero__wm { position: absolute; z-index: 0; left: 29.8vw; bottom: -40vw; width: 230vw; max-width: none; height: auto; overflow: visible; pointer-events: none; }
@media (min-width: 1024px) { .hero__wm { left: 52vw; bottom: auto; top: calc(50vh - 5.3vw); width: 92vw; } } /* «hire» fills 56–97vw, dot ≈ 72vw, clear of the title */
@media (min-width: 1024px) { .hero .wrap { max-width: 1340px; } } /* content a bit further left than the rest of the page */
.hero__wm-text { font: 500 203px var(--logo); fill: rgba(246, 243, 236, .08); }
.hero__dot { fill: var(--cream); transform-box: fill-box; transform-origin: center; animation: breathe 2.6s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.08); } }
.hero__flash { position: absolute; inset: 0; z-index: 3; background: var(--cream); opacity: 0; pointer-events: none; }
.hero__grid { position: relative; z-index: 2; display: grid; gap: 28px; align-items: center; width: 100%; }
.hero__content { display: grid; gap: 24px; justify-items: start; max-width: 660px; }
.hero__content .eyebrow { margin: 0; }
.hero__title { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.06; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.anim .hero__title .line > span { transform: translateY(110%); }
.anim [data-hero] { opacity: 0; }
.slot-wrap { display: inline-flex; align-items: baseline; white-space: nowrap; font-size: min(1em, 6.6vw); } /* longest role («операційного директора») fits one line on a 320px phone */
.br { color: var(--gold); font-weight: 500; }
.slot { position: relative; display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .06em .06em; margin-bottom: -.06em; color: var(--gold); }
.slot__word { display: inline-block; white-space: nowrap; }
.slot__word + .slot__word { position: absolute; left: .06em; top: 0; }
.hero__sub { font-size: 17px; color: rgba(246, 243, 236, .86); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 600; }
.hero__checks li::before { content: "✓"; color: var(--gold); margin-right: 6px; font-weight: 800; }
.hero__trust { display: grid; gap: 16px; margin-top: 18px; font-size: 14px; color: rgba(246, 243, 236, .7); }
.hero__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.hero__logos li { display: flex; align-items: center; height: 30px; opacity: .6; transition: opacity .3s; }
.hero__logos li:hover { opacity: 1; }
.hero__logos img { height: 28px; width: auto; max-width: 130px; object-fit: contain; filter: brightness(0) invert(.95) sepia(.15); } /* any brand colour → cream */
.hero__logos img.is-wide { max-width: 170px; }
.hero__logo-txt { font: 800 15px/1 var(--sans); letter-spacing: .08em; color: var(--cream); white-space: nowrap; }
@media (min-width: 1200px) { .hero__logos { flex-wrap: nowrap; } }
.marquee.marquee--hero { width: min(calc(1200px - 2 * var(--gutter)), calc(100vw - 2 * var(--gutter))); margin: 0; padding: 0; border: 0; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.marquee--hero .hero__logos { flex-wrap: nowrap; padding-right: 26px; }
.marquee--hero .marquee__track { animation-duration: 240s; } /* ~95 logos: keep the pace close to the other logo rows */
.ph--logo-dark { width: auto; height: 34px; padding: 0 12px; background: rgba(246, 243, 236, .09); color: rgba(246, 243, 236, .72); font-size: 11px; border-radius: 8px; }
.hero__portrait { display: none; }
.ph--arch { border-radius: 999px 999px 24px 24px; max-width: 340px; margin-left: auto; box-shadow: 0 0 80px rgba(217, 178, 106, .15); }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 7fr 4fr; }
  .hero__portrait { display: block; }
}

/* ---------- 2. trust: 3D stairs ---------- */
.trust { position: relative; padding: 72px 0 80px; overflow: hidden; overflow: clip; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; } /* one full screen after the hero */
.trust > .wrap { position: relative; z-index: 1; width: 100%; }
.trust__grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .trust { padding: 96px 0; } .trust__grid { grid-template-columns: 4fr 7fr; align-items: center; gap: 48px; } }
.stairs3d { --u: 30px; --d: 14px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; padding-right: var(--d); }
@media (min-width: 768px) { .stairs3d { --u: 46px; --d: 22px; } }
@media (min-width: 1200px) { .stairs3d { --u: 56px; --d: 26px; } }
.st { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.st__label { position: relative; z-index: 2; display: grid; gap: 4px; padding: 0 6px calc(var(--d) + 10px); }
.st__label b { font-weight: 800; font-size: clamp(16px, 2.6vw, 36px); line-height: 1.05; color: var(--green); white-space: nowrap; }
.st__label > span { font-size: clamp(11px, 1.1vw, 14px); line-height: 1.3; color: var(--muted); }
.st__block { position: relative; display: block; height: calc(var(--n) * var(--u) + var(--u)); background: linear-gradient(180deg, #2B4B27 0%, var(--green) 45%, var(--green-dark) 100%); border-top: 2px solid var(--gold); transform-origin: 50% 100%; }
.st__block::before { content: ""; position: absolute; left: -1px; right: 0; bottom: 100%; height: var(--d); background: linear-gradient(90deg, #4E7C45, #3A6234); border-bottom: 2px solid var(--gold); transform: skewX(-45deg); transform-origin: 0 100%; }
.st__block::after { content: ""; position: absolute; top: -2px; left: 100%; width: var(--d); height: calc(100% + 2px); background: #10230F; transform: skewY(-45deg); transform-origin: 0 0; }
.trust__head { display: grid; gap: 20px; justify-items: start; }
.trust__head .h2 { margin: 0; }
.trust__lead { margin: 0; max-width: 46ch; }
.trust__cta { margin-top: 8px; }

/* ---------- 3. scene «Шлях кандидата» ---------- */
.scene { background: #10200F; }
.scene__stage { padding: 64px 0; }
.frames { display: grid; gap: 28px; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.frame { display: grid; gap: 16px; }
.frame__media .ph { --ar: 16/9; }
.frame__body { display: grid; gap: 12px; justify-items: start; }
.frame__kicker { font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.frame__text { font-weight: 700; font-size: clamp(19px, 2vw, 26px); line-height: 1.35; max-width: 26ch; }
.frame__channels { font-size: 15px; color: rgba(246, 243, 236, .8); }
.frame__checks { display: flex; flex-wrap: wrap; gap: 6px; }
.frame__checks li { padding: 5px 12px; border: 1px solid var(--gold); border-radius: 999px; font-size: 13px; font-weight: 700; }
.plate { display: inline-block; padding: 7px 14px; border-radius: 10px; background: rgba(246, 243, 236, .1); border: 1px solid rgba(246, 243, 236, .35); font-weight: 800; font-size: 17px; }
.plate--gold { background: var(--gold); color: var(--green); border-color: var(--gold); }
.frame .btn { margin-top: 6px; }
.scene__fx, .scene__counter { display: none; }
.scene { --fx-y: 40%; } /* vertical centre of the scene visuals */
@media (min-width: 1024px) { .scene { --fx-y: 45%; } } /* desktop: below the frame heading */
@media (min-width: 1024px) and (max-height: 800px) { .scene__count, .scene__channels { display: none; } /* no room beside the text plate on short screens; the plate already says «240+ резюме» */ .scene { --fx-y: 48%; } .scene__contour, .scene__frame { height: min(var(--fx-h, 40vh), 40vh) !important; } } /* --fx-h: free band measured by main.js */

.scene--live .scene__stage { position: relative; height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.scene--live .frames { position: absolute; inset: 0; padding: 0; max-width: none; display: block; }
.scene--live .frame { position: absolute; inset: 0; display: block; }
.scene--live .frame__media { position: absolute; inset: 0; }
.scene--live .frame__media .ph { height: 100%; aspect-ratio: auto; border-radius: 0; border: 0; flex-direction: row; align-items: flex-start; justify-content: flex-start; text-align: left; font-size: 12px; padding: calc(var(--header) + 16px) var(--gutter) 0; }
.scene--live .frame__media .ph::before { width: 20px; height: 20px; }
@media (max-width: 1023.98px) { .scene--live .frame__media .ph::before, .scene--live .frame__media .ph__cap { display: none; } }
.scene--live .frame:not(.is-current) .ph__cap, .scene--live .frame:not(.is-current) .ph::before { opacity: 0; }
.scene--live .frame__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 65% at 50% 45%, transparent 35%, rgba(6, 14, 6, .8) 100%), linear-gradient(to top, rgba(6, 14, 6, .9) 0%, transparent 45%); }
.scene--live .frame:nth-child(1) .ph { background: #18301A; }
.scene--live .frame:nth-child(2) .ph { background: #1E3A1D; }
.scene--live .frame:nth-child(3) .ph { background: #24421F; }
.scene--live .frame:nth-child(4) .ph { background: #2A4A27; }
.scene--live .frame:nth-child(5) .ph { background: #3E4A26; }
.scene--live .frame__body { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 24px; padding: 20px; border-radius: 20px; background: rgba(8, 18, 7, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(217, 178, 106, .25); }
.scene--live .frame__kicker, .scene--live .frame__channels { display: none; }
@media (min-width: 1024px) { .scene--live .frame__body { left: auto; right: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); bottom: 104px; max-width: 440px; padding: 28px; } }
.scene--live .scene__fx { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.rcard { position: absolute; left: 50%; top: var(--fx-y); width: 84px; height: 108px; margin: -54px 0 0 -42px; border-radius: 8px; opacity: 0; background: #fff linear-gradient(#D5D5D0, #D5D5D0) 13px 16px / 30px 30px no-repeat; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.rcard::before, .rcard::after { content: ""; position: absolute; left: 13px; right: 13px; height: 6px; border-radius: 3px; background: #E2E2DD; }
.rcard::before { top: 60px; box-shadow: 0 13px 0 #E2E2DD; }
.rcard::after { top: 86px; right: 30px; }
.scene__channels .chan { position: absolute; font-weight: 700; font-size: clamp(16px, 1.8vw, 24px); color: rgba(246, 243, 236, .85); opacity: 0; white-space: nowrap; } /* placed by JS outside the ring of CVs */
.scene__count { position: absolute; left: 0; right: 0; top: var(--fx-y); margin-top: -.5em; text-align: center; font-weight: 800; font-size: clamp(30px, 4.4vw, 72px); line-height: 1; color: var(--gold); opacity: 0; }
.scene__count b { font-variant-numeric: tabular-nums; }
.scene__contour, .scene__frame { position: absolute; left: 50%; top: var(--fx-y); height: 46vh; width: auto; aspect-ratio: 4 / 5; transform: translate(-50%, -50%); fill: none; stroke: var(--gold); overflow: visible; }
.scene__contour { stroke-width: 1.4; }
.scene__frame { stroke-width: 3; filter: drop-shadow(0 0 12px rgba(217, 178, 106, .5)); }
.scene__warm { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, rgba(255, 196, 120, .4), rgba(217, 140, 60, .18)); opacity: 0; }
.scene--live .scene__counter { display: flex; position: absolute; z-index: 4; left: var(--gutter); top: calc(var(--header) + 16px); align-items: flex-end; gap: 12px; color: var(--cream); }
@media (min-width: 1024px) { .scene--live .scene__counter { top: auto; bottom: 56px; left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); } }
.scene__num { font-weight: 800; font-size: 28px; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.scene__stairs { display: flex; align-items: flex-end; gap: 3px; }
.scene__stairs i { width: 12px; border: 1px solid var(--gold); transition: background-color .3s; }
.scene__stairs i:nth-child(1) { height: 6px; } .scene__stairs i:nth-child(2) { height: 10px; } .scene__stairs i:nth-child(3) { height: 14px; } .scene__stairs i:nth-child(4) { height: 18px; } .scene__stairs i:nth-child(5) { height: 22px; }
.scene__stairs i.is-done { background: rgba(217, 178, 106, .45); }
.scene__stairs i.is-on { background: var(--gold); }
.scene__name { font-weight: 800; font-size: 12px; line-height: 1; letter-spacing: .2em; text-transform: uppercase; }

.st--btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.st--btn .st__label b { font-size: clamp(13px, 1.6vw, 20px); }
.st--btn:hover .st__block::before, .st--btn[aria-pressed="true"] .st__block::before { background: var(--gold); }
.st--btn[aria-pressed="true"] .st__label b { color: var(--brown); }
.st--btn:focus-visible { outline-offset: 6px; }

/* ---------- 5. pain + calculator ---------- */
.pain-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .pain-grid { grid-template-columns: 7fr 4fr; gap: 32px; align-items: start; } }
.pain { display: grid; gap: 10px; }
.pain li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 18px 20px; background: var(--white); border-radius: 18px; box-shadow: 0 16px 40px -32px rgba(31, 58, 28, .5); }
.pain__n { font-weight: 800; font-size: clamp(34px, 4vw, 52px); line-height: 1; color: transparent; -webkit-text-stroke: 1.4px var(--green); font-variant-numeric: tabular-nums; }
.pain p { color: var(--muted); }
.pain strong { display: block; font-weight: 800; font-size: 18px; color: var(--green); margin-bottom: 2px; }
.pain__fix { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--brown); } /* brown = gold readable on white (#D9B26A on white fails contrast) */
.pain__aside { display: none; }
@media (min-width: 1024px) { .pain__aside { display: flex; align-items: center; justify-content: center; align-self: stretch; container-type: size; } }
/* chair = 58% of the column height, but never wider than the column; 1.622 = image height / width */
.pain__chair { position: relative; height: min(58cqh, 85cqw * 1.622); aspect-ratio: 754 / 1223; }
.pain__chair::before { content: ""; position: absolute; left: -6%; right: -6%; bottom: -5%; height: 10%; background: radial-gradient(closest-side, rgba(31, 58, 28, .18), transparent); filter: blur(6px); }
.pain__chair img, .pain__ghost { position: absolute; inset: 0; width: 100%; height: 100%; }
.pain__ghost { fill: none; stroke: #FFFFFF; stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-dasharray: 6 6; stroke-linecap: round; opacity: .6; }
.anim .pain__ghost { opacity: 0; }
.anim .pain__chair.is-in .pain__ghost { animation: ghostBlink 2.4s ease-in-out infinite; }
@keyframes ghostBlink { 0%, 100% { opacity: 0; } 50% { opacity: .85; } }
.pain__plate { position: absolute; left: 50%; top: 100%; transform: translate(-50%, -10%); padding: 6px 18px; border-radius: 999px; background: var(--gold); color: var(--green); font: 800 clamp(16px, 1.5vw, 22px)/1.3 var(--sans); white-space: nowrap; }
.calc { margin-top: 32px; border-radius: 28px; padding: 28px 20px; display: grid; gap: 28px; position: relative; overflow: hidden; }
.calc__inputs { display: grid; gap: 20px; align-content: start; }
.calc__lead { color: rgba(246, 243, 236, .85); max-width: 52ch; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.range__top label { font-weight: 600; }
.range output { font-weight: 800; font-size: 20px; color: var(--gold); white-space: nowrap; }
.range__ends { display: flex; justify-content: space-between; font-size: 13px; color: rgba(246, 243, 236, .72); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--gold) var(--p, 22%), rgba(246, 243, 236, .25) var(--p, 22%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--gold); border: 4px solid var(--green); box-shadow: 0 0 0 1.5px var(--gold); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(246, 243, 236, .25); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 4px solid var(--green); }
.calc__result { display: grid; gap: 10px; align-content: start; justify-items: start; }
.calc__sum { font-weight: 800; font-size: clamp(34px, 8.5vw, 56px); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.03em; }
.calc__caption { font-weight: 700; font-size: 18px; }
.calc__note { color: rgba(246, 243, 236, .78); font-size: 14px; max-width: 46ch; } 
.calc__result .btn { margin-top: 12px; }
@media (min-width: 768px) { .calc { padding: 44px; } }
@media (min-width: 1200px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 56px; } }

/* ---------- 6. industries ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
html:not(.js) .tabs { display: none; }
.tabs [role="tab"] { padding: 11px 20px; border-radius: 999px; border: 1.5px solid rgba(246, 243, 236, .5); background: transparent; color: var(--cream); font: 700 15px var(--sans); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.tabs [role="tab"][aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--green); }
.tabs__more { display: none; }
@media (max-width: 767.98px) {
  /* 22 industries: all visible as wrapped pills; first 6 shown, «Ще N сфер» opens the rest. The tag list below would only repeat them */
  .tabs { gap: 6px; margin-bottom: 10px; }
  .tabs [role="tab"] { padding: 8px 14px; font-size: 14px; }
  .tabs:not(.is-open) [role="tab"]:nth-child(n+7):not([aria-selected="true"]) { display: none; }
  .tabs__more { display: inline-flex; margin-bottom: 20px; padding: 6px 0; border: 0; background: none; color: var(--gold); font: 700 15px var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
}
.tabpanels { display: grid; gap: 28px; }
.tabpanel { display: grid; gap: 12px; align-content: start; }
.tabpanel__title { font-size: 22px; }
.js .tabpanels { gap: 0; }
.js .tabpanel { display: none; }
.js .tabpanel.is-active { display: grid; animation: tp-in .5s; }
@keyframes tp-in { from { opacity: 0; } }
.js .tabpanel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.case { display: grid; gap: 14px 24px; align-items: center; background: var(--white); color: var(--green); border-radius: 22px; padding: 22px; }
.case__brand { display: flex; align-items: center; gap: 14px; }
.case__brand .ph--logo { width: 110px; height: 48px; font-size: 11px; }
.case__brand p { display: grid; font-size: 15px; }
.case__brand span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brown); }
.case__big { font-weight: 800; font-size: clamp(36px, 4.4vw, 58px); line-height: 1; letter-spacing: -.03em; }
.case__big span { font-size: 16px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.case__cap { margin-top: 6px; max-width: 240px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.case__text { display: grid; gap: 4px; justify-items: start; color: var(--muted); }
.case__text strong { color: var(--green); }
.case .link-btn { color: var(--brown); padding-bottom: 0; }
.case__logo { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.case__more { width: 100%; }
.case__more summary { list-style: none; cursor: pointer; width: max-content; font-weight: 700; font-size: 14px; color: var(--green); }
.case__more summary::-webkit-details-marker { display: none; }
.case__more summary::after { content: " ↓"; color: var(--brown); }
.case__more[open] summary::after { content: " ↑"; }
.case__more h4 { margin: 12px 0 4px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); }
.case__more p { margin-bottom: 6px; font-size: 15px; }
.case__roles { margin-top: 8px; font-size: 14px; }
.case__shots { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.case__shots img { height: 96px; width: auto; max-width: 220px; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); }
[data-shot] { cursor: zoom-in; }
.shot-box { max-width: min(92vw, 900px); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: var(--white); }
.shot-box::backdrop { background: rgba(0, 0, 0, .75); }
.shot-box img { display: block; max-width: 100%; max-height: 92vh; }
.case__video { grid-column: 1 / -1; width: min(100%, 746px); max-height: 420px; justify-self: start; }
.case .ph--video { background: var(--ph); border-color: var(--brown); color: var(--brown); }
@media (min-width: 1024px) { .case { grid-template-columns: 3fr 2.4fr 6fr; padding: 24px 28px; } }

/* ---------- 7. sourcing ---------- */
.src { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .src { grid-template-columns: 6fr 5fr; gap: 48px; } }
.src__text .lead { margin-bottom: 20px; }
.src__base { border-radius: 20px; padding: 22px 24px; font-weight: 600; font-size: 17px; max-width: 520px; }
.src__base b { display: block; font-weight: 800; font-size: clamp(40px, 5vw, 60px); line-height: 1; color: var(--gold); margin-bottom: 6px; }
.src__reels { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 18px; }
.reel { width: min(42%, 230px); }
.reel:first-child { transform: rotate(-4deg); }
.reel:nth-child(3) { transform: rotate(3deg); margin-top: 56px; }
.reel .ph { border-radius: 18px; }
.reel__media { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; }
.reel__media video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.reel__sound { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(8, 18, 7, .6); color: var(--cream); cursor: pointer; }
.reel__sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reel__sound path:first-child { fill: currentColor; }
.reel__sound .reel__wave, .reel__sound[aria-pressed="true"] .reel__x { display: none; }
.reel__sound[aria-pressed="true"] .reel__wave { display: inline; }
.reel__views { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 800; font-size: 14px; }
.reel__views::before { content: ""; width: 18px; height: 18px; background: var(--brown); flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: 14px; margin-top: 40px; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.src__all { width: min(100% - 2 * var(--gutter), 760px); margin: 56px auto 0; text-align: center; font-weight: 600; font-size: 15px; color: var(--muted); } /* same as the former caption under the reels */
.src__all + .marquee { margin-top: 24px; border: 0; }
.marquee--channels .marquee__group { gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); }
.marquee--channels i { color: var(--gold); font-size: clamp(22px, 2.4vw, 30px); }
.marquee--channels img { display: block; width: clamp(32px, 3vw, 44px); height: clamp(32px, 3vw, 44px); object-fit: contain; border-radius: 12px; }
.marquee--logos { border: 0; padding-block: 6px; margin-top: 0; }
.marquee--logos .marquee__group { gap: clamp(14px, 2vw, 22px); padding-right: clamp(14px, 2vw, 22px); }
.marquee--logos { padding-block: 14px; }
.tile { display: block; flex: none; width: 72px; height: 72px; border-radius: 18px; object-fit: cover; background: var(--white); box-shadow: 0 0 0 1px rgba(31, 58, 28, .08), 0 10px 22px -14px rgba(31, 58, 28, .35); }
.tile--txt { display: grid; place-items: center; padding: 8px; text-align: center; font: 800 10px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
@media (max-width: 767.98px) { .tile { width: 56px; height: 56px; border-radius: 14px; } }
.marquee--logos .marquee__track { animation-duration: 120s; } /* ~55 tiles per row */
.marquee--rev .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 8. verify ---------- */
.verify { display: grid; gap: 20px; }
.verify__aside { position: sticky; top: calc(var(--header) + 8px); z-index: 2; align-self: start; }
.ccard { position: relative; background: var(--white); color: var(--green); border-radius: 22px; padding: 16px; border: 2px solid var(--gold); display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .5); transition: border-color .5s, box-shadow .5s; }
.ccard .ph--avatar { background: var(--ph); border-color: var(--brown); color: var(--brown); }
.ccard__ava { width: 52px; height: 52px; }
/* same gold contour as the finalist card in the scene (frame 04) */
.ccard__who { border-radius: 50%; overflow: hidden; background: var(--green); }
.ccard__who svg { display: block; width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ccard__who svg * { vector-effect: non-scaling-stroke; }
.ccard__lines { display: grid; gap: 8px; }
.ccard__lines span { height: 8px; border-radius: 4px; background: #E7E3DA; }
.ccard__lines span:nth-child(1) { width: 70%; height: 12px; background: #D9D3C5; }
.ccard__lines span:nth-child(3) { width: 45%; }
.ccard__marks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.ccard__marks li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #F1EDE4; transition: opacity .4s; }
.ccard__marks li::before { content: "✓"; display: grid; place-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: var(--gold); font-size: 11px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.ccard__badge { position: absolute; top: -12px; right: 16px; background: var(--gold); color: var(--green); font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px; transition: opacity .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.anim .ccard { border-color: transparent; }
.anim .ccard__marks li:not(.is-on) { opacity: .45; }
.anim .ccard__marks li:not(.is-on)::before { transform: scale(0); }
.anim .ccard:not(.is-final) .ccard__badge { opacity: 0; transform: scale(.6); }
.anim .ccard.is-final { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(217, 178, 106, .25), 0 30px 60px -30px rgba(0, 0, 0, .6); }
.checks6 { display: grid; gap: 10px; }
.checks6 li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px; background: var(--white); color: var(--green); border-radius: 18px; border: 2px solid transparent; transition: border-color .4s, box-shadow .4s; }
.checks6__n { display: grid; place-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold); font-weight: 800; transition: background-color .4s, color .4s; }
.checks6 p { color: var(--muted); }
.checks6 strong { display: block; font-weight: 800; font-size: 19px; color: var(--green); }
.checks6 li.is-on .checks6__n { background: var(--green); color: var(--gold); border-color: var(--green); }
.checks6 li.is-active { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217, 178, 106, .25); }
@media (min-width: 1024px) {
  .verify { grid-template-columns: 5fr 7fr; gap: 48px; }
  .verify__aside { top: calc(var(--header) + 48px); }
  .ccard { padding: 28px; grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ccard__ava { width: 120px; height: 120px; }
  .ccard__lines { width: 100%; justify-items: center; }
  .ccard__marks { justify-content: center; }
  .ccard__marks li { font-size: 13px; padding: 6px 12px 6px 8px; }
  .checks6 { gap: 14px; }
  .checks6 li { padding: 24px; }
}
.deliver { display: grid; gap: 20px; margin-top: 40px; align-items: center; }
@media (min-width: 1024px) { .deliver { grid-template-columns: 1fr 1fr; gap: 40px; } }
.deliver__text { display: grid; gap: 12px; background: var(--white); color: var(--green); border-radius: 20px; padding: 24px; }
.fan { display: flex; justify-content: center; padding: 16px 0 16px 40px; }
.fan .ph { width: min(46%, 240px); margin-left: -40px; padding: 10px; font-size: 12px; border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); background: var(--ph); color: var(--brown); border-color: var(--brown); }
.fan .ph:nth-child(1) { transform: rotate(-8deg) translateY(10px); }
.fan .ph:nth-child(2) { transform: translateY(-8px); z-index: 1; }
.fan .ph:nth-child(3) { transform: rotate(8deg) translateY(10px); }
.fan .ph.ph--photo { padding: 0; border-style: solid; }
.ph--photo::before { content: none; }
.ph--photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.funnel { margin-top: 32px; border-radius: 22px; padding: 24px 20px; background: var(--cream); color: var(--green); }
.funnel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-bottom: 24px; }
.funnel__brand { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: .22em; } /* shortcut: text wordmark in place of the logo, swap for <img> when the OPTICULT logo arrives */
/* real funnel: every layer is a trapezoid whose bottom edge = next layer's top edge (--a top inset, --b bottom inset) */
.funnel__rows { display: grid; gap: 6px; max-width: 760px; margin-inline: auto; }
.funnel__bar { display: flex; align-items: baseline; justify-content: center; gap: 8px; height: 58px; padding-top: 16px; background: var(--green); color: var(--cream); text-align: center; white-space: nowrap; transform-origin: 50% 50%;
  clip-path: polygon(var(--a) 0, calc(100% - var(--a)) 0, calc(100% - var(--b)) 100%, var(--b) 100%); }
.funnel__rows li:nth-child(2) .funnel__bar { background: #29492A; }
.funnel__rows li:nth-child(3) .funnel__bar { background: #335837; }
.funnel__rows li:nth-child(4) .funnel__bar { background: #3D6641; }
.funnel__rows li:nth-child(5) .funnel__bar { background: #47734B; }
.funnel__bar b { font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.funnel__lbl { font-weight: 600; font-size: 15px; }
@media (max-width: 479.98px) { .funnel__bar { gap: 5px; } .funnel__bar b { font-size: 17px; } .funnel__lbl { font-size: 13px; } }
.funnel__rows li.is-lit .funnel__bar { background: var(--gold); color: var(--green); }
.funnel__rows li.is-lit .funnel__lbl { font-weight: 800; }
.funnel__cap { font-weight: 800; color: var(--brown); }

/* ---------- 9. process ---------- */
.process { display: grid; gap: 24px; }
@media (min-width: 1024px) { .process { grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; } }
.steps { display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: 18px; background: var(--white); color: var(--green); border: 1px solid var(--line); transition: background-color .4s, color .4s, transform .4s, box-shadow .4s; transform-origin: 0 50%; }
.step h3 { font-size: 18px; margin-bottom: 2px; }
.step p { color: var(--muted); transition: color .4s; }
.step__n { display: grid; place-content: center; width: 42px; height: 42px; border-radius: 10px 10px 3px 3px; border: 1.5px solid var(--gold); font-weight: 800; }
.step.is-done { background: var(--green); color: var(--cream); border-color: var(--green); }
.step.is-done p { color: rgba(246, 243, 236, .82); }
.step.is-done .step__n { background: var(--gold); color: var(--green); border-color: var(--gold); }
.step.is-active { background: var(--gold); color: var(--green); border-color: var(--gold); transform: scale(1.03); box-shadow: 0 20px 40px -24px rgba(140, 100, 32, .8); }
.step.is-active p { color: var(--green); }
.step.is-active .step__n { background: var(--green); color: var(--gold); border-color: var(--green); }
.process__aside { display: grid; gap: 16px; }
@media (min-width: 1024px) { .process__aside { position: sticky; top: calc(var(--header) + 24px); } }
.process__big { display: none; }
@media (min-width: 1024px) {
  .process__big { display: block; position: relative; height: 150px; }
  .process__num { position: absolute; left: 0; top: 0; font-weight: 800; font-size: 120px; line-height: .9; color: transparent; -webkit-text-stroke: 1.6px var(--brown); font-variant-numeric: tabular-nums; }
  .process__stairs { position: absolute; right: 0; bottom: 0; width: 220px; height: 150px; fill: none; stroke: var(--gold); stroke-width: 2.4; overflow: visible; }
}
.inform { background: var(--white); border-radius: 20px; padding: 22px; display: grid; gap: 8px; }
.inform p { color: var(--muted); font-size: 15px; }
.report { background: var(--white); border-radius: 20px; padding: 20px; box-shadow: 0 30px 60px -36px rgba(31, 58, 28, .5); border: 1px solid var(--line); display: grid; gap: 14px; }
.report__tag { font-weight: 800; font-size: 11px; letter-spacing: .14em; color: var(--brown); }
.report__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.report__nums li { background: var(--cream); border-radius: 12px; padding: 12px; display: grid; gap: 2px; }
.report__nums b { font-weight: 800; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.report__nums li > span { font-size: 12px; color: var(--muted); }
.report__people { display: grid; gap: 6px; }
.report__people li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.report__ava { width: 30px; height: 30px; border-radius: 50%; background: #E7E3DA; }
.report__line { height: 8px; border-radius: 4px; background: #E7E3DA; }
.status { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #EFEADF; min-width: 130px; text-align: center; transition: background-color .3s; }
.status[data-status="3"] { background: var(--gold); }

/* ---------- 10. compare ---------- */
.cmp-wrap { overflow-x: auto; padding: 16px 2px 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.cmp { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px; border-bottom: 1px solid var(--line); }
.cmp thead th { font-weight: 800; font-size: 18px; border-bottom: 1.5px solid var(--green); }
.cmp tbody th { font-weight: 700; width: 20%; }
.cmp td { color: var(--muted); width: 24%; }
.cmp td:not(.is-hs)::before { content: "✕"; margin-right: 8px; color: #A9AFA6; font-weight: 800; }
.cmp .is-hs { background: var(--green); color: var(--cream); font-weight: 600; border-inline: 2px solid var(--gold); border-bottom-color: rgba(217, 178, 106, .25); width: 32%; }
.cmp td.is-hs::before { content: "✓"; margin-right: 8px; color: var(--gold); font-weight: 800; }
.cmp thead .is-hs { border-top: 2px solid var(--gold); border-radius: 16px 16px 0 0; color: var(--gold); font-size: 22px; padding-top: 30px; }
.cmp tbody tr:last-child .is-hs { border-bottom: 2px solid var(--gold); border-radius: 0 0 16px 16px; padding-bottom: 30px; }

/* ---------- 11. reviews ---------- */
.reviews { display: grid; gap: 20px; }
.reviews__note { color: var(--muted); font-size: 17px; max-width: 34ch; }
@media (min-width: 1024px) { .reviews { grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; } .reviews__aside { position: sticky; top: calc(var(--header) + 32px); } } /* narrower chat, text beside it */
.chat { background: #E9E3D6; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(31, 58, 28, .55); }
.chat__bar { display: flex; gap: 6px; padding: 14px 18px; background: var(--green); }
.chat__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(246, 243, 236, .35); }
.chat__bar i:first-child { background: var(--gold); }
.chat__body { position: relative; padding: 18px 14px 22px; display: grid; gap: 10px; justify-items: start; }
.msg { position: relative; max-width: 92%; background: var(--white); border-radius: 18px 18px 18px 6px; padding: 14px 16px; box-shadow: 0 6px 16px -10px rgba(31, 58, 28, .4); transform-origin: 0 100%; }
.msg::after { content: ""; position: absolute; left: -7px; bottom: 0; width: 14px; height: 14px; background: var(--white); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.msg figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--brown); margin-bottom: 6px; }
.msg .ph--avatar { width: 40px; height: 40px; border-width: 1px; }
.msg .ph--avatar::before { width: 16px; height: 16px; }
.msg:not(.msg--sm) blockquote { font-weight: 600; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.5; }
.msg--sm { max-width: 72%; padding: 10px 14px; }
.msg--sm blockquote { font-size: 15px; }
.typing { display: none; gap: 4px; padding: 12px 16px; background: var(--white); border-radius: 18px 18px 18px 6px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brown); animation: typing .6s infinite alternate; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { from { opacity: .25; transform: translateY(0); } to { opacity: 1; transform: translateY(-3px); } }
@media (min-width: 768px) { .chat__body { padding: 28px; } .msg { max-width: 82%; padding: 18px 22px; } }
/* real Telegram screenshots in a fixed-height window that scrolls as messages arrive */
.chat__body { height: min(640px, 72vh); overflow-y: auto; align-content: start; scrollbar-width: none; }
.chat__body::-webkit-scrollbar { display: none; }
.msg--shot { padding: 6px; }
/* small enough that a whole message (company name included) always fits the window */
.msg--shot img { display: block; width: auto; height: auto; max-width: min(400px, calc(100vw - 80px)); max-height: min(300px, 38vh); border-radius: 12px; }
.msg--shot figcaption { margin: 2px 6px 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 768px) { .msg--shot { padding: 8px; } }
/* Telegram-like "to the newest" button while the visitor reads older messages */
.chat { position: relative; }
.chat__down { position: absolute; right: 16px; bottom: 16px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 6px 18px -6px rgba(31, 58, 28, .45); display: grid; place-items: center; cursor: pointer; animation: tp-in .3s; }
.chat__down::before { content: ""; width: 11px; height: 11px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: translateY(-3px) rotate(45deg); }
.chat__down[hidden], .chat__new[hidden] { display: none; }
.chat__new { position: absolute; top: -6px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--gold); color: var(--green); font: 700 12px/22px var(--sans); text-align: center; }
.logos-title { margin: 48px 0 16px; }

/* ---------- 12. team ---------- */
.founder { display: grid; gap: 20px; align-items: center; }
.founder__photo { display: block; width: 100%; max-width: 440px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: var(--r); }
.founder__card { display: grid; gap: 16px; align-content: start; background: var(--cream); border-radius: 22px; padding: 24px; box-shadow: 0 20px 50px -36px rgba(31, 58, 28, .5); }
.founder__name { font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; }
.founder__card > p:not(.founder__name) { color: var(--muted); }
@media (min-width: 768px) { .founder { grid-template-columns: 5fr 7fr; gap: 32px; } .founder__card { padding: 32px; } }
.team-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.team-stats li { background: var(--cream); border-radius: 18px; padding: 16px; display: grid; gap: 4px; }
.team-stats b { font-weight: 800; font-size: clamp(26px, 3.4vw, 44px); line-height: 1; }
.team-stats li > span { font-size: 13px; color: var(--muted); }
.orbit { --S: 250px; position: relative; width: var(--S); height: var(--S); margin: 40px auto; }
@media (min-width: 768px) { .orbit { --S: 300px; } }
@media (min-width: 1024px) { .orbit { --S: 360px; } }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(140, 100, 32, .45); animation: spin 90s linear infinite; }
.orbit__item { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(calc(var(--i) * 45deg)) translate(calc(var(--S) / 2)) rotate(calc(var(--i) * -45deg)); }
.orbit__spin { position: absolute; left: -60px; top: -28px; width: 120px; display: flex; flex-direction: column; align-items: center; gap: 4px; animation: spinr 90s linear infinite; transform-origin: 60px 28px; }
.orbit__spin .ph--avatar { width: 56px; height: 56px; background: var(--white); transition: box-shadow .3s, background-color .3s; }
.orbit__lbl { font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--green); color: var(--cream); white-space: nowrap; }
.orbit:hover .orbit__ring, .orbit:hover .orbit__spin { animation-play-state: paused; }
.orbit__item.is-hl .ph--avatar { background: var(--gold); box-shadow: 0 0 0 6px rgba(217, 178, 106, .35); }
.orbit__ava { display: flex; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--white); box-shadow: 0 4px 12px -4px rgba(31, 58, 28, .4); transition: box-shadow .3s; }
.orbit__ava img { width: 100%; height: 100%; object-fit: cover; }
.orbit__duo { display: flex; } /* two people in one role: overlapping circles, like a chat avatar group */
.orbit__duo .orbit__ava + .orbit__ava { margin-left: -18px; }
.orbit__item.is-hl .orbit__duo .orbit__ava { box-shadow: none; }
.orbit__item.is-hl .orbit__duo { filter: drop-shadow(0 0 3px var(--gold)) drop-shadow(0 0 3px var(--gold)); } /* one glow around both circles, not a ring over the neighbour */
.orbit__item.is-hl .orbit__ava { box-shadow: 0 0 0 6px rgba(217, 178, 106, .55); }
.orbit__item.is-hl .orbit__lbl { background: var(--gold); color: var(--green); }
.orbit__center { position: absolute; inset: 0; margin: auto; width: 56%; height: 56%; border-radius: 50%; background: var(--green); color: var(--cream); display: grid; place-content: center; text-align: center; padding: 14px; font-weight: 800; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.25; box-shadow: 0 0 0 10px rgba(217, 178, 106, .15), 0 0 60px rgba(217, 178, 106, .35); }
.orbit__center.is-desc { font-weight: 500; font-size: 13px; }
.orbit__center.is-desc strong { display: block; color: var(--gold); font-size: 15px; margin-bottom: 4px; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes spinr { from { rotate: 0deg; } to { rotate: -360deg; } }

/* ---------- 13. pricing ---------- */
.plans { display: grid; gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 24px; padding: 28px 24px; border: 1px solid var(--line); }
.plan h3 { font-size: 24px; }
.plan__price { margin: 16px 0 18px; font-size: 15px; color: var(--muted); }
.plan__price b { font-weight: 800; font-size: clamp(40px, 4.4vw, 54px); line-height: 1; color: var(--green); display: block; margin-top: 4px; letter-spacing: -.03em; }
.plan ul { margin-bottom: 22px; }
.plan li { padding: 10px 0; border-top: 1px solid var(--line); }
.plan .btn { margin-top: auto; }
.plan--hot { background: var(--green); color: var(--cream); border: 2px solid var(--gold); box-shadow: 0 40px 80px -40px rgba(31, 58, 28, .7); }
.plan--hot .plan__price { color: rgba(246, 243, 236, .8); }
.plan--hot .plan__price b { color: var(--gold); }
.plan--hot li { border-color: var(--line-dark); }
.plan__badge { position: absolute; top: -13px; right: 22px; background: var(--gold); color: var(--green); font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 999px; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
@media (min-width: 1200px) { .plan { padding: 36px 30px; } .plan--hot { margin-top: -18px; } }
.perks { margin-top: 24px; display: grid; gap: 10px; background: var(--white); border-radius: 22px; padding: 20px; }
@media (min-width: 1024px) { .perks { grid-template-columns: 1fr 1fr; gap: 16px 32px; padding: 28px; } }
.perk { position: relative; padding-left: 46px; min-height: 32px; color: var(--muted); font-size: 15px; }
.perk::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--green) var(--icon) center / 18px no-repeat; }
.perk--shield { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9B26A' stroke-width='2'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
.perk--pct { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9B26A' stroke-width='2'%3E%3Cpath d='M19 5L5 19'/%3E%3Ccircle cx='7' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3C/svg%3E"); }
.perk--lock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9B26A' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E"); }
.perk--usd { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9B26A' stroke-width='2'%3E%3Cpath d='M12 3v18M16 7.5c0-1.9-1.8-3-4-3s-4 1.1-4 3 1.8 2.7 4 3.3 4 1.4 4 3.4-1.8 3.3-4 3.3-4-1.3-4-3.3'/%3E%3C/svg%3E"); }

/* ---------- 14. form ---------- */
.form-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .form-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } .form-intro { position: sticky; top: calc(var(--header) + 32px); } }
.lead-form { background: var(--cream); color: var(--green); border-radius: 26px; padding: 22px 18px; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .6); }
@media (min-width: 768px) { .lead-form { padding: 34px; } }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* honeypot: people never see it, bots fill it */
.cf-ts:empty { display: none; }
.cf-ts { margin-bottom: 12px; }
.form-error { margin-bottom: 12px; padding: 10px 14px; border-radius: 12px; background: #F8E3DF; color: #8A2A1B; font-size: 14px; font-weight: 600; }
.lead-form [type="submit"]:disabled { opacity: .7; cursor: progress; }
.lead-form a:hover { color: var(--brown); }
.fpanel { padding: 4px 0; display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field__label { font-weight: 700; font-size: 14px; }
.field__opt { font-weight: 500; opacity: .65; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 768px) { .field-row { grid-template-columns: 1fr 1fr; } }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"] { width: 100%; min-height: 52px; padding: 13px 16px; font: 500 16px var(--sans); color: var(--green); background: var(--white); border: 1.5px solid rgba(31, 58, 28, .25); border-radius: 14px; transition: border-color .2s; }
.lead-form input::placeholder { color: #72806E; }
.lead-form .f-select { width: 100%; min-height: 52px; padding: 13px 44px 13px 16px; font: 500 16px var(--sans); color: var(--green); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F3A1C' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; border: 1.5px solid rgba(31, 58, 28, .25); border-radius: 14px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.lead-form .f-select:invalid { color: #72806E; } /* placeholder option */
.lead-form .f-select option { color: var(--green); }
.lead-form .f-select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(217, 178, 106, .55); }
.is-invalid .f-select { border-color: #A3361E; }
.lead-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(217, 178, 106, .55); }
.is-invalid input[type="text"], .is-invalid input[type="tel"], .is-invalid input[type="email"] { border-color: #A3361E !important; }
.field__err { display: none; color: #A3361E; font-size: 13px; font-weight: 700; }
.is-invalid .field__err { display: block; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label, .lvl-pills label { position: relative; cursor: pointer; }
.pills input, .lvl-pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span { display: inline-block; padding: 9px 16px; border: 1.5px solid rgba(31, 58, 28, .3); border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--white); transition: background-color .2s, color .2s, border-color .2s; }
.lvl-pills { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.lvl-pills span { display: flex; align-items: flex-end; min-height: calc(38px + var(--n, 0) * 9px); padding: 10px 16px; border: 1.5px solid rgba(31, 58, 28, .3); border-top: 3px solid var(--gold); border-radius: 12px 12px 6px 6px; font-weight: 700; font-size: 15px; background: var(--white); transition: background-color .2s, color .2s, border-color .2s; }
.lvl-pills__off span { border-top-width: 1.5px; border-style: dashed; color: var(--muted); font-weight: 600; }
.pills label:hover span, .lvl-pills label:hover span { border-color: var(--green); }
.pills input:checked + span, .lvl-pills input:checked + span { background: var(--green); color: var(--cream); border-color: var(--green); }
.lvl-pills input:checked + span { border-top-color: var(--gold); }
.pills input:focus-visible + span, .lvl-pills input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.lvl-case { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 12px 12px 0; font-weight: 700; animation: rise .5s cubic-bezier(.2, .7, .2, 1); }
.lvl-case[hidden] { display: none; }
.lvl-case::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); flex: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
/* cookie consent: banner + the same choice as an optional checkbox in the form */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: grid; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--green); color: var(--cream); font-size: 14px; line-height: 1.45; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .55), 0 0 0 1.5px rgba(217, 178, 106, .5); }
.consent[hidden] { display: none; }
.consent a { color: var(--gold); }
.consent__btns { display: flex; gap: 8px; }
.consent__btns .btn { flex: 1; }
@media (min-width: 768px) { .consent { right: auto; left: 24px; bottom: 24px; max-width: 440px; } }
.consent-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent-check[hidden] { display: none; }
.consent-check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--green); }
.footer__link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.lead-form__legal { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.lead-form__cand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(31, 58, 28, .12); font-size: 14px; color: var(--muted); }
.lead-form__cand p { flex: 1 1 260px; }
.lead-form__cand a:not(.btn) { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lead-form__cand .btn { color: var(--green); }
/* phone: country code picker + national number */
.phone { display: flex; gap: 8px; }
.phone select { flex: none; min-height: 52px; padding: 0 30px 0 12px; font: 600 16px var(--sans); color: var(--green); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F3A1C' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1.5px solid rgba(31, 58, 28, .25); border-radius: 14px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.phone select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(217, 178, 106, .55); }
.phone input { min-width: 0; }
.is-invalid .phone select { border-color: #A3361E; }
.lead-form .btn:hover { background: var(--gold); color: var(--green); }

/* ---------- modal ---------- */
.modal { padding: 0; margin: 0; border: 0; background: transparent; width: 100%; height: 100%; max-width: none; max-height: none; color: var(--green); }
.modal[open] { display: grid; place-items: center; }
.modal::backdrop { background: rgba(8, 16, 7, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__box { position: relative; width: min(660px, calc(100% - 32px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; background: var(--cream); border-radius: 28px; display: grid; grid-template-columns: 1fr; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6); animation: modal-in .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); color: var(--green); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(31, 58, 28, .15); }
.modal__close { -webkit-appearance: none; appearance: none; padding: 0; display: grid; place-items: center; aspect-ratio: 1; } /* iOS/Windows default button padding made it an oval with the × off-centre */
.modal__close:focus:not(:focus-visible) { outline: none; } /* the dialog auto-focuses it on open: no ring for mouse/touch */
.modal__main { padding: 28px 28px 22px; min-width: 0; }
.modal__title { font-size: 26px; padding-right: 40px; }
.modal__sub { margin: 6px 0 18px; color: var(--muted); font-size: 15px; }
.modal .lead-form { padding: 0; background: none; box-shadow: none; border-radius: 0; }
@media (max-width: 767.98px) {
  .modal__box { width: calc(100% - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border-radius: 22px; } /* 16px of page on each side: reads as a form, not a new page */
  .modal__main { padding: 18px 16px 20px; }
  .modal__title { font-size: 22px; }
}

/* ---------- 15. faq ---------- */
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 8fr 4fr; gap: 48px; align-items: start; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-weight: 600; font-size: 18px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; border: 1.5px solid var(--gold); background: linear-gradient(var(--green), var(--green)) center / 12px 2px no-repeat, linear-gradient(var(--green), var(--green)) center / 2px 12px no-repeat; transition: transform .35s; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 44px 20px 0; color: var(--muted); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s ease, content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.ask { border-radius: 24px; padding: 28px; display: grid; gap: 16px; justify-items: start; }
.ask__title { font-weight: 800; font-size: 22px; line-height: 1.25; }
.ask__ph { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--gold); }
@media (min-width: 1024px) { .ask { position: sticky; top: calc(var(--header) + 32px); margin-top: 72px; } }

/* ---------- 16. final ---------- */
.final__in { position: relative; }
.final__title { max-width: 18em; }
.final .lead { margin: 18px 0 26px; }
.contacts { display: grid; margin-top: 44px; border-top: 1px solid var(--line-dark); }
.contacts li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.contacts span { font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contacts a { font-weight: 700; font-size: 19px; text-decoration: none; }
@media (min-width: 768px) { .contacts { grid-template-columns: repeat(4, 1fr); } .contacts li { padding-right: 16px; } }

/* ---------- footer ---------- */
.footer { background: #172C15; padding: 40px 0 32px; font-size: 15px; } /* the round Telegram button sits at the right, clear of the left-aligned footer text */
.footer__in { display: grid; gap: 24px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; } /* 6 × 44px + gaps fit one row at 375px */
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 243, 236, .25); transition: background-color .2s, border-color .2s; }
.social a:hover, .social a:focus-visible { background: rgba(246, 243, 236, .12); border-color: var(--gold); }
.social img { width: 22px; height: 22px; filter: brightness(0) invert(.95); } /* any brand colour → cream, like the hero logos */
.footer__legal { display: grid; gap: 6px; color: rgba(246, 243, 236, .7); }
@media (min-width: 768px) { .footer { padding-bottom: 44px; } }
@media (min-width: 1200px) { .footer__in { grid-template-columns: auto auto; justify-content: space-between; align-items: start; gap: 48px; } }

/* ---------- floating Telegram + sticky CTA ---------- */
.tg-float { position: fixed; right: 16px; bottom: 10px; z-index: 45; width: 54px; height: 54px; border-radius: 50%; background: var(--green); display: grid; place-content: center; box-shadow: 0 14px 30px -10px rgba(16, 32, 15, .7), 0 0 0 2px var(--gold); color: var(--gold); text-decoration: none; transition: transform .25s; }
.tg-float svg { width: 26px; height: 26px; fill: currentColor; transform: translateX(-1px); }
.tg-float:hover { transform: scale(1.06); color: var(--gold); }
.tg-float__tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--green); color: var(--cream); font-weight: 700; font-size: 14px; padding: 7px 12px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.tg-float:hover .tg-float__tip, .tg-float:focus-visible .tg-float__tip { opacity: 1; }
@media (min-width: 768px) { .tg-float { right: 24px; bottom: 24px; width: 60px; height: 60px; } }
/* «to the top»: small round button above the Telegram one, shown once the visitor has scrolled away from the start */
.to-top { position: fixed; right: 23px; bottom: 76px; z-index: 45; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cream); box-shadow: 0 8px 20px -8px rgba(16, 32, 15, .6), 0 0 0 1.5px var(--gold); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s, visibility 0s .3s; }
.to-top::before { content: ""; width: 10px; height: 10px; border-left: 2.5px solid var(--green); border-top: 2.5px solid var(--green); transform: translateY(2px) rotate(45deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
.to-top:hover { background: var(--gold); }
@media (min-width: 768px) { .to-top { right: 34px; bottom: 96px; } }

/* ---------- thank-you / privacy ---------- */
.simple { min-height: 100vh; padding-top: calc(var(--header) + 72px); overflow: hidden; }
.simple__in { position: relative; display: grid; gap: 22px; justify-items: start; }
.simple__in div[data-type]:not([hidden]) { display: grid; gap: 18px; }
.simple__title { font-size: clamp(36px, 5vw, 64px); max-width: 14em; }
.simple__list { display: grid; gap: 10px; font-size: 17px; margin-bottom: 12px; }
.simple [data-type][hidden] { display: none; } /* thank-you: show only the variant for this lead type */
.policy { display: grid; gap: 14px; max-width: 760px; font-size: 17px; line-height: 1.6; }
.policy h2 { margin-top: 18px; font-size: 22px; line-height: 1.3; }
.policy ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.policy a { color: var(--brown); }
.policy__date { color: var(--muted); font-size: 15px; }
.stairs { position: absolute; pointer-events: none; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.stairs--hero { right: -40px; bottom: 0; width: min(860px, 120vw); height: auto; opacity: .85; }
.signal { position: relative; width: 22px; height: 22px; }
.signal::before, .signal::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); }
.signal::before { box-shadow: 0 0 18px var(--gold); }
.signal::after { animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(3.2); opacity: 0; } }

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- reduced motion: static and readable ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .marquee__track { width: auto; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee--hero { overflow-x: auto; } /* static: one scrollable row, not 95 logos wrapped over the hero */
  .marquee--hero .marquee__group { flex-wrap: nowrap; justify-content: flex-start; }
}

/* mobile scene: keep count below the step counter and the text plate above the floating buttons */
@media (max-width: 1023.98px) {
  .scene__count { top: calc(var(--header) + 72px); }
  .scene--live .frame__body { bottom: 88px; }
  .scene__channels { display: none; } /* channel names collide with the cards and the count on narrow screens */
}

/* ---------- mobile polish ---------- */
@media (max-width: 1023.98px) {
  /* comparison: one card per criterion, HireStep answer first — no hidden horizontal scroll */
  .cmp-wrap { overflow: visible; margin-inline: 0; padding-inline: 0; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; min-width: 0; }
  .cmp thead { display: none; }
  .cmp tr { display: flex; flex-direction: column; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); }
  .cmp tbody th { width: auto; padding: 14px 16px 6px; border: 0; font-size: 17px; }
  .cmp td { width: auto; padding: 6px 16px; border: 0; font-size: 14px; }
  .cmp td::after { content: " — " attr(data-l); color: #A9AFA6; font-size: 12px; }
  .cmp td:last-child { padding-bottom: 14px; }
  .cmp td.is-hs { order: -1; margin: 4px 10px 8px; padding: 12px 14px; border: 2px solid var(--gold); border-radius: 12px; width: auto; }
  .cmp td.is-hs::after { color: var(--gold); font-weight: 800; }
  .cmp tbody th { order: -2; }
  .cmp tbody tr:last-child .is-hs { border-radius: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
}
@media (max-width: 767.98px) {
  /* hero: title, buttons and the client marquee fit one screen — subtitle and the 3 checks are desktop-only */
  .hero__sub, .hero__checks { display: none; }
  .step.is-active { transform: scale(1.015); } /* 1.03 pushed the card past a 320px screen */
  .hero__content { gap: 22px; }
  .hero__trust { margin-top: 6px; width: 100%; }
  .hero__actions { width: 100%; display: grid; } /* two equal full-width buttons read tidier than two different widths */
  /* the faint «hıre» watermark: whole word along the bottom (at 230vw only the «ı» stem + dot showed and read as «1»); content sits higher to make room */
  .hero__stage { justify-content: flex-start; padding: calc(var(--header) + 28px) 0 calc(27vw + 16px); } /* bottom room = the «hıre» watermark */
  .hero__grid { flex: 1; align-items: stretch; }
  .hero__content { display: flex; flex-direction: column; align-items: flex-start; }
  .hero__actions { margin-top: auto; } /* title stays up, buttons + clients sit just above «hıre»: the screen fills evenly */
  .hero__wm { left: -1vw; bottom: -2svh; width: 120vw; }
  /* team orbit: same rotating ring as desktop, scaled to the phone — smaller photos, labels wrap in two lines */
  .orbit { --S: min(212px, calc(100vw - 150px)); margin: 48px auto 56px; }
  .orbit__spin { left: -46px; top: -20px; width: 92px; gap: 3px; transform-origin: 46px 20px; }
  .orbit__ava { width: 40px; height: 40px; border-width: 1.5px; }
  .orbit__duo .orbit__ava + .orbit__ava { margin-left: -14px; }
  .orbit__lbl { font-size: 10px; line-height: 1.2; padding: 3px 7px; white-space: normal; text-align: center; max-width: 92px; }
  .orbit__center { width: 46%; height: 46%; font-size: 13px; padding: 6px; box-shadow: 0 0 0 6px rgba(217, 178, 106, .15), 0 0 40px rgba(217, 178, 106, .3); }
  .orbit__ring { z-index: 1; } /* labels stay readable over the centre circle */
  .orbit:hover .orbit__ring, .orbit:hover .orbit__spin { animation-play-state: running; } /* a tap leaves :hover stuck on phones — keep spinning */
  .footer__legal { padding-right: 68px; } /* text wraps before the round Telegram button, so the footer can stay short */
  .msg--shot { width: 100%; } /* the bubble takes the chat width, the screenshot fits inside it */
  .chat__body { height: min(460px, 60svh); overflow: hidden; } /* not a scroll trap: a swipe over the chat scrolls the page; the chat still scrolls itself */
  .chat__down { display: none !important; }
  .reviews__note { font-size: 15px; }
  .msg--shot img { max-width: 100%; }
  /* photo fan: less overlap so captions stay readable */
  .fan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px 0; } /* straight row: rotated cards got cut by the screen edge */
  .fan .ph { width: auto; margin: 0; padding: 8px; font-size: 10px; aspect-ratio: 3 / 4; transform: none !important; }
  .ph__pill { white-space: normal; width: max-content; max-width: calc(100% - 24px); text-align: center; }
  /* 6 checks: the sticky candidate card covered half the screen and the list under it — a one-row progress strip instead */
  .ccard { grid-template-columns: auto 1fr; padding: 12px 14px; gap: 0 12px; }
  .ccard__ava { width: 40px; height: 40px; }
  .ccard__lines { display: none; }
  .ccard__marks { grid-column: auto; flex-wrap: nowrap; gap: 8px; }
  .ccard__marks li { width: 24px; height: 24px; padding: 0; gap: 0; font-size: 0; border-radius: 50%; justify-content: center; }
  .ccard__marks li::before { width: 24px; height: 24px; font-size: 12px; }
  /* level pills: the rising «stairs» only read in one row (desktop); wrapped on a phone they looked random — even 2-column grid */
  .lvl-pills { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .lvl-pills span { min-height: 48px; height: 100%; align-items: center; }
  .lvl-pills label:nth-child(2) span { font-size: 14px; }
  .lvl-pills__off { grid-column: 1 / -1; }
  /* reels: «42 тис. переглядів» broke into two lines under a narrow card */
  .reel { width: 44%; }
  .reel__views { gap: 5px; font-size: 12px; white-space: nowrap; }
  /* sticky CTA: dark green melted into the green panels — gold edge keeps it visible everywhere */
}

/* scene frame 01: the empty chair, gold line-art drawn on enter */
.ph--art::before { content: none; }
.frame__art { display: block; width: auto; height: min(56vh, 520px); max-width: 80%; aspect-ratio: 4 / 5; overflow: visible; }
.chair { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgba(217, 178, 106, .35)); } /* same gold line-art as the candidate contour (frame 03) */
.scene--live .frame__media .ph--art { align-items: center; justify-content: center; padding: var(--header) 0 0; }
@media (min-width: 1024px) { .scene--live .frame__media .ph--art { justify-content: center; padding-right: 34vw; } .frame__art { height: min(50vh, 470px); margin-top: 10vh; } } /* centred in the left part, clear of the text plate */
@media (max-width: 1023.98px) { .scene--live .frame__media .ph--art { align-items: flex-start; padding-top: calc(var(--header) + 110px); } .frame__art { height: min(38vh, 330px); } }

/* scene frame 04: the finalist CV fills the gold frame */
.rcard__who, .rcard__badge { position: absolute; opacity: 0; }
.rcard__who { left: 13px; top: 16px; width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 2.4; background: var(--green); border-radius: 4px; }
.rcard__badge { left: 50%; bottom: -9px; transform: translateX(-50%); padding: 2px 6px; border-radius: 999px; background: var(--gold); color: var(--green); font: 800 7px/1.3 var(--sans); white-space: nowrap; }

/* scene: heading of the current frame (top left, all 5 frames) */
.scene__title { display: none; }
.scene--live .scene__title { display: block; position: absolute; z-index: 4; left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); top: calc(var(--header) + 28px); color: var(--cream); pointer-events: none; }
.scene__title .eyebrow { margin-bottom: 8px; }
.scene__h { font-weight: 800; font-size: clamp(26px, 3vw, 44px); line-height: 1.05; letter-spacing: -.02em; }
@media (min-width: 1024px) { .scene__h { white-space: nowrap; } }
@media (max-width: 1023.98px) { .scene--live .scene__title { top: calc(var(--header) + 56px); } .scene__title .eyebrow { display: none; } .scene__h { font-size: 24px; } .scene__count { display: none; } }
/* phone: «Шлях кандидата» label back above the step counter; the scene fills the whole screen even with the browser bar hidden (lvh), the text plate stays above the bar */
@media (max-width: 767.98px) {
  .scene--live .scene__stage { height: calc(100svh + 30vh); height: calc(100lvh + 30vh); } /* taller than any viewport: in-app browsers (Telegram, Instagram) report heights that left a strip below the dark scene */
  .scene--live .scene__title { top: calc(var(--header) + 14px); }
  .scene__title .eyebrow { display: flex; margin-bottom: 44px; }
  .scene--live .scene__counter { top: calc(var(--header) + 46px); }
  /* text plate: compact, just above the Telegram button and the Safari bar */
  .scene--live .frame__body { bottom: calc(100lvh - 100svh + 30vh + 78px); padding: 14px 16px; gap: 8px; border-radius: 16px; }
  .scene--live .frame__text { font-size: 16px; line-height: 1.3; }
  .scene--live .plate { padding: 5px 10px; font-size: 14px; }
  .scene--live .frame__checks li { padding: 3px 9px; font-size: 12px; }
  .scene--live .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
  /* visuals live in the free band between the title and the plate (--fx-y / --fx-h set by main.js) */
  .scene__contour, .scene__frame { height: min(var(--fx-h, 46vh), 46vh); }
  .frame__art { height: min(calc(var(--fx-h, 330px) - 8px), 330px) !important; }
  .scene--live .frame__media .ph--art { align-items: flex-start; padding-top: calc(var(--fx-y, 50%) - min(var(--fx-h, 330px) - 8px, 330px) / 2); }
}
/* frame 01: «live» pain notifications + vacancy timer (placed by JS around the chair) */
.scene__pings { position: absolute; inset: 0; }
.ping { position: absolute; display: flex; align-items: center; gap: 10px; max-width: 300px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(16, 32, 15, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(217, 178, 106, .22); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); color: var(--cream); font-size: 14px; font-weight: 600; line-height: 1.3; opacity: 0; }
.ping::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A1C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9a6 6 0 0 1 12 0c0 6 2 7 2 7H4s2-1 2-7M10 20a2 2 0 0 0 4 0'/%3E%3C/svg%3E") center / 16px no-repeat; }
.scene__vacant { position: absolute; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(217, 178, 106, .5); background: rgba(16, 32, 15, .6); color: var(--cream); font-weight: 700; font-size: 15px; white-space: nowrap; opacity: 0; transform: translateX(-50%); }
.scene__vacant b { color: var(--gold); font-variant-numeric: tabular-nums; }
@media (max-width: 1199.98px) { .ping { font-size: 13px; max-width: 280px; padding: 8px 12px 8px 8px; } .ping::before { width: 22px; height: 22px; background-size: 14px; } }
@media (max-width: 767.98px) { .scene__pings, .scene__vacant { display: none; } } /* no room around the chair on a phone */
/* chair: gold spotlight from above; frame 05 — the chair is taken */
.scene--live .frame:first-child .ph--art, .scene--live .frame:last-child .ph--art { background-image: radial-gradient(ellipse 22% 60% at 33% 28%, rgba(217, 178, 106, .2), transparent 70%); }
@media (max-width: 1023.98px) { .scene--live .frame:first-child .ph--art, .scene--live .frame:last-child .ph--art { background-image: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(217, 178, 106, .2), transparent 70%); } }
/* tablet (768–1023): the phone fixes for the «hıre» watermark and the frame-01 pings, scaled for the wider screen */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero__wm { left: 2vw; bottom: 2svh; width: 90vw; }
  .hero__stage { padding-bottom: calc(23vw + 24px); }
  .scene__pings, .scene__vacant { display: none; }
}
