/* zoryntharnomen.com — a Hutsul pysanka: wax lines on eggshell, dyes yellow → green → red → black.
   Tokens and sizes from refs/figma/lib.js + pages.js (desktop 1368, mobile 360). figma-kit `ls` is a % of the size. */
:root {
  --black: #16120E; --shell: #F2E8D5; --wax: #FAF4E6;
  --yel: #E8B521; --grn: #2A6C42; --red: #B8322A;
  --ink: #1E1912; --ink2: #5A4A36; --grnD: #245E39;
  --disp: 'Piazzolla', Georgia, 'Times New Roman', serif;
  --text: 'Ysabeau Office', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: 16px;
  --wrap: max(var(--pad), calc(50% - 628px));        /* 1256 = 1368 − 2 × 56 */
  --lw: 2px;                                         /* the one wax line weight (outline-engraving) */
  /* Tile hover: «belt and wax line turn yellow, card lifts, wedge moves 4 px» */
  --hover-t: 200ms; --ease: cubic-bezier(.2, .7, .2, 1);
  /* note motion: «смена поля при скролле по одной игре на экран; воск-линия с каплей прорисовывается один раз» */
  --reveal-t: 700ms; --draw-t: 900ms;
}
@media (min-width: 1024px) { :root { --pad: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-optical-sizing: auto; margin: 0; background: var(--shell); color: var(--ink); font: 400 16px/1.5 var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--yel); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--yel); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }

/* dye fields: ground, text, accent line (lib.js DYES) */
.f-yel { --bg: var(--yel); --fg: var(--ink); --line: var(--ink); --sub: var(--ink); --dot: var(--red); }
.f-grn { --bg: var(--grn); --fg: var(--wax); --line: var(--wax); --sub: var(--shell); --dot: var(--red); }
.f-red { --bg: var(--red); --fg: var(--wax); --line: var(--wax); --sub: var(--shell); --dot: var(--yel); }
.f-black { --bg: var(--black); --fg: var(--wax); --line: var(--yel); --sub: var(--shell); --dot: var(--red); }
.f-yel, .f-grn, .f-red, .f-black { background: var(--bg); color: var(--fg); }

