/* fp.css — fullPage front. Источник: design/ui_kits/website/{fullpage-home,page,shop}.css. Правки — только адаптация путей; визуальные изменения фиксировать в docs/design/DEVIATIONS.md */

/* ===== fullpage-home.css ===== */

/* =====================================================================
   Kocerova — fullPage home (slider between sections)
   Built on the design-system tokens in ../../colors_and_type.css.
   Turquoise sections re-scope tokens locally, so children stay
   consistent in BOTH light and dark themes.
   ===================================================================== */

*{box-sizing:border-box}
html,body{margin:0;padding:0;height:100%;overflow-x:clip;max-width:100%}
body{background:var(--paper);color:var(--ink);font-family:var(--font-sans);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font-family:inherit}

/* ---------- section shell ---------- */
/* fullPage v4 wraps each section's children in .fp-overflow, which is a
   shrink-to-fit item inside this flex section — so .k-inner{width:100%} would
   resolve against the wrapper's max-content width and every authored max-width
   would be unreachable (and content-dependent per slide). display:contents
   removes the wrapper from layout so .k-inner spans the section. */
.k-section > .fp-overflow{display:contents}
.k-section{display:flex;align-items:center;justify-content:center;text-align:center;background:var(--paper);color:var(--ink);transition:background var(--dur) var(--ease)}
.k-inner{width:100%;max-width:var(--maxw);margin:0 auto;padding:clamp(112px,15vh,156px) var(--gutter) clamp(84px,12vh,120px)}
.k-hero .k-inner{padding:0}

/* light-panel panels — local token scope (page 8 of the deck) */
.k-turq{--paper:#FAFAFA;--paper-2:#F2F2F2;--paper-3:#EAEAEA;--canvas:#FFFFFF;--ink:#0A0A0A;--ink-2:#3D3D3D;--ink-3:#666666;--ink-4:#9A9A9A;--line:#E2E2E2;--line-strong:#C9C9C9;--line-faint:#EDEDED}

/* ---------- type ---------- */
.k-eyebrow{font-size:var(--t-eyebrow);font-weight:700;letter-spacing:var(--tr-eyebrow);text-transform:uppercase;color:var(--ink-3)}
.k-h2{font-family:var(--font-display);font-weight:800;font-size:clamp(28px,3.4vw,var(--t-h2));line-height:1.14;letter-spacing:-.01em;color:var(--ink);margin:14px 0 0}
.k-head{margin-bottom:clamp(20px,3.6vh,48px)}
.k-cap{font-size:13px;letter-spacing:.06em;color:var(--ink-3);margin:22px 0 0}

/* ---------- fixed chrome ---------- */
.k-chrome-btn{position:fixed;z-index:80;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--ink-2);cursor:pointer;border-radius:var(--r-sm);transition:color var(--dur-fast) var(--ease),background var(--dur-fast) var(--ease)}
.k-chrome-btn:hover{color:var(--ink);background:var(--paper-2)}
.k-chrome-btn svg{width:22px;height:22px;stroke-width:1.5}
.k-menu-btn{top:26px;left:26px}
.k-theme-btn{top:26px;right:26px}
html:not([data-theme="dark"]) .ico-sun{display:none}
html[data-theme="dark"] .ico-moon{display:none}

/* brand: centred & large on the hero, small at the top afterwards */
.k-brand{position:fixed;z-index:55;left:50%;top:0;transform:translate(-50%,calc(50vh - 50%)) scale(1);transform-origin:50% 50%;transition:transform 900ms var(--ease-out);pointer-events:none}
/* the wordmark is ~5.6:1, so on a phone it must be capped by WIDTH — sizing by
   height alone made it ~474px wide on a 390px screen and pushed the page out.
   Constrain ONE axis only: resolving both lets object-fit:fill stretch the SVG. */
.k-brand img{display:block;height:clamp(84px,11vw,132px);width:auto;max-width:min(74vw,744px)}
body.past-hero .k-brand{transform:translate(-50%,-5px) scale(.4)}
html:not([data-theme="dark"]) .logo-dark{display:none}
html[data-theme="dark"] .logo-light{display:none}
body[data-panel="turq"] .logo-dark{display:none}
body[data-panel="turq"] .logo-light{display:block}

/* bottom chrome — appears from section 2 on */
.k-cta,.k-social{position:fixed;bottom:30px;z-index:58;opacity:0;transform:translateY(12px);transition:opacity var(--dur-slow) var(--ease-out),transform var(--dur-slow) var(--ease-out);pointer-events:none}
.k-cta{left:30px}
.k-social{right:30px;display:flex;gap:6px}
body.past-hero .k-cta,body.past-hero .k-social{opacity:1;transform:none;pointer-events:auto}
/* CTA is an icon button, same treatment as the menu / theme / social icons */
.k-cta{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;color:var(--ink-2);border-radius:var(--r-sm);transition:opacity var(--dur-slow) var(--ease-out),transform var(--dur-slow) var(--ease-out),color var(--dur-fast) var(--ease),background var(--dur-fast) var(--ease)}
.k-cta:hover{color:var(--ink);background:var(--paper-2)}
.k-cta svg{width:21px;height:21px;stroke-width:1.5}
.k-social a{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;color:var(--ink-2);border-radius:var(--r-sm);transition:color var(--dur-fast) var(--ease),background var(--dur-fast) var(--ease)}
.k-social a:hover{color:var(--ink);background:var(--paper-2)}
.k-social svg{width:21px;height:21px;stroke-width:1.5}

