/* kkaphoto-v2: ledger style, one family, one accent. No shadows, no gradients. */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../assets/fonts/onest-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116, U+20BD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../assets/fonts/onest-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0b0b0b; --paper: #ffffff; --muted: #6b6b6b; --accent: #d12a1e;
  --grey: #f2f2f2; --ghost: #8f8f8f; --hair: #dadada;
  --rule-x: max(112px, 37vw);            /* vertical rule position */
  --gutter: clamp(16px, 2.4vw, 32px);
  --gap: clamp(10px, 1.1vw, 16px);
  --header-h: 64px;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --font: "Onest", "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(34px, 6.25vw, 112px);
  --fs-menu: clamp(34px, 5vw, 76px);
  --fs-md: clamp(19px, 1.75vw, 28px);
  --fs-row: clamp(17px, 1.4vw, 22px);
}
@media (max-width: 700px) { :root { --rule-x: 50vw; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
body { margin: 0; padding-top: var(--header-h); background: var(--paper); color: var(--ink); font: 400 16px/1.45 var(--font); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main { position: relative; display: block; }
.skip { position: fixed; left: 8px; top: -80px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; }
.skip:focus { top: 8px; }
.nw { white-space: nowrap; }

/* type */
.display { font-size: var(--fs-display); font-weight: 500; line-height: 0.88; letter-spacing: -0.05em; overflow-wrap: break-word; }
.lead { margin-top: clamp(20px, 3vw, 36px); max-width: 36ch; font-size: var(--fs-md); font-weight: 400; line-height: 1.3; letter-spacing: -0.02em; }

/* the rule */
.rule { position: absolute; top: 0; bottom: 0; left: var(--rule-x); width: 1px; background: var(--ink); pointer-events: none; }
@media (max-width: 700px) { .rule { display: none; } }
.section { position: relative; padding: clamp(72px, 12vh, 160px) 0; }
.section > :not(.rule) { position: relative; }
.split { display: grid; grid-template-columns: var(--rule-x) minmax(0, 1fr); }
.split__side { padding: 0 24px 0 var(--gutter); color: var(--muted); font-size: 18px; line-height: 1.3; }
.split__main { padding: 0 var(--gutter) 0 var(--gap); min-width: 0; }
.split--head { align-items: end; margin-bottom: clamp(40px, 8vh, 88px); }
.page-head { padding-top: clamp(48px, 9vh, 120px); padding-bottom: clamp(48px, 8vh, 96px); }
@media (max-width: 700px) {
  .split { grid-template-columns: 1fr; }
  .split__side { padding: 0 var(--gutter); }
  .split__main { padding: 0 var(--gutter); }
  .split--head { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 16px; }
}

/* buttons: pills with the red sweep */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; text-decoration: none; overflow: hidden; isolation: isolate; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color 0.3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleX(0); transform-origin: 37% 50%; transition: transform 0.55s var(--ease); }
.btn--line { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
@media (hover: hover) { .btn:hover::before { transform: scaleX(1); } .btn--line:hover { color: var(--paper); } }
.btn:focus-visible::before { transform: scaleX(1); }
.btn--line:focus-visible { color: var(--paper); }
.btn:active { transform: scale(0.97); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); overflow: hidden; isolation: isolate; text-decoration: none; transition: color 0.3s; }
.icon-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transition: transform 0.45s var(--ease); }
@media (hover: hover) { .icon-btn:hover::before { transform: scaleX(1); } .icon-btn:hover { color: var(--paper); } }
.icon-btn:focus-visible { color: var(--paper); } .icon-btn:focus-visible::before { transform: scaleX(1); }
.icon-btn:active { transform: scale(0.94); }
@media (prefers-reduced-motion: reduce) { .btn::before, .icon-btn::before, .btn, .icon-btn { transition: none; } }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--header-h); display: grid; grid-template-columns: var(--rule-x) minmax(0, 1fr) auto; align-items: center; background: var(--paper); border-bottom: 1px solid var(--hair); padding-right: var(--gutter); transition: transform 0.5s var(--ease); }
.site-header.is-hidden { transform: translateY(-101%); }
.brand { display: inline-flex; align-items: center; gap: 12px; padding-left: var(--gutter); text-decoration: none; min-height: 44px; }
.brand__mark { height: 30px; width: auto; }
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.brand__sub { font-size: 13px; color: var(--muted); }
.nav { display: flex; gap: clamp(16px, 2.2vw, 32px); padding-left: var(--gap); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; background: linear-gradient(var(--ink), var(--ink)) 0 calc(50% + 13px) / 0 1px no-repeat; transition: background-size 0.45s var(--ease); }
@media (hover: hover) { .nav a:hover { background-size: 100% 1px; } }
.nav a[aria-current] { background-size: 100% 1px; }
.header__actions { display: flex; gap: 8px; }
.menu-toggle { display: none; }
@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 700px) {
  .site-header { padding-right: var(--gutter); }
  .header__book, .brand__sub { display: none; }
}

