/* liraeveskriot.com — Turkish ebru: pigment floated on size, combed, lifted onto laid paper.
   Tokens and sizes from refs/figma/lib.js + pages.js (desktop 1368, mobile 360). Radius 0 (paper), hairline borders. */
:root {
  --ink: #1C2148; --paper: #F4EDDE; --paper2: #E8DCC4; --cream: #F6EFE0;
  --indigo: #1F2A66; --lapis: #3456A8; --madder: #A8342C; --ochre: #C98F1E; --verdigris: #23705F; --rose: #A9493F; --black: #1C1916; --rim: #2B2119;
  --disp: 'Prata', Didot, 'Bodoni 72', Georgia, serif;
  --text: 'Alegreya Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: 16px;
  --wrap: max(var(--pad), calc(50% - 628px));        /* 1256 = 1368 − 2 × 56 */
  --hair: rgba(28, 33, 72, .18);
  /* floating-objects: the meniscus shadow + a light top edge (lib.js MEN) */
  --men: 0 6px 18px rgba(31, 42, 102, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
  --lift1: 0 4px 12px rgba(31, 42, 102, .14), 0 1px 2px rgba(31, 42, 102, .12);
  --lift2: 0 10px 26px rgba(31, 42, 102, .18), 0 2px 4px rgba(31, 42, 102, .12);
  --lift3: 0 18px 40px rgba(31, 42, 102, .22), 0 3px 6px rgba(31, 42, 102, .14);
  /* note motion: «переход между страницами: аркуш поднимается снизу 420 ms; reduced-motion — fade» */
  --page-t: 420ms; --hover-t: 220ms; --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 1024px) { :root { --pad: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 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(--ochre); color: var(--ink); }
:focus-visible { outline: 2px solid var(--madder); outline-offset: 3px; }
.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(--indigo); color: var(--cream); padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ---------- page transition: the sheet is lifted from the trough (cross-document view transitions) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 260ms ease-out both vt-out; }
::view-transition-new(root) { animation: var(--page-t) var(--ease) both vt-in; transform-origin: 50% 100%; }
@keyframes vt-out { to { opacity: .6; } }
@keyframes vt-in { from { transform: translateY(48px) perspective(1600px) rotateX(4deg); opacity: 0; box-shadow: 0 -20px 40px rgba(31, 42, 102, .25); } }

/* ---------- world pieces ---------- */
.ground { position: relative; background-color: var(--lapis); background-size: cover; background-position: center; }
.ground--battal { background-image: url(/assets/img/ebru-battal.webp); }
.ground--bulbul { background-image: url(/assets/img/ebru-bulbul.webp); }
.ground--gelgit { background-image: url(/assets/img/ebru-gelgit.webp); }
.sheet { position: relative; background: var(--paper); border: 1px solid rgba(28, 33, 72, .16); box-shadow: var(--lift2); }
.drop { position: absolute; display: block; width: var(--d, 120px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--c0); box-shadow: var(--men); pointer-events: none; }
.drop .ring { position: absolute; left: calc(50% - var(--k) * 50% + var(--dx)); top: calc(50% - var(--k) * 50%); width: calc(var(--k) * 100%); aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.drop .sheen { position: absolute; left: 18%; top: 12%; width: 50%; height: 18%; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.drop--logo { position: relative; --d: 28px; box-shadow: none; }
.num { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: var(--men); background: var(--pc);
  font: 400 13px/1 var(--disp); color: var(--cream); }
.num--madder { --pc: var(--madder); } .num--rose { --pc: var(--rose); } .num--verdigris { --pc: var(--verdigris); } .num--ochre { --pc: var(--ochre); color: var(--ink); }
.num--lapis { --pc: var(--lapis); } .num--indigo { --pc: var(--indigo); }
.chip { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 99px; background: color-mix(in srgb, var(--cc, var(--ink)) 13%, transparent); font: 500 12px/1.2 var(--text); }
.chip--madder { --cc: var(--madder); } .chip--rose { --cc: var(--rose); } .chip--verdigris { --cc: var(--verdigris); } .chip--ochre { --cc: var(--ochre); } .chip--lapis { --cc: var(--lapis); } .chip--indigo { --cc: var(--indigo); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 1024px) { .chip { font-size: 13px; } }
/* button «square»: a paper slip with a hairline; hover — the comb passes as a band */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; padding: 13px 18px; border: 1px solid rgba(28, 33, 72, .5); background: var(--paper);
  font: 700 14px/1.2 var(--text); letter-spacing: .02em; color: var(--ink); text-decoration: none; cursor: pointer; isolation: isolate; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, rgba(201, 143, 30, .32) 0 2px, transparent 2px 22px);
  transform: translateX(-100%); transition: transform 380ms var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn--pri { background: var(--indigo); border-color: var(--ink); color: var(--cream); }
@media (min-width: 1024px) { .btn { padding: 15px 24px; font-size: 15px; } }
.link { font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--madder); }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.linkish:hover { text-decoration: underline; }
.rule { display: block; height: 1px; background: var(--ink); opacity: .22; }
/* framed-plate: cover in a marbled border, lifted off it */
.plate { position: relative; display: inline-block; flex: none; padding: var(--m, 12px);   /* lib.js plate: margin = 7.5 % of the cover size */ background: var(--indigo) url(/assets/img/ebru-tarakli-s.webp) var(--bp, 50% 50%) / 260%; box-shadow: var(--lift1);
  transition: box-shadow var(--hover-t) var(--ease), transform var(--hover-t) var(--ease); }
.plate--bulbul { background-image: url(/assets/img/ebru-bulbul-s.webp); }
.plate--gelgit { background-image: url(/assets/img/ebru-gelgit-s.webp); }
.plate--battal { background-image: url(/assets/img/ebru-battal-s.webp); }
.plate .cv { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--cream); box-shadow: 0 2px 6px rgba(28, 25, 22, .25); }
kbd { display: inline-block; padding: 6px 12px; border: 1px solid rgba(28, 33, 72, .5); background: var(--paper2); font: 700 14px/1.2 var(--text); white-space: nowrap; }