/* ---------- world pieces ---------- */
.drop { width: 19px; height: 6px; flex: none; }
.klyn { width: 9px; height: 11px; flex: none; transition: transform var(--hover-t) var(--ease); }
.belt { display: block; height: calc(var(--lw) * 2 + 3px); border-top: var(--lw) solid currentColor; border-bottom: var(--lw) solid currentColor; opacity: .35; }
.belt--yel { color: var(--yel); opacity: 1; height: 8px; }
.belt--ink { color: var(--ink); opacity: .8; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--fg, var(--ink)); }
.chip .drop { color: var(--dot, var(--red)); width: 22px; height: 7px; }
/* button = underline: label + wedge, then a wax line with a drop at its start */
.wbtn { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; text-decoration: none; color: inherit; }
.wb-r { display: inline-flex; align-items: center; gap: 10px; font: 700 16px/1.2 var(--text); }
.wline { position: relative; display: block; align-self: stretch; min-width: 60px; height: 6px; color: var(--wl, currentColor); }
.wline::before { content: ''; position: absolute; left: 0; top: 0; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.wline::after { content: ''; position: absolute; left: 4px; right: 0; top: 2px; height: var(--lw); background: currentColor; transform-origin: left; }
.wbtn .klyn { color: var(--wl, currentColor); }
.wbtn:hover .klyn, .wbtn:focus-visible .klyn { transform: translateX(4px); }
.wbtn:hover .wline, .wbtn:focus-visible .wline { color: var(--yel); }
.wbtn--yel { --wl: var(--yel); }
.wbtn--red { --wl: var(--red); }
.wbtn--l .wb-r { font-size: 18px; }
.wbtn--s .wb-r { font-size: 15px; }
@media (min-width: 1024px) { .wb-r { font-size: 18px; } .wbtn--l .wb-r { font-size: 23px; } .wbtn--s .wb-r { font-size: 15px; } }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.linkish:hover { text-decoration: underline; }
/* big-type-as-image: letters filled with the pysanka belts, a wax edge outside the letter */
.bt { display: inline-block; font-family: var(--disp); font-weight: 900; color: transparent; -webkit-text-fill-color: transparent;
  background: url(/assets/img/bands.webp) 0 50% / cover; -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: var(--edge-w, 3px) var(--edge, var(--wax)); paint-order: stroke fill; }
.mer { position: absolute; pointer-events: none; color: var(--wax); opacity: .08; z-index: 0; }
.egg { pointer-events: none; filter: drop-shadow(10px 16px 14px rgba(22, 18, 14, .35)); }
kbd { display: inline-block; padding: 4px 10px; border: var(--lw) solid var(--ink); font: 700 14px/1.3 var(--text); white-space: nowrap; }

/* ---------- type ---------- */
.h2 { font: 900 36px/1 var(--disp); letter-spacing: -.005em; }
.h2--on { color: var(--wax); }
.lead { font-size: 16px; line-height: 1.5; color: var(--ink2); max-width: 620px; }
.lead--on { color: var(--shell); }
.lead a { color: inherit; }
.p { font-size: 16px; line-height: 1.55; }
@media (min-width: 1024px) { .h2 { font-size: 64px; } .lead { font-size: 19px; } .p { font-size: 18px; } }

/* ---------- header: inline anchors on a belt ---------- */
.top { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 14px; padding: 16px var(--wrap) 0; color: var(--fg, var(--wax)); }
.top-r { display: flex; flex-direction: column; gap: 10px; }
.brand { font: 800 19px/1.1 var(--disp); letter-spacing: -.01em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { font-weight: 600; font-size: 14px; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current] { font-weight: 700; text-decoration: underline; }
.nav .sep { display: flex; color: var(--yel); }
.f-yel .nav .sep { color: var(--red); }
.nav .sep .drop { width: 16px; height: 5px; }
.top > .belt { opacity: .35; }
@media (min-width: 1024px) {
  .top { padding-top: 26px; }
  .top-r { flex-direction: row; justify-content: space-between; align-items: center; }
  .brand { font-size: 24px; } .nav { gap: 14px; } .nav a { font-size: 16px; }
}

/* ---------- hero: a word written in wax ---------- */
.hero { position: relative; overflow: hidden; background: var(--black); color: var(--wax); padding-bottom: 28px; }
.mer--hero { width: 440px; height: 600px; right: -100px; top: 0; }
.poster { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; padding: 36px var(--wrap) 0; }
.h1, .h1g, .h1t { font-size: 0; line-height: 0; display: block; }
@media (min-width: 1024px) { .bt[data-fit] { white-space: nowrap; } }   /* mobile frames wrap the word into lines */
.bt--hero { font-size: clamp(64px, 23vw, 330px); line-height: .92; letter-spacing: -.01em; max-width: 100%; background-image: url(/assets/img/bands-m.webp); }
.egg--hero { position: absolute; width: 92px; right: var(--wrap); top: 210px; transform: rotate(-8deg); }
.p-row { display: flex; flex-direction: column; gap: 18px; padding-right: 100px; }
.p-sf { font-size: 18px; line-height: 1.4; color: var(--shell); max-width: 620px; }
.band { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 28px var(--wrap) 0; }
.band-h { display: flex; align-items: center; gap: 10px; font: 700 13px/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--yel); }
.band .belt { opacity: .9; }
.fields { position: relative; }
.bezk { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.bezk path { fill: none; stroke: var(--wax); stroke-width: var(--lw); }
.fields ol { position: relative; display: flex; flex-direction: column; }
.fields a { display: flex; align-items: center; gap: 8px; padding: 9px 0 9px 36px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--wax); }
.fields a .klyn { color: var(--yel); width: 7px; height: 8px; }
.fields a:hover span { text-decoration: underline; }
.seed { position: absolute; left: 4px; width: 12px; height: 12px; border-radius: 50%; border: var(--lw) solid var(--wax); background: var(--bg); z-index: 1; }
.fields .f-black .seed { background: var(--shell); }
.fields li { position: relative; display: flex; align-items: center; background: none; }
@media (min-width: 1024px) {
  .hero { padding-bottom: 44px; }
  .mer--hero { width: 1040px; height: 1280px; right: -220px; top: -200px; }
  .poster { padding-top: 52px; gap: 30px; }
  .bt--hero { font-size: min(330px, 18.5vw); white-space: nowrap; background-image: url(/assets/img/bands.webp); --edge-w: 4px; }
  .egg--hero { width: 210px; right: calc(var(--wrap) + 40px); top: auto; bottom: -40px; }
  .p-row { flex-direction: row; align-items: flex-end; gap: 48px; padding-right: 300px; }
  .p-sf { font-size: 28px; }
  .band { padding-top: 104px; }
  .fields ol { flex-direction: row; }
  .fields li { flex: 1 1 0; min-width: 0; }
  .fields a { padding: 40px 14px 16px 0; font-size: 17px; }
  .seed { left: 1px; top: 7px; }
}

/* G intro + six fields */
.gintro { display: flex; flex-direction: column; gap: 12px; padding: 12px var(--wrap) 28px; background: var(--black); }
.field { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px; padding: 36px var(--wrap) 40px; isolation: isolate; }
.bt--ground { position: absolute; z-index: -1; right: -40px; top: -60px; font-size: 380px; line-height: .8; --edge: var(--wax); opacity: .92; }
.f-black .bt--ground { opacity: 1; }
.mer--field { width: 520px; height: 660px; right: -260px; top: 20px; color: var(--line); opacity: .18; z-index: -1; }
.cbelt { display: inline-block; align-self: flex-start; padding: 10px; border: var(--lw) solid var(--line); box-shadow: 14px 22px 40px rgba(22, 18, 14, .35); background: var(--bg); }
.cb-in { display: block; padding: 5px; border: var(--lw) solid var(--line); }
.cbelt .cv { width: 260px; aspect-ratio: 1; object-fit: cover; }
.fd-t { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 560px; }
.fd-top { display: flex; align-items: center; gap: 18px; }
.dye { font: italic 400 13px/1 var(--disp); color: var(--sub); }
.h-fd { font: 900 44px/.96 var(--disp); letter-spacing: -.005em; color: var(--fg); }
.fd-p { font-size: 18px; line-height: 1.4; }
.frows { align-self: stretch; }
.frows div { display: flex; gap: 16px; padding: 10px 0; border-top: 7px double color-mix(in srgb, var(--line) 50%, transparent); }
.frows div:last-child { border-bottom: 7px double color-mix(in srgb, var(--line) 50%, transparent); }
.frows dt { flex: 0 0 96px; font-weight: 700; font-size: 16px; }
.frows dd { flex: 1; font-size: 17px; }
.field .wbtn { --wl: var(--line); }
@media (min-width: 1024px) {
  .gintro { flex-direction: row; align-items: flex-end; gap: 64px; padding: 72px var(--wrap) 56px; }
  .gintro .h2 { flex: 0 0 640px; } .gintro .lead { max-width: 520px; }
  .field { flex-direction: row; align-items: center; gap: 72px; padding: 88px var(--wrap) 88px 150px; }
  .field--odd { padding: 88px 150px 88px calc(var(--wrap) + 40px); }
  .field--odd .cbelt { order: 2; }
  .bt--ground { right: auto; left: -60px; top: -110px; font-size: 760px; --edge-w: 6px; }
  .mer--field { right: 0; top: 20px; }
  .cbelt .cv { width: 440px; }
  .fd-t { flex: 0 1 560px; gap: 20px; }
  .h-fd { font-size: 76px; } .fd-p { font-size: 22px; }
  .frows dt { flex-basis: 130px; }
}
/* scroll-driven reveal: each field arrives once, its wax line draws once (note: «прорисовывается один раз») */
.js [data-reveal] .cbelt, .js [data-reveal] .fd-t { opacity: 0; transform: translateY(28px); transition: opacity var(--reveal-t) var(--ease), transform var(--reveal-t) var(--ease); }
.js [data-reveal] .fd-t { transition-delay: 120ms; }
.js [data-reveal] .wline::after { transform: scaleX(0); transition: transform var(--draw-t) var(--ease) 500ms; }
.js [data-reveal].is-in .cbelt, .js [data-reveal].is-in .fd-t { opacity: 1; transform: none; }
.js [data-reveal].is-in .wline::after { transform: none; }

/* Y: basket of six covers */
.basket { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 28px; padding: 48px 0 56px var(--wrap); background: var(--shell); }
.mer--y { width: 280px; height: 360px; right: -60px; top: 20px; color: var(--grnD); opacity: .12; }
.by-hd { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 720px; padding-right: var(--pad); }
.b-row { position: relative; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; padding-right: var(--pad); scrollbar-width: thin; }
.egg-c { flex: none; scroll-snap-align: start; }
.egg-c a { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; }
.oval { display: block; padding: 8px; border: var(--lw) solid var(--oc); border-radius: 50%; transition: transform var(--hover-t) var(--ease), border-color var(--hover-t); }
.oval-in { display: block; padding: 5px; border: var(--lw) solid var(--ink); border-radius: 50%; overflow: hidden; }
.cv--oval { width: 170px; height: 218px; border-radius: 50%; object-fit: cover; }
.egg-c--yel { --oc: var(--grnD); } .egg-c--grn { --oc: var(--grn); } .egg-c--red { --oc: var(--red); } .egg-c--black { --oc: var(--black); }
.egg-c a:hover .oval { transform: translateY(-6px); border-color: var(--yel); }
.ec-h { font: 800 18px/1.2 var(--disp); }
.ec-p { font-size: 14px; color: var(--ink2); text-align: center; }
.egg-c a:hover .ec-h { text-decoration: underline; }
@media (min-width: 1024px) { .basket { gap: 44px; padding: 96px 0 104px var(--wrap); } .mer--y { width: 600px; height: 760px; right: -110px; } .b-row { gap: 36px; } .cv--oval { width: 250px; height: 320px; } .ec-h { font-size: 22px; } }

/* K: contact block */
.kblock { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px; padding: 44px var(--wrap); isolation: isolate; }
.bt--k { display: none; }
.kb-l { display: flex; flex-direction: column; gap: 16px; max-width: 600px; }
.kbox { padding: 6px; border: var(--lw) solid var(--wax); max-width: 520px; }
.kbox-in { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px; border: var(--lw) solid var(--wax); }
.kbox .chip { color: var(--shell); } .kbox .chip .drop { color: var(--yel); }
.k-mail { font: 800 16px/1.2 var(--disp); color: var(--wax); text-decoration: none; overflow-wrap: anywhere; }
.k-mail:hover { text-decoration: underline; }
.k-r { display: flex; flex-direction: column; gap: 8px; }
.k-r .chip { color: var(--shell); } .k-r .chip .drop { color: var(--yel); }
.k-dl { gap: 0; padding: 8px 20px; }
.k-dl div { display: flex; gap: 16px; padding: 14px 0; align-self: stretch; }
.k-dl div + div { border-top: 7px double rgba(250, 244, 230, .5); }
.k-dl dt { flex: 0 0 100px; font-weight: 700; font-size: 14px; }
.k-dl dd { font-size: 17px; overflow-wrap: anywhere; }
.k-dl a { color: var(--wax); }
@media (min-width: 1024px) {
  .kblock { flex-direction: row; align-items: center; gap: 80px; padding: 80px var(--wrap); }
  .bt--k { display: block; position: absolute; z-index: -1; left: calc(100% - 230px); top: -90px; font-size: 520px; line-height: .8; opacity: .9; }   /* pages.js: x = W − 230 */
  .kb-l { flex: 0 0 600px; }
  .kbox { flex: 0 0 520px; padding: 6px; }
  .kbox-in { padding: 22px 26px; }
  .k-mail { font-size: 26px; }
  .kblock--a { gap: 64px; } .kblock--a .kb-l { flex-basis: 560px; } .kblock--a .kbox { flex-basis: 560px; }
}

/* ---------- footer ---------- */
.footer { background: var(--black); color: var(--wax); }
.f-in { display: flex; flex-direction: column; gap: 36px; padding: 40px var(--wrap) 28px; }
.f-top { display: flex; flex-direction: column; gap: 32px; }
.f-l { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.f-l .f-brand { font: 800 30px/1 var(--disp); letter-spacing: -.02em; }
.f-l p { font-size: 16px; color: var(--shell); }
.f-l .f-brand { color: var(--wax); }
.f-mail { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--yel); text-decoration: none; overflow-wrap: anywhere; }
.f-mail:hover span { text-decoration: underline; }
.f-l .f-req, .f-l .f-soc { font-size: 14px; }
.f-cols { display: flex; flex-wrap: wrap; gap: 24px 32px; }
.f-col--g { display: none; }
.f-h { font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--yel); margin-bottom: 10px; }
.f-col ul { display: flex; flex-direction: column; gap: 8px; }
.f-col a, .f-col .linkish { text-decoration: none; font-size: 16px; color: var(--wax); }
.f-col a:hover { text-decoration: underline; }
.footer .belt:not(.belt--yel) { opacity: .3; }
.f-bot { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--shell); }
@media (min-width: 1024px) {
  .f-in { padding: 64px var(--wrap) 40px; }
  .f-top { flex-direction: row; justify-content: space-between; gap: 64px; }
  .f-l .f-brand { font-size: 40px; } .f-mail { font-size: 20px; }
  .f-cols { gap: 56px; flex-wrap: nowrap; } .f-col--g { display: block; }
  .f-bot { flex-direction: row; justify-content: space-between; } .f-bot p:last-child { max-width: 640px; }
}

