/* Joinery v2 — ніч, мороз і магія.
   Композиція: повноекранне відео героя, продукт великим планом і нахилом, кожна секція має власне світло (--glow). */
@property --dom { syntax: '<color>'; inherits: true; initial-value: #8A5CC0; }
:root {
  --bg: #120B22;
  --bg-deep: #0A0615;
  --bg-up: #1C1236;
  --ink: #F4EFFC;
  --ink-2: #C8BEDD;
  --ink-3: #9D92B8;
  --line: rgba(255,255,255,.13);
  --gold: #D9B45E;
  --gold-hi: #F2CF7C;
  --hope: #EBA93C;
  --fear: #7A5C9E;
  --fear-hi: #B79BE0;
  --frost: #8EC3FF;
  --arcane: #8A5CC0;
  --blood: #C9573F;
  --blood-hi: #FF9279;
  --parch: #D8BE8C;
  --dom: #8A5CC0;
  --f-display: 'Literata', 'Georgia', 'Times New Roman', serif;
  --f-text: 'Golos Text', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gut: clamp(20px, 4vw, 56px);
  --hdr: 76px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.55 var(--f-text); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--gold); color: #1A1226; padding: 12px 18px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: 1400px; margin-inline: auto; padding-inline: var(--gut); position: relative; }
/* ---------- Типографіка ---------- */
.eyebrow { font: 500 13px/1.2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; }
.h1, .h2, .h3 { font-family: var(--f-display); font-weight: 600; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
.h1 { font-size: clamp(52px, 6vw + 22px, 132px); line-height: .96; letter-spacing: -.035em; }
.h2 { font-size: clamp(40px, 4.4vw + 12px, 92px); line-height: 1; letter-spacing: -.03em; }
.h3 { font-size: clamp(26px, 1.6vw + 14px, 40px); line-height: 1.08; letter-spacing: -.02em; }
.h1 em, .h2 em { font-style: italic; font-weight: 500; color: var(--gold-hi); }
.lead { font-size: clamp(19px, .5vw + 16px, 24px); line-height: 1.5; color: var(--ink-2); max-width: 36em; margin: 0; text-wrap: pretty; }
.body { color: var(--ink-2); max-width: 34em; margin: 0; text-wrap: pretty; }
.micro { font-size: 15px; color: var(--ink-3); margin: 0; }
.link-arrow { display: inline-flex; gap: .55em; align-items: center; font: 600 17px/1 var(--f-text); text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 6px; transition: gap .2s, color .2s; }
.link-arrow:hover { gap: .9em; color: var(--gold-hi); }
/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 54px; padding: 0 28px; border-radius: 14px; border: 1px solid transparent; font: 600 17px/1 var(--f-text); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .25s, background .2s, border-color .2s; white-space: nowrap; }
.btn--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1A1226; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 14px 44px -10px rgba(217,180,94,.6); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 20px 56px -8px rgba(242,207,124,.75); }
.btn--ghost { background: rgba(255,255,255,.07); color: var(--ink); border-color: rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.btn--xl { min-height: 72px; padding: 0 44px; font-size: 21px; border-radius: 18px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
/* ---------- Шапка ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr); transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.hdr::before { content: ''; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(180deg, rgba(10,6,21,.72), transparent); pointer-events: none; transition: opacity .3s; z-index: -1; }
.hdr.is-stuck { background: rgba(14,9,28,.82); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--line); }
.hdr.is-stuck::before { opacity: 0; }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 22px/1 var(--f-display); letter-spacing: .09em; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand i { font-style: normal; color: var(--gold); }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { text-decoration: none; padding: 10px 14px; border-radius: 10px; font: 500 16px/1 var(--f-text); color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: rgba(255,255,255,.08); }
.hdr__act { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hdr__login { text-decoration: none; font: 500 16px/1 var(--f-text); color: var(--ink-2); padding: 10px 6px; }
.hdr__login:hover { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--ink); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; }
.notice { position: absolute; z-index: 90; top: var(--hdr); left: 0; right: 0; text-align: center; font: 500 13px/1 var(--f-mono); letter-spacing: .04em; color: var(--ink); padding: 10px var(--gut); background: rgba(138,92,192,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-block: 1px solid rgba(183,155,224,.35); }
/* ---------- Відео ---------- */
.vid { position: relative; overflow: hidden; background: var(--bg-deep); }
.vid picture { position: absolute; inset: 0; }
.vid picture img { width: 100%; height: 100%; object-fit: cover; }
.vid > img, .vid > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid > video { opacity: 0; transition: opacity .8s ease; }
.vid.is-playing > video { opacity: 1; }
/* ---------- Герой головної ---------- */
.hero { position: relative; z-index: 3; min-height: clamp(700px, 100svh, 1020px); display: flex; align-items: flex-end; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: -2; background: #1d2d52; }
.hero__bg .vid { position: absolute; inset: 0; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(0deg, var(--bg) 0%, rgba(18,11,34,.94) 20%, rgba(18,11,34,.62) 46%, rgba(18,11,34,.12) 74%, rgba(18,11,34,.45) 100%),
  radial-gradient(70% 90% at 78% 22%, rgba(120,92,255,.2), transparent 70%),
  linear-gradient(90deg, rgba(24,16,70,.45), transparent 55%);
  mix-blend-mode: normal; }
.hero__bg .vid > img, .hero__bg .vid > video { filter: saturate(1.2) brightness(.95) contrast(1.05); }
.hero__in { width: 100%; padding-block: calc(var(--hdr) + 120px) clamp(64px, 9vh, 104px); }
.hero__copy { max-width: min(860px, 62%); display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.pill { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 14px; border-radius: 99px; border: 1px solid rgba(142,195,255,.4); background: rgba(14,9,32,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 13px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.pill::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 12px 3px rgba(242,207,124,.7); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 4px; }
.hero__copy .lead { color: #D7CFEA; text-shadow: 0 1px 24px rgba(10,6,21,.8); }
.cardart { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: #160E2C; border: 2px solid var(--dc, #8A5CC0); box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 80px -10px var(--dc, #8A5CC0); }
.cardart img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.cardart figcaption { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px 18px; background: linear-gradient(180deg, color-mix(in srgb, var(--dc, #8A5CC0) var(--cap, 55%), #120B22), #140C28); }
.cardart .dom { font: 500 11.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.cardart .nm { font: 600 clamp(20px, 1.6vw, 26px)/1.1 var(--f-display); letter-spacing: -.01em; color: #fff; }
/* ---------- Смуга довіри ---------- */
/* ---------- Секції ---------- */
.sec { position: relative; isolation: isolate; padding-block: clamp(80px, 9vw, 150px); }
.sec::before { content: ''; position: absolute; inset: -12% 0; z-index: -1; pointer-events: none; background: var(--light, none); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 76%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 76%, transparent 100%); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.sec__head .body { padding-bottom: 8px; }
/* Карти доменів */
.sec--cards { --light:
  radial-gradient(58% 46% at 74% 34%, color-mix(in srgb, var(--dom) 46%, transparent), transparent 72%),
  radial-gradient(48% 40% at 10% 88%, color-mix(in srgb, var(--dom) 24%, transparent), transparent 74%),
  linear-gradient(180deg, transparent, color-mix(in srgb, var(--dom) 10%, transparent) 50%, transparent); transition: --dom .7s ease; }
.tabs { display: flex; gap: 8px; margin: 0 0 clamp(36px, 4vw, 56px); overflow-x: auto; padding: 6px 4px 14px; scroll-padding-inline: 36px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; -webkit-overflow-scrolling: touch; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; min-height: 48px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--ink-2); font: 500 16px/1 var(--f-text); cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.tab::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: var(--dc); box-shadow: 0 0 10px var(--dc); }
.tab:hover { color: var(--ink); border-color: rgba(255,255,255,.35); }
.tab[aria-selected="true"] { color: #fff; background: color-mix(in srgb, var(--dc) 34%, rgba(18,11,34,.7)); border-color: var(--dc); box-shadow: 0 0 36px -6px var(--dc); }
.stage { position: relative; padding-bottom: 60px; }
.stage__screen { position: relative; width: 76%; aspect-ratio: 16 / 9; border-radius: 22px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 60px 140px -30px color-mix(in srgb, var(--dom) 70%, transparent), 0 0 0 1px rgba(0,0,0,.4); overflow: hidden; background: var(--bg-deep); }
.stage__screen > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__screen video { opacity: 0; transition: opacity .5s; }
.stage__screen.is-playing video { opacity: 1; }
.stage__screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(18,11,34,.55)); pointer-events: none; }
.fan { position: absolute; right: -2%; top: -9%; width: 50%; height: 108%; }
.fan__card { position: absolute; width: 63%; left: 0; top: 0; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; text-align: left; font: inherit; transform-origin: 50% 110%;
  transform: translate(calc(var(--i) * 4%), 40%) rotate(0deg) scale(.86); opacity: .0; transition: transform 1s cubic-bezier(.2,.85,.25,1) calc(var(--i) * .11s), opacity .5s calc(var(--i) * .11s); z-index: calc(var(--i) + 1); }
.fan.is-open .fan__card { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
.fan.is-open .fan__card:hover, .fan.is-open .fan__card:focus-visible, .fan.is-open .fan__card.is-active { transform: translate(var(--x), calc(var(--y) - 5%)) rotate(calc(var(--r) * .35)) scale(1.07); z-index: 9; transition-delay: 0s; transition-duration: .35s; }
.fan__card .cardart { box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 30px 70px -10px rgba(0,0,0,.65); }
.fan__card.is-active .cardart { box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 0 90px -6px var(--dc); }
.fan[data-n="1"] .fan__card { --x: 36%; --y: 12%; --r: 3deg; }
.fan[data-n="2"] .fan__card:nth-child(1) { --x: 6%; --y: 14%; --r: -5deg; }
.fan[data-n="2"] .fan__card:nth-child(2) { --x: 56%; --y: 2%; --r: 6deg; }
.fan[data-n="3"] .fan__card:nth-child(1) { --x: 0%; --y: 24%; --r: -8deg; }
.fan[data-n="3"] .fan__card:nth-child(2) { --x: 30%; --y: 4%; --r: 0deg; }
.fan[data-n="3"] .fan__card:nth-child(3) { --x: 58%; --y: 30%; --r: 8deg; }
/* Кидок */
/* Майстру */
.shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 50px 110px -30px var(--glow, rgba(0,0,0,.8)), 0 0 0 1px rgba(0,0,0,.4); background: var(--bg-deep); position: relative; }
.shot img { width: 100%; height: auto; }
.tilt-l { transform: perspective(1800px) rotateY(7deg) rotateX(1.5deg); transform-origin: 0 50%; }
.tilt-r { transform: perspective(1800px) rotateY(-7deg) rotateX(1.5deg); transform-origin: 100% 50%; }
/* Світ */
.sec--world { --light:
  radial-gradient(60% 40% at 24% 10%, rgba(216,190,140,.3), transparent 70%),
  radial-gradient(50% 36% at 86% 44%, rgba(70,110,150,.34), transparent 72%),
  linear-gradient(180deg, rgba(84,66,40,.16), rgba(18,28,60,.28) 80%, transparent); }
.curtain { position: relative; user-select: none; -webkit-user-select: none; }
.curtain__stage { position: relative; aspect-ratio: 1200 / 905; cursor: ew-resize; touch-action: pan-y; border-radius: 20px; overflow: hidden; -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000 62%, transparent 98%); mask-image: radial-gradient(120% 120% at 50% 50%, #000 62%, transparent 98%); }
.curtain__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.curtain__stage .cur-a { clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.curtain__handle { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 44px; margin-left: -22px; cursor: ew-resize; outline-offset: -4px; z-index: 3; }
.curtain__handle::before { content: ''; position: absolute; left: 50%; top: 6%; bottom: 6%; width: 3px; margin-left: -1.5px; background: var(--gold-hi); box-shadow: 0 0 24px 4px rgba(242,207,124,.55); border-radius: 3px; }
.curtain__handle::after { content: '‹ ›'; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1A1226; font: 700 20px/1 var(--f-text); letter-spacing: .1em; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.curtain__tag { position: absolute; top: 14px; z-index: 2; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 99px; background: rgba(10,6,21,.72); border: 1px solid var(--line); color: var(--ink); }
.curtain__tag--a { left: 14px; }
.curtain__tag--b { right: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { padding: 0 20px; min-height: 46px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--ink-2); font: 500 16px/1 var(--f-text); cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--ink); border-color: rgba(255,255,255,.4); }
.chip[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: #1A1226; }
/* Для кого */
.role { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(520px, 52vw, 720px); border-radius: 26px; overflow: visible; text-decoration: none; isolation: isolate; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.role:hover { transform: translateY(-10px); }
/* Кроки */
.sec--steps { --light:
  radial-gradient(50% 50% at 50% 40%, rgba(217,180,94,.16), transparent 70%),
  radial-gradient(40% 40% at 90% 90%, rgba(138,92,192,.3), transparent 72%); overflow: hidden; }
.steps__img { position: absolute; inset: 0; z-index: -2; opacity: .3;  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.steps { list-style: none; margin: clamp(48px, 6vw, 90px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); counter-reset: s; }
.steps li { position: relative; padding-top: 28px; border-top: 1px solid rgba(217,180,94,.55); }
.steps li::before { counter-increment: s; content: counter(s); display: block; font: italic 500 clamp(110px, 12vw, 220px)/.85 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--gold); letter-spacing: -.04em; margin-bottom: 18px; }
.steps li span { font: 600 clamp(28px, 2.4vw, 42px)/1.1 var(--f-display); letter-spacing: -.02em; }
.steps__micro { margin-top: 40px; }
/* FAQ */
.sec--faq { --light: radial-gradient(46% 50% at 12% 30%, rgba(138,92,192,.22), transparent 72%), radial-gradient(40% 40% at 90% 80%, rgba(80,120,190,.16), transparent 72%); }
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 28px 0; font: 600 clamp(21px, 1.6vw, 28px)/1.25 var(--f-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font: 400 26px/1 var(--f-text); color: var(--gold); transition: transform .3s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(217,180,94,.15); }
.faq details p { margin: 0 0 30px; color: var(--ink-2); max-width: 36em; font-size: 19px; }
/* Фінал */
.final { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(140px, 17vw, 280px) 0; min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: space-between; }
.final__bg { position: absolute; inset: 0; z-index: -2; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) brightness(.78); }
.final__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(18,11,34,.55) 22%, rgba(18,11,34,.3) 55%, rgba(18,11,34,.88) 100%), radial-gradient(60% 60% at 30% 40%, rgba(138,92,192,.35), transparent 70%); }
.final__copy { display: flex; flex-direction: column; gap: 36px; align-items: flex-start; }
.final__copy .h2 { font-size: clamp(52px, 7vw + 8px, 150px); max-width: 11em; }
/* ---------- Футер ---------- */
.ftr { background: var(--bg-deep); border-top: 1px solid var(--line); padding-block: 72px 40px; font-size: 16px; color: var(--ink-2); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.ftr__attr { font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: 46em; margin: 22px 0 0; }
.ftr__attr a { color: var(--ink-2); }
.ftr__indep { font-size: 14px; color: var(--ink-3); margin: 12px 0 0; max-width: 46em; }
.ftr h2 { font: 500 12.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ftr ul a { text-decoration: none; color: var(--ink-2); }
.ftr ul a:hover { color: var(--ink); text-decoration: underline; }
/* ---------- Сторінки ролей ---------- */
.phero { position: relative; isolation: isolate; padding-block: calc(var(--hdr) + 90px) clamp(80px, 9vw, 150px); overflow: clip; }
.phero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--light); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr); gap: clamp(28px, 4vw, 70px); align-items: center; min-height: min(78vh, 760px); }
.phero__copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.phero .h1 { font-size: clamp(48px, 5vw + 18px, 112px); }
.phero__media { position: relative; }
.phero__media .shot { width: 118%; max-width: none; }
.phero--bg { padding-block: calc(var(--hdr) + 90px) clamp(80px, 9vw, 140px); }
.phero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.phero__bg .vid { position: absolute; inset: 0; }
.phero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg), rgba(18,11,34,.7) 30%, rgba(18,11,34,.45) 60%, rgba(18,11,34,.7)), linear-gradient(90deg, rgba(18,11,34,.85), transparent 70%); }
.feat { padding-block: clamp(72px, 9vw, 150px); position: relative; isolation: isolate; }
.feat::before { content: ''; position: absolute; inset: -10% 0; z-index: -1; background: var(--light); pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.feat__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.feat--r .feat__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feat--r .feat__media { order: 2; }
.feat__media { position: relative; }
.feat__txt .h2 { font-size: clamp(36px, 3vw + 16px, 68px); margin-bottom: 22px; }
.feat__txt .body { font-size: 20px; }
.feat__duo { position: relative; padding-bottom: 12%; }
.feat__duo .shot + .shot { position: absolute; width: 46%; right: -2%; bottom: 0; transform: rotate(3deg); }
.pfinal { position: relative; isolation: isolate; padding-block: clamp(110px, 14vw, 220px); overflow: hidden; }
.pfinal::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--light); }
.pfinal .h2 { font-size: clamp(46px, 5.6vw + 10px, 120px); max-width: 12em; margin-bottom: 40px; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.steps3 div { padding: 24px 26px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font: 500 20px/1.35 var(--f-text); }
.classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; margin: 8px 0 0; padding: 0; list-style: none; }
.classes li { font: 600 clamp(26px, 2.6vw, 44px)/1.15 var(--f-display); letter-spacing: -.02em; padding: 14px 0; border-top: 1px solid var(--line); }
/* Правове */
.legal { padding-block: calc(var(--hdr) + 90px) 120px; position: relative; isolation: isolate; }
.legal::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(56% 36% at 20% 0%, rgba(138,92,192,.3), transparent 70%); }
.legal .h1 { font-size: clamp(44px, 5vw + 10px, 96px); margin-bottom: 24px; }
.prose { max-width: 44em; margin-top: 56px; color: var(--ink-2); }
.prose h2 { font: 600 clamp(26px, 2vw, 34px)/1.2 var(--f-display); color: var(--ink); margin: 2.2em 0 .6em; }
.prose p, .prose li { font-size: 18px; }
.ph { background: rgba(217,180,94,.16); border: 1px dashed var(--gold); border-radius: 6px; padding: 1px 8px; color: var(--gold-hi); font-family: var(--f-mono); font-size: .88em; }
/* Діалог списку очікування */
/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
.nav { display: none; }
.menu-btn { display: block; }
.hdr__act .hdr__login { display: none; }
.hdr__act { margin-left: auto; margin-right: 56px; }
.hdr.is-open + .nav-panel { display: flex; }
.hero__copy { max-width: 74%; }
.stage__screen { width: 100%; }
.fan { position: relative; right: auto; top: auto; width: 100%; height: auto; aspect-ratio: 16 / 8; margin-top: -8%; }
.sec__head, .faq, .phero__grid, .feat__grid, .feat--r .feat__grid { grid-template-columns: minmax(0, 1fr); }
.feat--r .feat__media { order: 0; }
.role { min-height: 460px; }
.phero__media .shot { width: 100%; }
.tilt-l, .tilt-r { transform: none; }
.ftr__grid { grid-template-columns: 1fr 1fr; }
.ftr__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
body { font-size: 17px; }
:root { --hdr: 64px; }
.hero { min-height: 780px; }
.hero__in { padding-block: calc(var(--hdr) + 40px) 64px; }
.hero__copy { max-width: 100%; gap: 22px; }
.hero__cta .btn { width: 100%; }
.btn--xl { min-height: 64px; padding: 0 28px; font-size: 19px; }
.fan { aspect-ratio: auto; height: 330px; margin-top: -4%; }
.fan__card { width: 56%; }
.fan[data-n="3"] .fan__card:nth-child(1) { --x: 3%; --y: 14%; }
.fan[data-n="3"] .fan__card:nth-child(2) { --x: 24%; --y: 0%; }
.fan[data-n="3"] .fan__card:nth-child(3) { --x: 45%; --y: 18%; }
.fan[data-n="2"] .fan__card:nth-child(1) { --x: 2%; }
.fan[data-n="2"] .fan__card:nth-child(2) { --x: 40%; }
.fan[data-n="1"] .fan__card { --x: 22%; }
.steps, .steps3, .classes { grid-template-columns: minmax(0, 1fr); }
.steps li::before { font-size: 120px; }
.ftr__grid { grid-template-columns: 1fr; }
.feat__duo .shot + .shot { position: relative; width: 70%; right: auto; margin: -24px 0 0 auto; }
.phero__grid { min-height: 0; }
}
.nav-panel { display: none; position: fixed; inset: var(--hdr) 0 auto 0; z-index: 99; flex-direction: column; gap: 4px; padding: 18px var(--gut) 28px; background: rgba(14,9,28,.97); border-bottom: 1px solid var(--line); }
.nav-panel a { text-decoration: none; padding: 16px 6px; font: 500 20px/1 var(--f-text); border-bottom: 1px solid var(--line); }
.nav-panel .btn { margin-top: 16px; }
@media (min-width: 1101px) {
.nav-panel { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
.vid > video, .stage__screen video { display: none; }
.fan__card { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)) !important; }
}
.phero--bg .phero__copy { max-width: 820px; min-height: min(56vh, 520px); justify-content: flex-end; }
.dhfan { position: relative; display: flex; justify-content: center; padding: 30px 0 40px; }
.dhfan__c { width: 42%; margin-left: -9%; transform: rotate(calc((var(--k) - 1) * 7deg)) translateY(calc(var(--k) * 14px - 14px)); transition: transform .4s; }
.dhfan__c:first-child { margin-left: 0; }
.dhfan__c:hover { transform: rotate(0) translateY(-14px) scale(1.05); z-index: 3; }
@media (max-width: 760px) {
.dhfan__c { width: 48%; }
}
/* ---- уточнення після першого перегляду ---- */
main { overflow-x: clip; }
.cardart img { height: auto; }
.fan[data-n="3"] .fan__card:nth-child(1) { z-index: 2; }
.fan[data-n="3"] .fan__card:nth-child(2) { z-index: 3; }
.fan[data-n="3"] .fan__card:nth-child(3) { z-index: 1; }
.fan.is-open .fan__card.is-active { transform: translate(var(--x), calc(var(--y) - 3%)) rotate(calc(var(--r) * .6)) scale(1.03); }
.final__copy { width: 100%; }
.steps li span { font-size: clamp(30px, 2.8vw, 48px); }
.curtain__stage { aspect-ratio: 5 / 4; }
.curtain__stage img { transform: scale(1.2); transform-origin: 50% 55%; }
.chips { align-items: center; }
.world__more { margin-top: 36px; }
@media (min-width: 1101px) {
.fan { right: -1%; top: -6%; width: 46%; height: 104%; }
.fan__card { width: 60%; }
.fan[data-n="3"] .fan__card:nth-child(1) { --x: 0%; --y: 30%; }
.fan[data-n="3"] .fan__card:nth-child(2) { --x: 32%; --y: 6%; }
.fan[data-n="3"] .fan__card:nth-child(3) { --x: 64%; --y: 40%; }
.fan[data-n="2"] .fan__card:nth-child(1) { --x: 6%; }
.fan[data-n="2"] .fan__card:nth-child(2) { --x: 48%; }
}
@media (max-width: 760px) {
.hero { min-height: max(780px, 100svh); }
.hero__in { padding-bottom: 40px; }
.hero__copy .h1 { font-size: 46px; }
.hero__copy .lead { font-size: 17px; }
.hero__cta .btn--xl { min-height: 58px; }
.fan { height: auto; aspect-ratio: 1 / 0.62; margin-top: -2%; }
.fan__card { width: 54%; }
.chips .link-arrow { margin-left: 0; }
}
/* ---- сторінки ролей: більший продукт ---- */
.phero .h1 { font-size: clamp(44px, 4vw + 20px, 88px); }
.phero__grid { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); }
.phero__media .shot { width: 124%; }
.phero__ov { position: absolute; left: -4%; bottom: -12%; width: 40%; transform: rotate(-3deg); z-index: 2; }
.phero__media .shot.phero__ov { width: 40%; }
.phero--bg { min-height: min(90vh, 860px); display: flex; align-items: flex-end; }
.phero--bg .wrap { width: 100%; }
.feat__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 70px); }
.feat--r .feat__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.feat--wide .feat__media { margin-bottom: clamp(32px, 4vw, 56px); }
.feat--wide.feat--top .feat__media { margin: clamp(32px, 4vw, 56px) 0 0; }
.feat__cap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px clamp(32px, 6vw, 100px); align-items: end; }
.feat__cap .h2 { font-size: clamp(36px, 3vw + 16px, 68px); }
.feat__cap .body { font-size: 20px; padding-bottom: 8px; }
.feat__duo .vid { aspect-ratio: 16 / 9; }
.feat { padding-block: clamp(56px, 7vw, 110px); }
@media (max-width: 1100px) {
.phero__grid, .feat__grid, .feat--r .feat__grid { grid-template-columns: minmax(0, 1fr); }
.feat__cap { grid-template-columns: minmax(0, 1fr); }
.phero__media .shot { width: 100%; }
.phero__ov { left: 0; bottom: -10%; }
}
.vid-toggle { position: absolute; z-index: 6; right: var(--gut); top: calc(var(--hdr) + 54px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(10,6,21,.55); color: var(--ink); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vid-toggle svg { width: 16px; height: 16px; }
.vid-toggle .ic-play { display: none; }
.vid-toggle[aria-pressed="true"] .ic-play { display: block; }
.vid-toggle[aria-pressed="true"] .ic-pause { display: none; }
@media (max-width: 760px) {
.vid-toggle { top: auto; bottom: 14px; right: 14px; width: 40px; height: 40px; }
}
/* шапка на вузьких екранах: кнопка меню в потоці, не за краєм */
@media (max-width: 1100px) {
.hdr__in { gap: 12px; }
.hdr__act { margin-right: 0; }
.menu-btn { margin-left: 0; flex: none; }
}
@media (max-width: 520px) {
.hdr__in { gap: 8px; }
.brand { font-size: 18px; gap: 8px; letter-spacing: .07em; }
.brand svg { width: 28px; height: 28px; }
.btn--sm { padding: 0 12px; font-size: 14px; }
.menu-btn { width: 44px; height: 44px; }
}
/* =====================================================================
   Раунд 2 (відгук критика r1): герой із вікном продукту, чистіший ритм, шторка однієї камери,
   карти доменів без розтягнутого арту, меню, ролі
   ===================================================================== */
/* ---- Загальний ритм: менше порожнечі між секціями ---- */
.sec { padding-block: clamp(56px, 6.5vw, 108px); }
.sec__head { margin-bottom: clamp(36px, 4.5vw, 68px); }
.stage { padding-bottom: 16px; }
.world__more { margin-top: 28px; }
.sec::before { inset: -6% 0; }
/* ---- Тло картки арту: колір домену, поки арт вантажиться ---- */
.cardart { background: color-mix(in srgb, var(--dc, #8A5CC0) 34%, #160E2C); }
.cardart img { background: linear-gradient(135deg, color-mix(in srgb, var(--dc, #8A5CC0) 55%, #160E2C), color-mix(in srgb, var(--dc, #8A5CC0) 18%, #120B22)); }
/* ---- Герой: фон + вікно продукту з карткою на куті ---- */
@media (min-width: 1101px) {
.hero__bg::after { background:
    linear-gradient(0deg, var(--bg) 0%, rgba(18,11,34,.88) 9%, rgba(18,11,34,.3) 30%, rgba(18,11,34,0) 56%),
    linear-gradient(90deg, rgba(12,8,28,.9) 0%, rgba(12,8,28,.7) 28%, rgba(12,8,28,.22) 54%, rgba(12,8,28,0) 74%),
    linear-gradient(180deg, rgba(12,8,28,.5) 0, transparent 20%); }
.hero__bg .vid > img, .hero__bg .vid > video { transform: scale(1.36); transform-origin: 0 44%; }
.hero__copy { max-width: min(660px, 48%); }
.hero__copy .h1 { font-size: clamp(48px, 4.6vw + 22px, 104px); }
}
@media (max-width: 1100px) {
.hero { flex-direction: column; align-items: stretch; justify-content: flex-end; min-height: 0; }
.hero__in { padding-block: calc(var(--hdr) + 56px) 30px; }
.hero__copy { max-width: 100%; }
.vid-toggle { top: calc(var(--hdr) + 52px); bottom: auto; right: var(--gut); }
}
@media (max-width: 760px) {
.hero { min-height: 0; }
.hero__in { padding-block: calc(var(--hdr) + 44px) 24px; }
.hero__copy .h1 { font-size: 46px; }
.vid-toggle { top: calc(var(--hdr) + 46px); right: 14px; width: 40px; height: 40px; bottom: auto; }
}
/* ---- Карти доменів ---- */
.stage__dom { margin: 0 0 22px; font: 600 clamp(40px, 5.2vw, 88px)/1 var(--f-display); letter-spacing: -.03em; color: color-mix(in srgb, var(--dom) 62%, #fff); text-shadow: 0 0 70px color-mix(in srgb, var(--dom) 70%, transparent); transition: color .6s; }
.stage.is-noclip .stage__screen { display: none; }
/* стабільна висота панелі доменів без кліпу: найвищий таб (назва картки в 2 рядки) задає мінімум, щоб сторінка не стрибала при перемиканні (виміряно по всіх 10 табах, UA/EN) */
@media (min-width: 1101px) { .stage.is-noclip { min-height: 502px; } }
@media (min-width: 1200px) { .stage.is-noclip { min-height: 534px; } }
@media (min-width: 1280px) { .stage.is-noclip { min-height: 560px; } }
@media (min-width: 1440px) { .stage.is-noclip { min-height: 604px; } }
@media (min-width: 1680px) { .stage.is-noclip { min-height: 619px; } }
@media (max-width: 440px) { .stage.is-noclip { min-height: calc(100vw * 1.05); } }
@media (min-width: 761px) {
.stage.is-noclip .fan { position: relative; right: auto; top: auto; width: 100%; height: auto; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 44px); padding: 8px 4% 28px; }
.stage.is-noclip .fan[data-n="1"] { grid-template-columns: minmax(0, 40%); justify-content: center; }
.stage.is-noclip .fan[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 38%)); justify-content: center; }
.stage.is-noclip .fan .fan__card { position: relative; left: auto; top: auto; width: auto; --x: 0%; --y: 0%; }
.stage.is-noclip .fan[data-n] .fan__card:nth-child(1) { --r: -2.5deg; }
.stage.is-noclip .fan[data-n] .fan__card:nth-child(2) { --r: 0deg; --y: -3%; }
.stage.is-noclip .fan[data-n] .fan__card:nth-child(3) { --r: 2.5deg; }
.stage.is-noclip .fan[data-n="2"] .fan__card:nth-child(1) { --r: -2deg; }
.stage.is-noclip .fan[data-n="2"] .fan__card:nth-child(2) { --r: 2deg; --y: 0%; }
.stage.is-noclip .fan[data-n="1"] .fan__card:nth-child(1) { --r: 0deg; }
}
@media (max-width: 760px) {
.stage__dom { margin-bottom: 14px; }
.fan, .stage.is-noclip .fan { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; width: auto; height: auto; aspect-ratio: auto; margin: 16px calc(var(--gut) * -1) 0; padding: 8px var(--gut) 22px; right: auto; top: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.fan::-webkit-scrollbar { display: none; }
.fan .fan__card, .stage.is-noclip .fan .fan__card { position: relative; flex: none; width: 76%; left: auto; top: auto; scroll-snap-align: center; opacity: 1; transform: none !important; }
.fan[data-n="1"] .fan__card { width: 100%; }
}
/* ---- Кидок: вікно кидка + зум на кубики + картка результату ---- */
/* ---- Майстру: різні кадри, тепле світло ---- */
.gm__fear2 { position: relative; padding-top: 52px; }
.gm__fear2 .shot--panel2 { --glow: rgba(122,92,158,.75); width: 74%; margin-left: auto; border-color: rgba(183,155,224,.4); }
.gm__fear2 .shot--bar { position: absolute; left: 0; top: 0; width: 80%; transform: rotate(-2.2deg); --glow: rgba(190,150,240,.8); border-color: rgba(183,155,224,.7); z-index: 2; }
.shot--tall { max-width: 520px; margin-inline: auto; }
.feat .feat__media > .shot > .vid { position: relative; aspect-ratio: 16 / 9; }
@media (max-width: 760px) {
.gm__fear2 { padding-top: 40px; }
.gm__fear2 .shot--panel2 { width: 84%; }
}
/* ---- Світ: шторка між стилями однієї камери, діорама — окремим кадром ---- */
.curtain__stage { aspect-ratio: 5 / 4; }
.curtain__stage img { transition: opacity .35s ease; }
.curtain__stage.is-solo .cur-a, .curtain__stage.is-solo .curtain__handle, .curtain__stage.is-solo .curtain__tag--a { display: none; }
.curtain__stage.is-solo { cursor: default; }
.curtain__stage.is-solo img { transform: scale(1.04); transform-origin: 50% 50%; }
.curtain__stage { -webkit-mask-image: radial-gradient(130% 130% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(130% 130% at 50% 50%, #000 70%, transparent 100%); }
/* ---- Для кого: великий арт зверху, текст нижче ---- */
.role { min-height: 0; justify-content: flex-start; overflow: hidden; border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 24%, #1B1232), #130B26 72%); box-shadow: 0 50px 100px -44px var(--rc); }
@media (max-width: 1100px) {
.role { min-height: 0; }
}
/* ---- Кроки, фінал ---- */
.steps__img { background-repeat: no-repeat; background-position: center; background-size: cover; opacity: .26; }
.final { min-height: min(100svh, 960px); }
.final__bg { background: #0A0615; }
.final__bg img { object-position: 50% 42%; filter: saturate(1.1) brightness(.92); }
.final__bg::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(18,11,34,.45) 20%, rgba(18,11,34,.1) 50%, rgba(18,11,34,.82) 100%), radial-gradient(55% 55% at 22% 38%, rgba(10,6,21,.65), transparent 72%); }
.final__micro { margin-top: -8px; }
/* ---- Мобільне меню: непрозоре, із пасткою фокусу ---- */
.nav-open { overflow: hidden; }
.hdr.is-open { background: #0E091C; border-bottom-color: var(--line); }
.hdr.is-open::before { opacity: 0; }
.nav-panel { background: #0E091C; max-height: calc(100svh - var(--hdr)); overflow-y: auto; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
/* ---- Діалог списку очікування ---- */
.final { padding-block: clamp(88px, 9vw, 150px) 0; }
.final__bg::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(18,11,34,.4) 18%, rgba(18,11,34,.05) 50%, rgba(18,11,34,.82) 100%),
  linear-gradient(90deg, rgba(10,6,21,.9) 0%, rgba(10,6,21,.62) 34%, rgba(10,6,21,.1) 62%, transparent 80%); }
@media (max-width: 1100px) {
.hero__bg::after { background: linear-gradient(180deg, rgba(12,8,28,.72) 0%, rgba(12,8,28,.82) 40%, rgba(18,11,34,.9) 78%, var(--bg) 100%); }
}
.final__copy .h2 { text-shadow: 0 2px 40px rgba(10,6,21,.85); }
@media (max-width: 1100px) {
.notice ~ main .hero__in { padding-top: calc(var(--hdr) + 104px); }
.notice ~ main .vid-toggle { top: calc(var(--hdr) + 98px); }
}
/* =====================================================================
   Раунд 3: позиціювання «світ → кампанія → гра». Герой із трьох шарів, нові секції, правки критика r2
   ===================================================================== */
/* ---- Герой: діорама на тлі, три нахилені вікна (Атлас, кампанія, стіл), картка домену на куті ---- */
.hero__bg { background: #0A0615; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; filter: saturate(1.1) brightness(1); }
.hero__bg::after { background:
  linear-gradient(0deg, var(--bg) 0%, rgba(18,11,34,.9) 8%, rgba(18,11,34,.2) 30%, rgba(18,11,34,0) 50%),
  linear-gradient(90deg, rgba(12,8,28,.95) 0%, rgba(12,8,28,.88) 34%, rgba(12,8,28,.4) 52%, rgba(12,8,28,.05) 72%),
  linear-gradient(180deg, rgba(12,8,28,.55) 0, transparent 22%); }
@media (min-width: 1101px) {
.hero__bg .vid > img, .hero__bg .vid > video { transform: none; }
.hero__copy { max-width: min(700px, 50%); }
.hero__copy .h1 { font-size: clamp(38px, 3vw + 17px, 78px); line-height: 1.02; }
}
@media (max-width: 1100px) {
.hero__bg img { object-position: 60% 30%; }
}
/* ---- Світ на головній ---- */
.world__more { margin-top: 36px; }
/* ---- Кампанія: шапка, квести з партією, шкала приреченості ---- */
.sec--camp { --light:
  radial-gradient(52% 44% at 22% 40%, rgba(217,180,94,.26), transparent 70%),
  radial-gradient(50% 44% at 86% 70%, rgba(138,92,192,.34), transparent 72%); }
/* ---- Гра: бойова мапа + аркуш героя + рука карт ---- */
.play { position: relative; padding-bottom: 8%; }
@media (max-width: 900px) {
.play { padding-bottom: 0; display: grid; gap: 14px; }
}
/* ---- Гравцям на головній ---- */
.sec--pl { --light:
  radial-gradient(46% 50% at 22% 50%, rgba(217,180,94,.24), transparent 70%),
  radial-gradient(46% 50% at 86% 40%, rgba(138,92,192,.32), transparent 72%); }
.pl__more { margin-top: 36px; }
/* ---- Шторка: класика й діорама — окремі кадри ---- */
.curtain__stage.is-solo .cur-b { transform: scale(1.04); }
/* ---- Фінал: кадр столу не розтягується (критик r2, P1-2) ---- */
/* ---- Сторінки ролей ---- */
.phero__ov--wide { width: 46%; left: -6%; bottom: -14%; transform: perspective(1800px) rotateY(6deg) rotate(-2deg); }
.phero__media .shot.phero__ov--wide { width: 46%; }
.feat__duo .shot + .shot img { width: 100%; }
.steps3 div { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 30px; font-size: 22px; line-height: 1.3; }
.steps3 b { font: italic 500 64px/.9 var(--f-display); color: transparent; -webkit-text-stroke: 1.2px var(--gold); }
@media (max-width: 1100px) {
.phero__ov--wide { left: 0; }
}
/* ---- Мобільний герой: назва → головна кнопка → три шари продукту одразу в першому екрані ---- */
@media (max-width: 760px) {
.hero { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding-top: calc(var(--hdr) + 36px); padding-bottom: 0; min-height: 0; }
.hero__in, .hero__copy, .hero__cta { display: contents; }
.hero > .hero__in > .hero__copy > *, .hero__cta > * { margin-inline: var(--gut); }
.hero .pill { order: 1; align-self: flex-start; }
.hero__copy .h1 { order: 2; font-size: 36px; line-height: 1.04; }
.hero__cta .btn:first-child { order: 3; }
.hero__copy .lead { order: 5; }
.hero__cta .btn:last-child { order: 6; }
.hero__copy .micro { order: 7; margin-bottom: 40px; }
.hero__cta .btn { width: auto; }
.notice ~ main .hero { padding-top: calc(var(--hdr) + 80px); }
}
/* ---- уточнення після першого перегляду r3 ---- */
@media (min-width: 1101px) {
.hero__copy { max-width: min(640px, 46%); }
.hero__copy .h1 { font-size: clamp(36px, 2.5vw + 18px, 68px); }
}
/* ---- герої сторінок ролей r3: довші H1, вікна не виходять за край ---- */
@media (min-width: 1101px) {
.phero .h1 { font-size: clamp(34px, 2.4vw + 16px, 62px); line-height: 1.04; }
.phero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.phero__media .shot { width: 104%; }
.phero__media .shot.phero__ov { width: 38%; }
.phero__media .shot.phero__ov--wide { width: 44%; }
}
/* =====================================================================
   Раунд 4: світ і кампанія не легші за гру; одна секція «Гра»; правки критика r3
   ===================================================================== */
/* P1-1: підписи мапи під заголовком не читаються — щільний скрим під колонкою тексту */
@media (min-width: 1101px) {
  .hero__bg::after { background:
    linear-gradient(0deg, var(--bg) 0%, rgba(18,11,34,.9) 8%, rgba(18,11,34,.2) 30%, rgba(18,11,34,0) 50%),
    linear-gradient(90deg, rgba(10,6,22,.97) 0%, rgba(10,6,22,.95) 34%, rgba(10,6,22,.86) 46%, rgba(10,6,22,.45) 58%, rgba(10,6,22,.06) 74%),
    linear-gradient(180deg, rgba(12,8,28,.55) 0, transparent 22%); }
}
@media (max-width: 1100px) {
.hero__bg::after { background: linear-gradient(180deg, rgba(10,6,22,.9) 0%, rgba(10,6,22,.92) 40%, rgba(14,9,28,.94) 78%, var(--bg) 100%); }
}
.final__bg::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(18,11,34,.4) 18%, rgba(18,11,34,.05) 50%, rgba(18,11,34,.82) 100%),
  linear-gradient(90deg, rgba(10,6,22,.97) 0%, rgba(10,6,22,.94) 36%, rgba(10,6,22,.78) 50%, rgba(10,6,22,.2) 66%, transparent 82%); }
@media (max-width: 760px) {
.final__bg::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(10,6,22,.9) 24%, rgba(10,6,22,.82) 56%, rgba(18,11,34,.9) 100%); }
}
/* P1-2: герой — три предмети (Атлас, кампанія, стіл), менше шарів і більший масштаб; картка на куті столу */
/* P1-3: «Кампанія» — розкладка на широких екранах; на вузьких кадри йдуть стовпчиком (aspect-ratio лише ≥901px) */
/* P1-7: «Гра» — одна секція; карти доменів і кубики — її частини з H3 */
.part { position: relative; isolation: isolate; margin-top: clamp(72px, 8vw, 128px); }
.part::before { content: ''; position: absolute; inset: -10% -6%; z-index: -1; pointer-events: none; background: var(--light, none);
  /* р12: маска й по горизонталі — світло розчиняється, а не обривається краєм шару на широких екранах (≥1450) */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 76%, transparent 100%), linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 76%, transparent 100%), linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect; }
.part__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.part__head .body { padding-bottom: 6px; }
.part--cards { transition: --dom .7s ease; }
@media (max-width: 1100px) {
.part__head { grid-template-columns: minmax(0, 1fr); }
}
/* «Гравцям» на головній: стаття Атласу великим планом, на ній карти аркуша героя */
/* /for-gm/ п. 6: карта з кільцями дальності й статблок — не закляття героя */
/* /world/: стрічка з трьох інших стилів */
/* Кампанія: чотири кадри (шапка, крамниця, арки, шкала) на /for-gm/, три — на головній (шапка вже в герої) */
.feat__duo--journey { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 760px) {
.feat__duo--journey { grid-template-columns: minmax(0, 1fr); }
}
/* герой r4: діорама зсунута вправо — під колонкою тексту море без підписів; вікна не заходять на текст */
@media (min-width: 1101px) {
.hero__bg img { transform: translateX(20%); transform-origin: 100% 40%; object-position: 50% 40%; }
.hero__bg::after { background:
    linear-gradient(0deg, var(--bg) 0%, rgba(18,11,34,.9) 8%, rgba(18,11,34,.2) 30%, rgba(18,11,34,0) 50%),
    linear-gradient(90deg, rgba(10,6,22,.9) 0%, rgba(10,6,22,.82) 30%, rgba(10,6,22,.55) 44%, rgba(10,6,22,.18) 60%, rgba(10,6,22,0) 74%),
    linear-gradient(180deg, rgba(12,8,28,.55) 0, transparent 22%); }
.hero__copy .h1 { font-size: clamp(36px, 2.3vw + 17px, 66px); }
}
@media (min-width: 761px) {
.final__bg img { transform: translateX(22%); transform-origin: 100% 40%; }
}
.feat__duo--journey { padding-bottom: 0; align-items: center; }
.feat__duo--journey .shot + .shot { position: relative; width: auto; right: auto; bottom: auto; transform: none; margin: 0; }
.feat__duo--pair { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
@media (max-width: 760px) {
.feat__duo--pair { grid-template-columns: minmax(0, 1fr); }
}
/* =====================================================================
   Раунд 5: три опори — Атлас, Кампанії, Персонажі; Daggerheart — перша система.
   Відео й кадри показуємо повністю й не більше за рідну роздільність: жодного scale() на медіа.
   ===================================================================== */
.vid--full { aspect-ratio: 16 / 9; }
.vid--full > img, .vid--full > video { object-fit: contain; }
.shot--center { margin-inline: auto; }
.shot .vid-toggle, .hz__w .vid-toggle { top: auto; left: auto; right: 10px; bottom: 10px; width: 36px; height: 36px; z-index: 4; }
/* ---- Герой: три опори в першому екрані ---- */
.hz { position: absolute; z-index: 5; }
.hz__w { position: absolute; margin: 0; border-radius: 16px; overflow: hidden; background: var(--bg-deep); border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 50px 100px -24px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.5); }
.hz__w > img { width: 100%; height: auto; display: block; }
.hz__w--atlas { left: 0; top: 0; width: 62%; z-index: 1; transform: perspective(2400px) rotateY(4deg) rotate(-1deg); transform-origin: 0 50%;
  border-color: rgba(183,155,224,.55); box-shadow: 0 50px 110px -24px rgba(138,92,192,.85), 0 0 0 1px rgba(0,0,0,.5); }
.hz__w--sheet { left: 40%; top: 13%; width: 60%; z-index: 2; transform: perspective(2400px) rotateY(-4deg) rotate(1deg); transform-origin: 100% 50%;
  border-color: rgba(217,180,94,.5); box-shadow: 0 50px 110px -24px rgba(217,180,94,.5), 0 0 0 1px rgba(0,0,0,.5); }
.hz__w--table { left: 14%; top: 42%; width: 80%; aspect-ratio: 16 / 9; z-index: 3; transform: perspective(2400px) rotateY(-3deg) rotate(.4deg); transform-origin: 100% 50%;
  box-shadow: 0 60px 120px -24px rgba(110,70,255,.75), 0 0 0 1px rgba(0,0,0,.5); }
.hz__w--table .vid { position: absolute; inset: 0; }
.hz__tag { position: absolute; z-index: 5; left: 12px; top: 12px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px;
  background: rgba(10,6,21,.78); border: 1px solid rgba(255,255,255,.22); color: var(--ink); }
@media (min-width: 1101px) {
.hz { right: calc(var(--gut) * .25); top: calc(var(--hdr) + 52px); width: min(57vw, 960px, calc((100svh - var(--hdr) - 70px) / .9)); aspect-ratio: 1 / .9; }
.hero--r5 .hero__copy { max-width: min(620px, 44%); }
.hero--r5 .btn--xl { padding: 0 32px; }
}
@media (max-width: 1100px) {
.hz { position: relative; margin: 6px var(--gut) 56px; width: auto; aspect-ratio: 1 / .9; }
}
@media (max-width: 760px) {
.hz { order: 4; margin: 4px var(--gut) 24px; aspect-ratio: 1 / .96; }
.hz__w { border-radius: 11px; }
.hz__w--atlas { width: 70%; }
.hz__w--sheet { left: 30%; width: 70%; top: 12%; }
.hz__w--table { left: 4%; width: 92%; top: 40%; }
.hz__tag { font-size: 9.5px; padding: 5px 8px; left: 8px; top: 8px; }
.hz .vid-toggle { width: 32px; height: 32px; right: 6px; bottom: 6px; }
}
/* ---- Смуга ---- */
.strip { position: relative; z-index: 2; padding-block: 24px 26px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--bg-deep)); }
.strip__in { display: flex; flex-wrap: wrap; gap: 10px 34px; font: 500 14px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.strip__it::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 11px; vertical-align: middle; box-shadow: 0 0 10px rgba(217,180,94,.7); }
@media (max-width: 760px) {
.strip { padding-top: 20px; }
.strip__in { gap: 8px 22px; font-size: 12.5px; }
}
/* ---- Атлас ---- */
.atl { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.atl__shots { position: relative; padding-bottom: 18%; }
.atl__wiz { max-width: 1200px; transform: perspective(1800px) rotateY(5deg) rotate(-1deg); transform-origin: 0 50%; --glow: rgba(138,92,192,.6); }
.atl__map { position: absolute; right: -3%; bottom: 0; width: 58%; transform: rotate(2deg); --glow: rgba(70,110,150,.75); border-color: rgba(142,195,255,.4); z-index: 2; }
@media (max-width: 1100px) {
.atl { grid-template-columns: minmax(0, 1fr); }
.atl__wiz { transform: none; }
.atl__map { right: 0; }
}
@media (max-width: 760px) {
.atl__shots { padding-bottom: 14%; }
.atl__map { width: 64%; }
}
/* ---- Кампанії: онлайн-стіл і кидки — повний кадр 16:9 ---- */
.kp { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.kp--r { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.kp__txt .h3 { margin-bottom: 18px; font-size: clamp(32px, 2.6vw + 10px, 56px); }
.kp__txt .body { font-size: 20px; }
.kp__frame { position: relative; aspect-ratio: 16 / 9; max-width: 1600px; --glow: rgba(110,70,255,.7); }
.kp__frame .vid { position: absolute; inset: 0; }
.kp--r .kp__frame { --glow: rgba(235,169,60,.5); }
@media (max-width: 1100px) {
.kp, .kp--r { grid-template-columns: minmax(0, 1fr); }
.kp--r .kp__txt { order: -1; }
.kp:not(.kp--r) .kp__txt { order: -1; }
}
/* ---- Персонажі ---- */
.chars { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.chars__txt .h2 { font-size: clamp(38px, 3.4vw + 14px, 76px); margin-bottom: 24px; }
.chars__txt .body { font-size: 20px; }
.chars__media { position: relative; padding-bottom: 16%; }
.chars__a { max-width: 1200px; transform: perspective(1800px) rotateY(-5deg) rotate(.8deg); transform-origin: 100% 50%; --glow: rgba(217,180,94,.5); }
.chars__b { position: absolute; left: -5%; bottom: 0; width: 52%; transform: rotate(-2.2deg); --glow: rgba(138,92,192,.8); border-color: rgba(183,155,224,.55); z-index: 2; }
@media (max-width: 1100px) {
.chars { grid-template-columns: minmax(0, 1fr); }
.chars__a { transform: none; }
.chars__b { left: 0; }
}
@media (max-width: 760px) {
.chars__media { padding-bottom: 14%; }
.chars__b { width: 64%; }
}
/* ---- Daggerheart — невелика секція ---- */
.sec--sys { --light: radial-gradient(50% 50% at 80% 40%, rgba(138,92,192,.32), transparent 72%), radial-gradient(40% 40% at 10% 80%, rgba(80,130,200,.18), transparent 72%); }
.sys { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.sys__txt .h2 { font-size: clamp(34px, 3vw + 14px, 64px); margin-bottom: 22px; }
.sys__txt .body { font-size: 20px; }
.sys__hand { max-width: 880px; transform: rotate(1.6deg); --glow: rgba(138,92,192,.8); border-color: rgba(183,155,224,.55); }
@media (max-width: 1100px) {
.sys { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
.sys__hand { transform: none; }
}
/* ---- Фінал без таблиці ---- */
.final--lite { min-height: clamp(420px, 52vw, 640px); justify-content: center; padding-block: clamp(88px, 9vw, 150px); }
/* ---- Підсторінки ---- */
.phero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.rollv { position: relative; aspect-ratio: 16 / 9; max-width: 1600px; --glow: rgba(235,169,60,.5); }
.rollv .vid { position: absolute; inset: 0; }
.phero__tbl { position: relative; aspect-ratio: 16 / 9; max-width: 1920px; }
.phero__tbl .vid { position: absolute; inset: 0; }
.clips3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.clip3 { position: relative; aspect-ratio: 16 / 9; --glow: rgba(138,92,192,.6); }
.clip3 .vid { position: absolute; inset: 0; }
.rl2 { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3.6fr); gap: clamp(16px, 2.4vw, 36px); align-items: center; }
.rl2__dmg { --glow: rgba(201,87,63,.7); }
@media (max-width: 900px) {
.clips3, .rl2 { grid-template-columns: minmax(0, 1fr); }
}
.clsgrp { margin-top: 28px; }
.clsgrp__l { font: 500 12.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.clsgrp--hf .clsgrp__l { color: var(--fear-hi); }
.cls { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cls li { padding: 10px 15px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.05); font: 500 16px/1 var(--f-text); }
.clsgrp--hf .cls li { border-color: rgba(183,155,224,.55); background: rgba(138,92,192,.2); }
/* «Кожен ефект — дія»: картка здібності з кнопкою дії + картка в чаті з вибором наступного кроку */
.eff2 { display: flex; gap: clamp(16px, 2.4vw, 36px); align-items: center; justify-content: center; margin-top: clamp(20px, 3vw, 40px); }
.eff2__hand { flex: 1 1 0; min-width: 0; --glow: rgba(235,169,60,.5); transform: rotate(-1deg); }
.eff2__chat { flex: 0 1 340px; min-width: 0; --glow: rgba(138,92,192,.8); border-color: rgba(183,155,224,.55); transform: rotate(1.2deg); }
@media (max-width: 760px) {
.eff2 { flex-direction: column; align-items: stretch; }
.eff2__hand { flex: none; }  /* р10: flex:1 1 0 у колонці стискав кадр до 2 px */
.eff2__chat { flex-basis: auto; max-width: 340px !important; align-self: center; }
.eff2__hand, .eff2__chat { transform: none; }
}
/* кадри не більші за рідну роздільність (1x-файл на DPR 1) */
.gm__fear2 .shot--panel2 { max-width: 440px; }
.gm__fear2 .shot--bar { max-width: 700px; }/* ================= Раунд 6 ================= */
/* герой підсторінок: каскад із двох вікон, без порожнечі над H1 */
.phero--r6 { padding-block: calc(var(--hdr) + 40px) clamp(56px, 6vw, 96px); }
.phero--r6 .phero__grid { min-height: 0; align-items: center; }
.pz { position: relative; width: 100%; aspect-ratio: 1 / .92; }
.pz .hz__w { position: absolute; }
.pz__a { z-index: 1; }
.pz__b { z-index: 2; }
.pz--atlas .pz__a { left: 0; top: 0; width: 100%; transform: perspective(2400px) rotateY(-4deg) rotate(.5deg); transform-origin: 100% 50%;
  border-color: rgba(183,155,224,.5); box-shadow: 0 50px 110px -26px rgba(138,92,192,.8), 0 0 0 1px rgba(0,0,0,.5); }
.pz--atlas .pz__b { right: -1%; top: 46%; width: 82%; transform: perspective(2400px) rotateY(-3deg) rotate(-.6deg); transform-origin: 100% 50%;
  border-color: rgba(217,180,94,.55); box-shadow: 0 50px 110px -24px rgba(0,0,0,.9), 0 0 60px -10px rgba(217,180,94,.35); }
.pz--chars .pz__a { right: 0; top: 0; width: 94%; transform: perspective(2400px) rotateY(-4deg) rotate(.8deg); transform-origin: 100% 50%;
  border-color: rgba(217,180,94,.5); box-shadow: 0 50px 110px -24px rgba(217,180,94,.45), 0 0 0 1px rgba(0,0,0,.5); }
.pz--chars .pz__b { left: -2%; top: 42%; width: 68%; transform: perspective(2400px) rotateY(4deg) rotate(-1deg); transform-origin: 0 50%;
  border-color: rgba(183,155,224,.55); box-shadow: 0 50px 110px -24px rgba(138,92,192,.8), 0 0 0 1px rgba(0,0,0,.5); }
.phero__media--cas { position: relative; }
.phero--r6 .phero__media--cas { margin-right: calc(var(--gut) * -.3); }
@media (min-width: 1101px) {
.phero--r6 .phero__grid { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); }
.phero--r6 .btn--xl { padding: 0 26px; }
.phero--r6 .phero__cta { flex-wrap: nowrap; }
}
@media (max-width: 1100px) { .phero--r6 .phero__media--cas { margin-right: 0; } }
@media (max-width: 760px) { .pz .hz__w { border-radius: 10px; } .phero--r6 { padding-top: calc(var(--hdr) + 28px); } }
/* /campaigns/ п. 3: кадр столу + стаття поверх */
.pz--battle { aspect-ratio: 1 / .62; max-width: 1280px; margin-inline: auto; }
.pz--battle .pz__a { left: 0; top: 0; width: 100%; transform: perspective(2400px) rotateY(3deg) rotate(-.4deg); box-shadow: 0 50px 110px -24px rgba(110,70,255,.7), 0 0 0 1px rgba(0,0,0,.5); }
.pz--battle .pz__b { right: 2%; top: 20%; width: 52%; transform: perspective(2400px) rotateY(-3deg) rotate(.8deg); border-color: rgba(183,155,224,.55); box-shadow: 0 50px 110px -24px rgba(0,0,0,.9), 0 0 70px -10px rgba(138,92,192,.6); }
/* головна: механіки карт — кліпи з назвами + картка з діями + картка в чаті */
.part--mech { margin-top: clamp(40px, 5vw, 80px); }
.part--mech .part__head { max-width: 920px; margin-bottom: clamp(24px, 3vw, 40px); }
.part--mech .part__head .h3 { font-size: clamp(32px, 2.6vw + 10px, 56px); margin-bottom: 18px; }
.part--mech .part__head .body { font-size: 20px; }
.clip3__n { position: absolute; z-index: 5; left: 10px; bottom: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px;
  background: rgba(10,6,21,.8); border: 1px solid rgba(255,255,255,.22); color: var(--ink); }
.clip3 { margin: 0; }
/* /daggerheart/: таби доменів у розділі «Здібності героя — це карти доменів» */
.feat .part--cards { margin: 0; }
/* фінал /atlas/ на мапі */
.pfinal--map .final__bg { z-index: -2; }
.pfinal--map::before { z-index: -1; opacity: .8; }
.pfinal--map .h2 { text-shadow: 0 2px 40px rgba(10,6,21,.85); }
/* р6: без збільшення тла (раніше scale(1.04)); на екранах ширше за рідні 1600 px тло не розтягується */
@media (min-width: 1601px) {
.hero__bg img, .final__bg img { width: 1600px; max-width: none; margin-left: auto; left: auto; right: 0; transform: none; }
.final__bg img { position: absolute; }
}
/* «Море Туманів» під мікротекстом героя: тінь у лівому нижньому куті */
@media (min-width: 1101px) {
.hero__bg::after { background:
    radial-gradient(48% 34% at 24% 82%, rgba(10,6,22,.94), rgba(10,6,22,.7) 55%, transparent 84%),
    linear-gradient(0deg, var(--bg) 0%, rgba(18,11,34,.9) 8%, rgba(18,11,34,.2) 30%, rgba(18,11,34,0) 50%),
    linear-gradient(90deg, rgba(10,6,22,.9) 0%, rgba(10,6,22,.82) 30%, rgba(10,6,22,.55) 44%, rgba(10,6,22,.18) 60%, rgba(10,6,22,0) 74%),
    linear-gradient(180deg, rgba(12,8,28,.55) 0, transparent 22%); }
}
.phero--r6::before { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.pz--atlas .pz__b { right: 0; }
@media (min-width: 1101px) {
.phero--r6 .phero__grid { grid-template-columns: minmax(0, 4.1fr) minmax(0, 7.9fr); }
.phero--r6 .btn--xl { padding: 0 20px; font-size: 17px; }
}
/* головна, «Кампанії»: картки механік і кидки в одному ряду (вага секції) */
.mech2 { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 72px); align-items: center; margin-top: clamp(28px, 3vw, 48px); }
.mech2 .eff2 { flex-direction: column; align-items: stretch; margin-top: 0; gap: 22px; }
.mech2 .eff2__hand { flex: none; }
.mech2 .eff2__chat { flex: none; align-self: center; max-width: 340px !important; width: 100%; }
.mech2__b .kp__txt { margin-bottom: 22px; }
.mech2__b .kp__txt .h3 { margin-bottom: 14px; font-size: clamp(32px, 2.2vw + 10px, 52px); }
.mech2__b .kp__txt .body { font-size: 19px; }
.mech2__b .kp__frame { max-width: none; }
@media (max-width: 1100px) { .mech2 { grid-template-columns: minmax(0, 1fr); } }
#campaigns .kp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.part--mech { margin-top: clamp(32px, 3.4vw, 52px); }
.mech2 .eff2__chat { max-width: 300px !important; }
@media (max-width: 1100px) { #campaigns .kp { grid-template-columns: minmax(0, 1fr); } }
.notice ~ main .phero--r6 { padding-top: calc(var(--hdr) + 62px); }
@media (max-width: 760px) { .notice ~ main .phero--r6 { padding-top: calc(var(--hdr) + 66px); } }
.feat__duo--journey .hz__tag { top: 12.5%; left: 14px; }

/* ================= Раунд 9: «Кампанії» коротші на телефоні (ритм, медіа, відступи; тексти без змін) ================= */
@media (max-width: 760px) {
.pg-campaigns .feat { padding-block: 36px; }
.pg-campaigns .feat--wide .feat__media { margin-bottom: 30px; }
.pg-campaigns .feat__grid { gap: 32px; }
.pg-campaigns .feat__cap { gap: 10px; }
.pg-campaigns .feat__txt .h2, .pg-campaigns .feat__cap .h2 { margin-bottom: 12px; }
.pg-campaigns .pfinal { padding-block: 64px; }
/* три кліпи — стрічка з прокруткою замість трьох повних блоків підряд */
.clips3 { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding: 6px var(--gut) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.clips3::-webkit-scrollbar { display: none; }
.clips3 .clip3 { flex: none; width: 78%; scroll-snap-align: center; }
.pg-campaigns .eff2 { gap: 14px; margin-top: 8px; }
.pg-campaigns .eff2__chat { max-width: 250px !important; }
.pg-campaigns .feat__duo--journey { gap: 12px; }
}

/* ================= Раунд 10 ================= */
/* світіння вибраного таба (box-shadow 36px) не обрізається рядом: внутрішній відступ = виліт тіні, компенсований від'ємним margin */
@media (min-width: 761px) {
.tabs { padding: 34px 36px 40px; margin: -28px -32px calc(clamp(36px, 4vw, 56px) - 26px); scroll-padding-inline: 40px; }
}
/* р11: на ≤760 ряд на всю ширину екрана (як стрічка кліпів) — світіння обрізається краєм екрана, а не швом усередині; відступ до сцени — як було (50 px) */
@media (max-width: 760px) {
.tabs { padding: 30px var(--gut) 36px; margin: -24px calc(var(--gut) * -1) calc(clamp(36px, 4vw, 56px) - 22px); scroll-padding-inline: var(--gut); }
}
/* р11: тло героя ≤1100 не розтягується понад рідні 1207 px заввишки (джерела ≥2400 px немає): нижче шар розчиняється в темне тло */
@media (max-width: 1100px) {
.hero__bg img { height: min(100%, 1207px); -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 160px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 160px), transparent); }
}
@media (max-width: 760px) {
#campaigns .mech2 { gap: 22px; margin-top: 20px; }
#campaigns .mech2 .eff2 { gap: 14px; }
#campaigns .mech2 .eff2__chat { max-width: 250px !important; }
#campaigns .part { margin-top: 36px; }
#campaigns .part--mech { margin-top: 36px; }
#campaigns .mech2__b .kp__txt { margin-bottom: 16px; }
}