/* mobile menu: large type hangs on the rule */
.menu { --menu-rule: var(--rule-x); position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; background: var(--paper); overflow-y: auto; padding-bottom: 24px; }
.menu .rule--menu { left: var(--menu-rule); }
.menu .rule--menu { display: block; }
.menu__top { display: flex; justify-content: flex-end; padding: 10px var(--gutter); position: relative; }
.menu__list { align-self: center; display: grid; gap: clamp(4px, 1.4vh, 12px); padding: 24px 0; position: relative; }
.menu__list a { width: fit-content; font-size: clamp(34px, 8vw, 76px); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; text-decoration: none; padding: 4px 0 6px; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 2px no-repeat; transition: background-size 0.45s var(--ease); }
.menu__list a:nth-child(odd) { margin-left: var(--gutter); background-color: var(--paper); }
.menu__list a:nth-child(even) { margin-left: calc(var(--menu-rule) + var(--gap)); }
.menu__list a[aria-current], .menu__list a:hover { background-size: 100% 2px; }
.menu__foot { display: grid; position: relative; margin-left: calc(var(--menu-rule) + var(--gap)); }
.menu__foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 500; }
@media (max-width: 700px) {
  .menu { --menu-rule: 22px; }
  .menu__list a:nth-child(n) { margin-left: 38px; background-color: transparent; }
  .menu__foot { margin-left: 38px; }
}

/* hero (mount point #stream-hero; overlay carries the headline) */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); background: var(--grey); overflow: hidden; }
.hero__overlay { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; padding: var(--gutter); pointer-events: none; }
.hero__panel { pointer-events: auto; max-width: min(760px, 100%); padding: clamp(20px, 3vw, 40px); background: var(--paper); }
.hero__title { font-size: clamp(34px, 5.2vw, 88px); font-weight: 500; line-height: 0.92; letter-spacing: -0.05em; overflow-wrap: break-word; }
.hero__sub { margin-top: 20px; max-width: 38ch; font-size: var(--fs-md); line-height: 1.3; letter-spacing: -0.02em; color: var(--muted); }
.hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 700px) { .hero__overlay { align-items: flex-start; padding: 0; } .hero__panel { max-width: none; width: 100%; padding: 24px var(--gutter); } }

/* ledger: price block + rows */
.ledger { align-items: start; }
.ledger__price { position: sticky; top: calc(var(--header-h) + 24px); color: var(--ink); padding-bottom: 24px; }
.ledger__sum { font-size: var(--fs-display); font-weight: 500; line-height: 0.88; letter-spacing: -0.05em; }
.ledger__unit { display: block; margin-top: 12px; font-size: 18px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; color: var(--muted); }
.ledger__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.split.ledger .ledger__act .btn { flex: 1 1 100%; max-width: 360px; } /* long label: button on its own row, the two icons stay together below */
.ledger__list { border-top: 1px solid var(--ink); }
.ledger__row { padding: 18px 0 20px; border-bottom: 1px solid var(--hair); font-size: var(--fs-row); line-height: 1.3; letter-spacing: -0.015em; }
.ledger__label { font-weight: 600; color: var(--muted); }
.ledger__row--extra { color: var(--ink); }
.ledger__note { margin-top: 18px; max-width: 60ch; font-size: 16px; color: var(--muted); }
.ledger__note--small { font-size: 16px; }
.ledger--gift .ledger__act { margin-top: 28px; }
@media (max-width: 700px) {
  .ledger__price { position: static; padding-bottom: 32px; }
  .ledger__list { margin: 0; }
}