/* ---------- type ---------- */
.h1, .h1i, .h1g { font: 400 38px/1.02 var(--disp); letter-spacing: -.015em; }
.h2 { font: 400 32px/1.08 var(--disp); letter-spacing: -.01em; }
.h3 { font: 400 23px/1.15 var(--disp); }
.lead { font-size: 16px; line-height: 1.55; opacity: .86; max-width: 620px; }
.p { font-size: 16px; line-height: 1.6; }
@media (min-width: 1024px) { .h1 { font-size: 64px; } .h1i, .h1g { font-size: 64px; } .h2 { font-size: 52px; } .h3 { font-size: 30px; } .lead { font-size: 19px; } .p { font-size: 18px; } }

/* ---------- header: split center logo ---------- */
.top { position: relative; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--wrap); background: var(--paper); border-bottom: 1px solid rgba(28, 33, 72, .14); }
.top a { text-decoration: none; }
.t-l { display: flex; gap: 32px; }
.t-l a:not(:first-child), .t-r { display: none; }
.top a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.t-l a, .t-r a { font-weight: 500; font-size: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 400 21px/1 var(--disp); }
.burger { justify-self: end; display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; border: 1px solid rgba(28, 33, 72, .4); background: none; cursor: pointer; }
.burger i { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform var(--hover-t) var(--ease); }
.burger[aria-expanded=true] i:first-child { transform: translateY(3.25px) rotate(45deg); } .burger[aria-expanded=true] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mmenu { position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--wrap) 20px; background: var(--paper); border-bottom: 1px solid var(--hair); box-shadow: var(--lift2); }
.mmenu[hidden] { display: none; }
.mmenu a { display: block; padding: 10px 0; font: 400 22px/1.2 var(--disp); border-bottom: 1px solid var(--hair); }
.mmenu .m-mail { font: 400 15px/1.3 var(--text); opacity: .75; border: 0; }
html:not(.js) .burger { display: none; }
html:not(.js) .t-l a { display: inline; }
@media (min-width: 1024px) {
  .top { padding: 24px var(--wrap); }
  .t-l a:not(:first-child) { display: inline; }
  .t-r { display: flex; justify-content: flex-end; align-items: center; gap: 32px; }
  .t-l a, .t-r > a:first-child { font-size: 16px; }
  .t-mail { font-size: 14px !important; opacity: .7; }
  .logo { font-size: 26px; } .drop--logo { --d: 34px; }
  .burger, .mmenu { display: none !important; }
}