/* on a light-panel panel the fixed chrome must read dark */
body[data-panel="turq"] .k-chrome-btn,body[data-panel="turq"] .k-social a,body[data-panel="turq"] .k-cta{color:#3D3D3D}
body[data-panel="turq"] .k-chrome-btn:hover,body[data-panel="turq"] .k-social a:hover,body[data-panel="turq"] .k-cta:hover{color:#0A0A0A;background:rgba(10,10,10,.06)}

/* scroll cue on the hero */
.k-cue{position:fixed;left:50%;bottom:34px;z-index:56;transform:translateX(-50%);color:var(--ink-4);transition:opacity var(--dur) var(--ease)}
.k-cue svg{width:22px;height:22px;stroke-width:1.5;animation:cue 1.9s var(--ease-out) infinite}
@keyframes cue{0%,100%{transform:translateY(0);opacity:.55}50%{transform:translateY(6px);opacity:1}}
body.past-hero .k-cue{opacity:0;pointer-events:none}

/* ---------- section 2 · composite ---------- */
.k-echoes img{display:block;margin:0 auto;max-width:min(1080px,100%);max-height:clamp(160px,44vh,600px);width:auto;height:auto;border:1px solid var(--line)}

/* ---------- section 3 · services ---------- */
.k-svc{display:grid;grid-template-columns:repeat(2,1fr);column-gap:clamp(24px,4vw,64px);max-width:1020px;margin:0 auto;text-align:left}
.k-svc-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:clamp(12px,2vh,20px) 2px;border-top:1px solid var(--line);cursor:pointer;text-decoration:none;color:inherit}
.k-svc-sec .k-inner{display:flex;flex-direction:column;align-items:center;justify-content:center}
.k-svc-sec .k-svc{width:100%;max-width:1020px}
.k-svc-sec .b-link{margin-top:clamp(16px,2.6vh,30px)}
.k-svc-row span{font-family:var(--font-display);font-size:clamp(17px,1.5vw,21px);font-weight:700;color:var(--ink);transition:opacity var(--dur-fast) var(--ease)}
.k-svc-row svg{width:18px;height:18px;stroke-width:1.5;color:var(--ink-3);transition:transform var(--dur) var(--ease)}
.k-svc-row:hover span{opacity:.6}
.k-svc-row:hover svg{transform:translate(3px,-3px)}

/* ---------- section 4 · exhibitions ---------- */
.k-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2.4vw,34px);max-width:min(1080px,92vh);margin:0 auto}
.k-card{cursor:pointer;text-align:left;text-decoration:none;color:inherit;display:block}
.k-exh .k-inner{display:flex;flex-direction:column;align-items:center;justify-content:center}
.k-exh .k-cards{width:100%}
.k-exh .b-link{margin-top:clamp(14px,2.4vh,26px)}
.k-card .mat{background:var(--canvas);border:1px solid var(--line);padding:10px;transition:box-shadow var(--dur) var(--ease)}
.k-card:hover .mat{box-shadow:var(--sh-2)}
.k-card .shot{aspect-ratio:2/3;overflow:hidden}
.k-card .shot img{width:100%;height:100%;object-fit:contain;display:block;transition:transform var(--dur-slow) var(--ease-out)}
.k-card:hover .shot img{transform:scale(1.02)}
/* the caption block gets a RESERVED height (worst case: 2-line location,
   2-line title) so every title and date shares a baseline across the row —
   free height here stair-steps the dates even when the frames are equal */
.k-card .who{font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);margin-top:14px;line-height:1.3;min-height:2.6em}
.k-card .ttl{font-family:var(--font-display);font-size:16px;font-weight:700;color:var(--ink);margin-top:6px;line-height:1.3;min-height:2.6em}
.k-card .meta{font-size:12px;color:var(--ink-3);margin-top:5px}

/* ---------- section 5 · insights ---------- */
.k-rows{max-width:960px;margin:0 auto;text-align:left}
.k-row{display:grid;grid-template-columns:104px 1fr auto;gap:26px;align-items:baseline;padding:clamp(14px,2.2vh,22px) 2px;border-top:1px solid var(--line);cursor:pointer}
.k-row .date{font-size:12.5px;color:var(--ink-3)}
.k-row .ih{font-family:var(--font-display);font-size:clamp(16px,1.5vw,20px);font-weight:700;color:var(--ink);line-height:1.3;transition:opacity var(--dur-fast) var(--ease)}
.k-row:hover .ih{opacity:.6}
.k-row .cat{font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-4)}

/* ---------- section brief slides (one per site section) ---------- */
.k-brief .k-inner{display:flex;align-items:center;justify-content:center;text-align:center}
/* width:100% so the body fills up to its max-width — as a flex item it would
   otherwise shrink to content and each slide would render a different width */
.k-brief .b-body{width:100%;max-width:56ch}
.k-brief-wide .b-body{width:100%;max-width:min(920px,100%)}
.k-brief-wide .b-desc{max-width:60ch;margin-left:auto;margin-right:auto}

/* three latest items inside a brief slide */
.b-list{margin:clamp(14px,2.4vh,26px) auto 0;text-align:left}
.b-row{display:grid;grid-template-columns:104px 1fr auto;gap:clamp(12px,2vw,26px);align-items:baseline;
  padding:clamp(10px,1.7vh,16px) 2px;border-top:1px solid var(--line);text-decoration:none;cursor:pointer}
.b-row:last-child{border-bottom:1px solid var(--line)}
.b-date{font-family:var(--font-sans);font-size:12px;color:var(--ink-3);white-space:nowrap}
.b-ttl{font-family:var(--font-display);font-size:clamp(14px,1.9vh,19px);font-weight:800;line-height:1.3;
  color:var(--ink);letter-spacing:-.01em;transition:opacity var(--dur-fast) var(--ease)}
.b-row:hover .b-ttl{opacity:.6}
.b-cat{font-family:var(--font-sans);font-size:10px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--ink-4);white-space:nowrap}
@media(max-width:760px){
  .b-row{grid-template-columns:1fr;gap:4px}
  .b-cat{display:none}
}
.b-title{font-family:var(--font-display);font-weight:800;font-size:clamp(26px,min(4vw,5vh),52px);
  line-height:1.08;letter-spacing:-.02em;color:var(--ink);margin:clamp(10px,2vh,18px) 0 0}
.b-desc{font-family:var(--font-serif);font-size:clamp(13px,min(1.2vw,2vh),18px);line-height:1.68;
  color:var(--ink-2);margin:clamp(12px,2.2vh,22px) auto 0}
.b-link{display:inline-flex;align-items:center;gap:9px;margin-top:clamp(16px,2.8vh,30px);
  font-family:var(--font-sans);font-size:13.5px;font-weight:700;letter-spacing:.02em;
  color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line-strong);padding-bottom:4px;
  transition:border-color var(--dur-fast) var(--ease)}
.b-link:hover{border-bottom-color:var(--ink)}
.b-link svg{width:15px;height:15px;stroke-width:1.5;transition:transform var(--dur) var(--ease)}
.b-link:hover svg{transform:translateX(3px)}
.k-echoes .b-link{margin-top:clamp(12px,2.2vh,22px)}

/* ---------- fullscreen menu ---------- */
.k-nav{position:fixed;inset:0;z-index:70;background:var(--paper);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity var(--dur) var(--ease),visibility var(--dur)}
body.menu-open .k-nav{opacity:1;visibility:visible}
.k-nav ul{list-style:none;margin:0;padding:110px 0 40px;display:flex;flex-direction:column;align-items:center;gap:clamp(6px,1.4vh,14px);max-height:100vh;overflow-y:auto}
.k-nav a{font-family:var(--font-display);font-size:clamp(20px,2.9vw,34px);font-weight:800;letter-spacing:-.01em;color:var(--ink);opacity:0;transform:translateY(14px);transition:opacity 420ms var(--ease-out),transform 420ms var(--ease-out)}
.k-nav a:hover{opacity:.55!important}
body.menu-open .k-nav a{opacity:1;transform:none}
body.menu-open .k-nav li:nth-child(1) a{transition-delay:80ms}
body.menu-open .k-nav li:nth-child(2) a{transition-delay:140ms}
body.menu-open .k-nav li:nth-child(3) a{transition-delay:200ms}
body.menu-open .k-nav li:nth-child(4) a{transition-delay:260ms}
body.menu-open .k-nav li:nth-child(5) a{transition-delay:320ms}
body.menu-open .k-nav li:nth-child(6) a{transition-delay:380ms}
body.menu-open .k-nav li:nth-child(7) a{transition-delay:440ms}
body.menu-open .k-nav li:nth-child(8) a{transition-delay:500ms}
body.menu-open .k-nav li:nth-child(9) a{transition-delay:560ms}
body.menu-open .k-nav li:nth-child(10) a{transition-delay:620ms}
body.menu-open .k-nav li:nth-child(11) a{transition-delay:680ms}
/* the menu covers everything, so the chrome above it reverts to theme colours */
body.menu-open .k-chrome-btn{color:var(--ink-2)}
body.menu-open .k-brand,body.menu-open .k-cta,body.menu-open .k-social,body.menu-open .k-cue{opacity:0;pointer-events:none}
body.menu-open #fp-nav{opacity:0;pointer-events:none}