/* home: folder fallback links */
.folders { border-top: 1px solid var(--hair); }
.folder-link { display: grid; grid-template-columns: var(--rule-x) minmax(0, 1fr) auto; align-items: end; padding: clamp(22px, 3.6vh, 40px) var(--gutter) clamp(22px, 3.6vh, 40px) 0; border-bottom: 1px solid var(--hair); text-decoration: none; transition: background-color 0.35s var(--ease); }
.folder-link__meta { padding: 0 24px 0 var(--gutter); font-size: 18px; color: var(--muted); }
.folder-link__label { padding-left: var(--gap); font-size: var(--fs-menu); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; overflow-wrap: break-word; }
.folder-link__go { font-size: var(--fs-md); transition: transform 0.45s var(--ease); }
@media (hover: hover) { .folder-link:hover { background: var(--grey); } .folder-link:hover .folder-link__go { transform: translateX(8px); } }
.folder-link:focus-visible { background: var(--grey); outline-offset: -3px; }
@media (max-width: 700px) {
  .folder-link { grid-template-columns: 1fr auto; padding: 22px var(--gutter); gap: 8px; }
  .folder-link__label { grid-column: 1; grid-row: 1; padding-left: 0; }
  .folder-link__meta { grid-column: 1; grid-row: 2; padding: 0; }
  .folder-link__go { grid-column: 2; grid-row: 1; align-self: center; }
}

/* home: the one black screen */
.screen { background: var(--ink); color: var(--paper); }
.screen .rule { background: var(--paper); }
.steps { counter-reset: none; }
.steps__row { display: grid; grid-template-columns: var(--rule-x) minmax(0, 1fr); padding: clamp(24px, 4vh, 44px) 0; border-top: 1px solid rgb(255 255 255 / 0.18); }
.steps__row:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.18); }
.steps__n { padding-left: var(--gutter); font-size: var(--fs-display); font-weight: 500; line-height: 0.88; letter-spacing: -0.05em; color: var(--ghost); }
.steps__body { padding: 0 var(--gutter) 0 var(--gap); max-width: 60ch; }
.steps__body h3 { font-size: var(--fs-md); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; }
.steps__body p { margin-top: 12px; font-size: 18px; line-height: 1.4; color: var(--hair); }
@media (max-width: 700px) {
  .steps__row { grid-template-columns: 1fr; gap: 14px; padding: 28px var(--gutter); }
  .steps__n { padding: 0; font-size: 34px; }
  .steps__body { padding: 0; }
}

/* final call to action */
.cta { border-top: 1px solid var(--hair); }
.cta .split { align-items: end; }
.cta__act { margin-top: clamp(28px, 5vh, 56px); }
@media (max-width: 700px) { .cta .split { display: flex; flex-direction: column-reverse; gap: 20px; } }

/* footer */
.footer { position: relative; padding: clamp(64px, 10vh, 120px) 0 28px; border-top: 1px solid var(--ink); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: var(--rule-x) minmax(0, 1fr); }
.footer__who { padding: 0 24px 0 0; }
.footer__who .brand { padding-left: var(--gutter); }
.footer__legal { margin-top: 24px; padding-left: var(--gutter); color: var(--muted); font-size: 16px; line-height: 1.5; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 0 var(--gutter) 0 var(--gap); }
.footer__h { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.footer__col a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 500; text-decoration: none; background: linear-gradient(var(--ink), var(--ink)) 0 calc(50% + 11px) / 0 1px no-repeat; transition: background-size 0.45s var(--ease); overflow-wrap: anywhere; }
@media (hover: hover) { .footer__col a:hover { background-size: 100% 1px; } }
.footer__word { margin-top: clamp(40px, 8vh, 96px); padding-left: var(--gutter); font-size: 12.4vw; font-weight: 500; line-height: 0.85; letter-spacing: -0.05em; white-space: nowrap; color: var(--hair); user-select: none; }
.footer__copy { margin-top: 24px; padding: 0 var(--gutter); max-width: 80ch; font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: 1fr; padding: 0 var(--gutter); }
  .footer__copy { font-size: 16px; }
}