/* ---------- games: carousel ---------- */
.ihead { position: relative; overflow: hidden; background: var(--black); color: var(--wax); padding-bottom: 32px; }
.mer--ih { width: 300px; height: 380px; right: -80px; top: 0; }
.ih-row { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding: 32px var(--wrap) 0; }
.bt--games { font-size: clamp(56px, 22vw, 180px); line-height: .92; background-image: url(/assets/img/bands-m.webp); }
@media (min-width: 1024px) {
  .ihead { padding-bottom: 56px; }
  .mer--ih { width: 600px; height: 720px; right: -100px; top: -160px; }
  .ih-row { flex-direction: row; align-items: flex-end; gap: 56px; padding-top: 56px; }
  .bt--games { font-size: min(180px, 13vw); white-space: nowrap; background-image: url(/assets/img/bands.webp); }
  .ih-row .lead { max-width: 420px; }
}
.car { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 28px; padding: 36px 0 44px var(--wrap); background: var(--shell); }
.mer--car { width: 400px; height: 600px; left: -60px; top: 40px; color: var(--grnD); opacity: .1; }
.car-ctl { position: relative; display: flex; align-items: center; gap: 24px; padding-right: var(--wrap); }
.car-n { flex: 1; font-weight: 700; font-size: 14px; color: var(--ink2); }
.car-ctl .wbtn { --wl: var(--red); }
.car-ctl .wbtn:disabled { opacity: .35; cursor: default; }
html:not(.js) .car-ctl .wbtn { display: none; }
.track { position: relative; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px var(--wrap) 22px 4px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.car > .belt { margin-right: var(--wrap); }
.gc { position: relative; flex: none; width: min(300px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 14px; border: var(--lw) solid var(--line);
  transition: transform var(--hover-t) var(--ease), box-shadow var(--hover-t) var(--ease), border-color var(--hover-t); }
.gc-cv { display: block; padding: 5px; border: var(--lw) solid var(--line); transition: border-color var(--hover-t); }
.gc-cv .cv { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gc-t { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.gc-h { font: 900 28px/1 var(--disp); letter-spacing: -.01em; }
.gc-a { text-decoration: none; }
.gc-a::after { content: ''; position: absolute; inset: 0; }
.gc-p { font-size: 15px; } .gc-d { font-size: 13px; color: var(--sub); }
.gc .wbtn { --wl: var(--line); }
.gc:hover, .gc:focus-within { border-color: var(--yel); transform: translateY(-6px); box-shadow: 0 18px 36px rgba(22, 18, 14, .35); }
.gc:hover .gc-cv, .gc:focus-within .gc-cv { border-color: var(--yel); }
.gc:hover .wline, .gc:focus-within .wline, .gc:hover .wbtn .klyn, .gc:focus-within .wbtn .klyn { color: var(--yel); }
.gc:hover .klyn, .gc:focus-within .klyn { transform: translateX(4px); }
.gc .gc-a:focus-visible { outline: 0; }
.gc:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (min-width: 1024px) {
  .car { padding: 64px 0 72px var(--wrap); }
  .track { gap: 28px; }
  .gc { width: 620px; flex-direction: row; gap: 24px; padding: 20px; }
  .gc-cv { flex: 0 0 auto; } .gc-cv .cv { width: 240px; }
  .gc-h { font-size: 34px; }
}

/* ---------- guide ---------- */
.gtop { position: relative; overflow: hidden; padding-bottom: 36px; isolation: isolate; }
.f-yel .top { color: var(--ink); }
.bt--gl { position: absolute; z-index: -1; right: -60px; top: 300px; font-size: 220px; line-height: .8; opacity: .9; --edge: var(--wax); }
.f-yel .bt--gl, .f-yel .bt--title { --edge: var(--ink); }
.gt-row { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 28px var(--wrap) 0; }
.cbelt--g .cv { width: 248px; }
.gt-t { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 580px; }
.bt--title { font-size: clamp(40px, 13vw, 104px); line-height: .96; --edge-w: 2px; }
.gt-sum { font-size: 17px; line-height: 1.45; }
.meta { font-size: 14px; color: var(--sub); }
.gt-t .wbtn { --wl: var(--line); }
@media (min-width: 1024px) {
  .gtop { padding-bottom: 64px; }
  .bt--gl { right: -210px; top: 120px; font-size: 400px; --edge-w: 4px; }
  .gt-row { flex-direction: row; align-items: center; gap: 64px; padding-top: 48px; }
  .cbelt--g .cv { width: 400px; }
  .bt--title { font-size: clamp(56px, 6.2vw, 104px); --edge-w: 3px; }
  .gt-sum { font-size: 20px; }
}
.accs { position: relative; overflow: hidden; padding: 36px var(--wrap) 48px; }
.mer--acc { width: 240px; height: 320px; right: -120px; top: 30%; color: var(--grnD); opacity: .1; }
.acc { position: relative; }
.acc::before { content: ''; display: block; height: 7px; border-top: var(--lw) solid var(--ink); border-bottom: var(--lw) solid var(--ink); opacity: .8; }
.acc summary { display: flex; align-items: center; gap: 14px; padding: 16px 0; cursor: pointer; list-style: none; font: 800 22px/1.15 var(--disp); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .klyn { width: 11px; height: 13px; color: var(--ink); transition: transform var(--hover-t) var(--ease); }
.acc[open] > summary .klyn { color: var(--red); transform: rotate(90deg); }
.acc summary:hover span { text-decoration: underline; text-underline-offset: 4px; }
.acc-b { display: flex; flex-direction: column; gap: 14px; padding: 0 0 20px; max-width: 900px; }
.fgrid { display: grid; grid-template-columns: 1fr; }
.fgrid > div { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 12px 0; }
.fgrid .chip { --fg: var(--ink2); --dot: var(--grn); }
.fgrid p { font-size: 16px; }
.keys { display: flex; flex-direction: column; gap: 10px; }
.keys li { display: flex; align-items: center; gap: 14px; font-size: 16px; flex-wrap: wrap; }
.kl { display: flex; flex-direction: column; gap: 10px; }
.kl li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.kl .klyn { margin-top: 6px; color: var(--red); }
.sims { display: flex; flex-direction: column; gap: 14px; }
.sim { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.cv--sim { width: 96px; height: 96px; object-fit: cover; border: var(--lw) solid var(--ink); padding: 3px; }
.sim > span { display: flex; flex-direction: column; gap: 4px; }
.sim-h { font: 800 20px/1.1 var(--disp); } .sim-p { font-size: 15px; color: var(--ink2); }
.sim:hover .sim-h { text-decoration: underline; }
.qas { display: flex; flex-direction: column; gap: 14px; }
.q { font-weight: 700; font-size: 17px; }
.where-a { font-weight: 700; font-size: 17px; color: var(--grnD); }
@media (min-width: 1024px) {
  .accs { padding: 64px var(--wrap) 88px; }
  .mer--acc { width: 520px; height: 680px; right: -140px; top: 20%; }
  .acc summary { padding: 22px 0; font-size: 30px; }
  .acc-b { padding: 0 0 28px 25px; }
  .fgrid { grid-template-columns: repeat(3, 1fr); }
  .p { font-size: 18px; }
}

/* ---------- about ---------- */
.ahead { position: relative; overflow: hidden; padding-bottom: 36px; }
.ah-row { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px var(--wrap) 0; }
.h1a { font: 900 34px/.96 var(--disp); letter-spacing: -.005em; color: var(--wax); padding-right: 76px; overflow-wrap: anywhere; }
.egg--about { position: absolute; width: 64px; right: var(--wrap); top: 14px; transform: rotate(6deg); filter: drop-shadow(16px 24px 18px rgba(22, 18, 14, .5)); }
@media (min-width: 1024px) {
  .ahead { padding-bottom: 64px; }
  .ah-row { padding-top: 56px; }
  .h1a { font-size: 96px; max-width: 860px; padding-right: 0; overflow-wrap: normal; }
  .egg--about { width: 240px; right: calc(var(--wrap) + 20px); top: 40px; }
}
.abody { padding: 36px var(--wrap) 24px; }
.ab { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; }
.ab::before { content: ''; display: block; height: 7px; margin: -20px 0 10px; border-top: var(--lw) solid var(--ink); border-bottom: var(--lw) solid var(--ink); opacity: .8; }
.ab-h { display: flex; align-items: center; gap: 12px; font: 800 23px/1.15 var(--disp); }
.ab-h .klyn { color: var(--red); width: 10px; height: 12px; }
.ab-b { display: flex; flex-direction: column; gap: 12px; }
.faqs { padding: 20px var(--wrap) 40px; }
.faqs .h2 { font-size: 32px; margin-bottom: 12px; }
@media (min-width: 1024px) {
  .abody { padding: 72px var(--wrap) 40px; }
  .ab { display: grid; grid-template-columns: 380px minmax(0, 1fr); column-gap: 64px; padding: 32px 0; }
  .ab-b { max-width: 680px; }
  .ab::before { grid-column: 1 / -1; margin: -32px 0 22px; }
  .ab-h { font-size: 30px; align-self: start; }
  .faqs { padding: 32px var(--wrap) 72px; } .faqs .h2 { font-size: 52px; margin-bottom: 20px; }
}

/* ---------- legal ---------- */
.lhead { position: relative; overflow: hidden; background: var(--black); color: var(--wax); padding-bottom: 32px; isolation: isolate; }
.bt--l { position: absolute; z-index: -1; right: -40px; top: 10px; font-size: 240px; line-height: .8; opacity: .9; }
.lh-row { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px var(--wrap) 0; }
.lh-row .chip { --fg: var(--shell); --dot: var(--yel); }
.h1l { font: 900 44px/.96 var(--disp); letter-spacing: -.005em; color: var(--wax); max-width: 900px; padding-right: 60px; }
.legal { position: relative; overflow: hidden; padding: 32px var(--wrap) 44px; }
.mer--legal { width: 300px; height: 420px; right: -150px; top: 200px; color: var(--grnD); opacity: .08; }
.ls { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 0; max-width: 760px; }
.ls::before { content: ''; display: block; height: 7px; margin: -18px 0 8px; border-top: var(--lw) solid var(--ink); border-bottom: var(--lw) solid var(--ink); opacity: .7; }
.ls-h { display: flex; align-items: center; gap: 12px; font: 800 21px/1.15 var(--disp); }
.ls-h .klyn { color: var(--grnD); }
.legal > .belt { max-width: 760px; opacity: .7; }
@media (min-width: 1024px) {
  .lhead { padding-bottom: 56px; }
  .bt--l { right: auto; left: calc(100% - 330px); top: 40px; font-size: 520px; --edge-w: 5px; }
  .lh-row { padding-top: 56px; } .h1l { font-size: 88px; padding-right: 300px; }
  .lh-row .lead { max-width: 700px; }
  .legal { padding: 64px var(--wrap) 80px max(var(--wrap), 240px); }
  .mer--legal { width: 400px; height: 640px; left: -80px; right: auto; top: 40px; }
  .ls { padding: 24px 0; } .ls::before { margin-top: -24px; }
  .ls-h { font-size: 26px; } .ls .p { font-size: 17px; }
}

/* ---------- cookie ---------- */
.cookie { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; max-width: 500px; padding: 8px; background: var(--black); color: var(--wax); box-shadow: 0 20px 44px rgba(22, 18, 14, .45); }
.cookie[hidden] { display: none; }
.ck-1 { padding: 6px; border: var(--lw) solid var(--yel); }
.ck-2 { display: flex; flex-direction: column; gap: 14px; padding: 20px 18px; border: var(--lw) solid var(--yel); }
.ck-h { display: flex; align-items: center; gap: 12px; font: 800 26px/1.1 var(--disp); }
.ck-h img { width: 26px; }
.ck-p { font-size: 15px; color: var(--shell); }
.ck-acts { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; }
.ck-link { align-self: flex-start; font-size: 14px; color: var(--yel); }
.ck-manage { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(250, 244, 230, .3); border-bottom: 1px solid rgba(250, 244, 230, .3); }
.ck-manage[hidden] { display: none; }
.ck-opt { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.ck-opt input { width: 18px; height: 18px; accent-color: var(--yel); }
.cookie .wb-r { font-size: 16px; }
@media (min-width: 1024px) { .cookie { left: 24px; bottom: 24px; right: auto; width: 500px; } .ck-2 { padding: 26px 28px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] .cbelt, .js [data-reveal] .fd-t { opacity: 1; transform: none; }
  .js [data-reveal] .wline::after { transform: none; }
}

/* Соцмережі у футері: лише іконки */
.social-row { display: flex; align-items: center; gap: 10px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: inherit; text-decoration: none; }
.social-link svg { display: block; width: 100%; height: 100%; }
.social-link:hover, .social-link:focus-visible { opacity: 0.7; }