/* ---------- fullPage dots ---------- */
#fp-nav.fp-right{right:14px}
#fp-nav ul li a span,.fp-slidesNav ul li a span{background:var(--ink-4)}
#fp-nav ul li a.active span{background:var(--ink)}
body[data-panel="turq"] #fp-nav ul li a span{background:#8A8A8A}
body[data-panel="turq"] #fp-nav ul li a.active span{background:#0A0A0A}

/* ---------- responsive ---------- */
/* Short viewports (laptops in landscape, the preview pane): three true 2:3
   posters plus captions cannot fit under a stacked heading in ~320px of height,
   so the exhibitions section switches to heading-left / posters-right and spends
   the spare WIDTH instead — the posters stay readable and clear the compact
   brand above and the fixed chrome below. At >=640px tall nothing changes. */
@media(max-height:640px){
  .k-inner{padding:118px var(--gutter) 104px}
  .k-head{margin-bottom:14px}
  .k-exh .k-inner{display:flex;align-items:center;gap:26px;text-align:left}
  .k-exh .k-head{margin:0;flex:0 0 300px}
  .k-exh .k-cards{max-width:none;flex:1;gap:16px}
  .k-exh .k-card .who{margin-top:8px;font-size:9.5px}
  .k-exh .k-card .ttl{font-size:12.5px;margin-top:3px}
  .k-exh .k-card .meta{font-size:10.5px;margin-top:2px}
}
@media(max-width:900px){
  .k-svc,.k-cards{grid-template-columns:1fr}
  .k-cards{max-width:320px}
  .k-card:nth-child(n+3){display:none}
  .k-row{grid-template-columns:1fr;gap:5px}
  .k-inner{padding:118px var(--gutter) 104px}
  .k-menu-btn{top:18px;left:16px}
  .k-theme-btn{top:18px;right:16px}
  .k-cta{left:16px;bottom:20px}
  .k-social{right:16px;bottom:20px}
}
@media(max-width:640px){
  .k-cards{max-width:230px}
  body.past-hero .k-brand{transform:translate(-50%,16px) scale(.4)}
  .k-brand img{height:auto;width:min(62vw,420px);max-width:none}
}
/* phones: keep the fixed chrome tight and the compact wordmark inside the row */
@media(max-width:480px){
  .k-menu-btn{top:12px;left:8px}
  .k-theme-btn{top:12px;right:8px}
  .k-cta{left:10px;bottom:14px}
  .k-social{right:10px;bottom:14px}
  .k-chrome-btn,.k-cta,.k-social a{width:36px;height:36px}
  .k-chrome-btn svg,.k-cta svg,.k-social svg{width:19px;height:19px}
  .k-brand img{height:auto;width:min(52vw,320px);max-width:none}
  body.past-hero .k-brand{transform:translate(-50%,14px) scale(.52)}
  #fp-nav.fp-right{right:6px}
}

/* ===== page.css ===== */

/* =====================================================================
   Kocerova — inner pages as fullPage sliders.
   Loads AFTER fullpage-home.css and reuses its fixed chrome (menu /
   theme buttons, compact brand, CTA, socials, fullscreen menu, dots).
   This file only adds the inner-page section content.

   Long-form sections get class="k-scroll" on their .k-inner: the slide
   keeps its viewport height and the copy scrolls inside it (page.js
   registers .k-scroll with fullPage's normalScrollElements so the wheel
   is not hijacked).
   ===================================================================== */

/* ---------- section shell ----------
   .k-section centres its .k-inner (align-items:center), so an inner taller than
   the viewport is centred and its protective PADDING is pushed off-screen —
   which is how headings ended up printing over the fixed logo band. The guard
   therefore has to be structural on EVERY inner, not just the long-form ones:
   margins reserve the chrome band, max-height caps the box, and overflow-y
   turns any excess into a scroll inside the slide (page.js registers .k-inner
   with fullPage's normalScrollElements so the wheel reaches it). */
.k-inner{position:relative;padding-block:0;margin-block:118px 104px;
  max-height:calc(100% - 222px);overflow-y:auto;scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.k-inner::-webkit-scrollbar{width:6px}
.k-inner::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:3px}
/* faint cue — attached to measured scrollability (page.js toggles the class),
   never to an authored guess, so it always matches real overflow */
.k-inner.is-scrollable::after{content:"";position:sticky;bottom:0;left:0;display:block;height:30px;
  margin-top:-30px;background:linear-gradient(to bottom,transparent,var(--paper));pointer-events:none}

/* ---------- page title slide ---------- */
.k-title-sec .k-inner{max-width:940px;text-align:center}
.k-h1{font-family:var(--font-display);font-weight:800;font-size:clamp(30px,min(4.4vw,5.4vh),58px);
  line-height:1.08;letter-spacing:-.02em;color:var(--ink);margin:clamp(12px,2vh,20px) 0 0}
.k-lead{font-family:var(--font-serif);font-size:clamp(14px,min(1.2vw,2vh),19px);line-height:1.68;
  color:var(--ink-2);margin:clamp(14px,2.4vh,24px) auto 0;max-width:62ch}
.k-title-sec .k-eyebrow{justify-content:center}
/* awaiting-copy state — a slide whose text has been removed pending new copy */
.k-awaiting{font-family:var(--font-sans);font-size:12.5px;letter-spacing:.04em;color:var(--ink-4);
  border:1px dashed var(--line-strong);border-radius:var(--r-sm);padding:13px 18px;
  margin:clamp(20px,3.4vh,34px) auto 0;max-width:44ch}

/* ---------- filter chips ---------- */
.k-seg{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 0 clamp(18px,3vh,34px)}
.k-seg button,.k-seg a{font-family:var(--font-sans);font-size:12.5px;font-weight:700;letter-spacing:.02em;
  padding:9px 15px;border-radius:var(--r-pill);border:1px solid var(--line-strong);background:transparent;
  color:var(--ink-2);cursor:pointer;transition:border-color var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease)}