/* mobile book bar */
.book-bar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: block; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--hair); }
  .book-bar .btn { width: 100%; }
}

/* booking dialog */
.booking { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: var(--gutter); background: rgb(11 11 11 / 0.6); }
.booking__panel { position: relative; width: min(560px, 100%); max-height: 100%; overflow-y: auto; padding: clamp(24px, 4vw, 48px); background: var(--paper); outline: 0; }
.booking__close { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 0.3s, color 0.3s; }
@media (hover: hover) { .booking__close:hover { background: var(--ink); color: var(--paper); } }
.booking__title { margin-top: 36px; font-size: clamp(34px, 5vw, 56px); font-weight: 500; line-height: 0.92; letter-spacing: -0.05em; }
.booking__service { margin-top: 14px; font-size: 18px; color: var(--muted); }
.booking__service:empty { display: none; }
.booking__pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.booking__pick button { min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 15px; font-weight: 500; cursor: pointer; }
.booking__pick button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (hover: hover) { .booking__pick button:hover { background: var(--grey); } .booking__pick button[aria-pressed="true"]:hover { background: var(--ink); } }
.booking__links { margin-top: 28px; border-top: 1px solid var(--ink); }
.booking__link { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--hair); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; transition: background-color 0.35s var(--ease), padding 0.35s var(--ease); }
.booking__link span { transition: transform 0.45s var(--ease); }
@media (hover: hover) { .booking__link:hover { background: var(--grey); padding: 0 12px; } .booking__link:hover span { transform: translateX(6px); } }
.booking__link:focus-visible { background: var(--grey); outline-offset: -3px; }
@media (max-width: 700px) { .booking { align-items: flex-end; padding: 0; } .booking__panel { width: 100%; max-height: 92vh; } }
@media (prefers-reduced-motion: reduce) { * { transition-duration: 0s !important; } }
.price { padding-top: 0; }
.reel-act { padding: clamp(24px, 4vh, 48px) var(--gutter) 0; display: flex; justify-content: center; }