/* ---------- hero: the trough, a sheet laid on it, a cat crossing both (frame-break) ---------- */
.hero { position: relative; overflow: hidden; padding: 150px 12px 12px; background: var(--lapis) url(/assets/img/ebru-hero.webp) center / cover; box-shadow: inset 0 6px 18px rgba(28, 25, 22, .25); }
.wet { position: absolute; left: -100px; top: 0; width: 900px; height: 340px; transform: rotate(-12deg); pointer-events: none; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .14), transparent); }
.drop--h1 { --d: 44px; left: 28px; top: 34px; } .drop--h2 { display: none; --d: 40px; left: 430px; top: 220px; }
.cat { position: absolute; z-index: 2; left: 170px; top: 28px; width: 160px; filter: drop-shadow(5px 6px 6px rgba(28, 25, 22, .3)); pointer-events: none; }
.hero-sheet { display: flex; flex-direction: column; gap: 16px; padding: 28px 20px 24px; box-shadow: 0 2px 5px rgba(28, 25, 22, .28); }
.cetvel { display: none; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero-list li { border-top: 0; }
.hero-list a { display: flex; align-items: center; gap: 12px; padding: 6px 0; text-decoration: none; }
.cv--row { width: 52px; height: 52px; object-fit: cover; border: 1px solid rgba(28, 33, 72, .2); flex: none; }
.hr-t { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.hr-t b { font-size: 16px; } .hr-t i { font-size: 13px; opacity: .7; }
.hero-list a:hover b { text-decoration: underline; }
@media (min-width: 1024px) {
  .hero { height: 820px; padding: 0; }
  .drop--h1 { --d: 64px; left: 96px; top: 110px; } .drop--h2 { display: block; }
  .cat { left: calc(50% - 684px + 392px); top: auto; bottom: 0; width: 403px; filter: drop-shadow(8px 10px 9px rgba(28, 25, 22, .3)); }   /* pages.js: x 392, bottom of the 820 hero */
  .hero-sheet { position: absolute; top: 56px; left: calc(50% - 684px + 620px); width: 692px; padding: 52px 56px 44px 116px; gap: 22px; }
  .cetvel { display: block; position: absolute; inset: 12px; border: 1px solid var(--ochre); pointer-events: none; }
  .hero-list { display: grid; grid-template-columns: repeat(2, 244px); gap: 14px 24px; }
  .hero-list a { padding: 0; }
}
@media (min-width: 1024px) and (max-width: 1367.98px) {
  .hero-sheet { left: auto; right: var(--wrap); }
  .cat { left: max(16px, calc(100% - var(--wrap) - 692px - 230px)); }
}

/* ---------- sections ---------- */
.sec { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px; padding: 56px var(--wrap); isolation: isolate; }
@media (min-width: 1024px) { .sec { gap: 40px; padding: 104px var(--wrap); } }
/* G: numbered list */
.drop--g { --d: 130px; right: -40px; top: -40px; z-index: -1; }
.glist { border-top: 1px solid var(--hair); }
.gr { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.gr-n { display: none; }
.gr > .plate { width: 102px; --m: 7px; }
.gr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.gr-h { display: flex; align-items: center; gap: 10px; font: 400 21px/1.12 var(--disp); }
.gr-h a { text-decoration: none; } .gr-h a:hover { text-decoration: underline; }
.gr-p { font-size: 14px; line-height: 1.5; opacity: .86; }
.gr .link { font-size: 14px; }
.gr .chips .chip:nth-child(2) { display: none; }
.num--big { width: 58px; height: 58px; font-size: 29px; }
@media (min-width: 1024px) {
  .drop--g { --d: 300px; right: -110px; top: -70px; }
  .gr { align-items: center; gap: 36px; padding: 30px 0; }
  .gr-n { display: block; } .num--in { display: none; }
  .gr > .plate { width: 204px; --m: 14px; }
  .gr-t { gap: 10px; } .gr-h { font-size: 34px; } .gr-p { font-size: 17px; max-width: 560px; } .gr .link { font-size: 16px; }
  .gr .chips .chip:nth-child(2) { display: inline-flex; }
}
/* D: three sheets on a battal ground */
.sheet--head { display: flex; flex-direction: column; gap: 10px; padding: 18px; box-shadow: var(--lift1); max-width: 640px; }
.h2--s { font-size: 28px; }
.drow { display: flex; flex-direction: column; gap: 16px; }
.dsheet { display: flex; flex-direction: column; gap: 14px; padding: 20px 18px; }
.d-h { display: flex; align-items: center; gap: 12px; font: 400 22px/1.1 var(--disp); }
.drop--s { position: relative; --d: 34px; }
.d-p { font-size: 15px; line-height: 1.5; opacity: .85; }
.dsheet ul a { display: flex; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid rgba(28, 33, 72, .14); font-weight: 700; font-size: 16px; text-decoration: none; }
.dsheet li + li { margin-top: 10px; }
.cv--d { width: 64px; height: 64px; object-fit: cover; border: 1px solid rgba(28, 33, 72, .2); }
.dsheet ul a:hover span { text-decoration: underline; }
@media (min-width: 1024px) { .sheet--head { padding: 28px 32px; } .h2--s { font-size: 44px; } .drow { flex-direction: row; gap: 28px; } .dsheet { flex: 1 1 0; padding: 30px; } .d-h { font-size: 28px; } }
/* F: accordion */
.drop--f { --d: 110px; left: -60px; top: 40px; z-index: -1; }
.faq { flex: 1; }
.qa { border-bottom: 1px solid rgba(28, 33, 72, .2); }
.qa summary { display: flex; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.q { flex: 1; font: 400 18px/1.25 var(--disp); }
.qa summary:hover .q { text-decoration: underline; text-underline-offset: 4px; }
.pm { position: relative; flex: none; width: 14px; height: 14px; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1.5px; background: var(--ink); transition: transform var(--hover-t) var(--ease); }
.pm::after { transform: rotate(90deg); }
.qa[open] .pm::after { transform: rotate(0); }
.qa[open] .num { --pc: var(--madder); }
.a { margin: -4px 0 16px; font-size: 15px; line-height: 1.55; opacity: .86; max-width: 600px; }
.a a { color: inherit; }
@media (min-width: 1024px) {
  .fsec { flex-direction: row; gap: 80px; }
  .drop--f { --d: 220px; top: 300px; }
  .f-l { flex: 0 0 380px; }
  .qa summary { padding: 22px 0; } .num--q { width: 32px; height: 32px; font-size: 16px; } .q { font-size: 23px; } .a { font-size: 17px; }
}
/* Y: covers on a bulbul ground, past the edge */
.ysec { padding-right: 0; }
.sheet--y { padding: 16px; margin-right: var(--pad); max-width: 560px; }
.h2--y { font-size: 26px; } .y-lead { font-size: 15px; opacity: .85; }
.yrow { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--pad) 22px 4px; scrollbar-width: none; }
.yrow::-webkit-scrollbar { display: none; }
.yc { flex: none; width: 240px; scroll-snap-align: start; }
.yc a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 12px 12px 18px; background: var(--paper); box-shadow: var(--lift2); text-decoration: none; transition: transform var(--hover-t) var(--ease), box-shadow var(--hover-t) var(--ease); }
.cv--y { width: 100%; aspect-ratio: 1; object-fit: cover; }
.yc-h { font: 400 20px/1.15 var(--disp); } .yc-p { font-size: 14px; line-height: 1.45; opacity: .85; }
.yc a:hover { transform: translateY(-6px); box-shadow: var(--lift3); } .yc a:hover .yc-h { text-decoration: underline; }
@media (min-width: 1024px) {
  .ysec { padding: 88px 0 96px var(--wrap); }
  .sheet--y { padding: 24px 28px; } .h2--y { font-size: 40px; }
  .yrow { gap: 28px; } .yc { width: 284px; } .yc a { transform: rotate(var(--r)); } .yc a:hover { transform: rotate(0) translateY(-6px); }
}

/* ---------- footer: gelgit sheet + giant wordmark ---------- */
.footer { background: var(--black) url(/assets/img/ebru-gelgit.webp) center / cover; }
.f-in { display: flex; flex-direction: column; gap: 24px; padding: 40px var(--wrap) 28px; }
.f-top { display: flex; flex-direction: column; gap: 20px; }
.f-sheet { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 18px; max-width: 520px; }
.f-sheet p { font-size: 15px; line-height: 1.5; }
.f-mail { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.f-cols { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: rgba(28, 25, 22, .92); box-shadow: 0 10px 26px rgba(28, 25, 22, .3); color: var(--cream); }
.f-cols ul { display: flex; flex-direction: column; gap: 10px; }
.f-cols a, .f-cols .linkish, .f-cols li { font-weight: 500; font-size: 14px; color: var(--cream); text-decoration: none; }
.f-cols a:hover, .f-cols .linkish:hover { text-decoration: underline; }
.wordmark { overflow: hidden; padding: 6px 10px 0; background: var(--paper); box-shadow: 0 18px 40px rgba(28, 25, 22, .35); text-align: center; }
.wordmark span { display: block; font: 400 clamp(40px, 13vw, 178px)/1.04 var(--disp); letter-spacing: -.012em; color: var(--indigo); white-space: nowrap; }
.f-bot { display: flex; flex-direction: column; gap: 10px; padding: 14px 18px; background: rgba(28, 25, 22, .92); color: var(--cream); font-size: 13px; }
.f-bot p { opacity: .85; }
@media (min-width: 1024px) {
  .f-in { gap: 40px; padding: 72px var(--wrap) 40px; }
  .f-top { flex-direction: row; justify-content: space-between; gap: 48px; align-items: flex-start; }
  .f-sheet { flex: 0 0 520px; padding: 28px 32px; } .f-sheet p, .f-mail { font-size: 17px; }
  .f-cols { flex-direction: row; gap: 56px; padding: 28px 32px; } .f-cols a, .f-cols .linkish, .f-cols li { font-size: 15px; }
  .wordmark { padding: 8px 20px 0; }
  .f-bot { flex-direction: row; justify-content: space-between; } .f-bot p:last-child { max-width: 640px; }
}

/* ---------- inner heads ---------- */
.ihead { display: flex; flex-direction: column; gap: 18px; padding: 20px var(--wrap) 32px; }
.ihead .crumbs { color: var(--cream); }
.sheet--ih { display: flex; flex-direction: column; gap: 16px; padding: 20px 18px; box-shadow: var(--lift1); max-width: 760px; }
.checked { font-style: italic; font-size: 13px; opacity: .7; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: '›'; opacity: .5; }
.crumbs a { opacity: .7; } .crumbs a:hover { opacity: 1; }
.crumbs [aria-current] { font-weight: 700; }
@media (min-width: 1024px) { .ihead { padding: 40px var(--wrap) 56px; } .sheet--ih { padding: 32px 36px; } .ihead--about { padding-bottom: 72px; } .ihead--about .sheet--ih { max-width: 820px; padding: 40px 44px; } }
.ihead--about .crumbs { color: var(--ink); }

/* games: poster grid; Tile hover — «the comb passes: border turns to gelgit, the plate lifts, link underlined» */
.grid-sec { background: var(--paper2); padding-top: 28px; }
.grid { display: grid; grid-template-columns: minmax(0, 340px); justify-content: center; gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); box-shadow: var(--lift1); transition: box-shadow var(--hover-t) var(--ease), transform var(--hover-t) var(--ease); }
.plate--card { display: block; box-shadow: none; --m: 22px; }
.cd-t { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 16px 18px; border: 1px solid rgba(28, 33, 72, .16); border-top: 0; }
.cd-h { display: flex; align-items: center; gap: 10px; font: 400 20px/1.15 var(--disp); }
.cd-a { text-decoration: none; } .cd-a::after { content: ''; position: absolute; inset: 0; }
.cd-p { font-size: 15px; line-height: 1.5; opacity: .86; } .cd-c { font-size: 13px; line-height: 1.45; opacity: .7; }
.card .link { text-decoration: none; }
.card:hover, .card:focus-within { box-shadow: var(--lift3); transform: translateY(-4px); }
.card:hover .plate--card, .card:focus-within .plate--card { background-image: url(/assets/img/ebru-gelgit-s.webp); }
.card:hover .link, .card:focus-within .link { text-decoration: underline; }
.card:focus-within { outline: 2px solid var(--madder); outline-offset: 3px; } .cd-a:focus-visible { outline: 0; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, minmax(0, 340px)); } }
@media (min-width: 1024px) { .grid-sec { padding: 64px var(--wrap) 96px; } .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: start; gap: 48px 40px; } .cd-t { padding: 20px 22px 24px; } .cd-h { font-size: 24px; } }