.k-seg button:hover,.k-seg a:hover{border-color:var(--ink-3);color:var(--ink)}
.k-seg button.on,.k-seg a.on{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* ---------- generic list rows (insights, publications, news) ---------- */
.k-list{max-width:1000px;margin:0 auto;text-align:left}
.k-list .k-row{grid-template-columns:110px 1fr auto}
.k-row .pub-src{display:block;font-family:var(--font-sans);font-size:12px;font-weight:400;
  color:var(--ink-3);margin-top:5px;letter-spacing:.01em}

/* ---------- news: featured note ---------- */
.k-feature{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(24px,3.4vw,52px);align-items:center;
  max-width:1080px;margin:0 auto;text-align:left}
.k-feature .mat{background:var(--canvas);border:1px solid var(--line);padding:12px}
.k-feature .mat img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.k-feature .meta{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.k-feature h2{font-family:var(--font-display);font-weight:800;font-size:clamp(22px,min(2.6vw,3.2vh),34px);
  line-height:1.14;letter-spacing:-.01em;color:var(--ink);margin:12px 0 0}
.k-feature p{font-family:var(--font-serif);font-size:clamp(13px,1.7vh,16px);line-height:1.68;
  color:var(--ink-2);margin:14px 0 0}

/* ---------- long-form article ---------- */
.k-article{max-width:70ch;margin:0 auto;text-align:left}
.k-article h2{font-family:var(--font-display);font-weight:800;font-size:clamp(22px,2.6vw,32px);
  letter-spacing:-.01em;color:var(--ink);margin:0}
.k-article .byline{font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-3);margin:10px 0 22px}
.k-article p{font-family:var(--font-serif);font-size:16px;line-height:1.8;color:var(--ink-2);margin:0 0 18px}
.k-article h3{font-family:var(--font-display);font-weight:800;font-size:20px;color:var(--ink);margin:30px 0 12px}
.k-article blockquote{margin:26px 0;padding:2px 0 2px 20px;border-left:2px solid var(--ink);
  font-family:var(--font-serif);font-style:italic;font-size:17px;line-height:1.7;color:var(--ink)}
.k-article ul{margin:0 0 18px;padding-left:20px}
.k-article li{font-family:var(--font-serif);font-size:16px;line-height:1.75;color:var(--ink-2);margin-bottom:8px}

/* ---------- cards: guides / expertise ---------- */
.k-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,1.8vw,26px);max-width:1100px;margin:0 auto;text-align:left}
.k-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(20px,3vw,52px);max-width:1000px;margin:0 auto;text-align:left}
.k-card2{position:relative;background:var(--canvas);border:1px solid var(--line);padding:clamp(16px,2.2vh,26px);cursor:pointer;
  transition:border-color var(--dur-fast) var(--ease)}
.k-card2:hover{border-color:var(--ink-3)}
.k-card2 .num{font-size:11px;font-weight:700;letter-spacing:.14em;color:var(--ink-4)}
.k-card2 h3{font-family:var(--font-display);font-weight:800;font-size:clamp(15px,2vh,19px);
  color:var(--ink);margin:8px 0 0;letter-spacing:-.01em}
.k-card2 p{font-family:var(--font-serif);font-size:clamp(12px,1.6vh,14.5px);line-height:1.62;
  color:var(--ink-2);margin:9px 0 0}
.k-card2 svg{position:absolute;top:clamp(16px,2.2vh,26px);right:clamp(16px,2.2vh,26px);width:16px;height:16px;
  stroke-width:1.5;color:var(--ink-4);transition:transform var(--dur) var(--ease)}
.k-card2:hover svg{transform:translate(3px,-3px);color:var(--ink-2)}
/* production: некликабельные карточки — кит ставил инлайн cursor:default (DEVIATIONS #4) */
div.k-card2{cursor:default}

/* ---------- method / numbered steps ---------- */
.k-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(22px,3.4vw,48px);max-width:1040px;margin:0 auto;text-align:left}
.k-steps .n{font-family:var(--font-display);font-size:clamp(28px,4.4vh,42px);font-weight:800;color:var(--ink-4)}
.k-steps hr{border:none;border-top:1px solid var(--line);margin:12px 0 15px}
.k-steps h3{font-family:var(--font-display);font-weight:800;font-size:clamp(16px,2.2vh,21px);color:var(--ink);margin:0 0 8px}
.k-steps p{font-family:var(--font-serif);font-size:clamp(12.5px,1.6vh,15px);line-height:1.68;color:var(--ink-2);margin:0}

/* ---------- services rows ---------- */
.k-svc2{max-width:1000px;margin:0 auto;text-align:left}
.k-svc2 .r{display:grid;grid-template-columns:34px 1fr 1.15fr;gap:clamp(14px,2vw,30px);align-items:baseline;
  padding:clamp(13px,2.1vh,20px) 2px;border-top:1px solid var(--line)}
.k-svc2 .r:last-child{border-bottom:1px solid var(--line)}
.k-svc2 .n{font-size:11px;font-weight:700;color:var(--ink-4);letter-spacing:.1em}
.k-svc2 h3{font-family:var(--font-display);font-weight:800;font-size:clamp(15px,2.1vh,21px);
  color:var(--ink);margin:0;letter-spacing:-.01em}
.k-svc2 p{font-family:var(--font-serif);font-size:clamp(12px,1.6vh,14.5px);line-height:1.6;color:var(--ink-2);margin:0}
.k-svc2 .feats{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.k-svc2 .feats span{font-family:var(--font-sans);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-3);border:1px solid var(--line);border-radius:var(--r-pill);padding:3px 9px}

/* ---------- timeline ---------- */
.k-tl{max-width:760px;margin:0 auto;text-align:left}
.k-tl .r{display:grid;grid-template-columns:88px 1fr;gap:clamp(16px,2.4vw,28px);align-items:baseline;
  padding:clamp(13px,2.2vh,20px) 0;border-top:1px solid var(--line)}
.k-tl .y{font-family:var(--font-display);font-size:clamp(17px,2.6vh,24px);font-weight:800;color:var(--ink-4)}
.k-tl .t{font-family:var(--font-serif);font-size:clamp(13px,1.8vh,16px);line-height:1.6;color:var(--ink)}

/* ---------- credential lists ---------- */
.k-cred{list-style:none;margin:14px 0 0;padding:0}
.k-cred li{display:flex;gap:11px;align-items:flex-start;padding:11px 0;border-top:1px solid var(--line-faint)}
.k-cred li svg{width:15px;height:15px;stroke-width:1.75;color:var(--ink-3);flex:none;margin-top:3px}
.k-cred li span{font-family:var(--font-serif);font-size:clamp(13px,1.7vh,15.5px);line-height:1.6;color:var(--ink-2)}

/* ---------- about: portrait + bio ---------- */
.k-bio{display:grid;grid-template-columns:0.82fr 1.18fr;gap:clamp(24px,3.6vw,56px);align-items:center;
  max-width:1060px;margin:0 auto;text-align:left}