/* gift dialog */
.gift { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: var(--gutter); background: rgb(11 11 11 / 0.6); }
.gift__panel { position: relative; width: min(1040px, 100%); max-height: 100%; overflow-y: auto; padding: clamp(24px, 4vw, 48px); background: var(--paper); outline: 0; }
.gift__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: 40px; }
.gift__big { display: grid; place-items: center; min-height: 240px; background: var(--grey); }
.gift__big img { width: 100%; max-height: 62vh; object-fit: contain; }
/* business slideshow: fixed frame, frames crossfade on top of each other (js/booking.js) */
.gift__big--show { position: relative; display: block; height: min(62vh, 560px); overflow: hidden; }
.gift__big--show img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; opacity: 0; transition: opacity 0.9s var(--ease); }
.gift__big--show img.is-on { opacity: 1; }
@media (max-width: 700px) { .gift__big--show { height: 56vh; } }
.gift__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gift__thumbs button { width: 64px; height: 64px; padding: 0; border: 0; background: var(--grey); cursor: pointer; outline-offset: 2px; }
.gift__thumbs button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.gift__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gift__text .booking__title { margin-top: 0; }
.gift__desc { margin-top: 20px; font-size: 18px; line-height: 1.4; }
.gift__plates { margin-top: 20px; border-top: 1px solid var(--ink); }
.gift__plates li { padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: var(--fs-row); line-height: 1.3; }
.gift__plates li:first-child { font-size: clamp(28px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; padding: 14px 0 16px; }
.gift__line { margin-top: 16px; font-size: 16px; }
.gift__small { margin-top: 8px; font-size: 16px; color: var(--muted); }
@media (max-width: 700px) { .gift { align-items: flex-end; padding: 0; } .gift__panel { max-height: 94vh; } .gift__grid { grid-template-columns: 1fr; margin-top: 44px; } }

/* business dialogs */
.biz__h { margin: 28px 0 8px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.biz .gift__text ul, .biz__more ul { border-top: 1px solid var(--hair); }
.biz .gift__text li, .biz__more ul li { padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 17px; line-height: 1.35; }
.biz .gift__text p:not(.gift__desc) { font-size: 17px; line-height: 1.4; }
.biz__packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.biz__pack { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--grey); }
.biz__pack h4 { margin: 0; padding-right: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.biz__badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; line-height: 1; }
.biz__price { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.biz__who { color: var(--muted); font-size: 16px; }
.biz__pack ul { flex: 1; border-top: 1px solid var(--hair); }
.biz__pack li { padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 16px; line-height: 1.3; }
.biz__steps { list-style: decimal; padding-left: 1.4em; max-width: 70ch; }
.biz__steps li { padding: 6px 0; font-size: 17px; line-height: 1.4; }
.biz__book { margin-top: 28px; }
.biz-folders { padding-top: 0; }
@media (max-width: 800px) { .biz__packs { grid-template-columns: 1fr; } }

/* round 3: the rule stays out of media, folders, CTA and footer on inner pages */
.biz__portfolio { margin-top: 20px; }
.booking__panel, .gift__panel { overflow-y: auto; overscroll-behavior: contain; max-height: calc(100vh - 2 * var(--gutter)); max-height: calc(100dvh - 2 * var(--gutter)); }
@media (max-width: 700px) { .booking__panel, .gift__panel { max-height: 92vh; max-height: 92dvh; } }

/* the rule shows in section head bands and empty gutters; content blocks are opaque and cover it */
.biz-folders > .rule, .footer > .rule, .works:not(:has(> .split--head)) > .rule { display: none; }
.section:has(> .split--head) { padding-bottom: 0; }
:where(.section:has(> .split--head) > :not(.split)) { display: flow-root; } /* zero specificity: blocks with their own grid/flex keep it */
.section:has(> .split--head) > :not(.rule):not(.split--head) { background: var(--paper); padding-bottom: clamp(72px, 12vh, 160px); }
.screen.section:has(> .split--head) > :not(.rule):not(.split--head) { background: var(--ink); }

/* legal documents (politika, soglasie, reklama, oferta): same split column as the service pages */
.doc { padding-bottom: clamp(72px, 12vh, 160px); }
.doc__title { font-size: clamp(36px, 5.4vw, 88px); overflow-wrap: anywhere; }
.doc__body { max-width: 760px; margin-top: clamp(32px, 6vh, 64px); font-size: 17px; line-height: 1.55; }
.doc__body p { margin: 0 0 14px; }
.doc__body h2 { margin: 44px 0 14px; padding-top: 14px; border-top: 1px solid var(--ink); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.doc__body a { text-decoration: underline; text-underline-offset: 3px; }
.doc__body table { width: 100%; margin: 8px 0 20px; border-collapse: collapse; font-size: 15px; }
.doc__body td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); vertical-align: top; overflow-wrap: anywhere; }

/* cookie banner (js/site.js): small card in the bottom-left corner, away from the centred hero buttons;
   on phones it takes the book bar's place at the bottom until accepted, so the two never stack */
.ck { position: fixed; z-index: 70; left: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 420px; display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--ink); font-size: 14px; line-height: 1.4; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.ck[hidden] { display: none; }
.ck.is-out { opacity: 0; transform: translateY(12px); }
.ck__t { flex: 1; min-width: 0; }
.ck__t a { text-decoration: underline; text-underline-offset: 3px; }
.ck .btn { flex: none; }
html.ck-open .book-bar { display: none; }
@media (max-width: 700px) { .ck { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: none; padding: 12px 14px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .ck { transition: none; } }

/* colleagues page (kollegam.html) */
.co-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.co-price { font-size: var(--fs-md); font-weight: 500; letter-spacing: -0.02em; }
.co-list { counter-reset: co; margin: 0; padding: 0 var(--gutter) 0 calc(var(--rule-x) + var(--gap)); list-style: none; }
.co-list li { counter-increment: co; display: grid; grid-template-columns: 3ch minmax(0, 1fr); gap: 12px; max-width: 60ch; padding: 18px 0; border-top: 1px solid var(--hair); font-size: var(--fs-md); line-height: 1.25; letter-spacing: -0.02em; }
.co-list li::before { content: counter(co, decimal-leading-zero); color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .co-list { padding: 0 var(--gutter); } }
@media (max-width: 700px) { .page-head .split__side:not(:empty) { margin-bottom: 20px; } }