/* guide: two-page spread */
.spread-w { display: flex; flex-direction: column; gap: 16px; padding: 16px var(--wrap) 40px; background: var(--paper2); }
.spread { display: flex; flex-direction: column; box-shadow: var(--lift2); }
.lpage { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 20px 16px; background: var(--indigo) url(/assets/img/ebru-tarakli.webp) center / cover; }
.plate--g { width: 100%; max-width: 300px; --m: 20px; box-shadow: var(--lift3); background-image: url(/assets/img/ebru-tarakli-s.webp); }
.facts { align-self: stretch; padding: 16px; background: var(--paper); box-shadow: var(--lift1); }
.facts div { display: flex; gap: 16px; padding: 9px 0; }
.facts div + div { border-top: 1px solid rgba(28, 33, 72, .14); }
.facts dt { flex: 0 0 96px; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; opacity: .7; line-height: 1.6; }
.facts dd { flex: 1; font-size: 15px; line-height: 1.4; }
.where { align-self: stretch; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; box-shadow: var(--lift1); }
.wh-h { font-weight: 700; font-size: 14px; } .where p { font-size: 14px; line-height: 1.45; opacity: .85; } .where .link { font-size: 14px; }
.rpage { display: flex; flex-direction: column; gap: 24px; padding: 24px 18px 32px; background: var(--paper); box-shadow: inset 0 10px 26px rgba(28, 33, 72, .1); min-width: 0; }
.rp-h { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.rp-sum { font-size: 17px; line-height: 1.5; }
.meta { font-style: italic; font-size: 13px; opacity: .7; }
.part { display: flex; flex-direction: column; gap: 12px; max-width: 600px; }
.keys { display: flex; flex-direction: column; gap: 10px; }
.keys li { display: flex; align-items: center; gap: 14px; font-size: 16px; flex-wrap: wrap; }
.tips { display: flex; flex-direction: column; gap: 12px; }
.tips li { display: flex; gap: 14px; font-size: 16px; line-height: 1.55; }
.faq--g .q { font-size: 18px; }
.sims { display: flex; flex-direction: column; gap: 20px; }
.sim { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.plate--sim { width: 84px; --m: 6px; }
.sim > span { display: flex; flex-direction: column; gap: 4px; }
.sim b { font-size: 16px; } .sim > span > span { font-size: 14px; opacity: .8; line-height: 1.4; }
.sim:hover b { text-decoration: underline; }
@media (min-width: 1024px) {
  .spread-w { padding: 32px var(--wrap) 96px; gap: 24px; }
  .spread { flex-direction: row; align-items: flex-start; }
  .lpage { flex: 0 0 520px; justify-content: flex-start; padding: 44px 40px; }
  .plate--g { max-width: 460px; --m: 30px; }
  .facts { padding: 20px 22px; } .facts dt { flex-basis: 110px; }
  .rpage { flex: 1; padding: 56px 64px 64px; gap: 36px; box-shadow: inset 18px 0 26px rgba(28, 33, 72, .1); }
  .rp-sum { font-size: 20px; } .tips li, .keys li { font-size: 16px; }
  .sims { flex-direction: row; } .sims li { flex: 1; }
}

/* about */
.drop--a { --d: 110px; right: -20px; top: 60px; z-index: -1; }
.abody { padding-top: 40px; }
.abody .part { max-width: 600px; }
.kplate { display: flex; flex-direction: column; gap: 14px; padding: 24px 20px; max-width: 760px; }
.k-r { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.k-dl div { display: flex; gap: 16px; padding: 6px 0; }
.k-dl dt { flex: 0 0 110px; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; opacity: .7; line-height: 1.7; }
.k-dl dd { font-size: 15px; overflow-wrap: anywhere; }
.k-dl a { font-weight: 700; }
@media (min-width: 1024px) { .drop--a { --d: 240px; right: var(--wrap); top: 60px; } .abody { gap: 48px; padding-top: 104px; } .kplate { padding: 40px 44px; } }

/* legal: a long read on a sheet with a marbled spine */
.lsheet { display: flex; box-shadow: var(--lift2); background: var(--paper); }
.spine { flex: 0 0 14px; background: var(--indigo) url(/assets/img/ebru-tarakli.webp) center / cover; }
.l-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 22px 16px 28px; }
.l-sum { font-size: 16px; line-height: 1.55; }
.ls { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.ls-h { font: 400 20px/1.2 var(--disp); }
@media (min-width: 1024px) { .spine { flex-basis: 120px; } .l-body { gap: 28px; padding: 56px 80px 72px 72px; } .l-sum { font-size: 19px; max-width: 720px; } .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; background: var(--paper); border: 1px solid rgba(28, 33, 72, .3); box-shadow: var(--lift3); }
.cookie[hidden] { display: none; }
.ck-band { display: block; height: 44px; background: var(--black) url(/assets/img/ebru-gelgit-s.webp) center / cover; }
.ck-in { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 22px; }
.ck-h { font: 400 22px/1.15 var(--disp); }
.ck-p { font-size: 15px; line-height: 1.5; }
.ck-acts { display: flex; flex-direction: column; gap: 12px; }
.ck-link { align-self: flex-start; font-weight: 700; font-size: 14px; }
.ck-manage { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.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(--indigo); }
@media (min-width: 560px) { .ck-band { height: 56px; } .ck-in { padding: 24px 28px 28px; } .ck-h { font-size: 26px; } .ck-acts { flex-direction: row; } .ck-acts .btn { flex: 1; } }
@media (min-width: 1024px) { .cookie { left: 24px; bottom: 24px; right: auto; width: 500px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: 150ms linear both vt-fade; }
  @keyframes vt-fade { from { opacity: 0; } }
  ::view-transition-old(root) { animation-name: vt-fade-out; }
  @keyframes vt-fade-out { to { opacity: 0; } }
  .yc a { transform: none !important; }
}

/* Соцмережі у футері: лише іконки */
.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; }

.f-addr { margin: 8px 0 0; font-size: 14px; }