.k-bio .mat{background:#FAFAFA;border:1px solid var(--line);padding:12px}
.k-bio .mat img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}
.k-bio .plate{aspect-ratio:4/5;background:linear-gradient(150deg,#F0F0F0,#DCDCDC);display:flex;
  align-items:center;justify-content:center;font-family:var(--font-display);font-size:34px;font-weight:800;color:#C4C4C4}
.k-bio .note{font-size:11.5px;color:var(--ink-3);margin-top:10px}
.k-bio .quote{font-family:var(--font-serif);font-size:clamp(14px,2vh,18px);line-height:1.75;color:var(--ink-2);margin:0}
.k-bio .bio-p{font-family:var(--font-serif);font-size:clamp(12.5px,1.7vh,15px);line-height:1.72;
  color:var(--ink-3);margin:clamp(10px,1.8vh,16px) 0 0}

/* ---------- artwork cards (exhibitions / private) ---------- */
.k-works{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2.4vw,34px);max-width:min(1080px,92vh);margin:0 auto}
.k-works.two{grid-template-columns:repeat(2,1fr);max-width:min(880px,96vh)}
.k-work{cursor:pointer;text-align:left}
.k-work .mat{background:#FAFAFA;border:1px solid var(--line);padding:10px;transition:box-shadow var(--dur) var(--ease)}
.k-work:hover .mat{box-shadow:var(--sh-2)}
.k-work .shot{aspect-ratio:2/3;overflow:hidden}
.k-work .shot img{width:100%;height:100%;object-fit:contain;display:block;transition:transform var(--dur-slow) var(--ease-out)}
.k-work:hover .shot img{transform:scale(1.02)}
.k-work .shot .plate{width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(150deg,#F0F0F0,#DCDCDC);font-family:var(--font-display);font-size:26px;font-weight:800;color:#C4C4C4}
.k-work .who{font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);margin-top:13px}
.k-work .ttl{font-family:var(--font-display);font-size:clamp(13px,1.9vh,16px);font-weight:800;color:var(--ink);margin-top:5px;line-height:1.3}
.k-work .meta{font-size:11.5px;color:var(--ink-3);margin-top:4px}
.k-pill{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  border-radius:var(--r-pill);padding:3px 9px;border:1px solid var(--line-strong);color:var(--ink-2)}
.k-pill.solid{background:var(--ink);border-color:var(--ink);color:var(--paper)}
/* production: отступ пилюли в карточке — замена инлайн-стиля кита (DEVIATIONS #1) */
.k-work .k-pill{margin-top:12px}

/* ---------- contact ---------- */
.k-contact{display:grid;grid-template-columns:0.8fr 1.2fr;gap:clamp(28px,4vw,64px);align-items:start;
  max-width:1060px;margin:0 auto;text-align:left}
.k-meta .m{padding:clamp(9px,1.6vh,14px) 0;border-top:1px solid var(--line)}
.k-meta .k{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-4)}
.k-meta .v{font-family:var(--font-serif);font-size:clamp(13px,1.8vh,16px);color:var(--ink);margin-top:4px}
.k-note{display:flex;gap:10px;align-items:flex-start;margin-top:20px}
.k-note svg{width:16px;height:16px;stroke-width:1.5;color:var(--ink-3);flex:none;margin-top:2px}
.k-note p{font-family:var(--font-serif);font-size:12.5px;line-height:1.6;color:var(--ink-3);margin:0}
.k-form{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,1.8vh,18px)}
.k-form .full{grid-column:1/-1}
.k-fld{display:flex;flex-direction:column;gap:6px}
.k-fld label{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3)}
.k-fld input,.k-fld textarea,.k-fld select{font-family:var(--font-sans);font-size:14px;color:var(--ink);background:var(--canvas);
  border:1px solid var(--line-strong);border-radius:var(--r-sm);padding:11px 12px;width:100%;box-sizing:border-box}
.k-fld textarea{min-height:clamp(70px,14vh,120px);resize:vertical;line-height:1.5}
.k-fld input:focus,.k-fld textarea:focus,.k-fld select:focus{outline:none;border-color:var(--ink-3);box-shadow:0 0 0 3px var(--focus-ring)}
.k-fld .err{font-size:12px;color:var(--error);min-height:15px}
.k-sent2{display:flex;gap:11px;align-items:flex-start;font-family:var(--font-serif);font-size:14.5px;line-height:1.6;
  color:var(--ok);background:var(--ok-bg);border-radius:var(--r-sm);padding:16px 17px}
.k-sent2 svg{width:17px;height:17px;stroke-width:1.75;flex:none;margin-top:2px}

/* ---------- private-sales gate ---------- */
.k-gate{max-width:430px;margin:0 auto;text-align:center}
.k-gate .ring{width:52px;height:52px;border:1px solid var(--line-strong);border-radius:50%;display:flex;
  align-items:center;justify-content:center;margin:0 auto 20px}
.k-gate .ring svg{width:21px;height:21px;stroke-width:1.5;color:var(--ink-2)}
.k-gate p{font-family:var(--font-serif);font-size:14.5px;line-height:1.65;color:var(--ink-2);margin:0 auto 24px;max-width:40ch}
.k-gate .row{display:flex;gap:9px}
.k-gate input{flex:1;font-family:var(--font-sans);font-size:14px;color:var(--ink);background:var(--canvas);
  border:1px solid var(--line-strong);border-radius:var(--r-sm);padding:12px 13px}
.k-gate input:focus{outline:none;border-color:var(--ink-3);box-shadow:0 0 0 3px var(--focus-ring)}
.k-gate .hint{font-size:11.5px;color:var(--ink-4);margin-top:14px}
.k-gate .err{font-size:12.5px;color:var(--error);min-height:16px;margin-top:10px}

/* ---------- article reader (opens on clicking a news item) ----------
   Not a slide: a full-screen overlay above the slider, like the nav menu.
   No transition on the panel — a throttled animation clock strands
   opacity/transform mid-flight (same failure class as the split logo). */
.k-reader{position:fixed;inset:0;z-index:75;background:var(--paper);display:none;overflow-y:auto;
  -webkit-overflow-scrolling:touch}
body.reader-open .k-reader{display:block}
.k-reader-body{max-width:70ch;margin:0 auto;padding:clamp(96px,14vh,132px) var(--gutter) clamp(72px,12vh,104px);text-align:left}
.k-reader-close{position:fixed;top:26px;right:26px;z-index:76;width:40px;height:40px;display:inline-flex;
  align-items:center;justify-content:center;border:none;background:transparent;color:var(--ink-2);
  cursor:pointer;border-radius:var(--r-sm)}
.k-reader-close:hover{color:var(--ink);background:var(--paper-2)}
.k-reader-close svg{width:22px;height:22px;stroke-width:1.5}
/* the reader covers everything, so the page chrome underneath is hidden */
body.reader-open .k-brand,body.reader-open .k-cta,body.reader-open .k-social,
body.reader-open .k-chrome-btn,body.reader-open #fp-nav{opacity:0;pointer-events:none}
/* clickable news items */
[data-article]{cursor:pointer}

/* ---------- services: card layout ---------- */
.k-svc3{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(16px,2.4vw,34px) clamp(24px,4vw,64px);
  max-width:1020px;margin:0 auto;text-align:left}
.k-svc3 .s3{padding-top:clamp(12px,2vh,18px);border-top:1px solid var(--line)}
.k-svc3 .s3-n{font-family:var(--font-sans);font-size:10.5px;font-weight:700;letter-spacing:.16em;color:var(--ink-4)}
.k-svc3 h3{font-family:var(--font-display);font-weight:800;font-size:clamp(16px,2.3vh,22px);
  letter-spacing:-.01em;color:var(--ink);margin:clamp(6px,1.2vh,10px) 0 0}
.k-svc3 p{font-family:var(--font-serif);font-size:clamp(12.5px,1.7vh,15px);line-height:1.68;
  color:var(--ink-2);margin:clamp(7px,1.4vh,11px) 0 0;max-width:46ch}
.k-svc3 .feats{display:flex;flex-wrap:wrap;gap:7px;margin-top:clamp(8px,1.4vh,12px)}
.k-svc3 .feats span{font-family:var(--font-sans);font-size:10px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-3);border:1px solid var(--line);border-radius:var(--r-pill);padding:3px 9px}

/* ---------- exhibitions: featured upcoming show ---------- */
.k-upcoming{display:grid;grid-template-columns:0.72fr 1.28fr;gap:clamp(22px,3.4vw,52px);align-items:center;
  max-width:1040px;margin:0 auto;text-align:left}
.k-upcoming .mat{background:#FAFAFA;border:1px solid var(--line);padding:10px}
.k-upcoming .mat img{display:block;width:100%;aspect-ratio:2/3;object-fit:contain}
.k-upcoming .u-title{font-family:var(--font-display);font-weight:800;
  font-size:clamp(21px,min(2.7vw,3.4vh),34px);line-height:1.12;letter-spacing:-.01em;color:var(--ink);margin:12px 0 0}
.k-upcoming .u-meta{font-family:var(--font-sans);font-size:11.5px;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--ink-3);margin:10px 0 0}
.k-upcoming .u-desc{font-family:var(--font-serif);font-size:clamp(13px,1.8vh,16px);line-height:1.7;
  color:var(--ink-2);margin:clamp(10px,1.8vh,16px) 0 0;max-width:52ch}
.k-upcoming .u-actions{margin-top:clamp(14px,2.4vh,24px)}
/* production: заглушка предстоящей выставки без постера (DEVIATIONS #6) */
.k-upcoming .mat .plate{aspect-ratio:2/3;background:linear-gradient(150deg,#F0F0F0,#DCDCDC);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:26px;font-weight:800;color:#C4C4C4}

/* ---------- cta band ---------- */.k-band{display:flex;align-items:center;justify-content:space-between;gap:clamp(20px,3vw,44px);
  max-width:1000px;margin:0 auto;text-align:left;flex-wrap:wrap}
.k-band p{font-family:var(--font-serif);font-size:clamp(13px,1.8vh,16px);line-height:1.7;color:var(--ink-2);
  margin:12px 0 0;max-width:52ch}

/* ghost text link */
.k-ghost{display:inline-flex;align-items:center;gap:8px;margin-top:18px;font-family:var(--font-sans);
  font-size:13px;font-weight:700;letter-spacing:.02em;color:var(--ink);text-decoration:none;
  border-bottom:1px solid var(--line-strong);padding-bottom:3px}
.k-ghost:hover{border-bottom-color:var(--ink)}
.k-ghost svg{width:15px;height:15px;stroke-width:1.5}

/* private-sales: the selection sections must STAY registered with fullPage —
   a section that is display:none at init is never added to its section/nav
   model and reBuild() cannot add it later. So gate the CONTENT, and page.js
   blocks advancing past the gate until unlocked. */
body:not(.unlocked) .k-locked > .k-inner{visibility:hidden}

/* in-content primary button (CTA bands, form submit, gate) — the fixed
   bottom-left .k-cta is a separate 40px icon button in fullpage-home.css */
.k-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;
  font-family:var(--font-sans);font-size:14px;font-weight:700;letter-spacing:.02em;white-space:nowrap;
  padding:14px 24px;border-radius:var(--r-sm);border:1px solid var(--ink);
  background:var(--ink);color:var(--paper);text-decoration:none;
  transition:opacity var(--dur-fast) var(--ease)}
.k-btn:hover{opacity:.86}
.k-btn svg{width:16px;height:16px;stroke-width:1.5}

/* ---------- responsive ---------- */
@media(max-width:900px){
  .k-inner{margin-block:104px 88px;max-height:calc(100% - 192px)}
  .k-svc3{grid-template-columns:1fr;gap:clamp(12px,2vh,20px)}
  .k-upcoming{grid-template-columns:1fr;gap:18px}
  .k-upcoming .mat{max-width:180px}
  .k-grid-3,.k-steps,.k-grid-2,.k-feature,.k-bio,.k-contact,.k-form{grid-template-columns:1fr}
  .k-works{grid-template-columns:1fr;max-width:260px}
  .k-works.two{grid-template-columns:1fr;max-width:260px}
  .k-svc2 .r{grid-template-columns:24px 1fr;row-gap:6px}
  .k-svc2 .r p,.k-svc2 .r .feats{grid-column:2}
  .k-list .k-row{grid-template-columns:1fr;gap:4px}
  .k-band{flex-direction:column;align-items:flex-start}
}
/* phones: match the tighter fixed chrome from fullpage-home.css */
@media(max-width:480px){
  .k-inner{margin-block:84px 66px;max-height:calc(100% - 150px)}
  .k-reader-body{padding:84px var(--gutter) 66px}
  .k-reader-close{top:12px;right:8px;width:36px;height:36px}
  .k-h1{font-size:clamp(26px,7.4vw,34px)}
  .k-lead{font-size:14px;line-height:1.6}
  .k-works,.k-works.two{max-width:200px}
  .k-upcoming .mat{max-width:150px}
  .k-article p,.k-article li{font-size:14.5px;line-height:1.72}
  .k-article blockquote{font-size:15px;padding-left:14px;margin:20px 0}
  .k-seg button{font-size:11.5px;padding:7px 12px}
  .k-tl .r{grid-template-columns:62px 1fr;gap:14px}
  .k-svc3 p{font-size:13px}
}

/* ===== shop.css ===== */

/* =====================================================================
   Kocerova — Shop (fullPage): one artwork per section.
   Half the section is light-panel; the side alternates section to section.
   Shares the fixed chrome + menu from fullpage-home.css.
   ===================================================================== */

/* the split: the ARTWORK pane is the light #FAFAFA half (so paintings never
   sink into a dark background); the text pane follows the active theme.
   The side alternates section to section. */
/* fullPage v4 wraps each section's children in .fp-overflow; display:contents
   lets the panes stay direct grid items so the split survives that wrapper */
.k-shop > .fp-overflow{display:contents}
.k-shop{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:100%;align-items:stretch;text-align:left}
.k-shop .s-pane{display:flex;align-items:flex-start;min-width:0;min-height:0;overflow:hidden}
/* the text pane scrolls when a long catalogue note overflows: centre via auto
   margins (not align-items:center, which pushes the top above the scroll
   origin and makes the eyebrow + Enquire button unreachable) */
.k-shop .s-text .s-body{margin-block:0}
.k-shop .s-img{align-items:center}
/* the text pane is a column: the copy scrolls, the action sits in a
   non-scrolling footer row — so no copy can ever pass behind the button */
.k-shop .s-text{background:var(--paper);color:var(--ink);margin:112px 0 max(84px,clamp(52px,10vh,76px));padding:clamp(14px,2.6vh,56px) clamp(26px,4vw,72px);
  flex-direction:column;justify-content:center;overflow:hidden}
.k-shop .s-body{width:100%;max-width:440px;flex:0 1 auto;min-height:0;overflow-y:auto}
.k-shop .s-foot{width:100%;max-width:440px;flex:none}
/* scroll cue — set from measured overflow by shop.js, matching the inner pages */
.k-shop .s-body.is-scrollable{scrollbar-width:thin}
.k-shop .s-body.is-scrollable::-webkit-scrollbar{width:6px}
.k-shop .s-body.is-scrollable::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:3px}
/* right-hand variant — text pane moves to column 2, artwork to column 1 */
.k-shop-r .s-text{order:2}
.k-shop-r .s-img{order:1}

/* artwork pane — always the light panel, in both themes. The column budgets for
   the caption: the image shrinks (flex 1 1 auto + min-height:0, which the flex
   min-height:auto floor otherwise blocks) and the caption is a fixed row, so
   neither can spill into the bottom strip reserved for the fixed chrome. */
.k-shop .s-img{--paper:#FAFAFA;--paper-2:#F2F2F2;--canvas:#FAFAFA;--ink:#0A0A0A;--ink-2:#3D3D3D;--ink-3:#666666;--ink-4:#9A9A9A;--line:#E2E2E2;--line-strong:#C9C9C9;
  background:#FAFAFA;color:#0A0A0A;flex-direction:column;justify-content:center;padding:112px clamp(20px,3vw,48px) max(84px,76px)}
.k-shop .s-img img{display:block;flex:0 1 auto;min-height:0;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 18px 44px -26px rgba(10,10,10,.45)}
.k-shop .s-img .s-cap{flex:none;max-width:min(100%,460px)}
/* production: заглушка работы без изображения (DEVIATIONS #5) */
.k-shop .s-img .plate{aspect-ratio:3/4;max-width:min(100%,460px);background:linear-gradient(150deg,#F0F0F0,#DCDCDC);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:34px;font-weight:800;color:#C4C4C4}

/* text-pane typography — sized against viewport HEIGHT as well as width, so a
   long catalogue note never overflows the pane at any window height (the pane
   is a fixed-height slide, not a scrolling page) */
.k-shop .s-num{font-size:clamp(10px,1.2vh,12px);font-weight:700;letter-spacing:.34em;text-transform:uppercase;color:var(--ink-2)}
.k-shop .s-title{font-family:var(--font-display);font-weight:800;font-size:clamp(18px,min(3vw,3.4vh),40px);line-height:1.1;letter-spacing:.02em;text-transform:uppercase;color:var(--ink);margin:clamp(5px,1vh,10px) 0 0}
.k-shop .s-desc{font-size:clamp(12.5px,min(1.05vw,1.75vh),15px);line-height:1.55;color:var(--ink-2);margin:clamp(8px,1.8vh,18px) 0 0}
.k-shop .s-artists{font-size:clamp(10.5px,1.4vh,12px);line-height:1.55;color:var(--ink-3);margin:clamp(6px,1.6vh,16px) 0 0}
.k-shop .s-cap{font-size:11.5px;line-height:1.55;color:var(--ink-3);border-top:1px solid var(--line-strong);padding-top:12px;margin:18px 0 0}
/* the action sits outside the scrollport, so no mask or sticky is needed */
.k-shop .s-enquire{display:flex;width:fit-content;
  margin-top:clamp(10px,2.2vh,22px);align-items:center;gap:9px;cursor:pointer;
  font-size:clamp(12px,1.5vh,13.5px);font-weight:700;letter-spacing:.02em;padding:clamp(9px,1.5vh,13px) clamp(16px,2vw,22px);border-radius:var(--r-sm);
  border:1px solid var(--ink);background:var(--ink);color:var(--paper);transition:opacity var(--dur-fast) var(--ease)}
.k-shop .s-enquire:hover{opacity:.85}
.k-shop .s-enquire svg{width:15px;height:15px;stroke-width:1.5}

/* ---------- vitrine: grid of every available work (first slide) ---------- */
.k-vitrine{background:var(--paper);color:var(--ink)}
/* justify-content:center would overflow symmetrically (the top escapes the box
   and scrollHeight stops reporting it); auto margins centre when there is room
   and collapse to top-aligned + scrollable when there is not */
.k-vitrine .k-inner{display:flex;flex-direction:column;justify-content:flex-start;gap:clamp(14px,2.6vh,30px);
  width:100%;max-width:1180px;margin:0 auto;padding:clamp(96px,14vh,124px) var(--gutter) clamp(84px,12vh,104px);
  text-align:center;max-height:100%;overflow-y:auto}
.k-vitrine .v-head{margin-top:auto}
.k-vitrine .v-grid{margin-bottom:auto}
.k-vitrine .v-head{flex:none}
.k-vitrine .k-eyebrow{justify-content:center}
.v-h1{font-family:var(--font-display);font-weight:800;font-size:clamp(22px,min(3.2vw,4vh),42px);
  line-height:1.1;letter-spacing:-.02em;color:var(--ink);margin:clamp(6px,1.2vh,14px) 0 0}
.v-lead{font-family:var(--font-serif);font-size:clamp(12px,1.7vh,16px);line-height:1.6;color:var(--ink-2);
  margin:clamp(6px,1.2vh,14px) auto 0;max-width:60ch}
.v-grid{flex:0 1 auto;min-height:0;display:grid;grid-template-columns:repeat(6,1fr);
  grid-auto-rows:1fr;gap:clamp(10px,1.4vw,22px);align-items:stretch;overflow:hidden}
/* the card fills its row track exactly: captions take their natural height and
   the image absorbs whatever is left, so a card can never exceed the track and
   spill into the reserved chrome band (a viewport-clamped image height could) */
.v-card{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;min-height:0;height:100%;
  background:none;border:none;padding:0;margin:0;cursor:pointer;text-align:left;font:inherit;color:inherit}
.v-shot{flex:1 1 auto;min-height:clamp(74px,12vh,120px);display:flex;align-items:center;justify-content:center;
  width:100%;background:#FAFAFA;border:1px solid var(--line);padding:7px;
  transition:box-shadow var(--dur) var(--ease),border-color var(--dur-fast) var(--ease)}
.v-shot img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
/* production: заглушка работы без изображения в витрине (DEVIATIONS #7) */
.v-shot .plate{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:linear-gradient(150deg,#F0F0F0,#DCDCDC);font-family:var(--font-display);font-size:22px;font-weight:800;color:#C4C4C4}
.v-card:hover .v-shot{box-shadow:var(--sh-2);border-color:var(--line-strong)}
.v-who,.v-ttl,.v-med{flex:none}
.v-who{display:block;font-family:var(--font-sans);font-size:clamp(8.5px,1.1vh,10.5px);font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);margin-top:clamp(7px,1.2vh,11px);
  line-height:1.3;min-height:2.6em}
/* the caption block gets a RESERVED height (worst case: 2-line artist, 3-line
   title, 1-line technique) so every .v-shot in the row resolves to the same
   height and the captions share a baseline — and so no title is ever cut off */
.v-ttl{display:block;font-family:var(--font-display);font-size:clamp(10.5px,1.4vh,13.5px);font-weight:800;
  line-height:1.28;color:var(--ink);margin-top:4px;min-height:3.84em}
.v-med{display:block;font-family:var(--font-sans);font-size:clamp(9px,1.1vh,11px);color:var(--ink-3);
  margin-top:3px;line-height:1.3;min-height:1.3em}
@media(max-width:1100px){.v-grid{grid-template-columns:repeat(3,1fr)}}
/* short viewports: two 3-up rows cannot both keep a legible image, so the
   vitrine drops the technique line and shows one row of six instead */
@media(max-height:640px){
  .v-grid{grid-template-columns:repeat(6,1fr)}
  .v-med{display:none}
  .v-lead{display:none}
}
@media(max-width:640px){
  .v-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .v-shot img{height:100%}
  .v-ttl{font-size:11.5px}
  .k-vitrine .k-inner{padding:84px var(--gutter) 66px;overflow-y:auto}
}

/* ---------- enquiry dialog ---------- */
.k-modal{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:24px;
  background:rgba(10,10,10,.55);opacity:0;visibility:hidden;transition:opacity var(--dur) var(--ease),visibility var(--dur)}
body.enquiry-open .k-modal{opacity:1;visibility:visible}
.k-modal-box{width:100%;max-width:460px;max-height:88vh;overflow-y:auto;background:var(--canvas);border:1px solid var(--line);
  border-radius:var(--r-md);box-shadow:var(--sh-float);padding:26px 26px 24px;text-align:left}
.k-modal-h{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.k-modal-h .lbl{font-size:var(--t-eyebrow);font-weight:700;letter-spacing:var(--tr-eyebrow);text-transform:uppercase;color:var(--ink-3)}
.k-modal-h h3{font-family:var(--font-display);font-weight:800;font-size:21px;color:var(--ink);margin:7px 0 0}
.k-modal-close{width:32px;height:32px;flex:none;display:inline-flex;align-items:center;justify-content:center;border:none;
  background:transparent;color:var(--ink-3);cursor:pointer;border-radius:var(--r-sm)}
.k-modal-close:hover{color:var(--ink);background:var(--paper-2)}
.k-modal-close svg{width:18px;height:18px;stroke-width:1.5}
.k-field{display:flex;flex-direction:column;gap:7px;margin-top:16px}
.k-field label{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.k-field input,.k-field textarea{font-family:var(--font-sans);font-size:14px;color:var(--ink);background:var(--paper);
  border:1px solid var(--line-strong);border-radius:var(--r-sm);padding:11px 12px;width:100%;box-sizing:border-box}
.k-field textarea{min-height:92px;resize:vertical;line-height:1.5}
.k-field input:focus,.k-field textarea:focus{outline:none;border-color:var(--ink-3);box-shadow:0 0 0 3px var(--focus-ring)}
.k-field .err{font-size:12px;color:var(--error)}
.k-modal-f{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.k-modal-btn{cursor:pointer;font-size:13.5px;font-weight:700;padding:12px 20px;border-radius:var(--r-sm);border:1px solid var(--line-strong);background:transparent;color:var(--ink)}
.k-modal-btn.primary{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.k-modal-btn:hover{opacity:.86}
.k-sent{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.55;color:var(--ok);background:var(--ok-bg);border-radius:var(--r-sm);padding:14px 15px;margin-top:18px}
.k-sent svg{width:17px;height:17px;stroke-width:1.5;flex:none;margin-top:1px}

/* ---------- split logo (dark mode only) ----------
   The brand is centred at 50% and the pane split falls at exactly 50%, so the
   wordmark straddles the boundary. In dark mode we stack both logo files and
   clip each to one half: white letters over the dark text pane, black letters
   over the #FAFAFA artwork pane. Which half is light alternates per section,
   so shop.js writes body[data-light-side]. */
html[data-theme="dark"] body[data-light-side] .k-brand{position:fixed}
html[data-theme="dark"] body[data-light-side] .k-brand .logo-light,
html[data-theme="dark"] body[data-light-side] .k-brand .logo-dark{display:block;transition:none}
html[data-theme="dark"] body[data-light-side] .k-brand .logo-light{position:absolute;top:0;left:0}
/* light (FAFAFA) pane on the RIGHT → black letters right, white letters left */
html[data-theme="dark"] body[data-light-side="right"] .k-brand .logo-light{clip-path:inset(0 0 0 50%)}
html[data-theme="dark"] body[data-light-side="right"] .k-brand .logo-dark{clip-path:inset(0 50% 0 0)}
/* light pane on the LEFT → black letters left, white letters right */
html[data-theme="dark"] body[data-light-side="left"] .k-brand .logo-light{clip-path:inset(0 50% 0 0)}
html[data-theme="dark"] body[data-light-side="left"] .k-brand .logo-dark{clip-path:inset(0 0 0 50%)}
/* single-column layout: the split no longer runs down the middle */
@media(max-width:900px){
  html[data-theme="dark"] body[data-light-side] .k-brand .logo-light{display:none}
  html[data-theme="dark"] body[data-light-side] .k-brand .logo-dark{clip-path:none}
}

/* ---------- fixed chrome over the light pane ----------
   The artwork pane is a hard-coded #FAFAFA half whose side alternates, so each
   corner needs its own colour. shop.js writes these four variables from the
   active section + theme (CSS alone can't win the specificity war cleanly). */
.k-menu-btn{color:var(--c-menu,var(--ink-2))}
.k-theme-btn{color:var(--c-theme,var(--ink-2))}
.k-cta{color:var(--c-cta,var(--ink-2))}
.k-social a{color:var(--c-social,var(--ink-2))}
.k-menu-btn:hover,.k-theme-btn:hover,.k-cta:hover,.k-social a:hover{filter:brightness(.55)}
html[data-theme="dark"] .k-menu-btn:hover,html[data-theme="dark"] .k-theme-btn:hover,
html[data-theme="dark"] .k-cta:hover,html[data-theme="dark"] .k-social a:hover{filter:brightness(1.35)}
/* no colour transition here: the colour is swapped per section, and a running
   transition reports (and paints) its START value whenever the animation clock
   is throttled — which strands these controls at the wrong colour */
.k-chrome-btn,.k-cta,.k-social a{transition:none}

/* ---------- responsive ---------- */
@media(max-width:900px){
  .k-shop{grid-template-columns:1fr;grid-template-rows:auto 1fr}  .k-shop .s-text{margin:0;order:2!important;padding:24px var(--gutter) 96px}
  .k-shop .s-img{order:1!important;padding:104px var(--gutter) 16px;max-height:46vh}
  .k-shop .s-body{max-width:none}
  .k-shop .s-desc{margin-top:12px}
  .k-shop .s-cap{display:none}
}
/* short viewports: the type is already height-aware, so only the artwork pane
   padding needs trimming */
@media(max-height:700px){
  .k-shop .s-img{padding:88px 20px 76px}
}
