
/* ============================================================
   sabona - design tokens (vibrant, logo-driven)
   ============================================================ */
:root{
  --paper:#F5F1E8;
  --oat:#ECE6D8;
  --offwhite:#FCFAF5;
  --ink:#17130F;
  --ink-2:#100D0B;
  --stone:#6E665E;
  --hairline:#E2DACA;

  --paper-dim:#B9B0A6;
  --line-dark:rgba(255,255,255,.14);

  --pink:#EC008C;
  --red:#F0323C;
  --orange:#F7941E;
  --yellow:#FFC400;
  --lime:#8CC63F;
  --green:#1FAE4D;
  --cyan:#00AEEF;
  --blue:#2C5BD6;
  --violet:#9B2D90;

  --brand:#EC008C;
  --brand-strong:#C8017C;
  --accent-dark:#33C0F5;

  --rainbow:linear-gradient(90deg,#EC008C 0%,#F0323C 15%,#F7941E 30%,#FFC400 44%,#8CC63F 58%,#00AEEF 74%,#2C5BD6 88%,#9B2D90 100%);

  --display:'Exo','Inter Tight',sans-serif;
  --serif:'Fira Sans Condensed','Helvetica Neue',Arial,sans-serif;
  --sans:'Inter Tight',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;

  --sp-section:clamp(3.75rem,8vw,8rem);
  --gutter:clamp(1.25rem,5vw,4rem);
  --container:112.5rem;

  --r:8px;
  --shadow:0 1px 2px rgba(23,19,15,.05), 0 12px 30px -18px rgba(23,19,15,.22);
  --shadow-lift:0 2px 6px rgba(23,19,15,.06), 0 26px 50px -24px rgba(23,19,15,.34);
}

/* ============================================================
   reset & base
   ============================================================ */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Fluid scale: from 1440px up the whole layout (type, spacing, container, icons - all in rem) grows
   proportionally with the viewport width instead of freezing at fixed sizes. 1440/90 = 16px. */
@media (min-width:1440px){html{font-size:calc(100vw / 90)}}
body{
  margin:0;font-family:var(--sans);
  font-size:clamp(1rem,.55vw + .9rem,1.075rem);line-height:1.65;
  color:var(--ink);background:var(--paper);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
h1,h2,h3,h4,p{margin:0}
ul{margin:0;padding:0;list-style:none}

/* subtle paper grain */
body::after{
  content:"";position:fixed;inset:0;z-index:200;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity:.03;mix-blend-mode:multiply;
}

/* accessibility */
:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:3px}
.on-dark :focus-visible{outline-color:var(--accent-dark)}
.skip{position:absolute;left:-9999px;top:0;z-index:300;background:var(--ink-2);color:#fff;padding:.75rem 1.25rem;border-radius:0 0 var(--r) 0}
.skip:focus{left:0}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* admin bar offset for sticky header */
.admin-bar .site-header{top:32px}
@media (max-width:782px){.admin-bar .site-header{top:46px}}

/* ============================================================
   layout primitives
   ============================================================ */
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:var(--sp-section);position:relative}
.section--tight{padding-block:clamp(2.5rem,5vw,4rem)}
.divider{height:1px;background:var(--hairline);border:0;margin:0}
.rainbow{height:0.25rem;background:var(--rainbow);border:0}

.eyebrow{
  display:inline-flex;align-items:center;gap:.7em;
  font-size:.72rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  color:var(--brand-strong);margin:0 0 1.25rem;
}
.eyebrow::before{content:"";width:1.875rem;height:0.1875rem;border-radius:2px;background:var(--rainbow);flex:none}
.eyebrow--center{justify-content:center}
.on-dark .eyebrow{color:var(--accent-dark)}

.h-display{font-family:var(--serif);font-weight:500;font-size:clamp(2.4rem,1.4rem + 4.4vw,4.6rem);line-height:1.04;letter-spacing:-.01em}
.h-section{font-family:var(--serif);font-weight:500;font-size:clamp(2rem,1.3rem + 2.6vw,3.25rem);line-height:1.08;letter-spacing:-.005em}
.h-section--sm{font-size:clamp(1.7rem,1.05rem + 2.1vw,2.65rem)}
.h-card{font-family:var(--serif);font-weight:500;font-size:clamp(1.5rem,1.2rem + 1vw,2rem);line-height:1.12}
/* headings in uppercase */
h1,h2,h3,h4,h5,h6,.h-display,.h-section,.h-card{text-transform:uppercase}
.lead{font-size:clamp(1.05rem,.9rem + .6vw,1.3rem);line-height:1.6;color:var(--stone);max-width:60ch}
.why-note{margin-top:.95rem;font-size:1rem;line-height:1.62;color:var(--stone);max-width:60ch}
.hl{color:var(--brand)}
.on-dark .hl{color:var(--accent-dark)}
.hl--rainbow{background:var(--rainbow);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.muted{color:var(--stone)}
.section-head{max-width:66ch}
.section-head--center{margin-inline:auto;text-align:center}

/* ============================================================
   logo wordmark - colourful "sabona." mark (assets/images/logo.svg)
   ============================================================ */
.logo{display:inline-flex;align-items:center;line-height:0;flex-shrink:0}
.logo .logo-mark{display:block;width:9.375rem;height:3.4375rem;max-width:none;transition:opacity .2s}
.logo:hover .logo-mark,.logo:focus-visible .logo-mark{opacity:.82}
@media (max-width:767px){.logo .logo-mark{width:7.625rem;height:2.8125rem}}
.brand-tagline{font-size:.66rem;font-weight:600;letter-spacing:.26em;text-transform:uppercase;color:var(--paper-dim);margin-top:.6rem}

/* ============================================================
   buttons & links
   ============================================================ */
.btn{
  --btn-bg:var(--brand-strong);--btn-fg:#fff;--btn-bd:var(--brand-strong);
  display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  font-size:.95rem;font-weight:600;letter-spacing:.01em;line-height:1;
  padding:1.05em 1.7em;border-radius:6px;cursor:pointer;text-align:center;
  background:var(--btn-bg);color:var(--btn-fg);border:1px solid var(--btn-bd);
  transition:background .25s,color .25s,border-color .25s,transform .25s,box-shadow .25s;
}
.btn .ar{transition:transform .25s}
.btn:hover .ar{transform:translateX(3px)}
.btn--primary:hover{--btn-bg:var(--ink);--btn-bd:var(--ink);transform:translateY(-2px);box-shadow:var(--shadow)}
.btn--ghost{--btn-bg:transparent;--btn-fg:var(--ink);--btn-bd:var(--ink)}
.btn--ghost:hover{--btn-bg:var(--ink);--btn-fg:var(--paper);transform:translateY(-2px)}
.btn--sm{padding:.7em 1.15em;font-size:.85rem;border-radius:5px}

.on-dark .btn--primary{--btn-bg:var(--brand-strong);--btn-fg:#fff;--btn-bd:var(--brand-strong)}
.on-dark .btn--primary:hover{--btn-bg:#fff;--btn-fg:var(--ink);--btn-bd:#fff}
.on-dark .btn--ghost,body.has-dark-hero .hero .btn--ghost{--btn-fg:#fff;--btn-bd:rgba(255,255,255,.45)}
.on-dark .btn--ghost:hover,body.has-dark-hero .hero .btn--ghost:hover{--btn-bg:#fff;--btn-fg:var(--ink);--btn-bd:#fff}

.tlink{
  display:inline-flex;align-items:center;gap:.5em;font-weight:600;font-size:.95rem;
  color:var(--brand-strong);padding-bottom:0.125rem;border-bottom:2px solid transparent;
  transition:color .2s,border-color .2s;
}
.tlink .ar{transition:transform .25s}
.tlink:hover{border-color:var(--brand)}
.tlink:hover .ar{transform:translateX(3px)}
.on-dark .tlink{color:var(--accent-dark)}
.on-dark .tlink:hover{border-color:var(--accent-dark)}

/* ============================================================
   placeholders (until real photos / featured images)
   ============================================================ */
.ph{
  position:relative;overflow:hidden;border-radius:var(--r);
  background:var(--oat);border:1px solid var(--hairline);
  display:flex;align-items:flex-end;min-height:13.75rem;
  color:var(--stone);--frame:rgba(23,19,15,.14);
}
.ph::before{content:"";position:absolute;inset:0.875rem;border:1px solid var(--frame);border-radius:4px;opacity:.8;pointer-events:none}
.ph::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;background:radial-gradient(120% 90% at 78% 16%,rgba(255,255,255,.4),transparent 55%),radial-gradient(100% 80% at 12% 94%,rgba(23,19,15,.06),transparent 60%)}
.ph__mark{position:relative;z-index:1;margin:auto;display:flex;flex-direction:column;align-items:center;gap:.65rem;padding:1.5rem;text-align:center}
.ph__mark svg{width:2.125rem;height:2.125rem;stroke:currentColor;opacity:.6}
.ph__cap{
  position:absolute;left:0.875rem;bottom:0.875rem;z-index:1;display:inline-flex;align-items:center;gap:.5em;
  font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:inherit;
  background:rgba(252,250,245,.8);padding:.4em .7em;border-radius:4px;backdrop-filter:blur(2px);
}
.ph__cap::before{content:"";width:0.375rem;height:0.375rem;border-radius:50%;background:currentColor}
.ph--t-pink{background:#FBE0EF;color:#B0006E}
.ph--t-cyan{background:#DCF1FC;color:#0A6E96}
.ph--t-violet{background:#F1DEF0;color:#7A2374}
.ph--t-green{background:#DCF2E3;color:#177A37}
.ph--t-orange{background:#FDEBD6;color:#9C5A0E}
.ph--t-blue{background:#E0E8FB;color:#23408F}
.ph--solid-pink{background:var(--brand);color:#fff;border-color:var(--brand);--frame:rgba(255,255,255,.4)}
.ph--solid-pink .ph__cap{background:rgba(0,0,0,.22)}
.ph--ink{background:var(--ink-2);color:var(--accent-dark);border-color:#2a2521;--frame:rgba(255,255,255,.16)}
.ph--ink .ph__cap{background:rgba(0,0,0,.45)}
/* real photos inside placeholders */
.ph__img,.ph__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;display:block}
.ph.has-photo{color:#fff;background:var(--ink-2)}
/* iOS Safari ignores overflow:hidden + border-radius for a playing <video> (and for
   transformed images), so media spilled past the rounded card. clip-path forces the clip.
   (Not -webkit-mask-image: on iOS 26 a masked layer holding a playing video is painted
   at a stale position during momentum scroll and ghosts over the next sections.) */
/* Only tiles that actually hold a video get it: on a real iPhone every clipped/isolated
   photo tile became its own GPU layer and Safari left them painted at a stale spot
   during momentum scroll (gallery tiles ghosting over the logos and FAQ). */
.ph.has-photo:not(.case-open):has(> video){-webkit-clip-path:inset(0 round var(--r));clip-path:inset(0 round var(--r))}
.ph.has-photo::before{border-color:rgba(255,255,255,.4);z-index:1}
.ph.has-photo::after{opacity:1;z-index:1;background:linear-gradient(180deg,rgba(16,13,11,.04),rgba(16,13,11,.28))}
.ph.has-photo .ph__mark{display:none}
.ph.has-photo .ph__cap{z-index:2;background:rgba(16,13,11,.55);color:#fff;backdrop-filter:blur(3px)}
.ph.has-photo .ph__cap::before{background:var(--brand)}
.hero-tag{z-index:3}

/* ============================================================
   header / nav - sits ON the hero (transparent, blends with the paper base)
   ============================================================ */
/* padding-top reserves the iOS status-bar safe area (0 on non-notch devices); with viewport-fit=cover the header background then fills the notch - dark on dark-hero pages - instead of leaving Safari's default cream strip */
.site-header{position:sticky;top:0;z-index:100;background:transparent;padding-top:env(safe-area-inset-top);transition:box-shadow .3s,background .3s,-webkit-backdrop-filter .3s,backdrop-filter .3s}
.site-header.scrolled{background:rgba(245,241,232,.82);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);box-shadow:0 10px 30px -18px rgba(23,19,15,.18)}
@media (prefers-reduced-motion:reduce){.site-header{transition:box-shadow .3s,background .3s}}
.header-inner{display:flex;align-items:center;gap:1.5rem;min-height:4.625rem}
/* nudge the logo to optically centre with the menu */
.site-header .logo{transform:translateY(0)}
.site-nav{display:none;margin-left:1.5rem}
.site-nav ul{display:flex;flex-wrap:nowrap;gap:1.85rem}
.site-nav > ul > li{flex-shrink:0}
.site-nav > ul > li > a{white-space:nowrap}
.site-nav a{font-size:1rem;font-weight:500;text-transform:uppercase;letter-spacing:.06em;color:var(--stone);position:relative;padding:.4em 0;transition:color .2s;display:inline-block}
.site-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:.05em;height:0.125rem;background:var(--rainbow);transition:right .25s}
.site-nav a:hover,.site-nav .current-menu-item > a{color:var(--ink)}
.site-nav a:hover::after,.site-nav .current-menu-item > a::after{right:0}
.header-cta{display:none;margin-left:auto;align-items:center;gap:.75rem}
.header-phone{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border:1px solid var(--hairline);border-radius:50%;color:var(--ink);transition:color .2s,border-color .2s,background .2s}
.header-phone svg{width:1.1875rem;height:1.1875rem;display:block}
.header-phone:hover{color:var(--brand-strong);border-color:var(--brand-strong);background:rgba(236,0,140,.06)}
.header-quote{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:50%;background:var(--brand-strong);color:#fff;transition:background .2s,transform .2s,box-shadow .2s}
.header-quote svg{width:1.1875rem;height:1.1875rem;display:block}
.header-quote:hover{background:var(--ink);transform:translateY(-2px);box-shadow:var(--shadow)}
.nav-toggle{margin-left:auto;width:2.75rem;height:2.75rem;border:1px solid var(--hairline);border-radius:6px;background:transparent;display:inline-flex;flex-direction:column;gap:0.3125rem;align-items:center;justify-content:center;cursor:pointer}
.nav-toggle span{width:1.125rem;height:0.125rem;background:var(--ink);border-radius:2px;transition:transform .25s,opacity .2s}
[data-nav-open] .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
/* collapse the middle bar fully - iOS Safari can leave an opacity:0 flex child faintly visible as two stubs beside the X, so also scaleX(0) it */
[data-nav-open] .nav-toggle span:nth-child(2){opacity:0;transform:scaleX(0)}
[data-nav-open] .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-nav{display:none;border-top:1px solid var(--hairline);background:rgba(245,241,232,.98);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
[data-nav-open] .mobile-nav{display:block}
.mobile-nav .container{padding-block:1.25rem 1.75rem;display:flex;flex-direction:column;gap:.25rem}
.mobile-nav ul{display:flex;flex-direction:column}
.mobile-nav a{padding:.85rem .25rem;font-size:1.05rem;color:var(--ink);border-bottom:1px solid var(--hairline);display:block}
.mobile-nav .m-phone{margin-top:1rem;font-weight:500;color:var(--stone);border:0}
.mobile-nav .btn{margin-top:1rem}

/* ---- niche dropdown (parent "Рішення для ніш") ---- */
.nav-sub-toggle{appearance:none;border:0;background:transparent;color:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:.25rem}
.nav-sub-toggle .chev{transition:transform .25s}

/* desktop: hover/focus reveals an absolutely-positioned panel; the chevron
   button is decorative-only and not needed (hover handles it) */
.site-nav .nav-has-sub{position:relative}
.site-nav .nav-sub-toggle{display:none}
.site-nav .sub-menu{position:absolute;top:100%;left:-1rem;margin:0;padding:.5rem;min-width:15.5rem;display:block;flex-direction:column;gap:0;background:var(--paper,#f5f1e8);border:1px solid var(--hairline);border-radius:12px;box-shadow:0 18px 40px -22px rgba(23,19,15,.4);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .2s,transform .2s,visibility .2s;z-index:120}
.site-nav .nav-has-sub:hover .sub-menu,
.site-nav .nav-has-sub:focus-within .sub-menu{opacity:1;visibility:visible;transform:none}
.site-nav .sub-menu a{display:block;padding:.55rem .7rem;font-size:.82rem;font-weight:500;letter-spacing:.02em;text-transform:none;color:var(--stone);border-radius:8px;transition:background .15s,color .15s}
.site-nav .sub-menu a::after{display:none}
.site-nav .sub-menu a:hover{background:rgba(23,19,15,.05);color:var(--ink)}

/* mobile: parent link + chevron on one row; submenu collapses (accordion) */
.mobile-nav .nav-has-sub{display:flex;flex-wrap:wrap;align-items:center}
.mobile-nav .nav-has-sub > a{flex:1}
.mobile-nav .nav-sub-toggle{border-bottom:1px solid var(--hairline);height:100%;align-self:stretch}
.mobile-nav .sub-menu{flex-basis:100%;width:100%;max-height:0;overflow:hidden;transition:max-height .3s ease}
.mobile-nav .nav-sub-toggle[aria-expanded="true"] ~ .sub-menu{max-height:32rem}
.mobile-nav .nav-sub-toggle[aria-expanded="true"] .chev{transform:rotate(180deg)}
.mobile-nav .sub-menu a{padding-left:1.1rem;font-size:.98rem;color:var(--stone)}

/* ============================================================
   hero
   ============================================================ */
/* symmetric padding so the video sits exactly mid-way between the header and the fold */
.hero{--hero-pad:clamp(1.5rem,3vw,2.75rem);padding-block:var(--hero-pad);background:var(--ink-2);color:#fff}
/* Hero fills the first screen: viewport height minus the sticky header (--header-h is kept in sync by app.js). */
.hero{min-height:calc(100vh - var(--header-h,5.5rem));min-height:calc(100svh - var(--header-h,5.5rem));display:flex;flex-direction:column;justify-content:center}
.hero>.container{width:100%}
.hero-grid{display:grid;gap:clamp(2.5rem,5vw,4rem);align-items:center}
.hero-copy{max-width:none}
.hero h1{margin-bottom:1.5rem}
.hero .lead{margin-bottom:2.25rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.85rem}
.hero-meta{display:flex;flex-wrap:wrap;gap:1rem 1.75rem;margin-top:2.5rem;padding-top:1.75rem;border-top:1px solid var(--line-dark)}
.hero-meta li{display:flex;align-items:center;gap:.55em;font-size:.86rem;color:var(--paper-dim);font-weight:500}
.hero-meta li svg{width:1.125rem;height:1.125rem;flex:none}
.hero-meta li:nth-child(1) svg{stroke:var(--pink)}
.hero-meta li:nth-child(2) svg{stroke:var(--cyan)}
.hero-meta li:nth-child(3) svg{stroke:var(--green)}
.hero-visual{position:relative}
.hero-visual .ph--main{min-height:clamp(21.25rem,42vw,32.5rem);aspect-ratio:3/4;max-height:min(36.25rem,calc(100svh - var(--header-h,5.5rem) - 2 * var(--hero-pad)));margin-inline:auto}
/* The visual column is exactly one first-screen band tall (screen − header − 2 × hero
   padding) and centers the video inside it, so the video sits mid-way between the
   menu and the fold whether the copy column is shorter or taller than the screen. */
@media (min-width:900px){
  .hero-visual{align-self:start;display:grid;align-content:center;height:calc(100svh - var(--header-h,5.5rem) - 2 * var(--hero-pad));min-height:21.25rem}
}
.hero-visual .ph--detail{position:absolute;left:-6%;bottom:-7%;width:46%;min-height:9.375rem;aspect-ratio:1/1;box-shadow:var(--shadow-lift)}
.hero-tag{position:absolute;top:1.1rem;right:1.1rem;z-index:2;display:inline-flex;align-items:center;gap:.5em;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;background:var(--brand-strong);color:#fff;padding:.5em .85em;border-radius:5px}
.hero-tag::before{content:"";width:0.375rem;height:0.375rem;border-radius:50%;background:#fff}

/* Shelf tags: a permanent black label on the front rail of every compartment naming its
   category (clickable). Hover/focus/tap or the idle tour turns it brand pink while the
   compartment's rainbow outline draws. */
.niche-chips{--glass-bg:linear-gradient(135deg,rgba(255,255,255,.5),rgba(255,255,255,.16));--glass-bd:rgba(255,255,255,.6);--glass-blur:blur(14px) saturate(1.7);--glass-shadow:inset 0 1px 0 rgba(255,255,255,.75),inset 0 -1px 0 rgba(255,255,255,.12),0 10px 26px -12px rgba(23,19,15,.45)}
.hotspot{position:absolute;left:var(--x);top:var(--y);z-index:3;transform:translate(-50%,-18%);text-decoration:none}
.hotspot__label{display:inline-flex;align-items:center;gap:.5em;white-space:nowrap;font-size:clamp(.6rem,.8vw,.86rem);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fff;background:#15120f;border:1px solid rgba(255,255,255,.16);padding:.5em 1em;border-radius:4px;box-shadow:0 8px 18px -10px rgba(0,0,0,.7);transition:background .25s,border-color .25s,transform .25s}
.hotspot__label svg{width:.95em;height:.95em;opacity:.75}
.hotspot.is-on .hotspot__label,.hotspot:hover .hotspot__label,.hotspot:focus-visible .hotspot__label{background:var(--brand);border-color:var(--brand);transform:translateY(-2px)}
.hotspot:focus-visible{outline:none}
.hotspot__full{display:none}

/* Niche banner: full-bleed interactive still life. Heading overlays the empty wall at
   the top, chips sit on the empty floor at the bottom, each group is an outlined link.
   Portrait screens swap in a tall scene of the same packaging (see below). */
.niches-banner{background:var(--oat)}
.niche-showcase{position:relative;overflow:hidden;background:#1d1a17}
/* the whole rack stays on one screen: cap the stage width so its height fits under the header */
/* Showroom ratio only inside .niche-showcase: niche pages reuse .niche-stage for the
   tabbed gallery, and Safari 26 sized that section from the 3840/2422 ratio instead of
   its content, so the gallery spilled over the next sections. */
.niche-stage{position:relative}
.niche-showcase .niche-stage{aspect-ratio:3840/2422;margin-inline:auto;max-width:calc((100vh - var(--header-h,5.5rem)) * 3840 / 2422);max-width:calc((100svh - var(--header-h,5.5rem)) * 3840 / 2422)}
.niche-stage__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.niche-overlay{position:absolute;left:0;right:0;z-index:4;pointer-events:none}
/* dark fade behind the heading so it reads over the loft wall and the top shelf */
.niche-overlay--top{top:0;padding-top:clamp(1.25rem,3.2vw,3.5rem);padding-bottom:clamp(2.5rem,5vw,5rem);background:linear-gradient(180deg,rgba(16,14,12,.82) 0%,rgba(16,14,12,.55) 55%,rgba(16,14,12,0) 100%)}
.niche-overlay--top .h-section{color:#fff}
/* «Готове зі складу» / «Не знайшли свою?» sit top-right, level with the heading */
.niche-overlay__links{position:absolute;left:0;right:0;top:clamp(1.25rem,3.2vw,3.5rem);display:flex;justify-content:flex-end}
.niche-overlay__links .niche-chips{overflow:visible;-webkit-mask-image:none;mask-image:none}
.niche-overlay__links .niche-chips a.is-ask{color:#fff}
.niche-overlay--top .eyebrow{margin-bottom:.6rem}
.niche-overlay--top .h-section{margin:0}
.niche-hint{margin-top:.6rem;font-size:.9rem;color:rgba(255,255,255,.72)}
.niche-overlay--bottom{bottom:0;padding-bottom:clamp(1rem,2.6vw,2.5rem)}
/* one row on the floor strip; scrolls sideways (with a fade) when it does not fit */
.niche-chips{display:flex;flex-wrap:nowrap;gap:.45rem;overflow-x:auto;scrollbar-width:none;padding-block:.3rem;pointer-events:auto;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 3rem),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 3rem),transparent)}
.niche-chips::-webkit-scrollbar{display:none}
.niche-chips li{flex:none}
.niche-chips a{display:inline-flex;align-items:center;gap:.4em;font-size:.8rem;font-weight:500;color:var(--ink);text-decoration:none;white-space:nowrap;padding:.5em .95em;text-shadow:0 1px 0 rgba(255,255,255,.55);border:1px solid var(--glass-bd);border-radius:999px;background:var(--glass-bg);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:var(--glass-shadow);transition:background .2s,color .2s,border-color .2s}
.niche-chips a svg{width:.9em;height:.9em}
.niche-chips a:hover,.niche-chips a:focus-visible{background:rgba(23,19,15,.78);color:var(--paper);border-color:rgba(255,255,255,.25);text-shadow:none}
.niche-chips a.is-flag{background:linear-gradient(135deg,rgba(236,0,140,.82),rgba(200,1,124,.62));border-color:rgba(255,255,255,.45);color:#fff;text-shadow:none}
.niche-chips a.is-flag:hover,.niche-chips a.is-flag:focus-visible{background:rgba(23,19,15,.78);border-color:rgba(255,255,255,.25)}
.niche-chips a.is-ask{background:transparent;border-color:transparent;box-shadow:none;color:var(--brand-strong);font-weight:600}
.niche-chips a.is-ask:hover,.niche-chips a.is-ask:focus-visible{color:var(--ink);background:transparent}
/* Group outlines: a brand-rainbow line that draws itself along the packaging contour. */
.niche-outlines{position:absolute;inset:0;width:100%;height:100%;z-index:2;display:none;overflow:visible}
.niche-outlines--wide{display:block}
.niche-outline{fill:transparent;stroke:url(#niche-rainbow-wide);stroke-width:3;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;opacity:0;cursor:pointer;transition:stroke-dashoffset 1s cubic-bezier(.65,0,.25,1),opacity .35s ease}
.niche-outline.is-on{stroke-dashoffset:0;opacity:1}
@media (prefers-reduced-motion:reduce){.niche-outline{transition:opacity .2s;stroke-dashoffset:0}}
/* Phones and portrait tablets get the category cards instead of the showroom scene. */
.niches-cards{display:none}
@media (max-width:47.99em),(orientation:portrait){
  .niche-showcase{display:none}
  .niches-cards{display:block;padding-block:var(--sp-section)}
  .niches-banner{background:transparent}
}

/* dark hero + dark header on dark-hero pages (front page + niche hubs); the sticky header stays pinned and turns to dark glass once you scroll past the top (see .scrolled rule below) */
.hero .lead{color:var(--paper-dim)}
/* Safari 26 ignores theme-color and tints the iOS status-bar / safe-area strip from the BODY background-color (the canvas + viewport-fit cover don't reach that strip). Paint the body dark on dark-hero pages so the strip matches the hero, and move the cream backdrop onto #main so the see-through sections inside it stay light. */
html:has(body.has-dark-hero),
body.has-dark-hero{background:var(--ink-2)}
body.has-dark-hero #main{background:var(--paper)}
body.has-dark-hero .site-header{position:sticky;top:0;background:var(--ink-2)}
/* dark glass: at the top it stays solid (seamless with the hero), but once scrolled it goes translucent so the content frosts through the blur beneath it */
body.has-dark-hero .site-header.scrolled{background:rgba(16,13,11,.7);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%)}
body.has-dark-hero .site-header .logo-mark{width:10rem;height:auto}
body.has-dark-hero .site-header .site-nav a{color:rgba(255,255,255,.78)}
body.has-dark-hero .site-header .site-nav a:hover,
body.has-dark-hero .site-header .site-nav .current-menu-item>a{color:#fff}
body.has-dark-hero .site-header .header-phone{color:#fff;border-color:rgba(255,255,255,.32)}
body.has-dark-hero .site-header .header-phone:hover{border-color:#fff;background:rgba(255,255,255,.08)}
body.has-dark-hero .site-header .nav-toggle{border-color:rgba(255,255,255,.32)}
body.has-dark-hero .site-header .nav-toggle span{background:#fff}
/* mobile dropdown menu - dark on dark-hero pages */
body.has-dark-hero .mobile-nav{background:var(--ink-2);border-top-color:var(--line-dark)}
body.has-dark-hero .mobile-nav ul a{color:#fff;border-bottom-color:var(--line-dark)}
body.has-dark-hero .mobile-nav .m-phone{color:var(--paper-dim)}
/* niche dropdown - dark on dark-hero pages */
body.has-dark-hero .site-header .site-nav .sub-menu{background:var(--ink-2);border-color:var(--line-dark)}
body.has-dark-hero .site-header .site-nav .sub-menu a{color:rgba(255,255,255,.78)}
body.has-dark-hero .site-header .site-nav .sub-menu a:hover{background:rgba(255,255,255,.08);color:#fff}
body.has-dark-hero .mobile-nav .nav-sub-toggle{border-bottom-color:var(--line-dark)}
body.has-dark-hero .mobile-nav .sub-menu a{color:var(--paper-dim)}

/* ============================================================
   client logos
   ============================================================ */
.logos{background:var(--offwhite);border-block:1px solid var(--hairline)}
.logos.section--tight{padding-block:clamp(1.1rem,2.4vw,2.1rem)}
.logos .container{display:flex;flex-direction:column;align-items:center;gap:1.75rem}
.logo-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:1.5rem 2.5rem;width:100%}
.logo-row li{font-family:var(--serif);font-weight:600;font-size:clamp(1.15rem,1rem + .8vw,1.6rem);letter-spacing:.02em;color:var(--stone);transition:color .25s;white-space:nowrap}
.logo-row li:hover{color:var(--ink)}
/* client logos marquee (monochrome, auto-scroll) */
.logos-marquee{width:100%;overflow:hidden;display:flex;flex-direction:column;gap:clamp(1.1rem,2.4vw,2.1rem);-webkit-mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.logos-track{display:flex;width:max-content;animation:logos-scroll 50s linear infinite}
.logos-track--reverse{animation-duration:58s;animation-direction:reverse}
.logos-marquee:hover .logos-track{animation-play-state:paused}
.logos-set{display:flex;align-items:center;gap:clamp(2.25rem,4.5vw,4rem);padding-right:clamp(2.25rem,4.5vw,4rem)}
.client-logo{height:clamp(5.125rem,9vw,7.5rem);width:auto;flex:none;filter:grayscale(1);opacity:.6;transition:opacity .25s}
.client-logo:hover{opacity:.95}
@keyframes logos-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
  .logos-track{animation:none;flex-wrap:wrap;justify-content:center;width:auto}
  .logos-set{flex-wrap:wrap;justify-content:center;padding-right:0;row-gap:clamp(1.25rem,3vw,2rem)}
  .logos-set[aria-hidden="true"]{display:none}
}

/* ============================================================
   two paths
   ============================================================ */
.paths-grid{display:grid;gap:1.5rem;margin-top:clamp(2rem,4vw,3.25rem)}
.path-card{position:relative;border-radius:var(--r);padding:clamp(1.75rem,3.5vw,2.75rem);border:1px solid var(--hairline);background:var(--offwhite);display:flex;flex-direction:column;overflow:hidden;transition:transform .3s,box-shadow .3s}
.path-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:0.3125rem;background:var(--cyan)}
.path-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift)}
.path-card .idx{font-family:var(--serif);font-size:clamp(3.5rem,8vw,5rem);line-height:1;color:var(--hairline);position:absolute;top:1.1rem;right:1.5rem;pointer-events:none}
.path-card .eyebrow{margin-bottom:1.5rem}
.path-card h3{margin-bottom:.85rem;max-width:18ch}
.path-card p{color:var(--stone);margin-bottom:.85rem;max-width:34ch}
.path-card .feat{font-size:.9rem;color:var(--stone);margin-bottom:1.75rem}
.path-card .btn{margin-top:auto;align-self:flex-start}
.path-card--dark{background:var(--ink-2);border-color:var(--ink-2);color:#fff}
.path-card--dark::before{background:var(--rainbow)}
.path-card--dark .idx{color:rgba(255,255,255,.1)}
.path-card--dark h3{color:#fff}
.path-card--dark p,.path-card--dark .feat{color:var(--paper-dim)}
.path-card--dark .eyebrow{color:var(--accent-dark)}
/* dark branding band (full-width dark section) */
.section--band{background:var(--ink-2);color:#fff}
.section--band::before{content:"";position:absolute;left:0;right:0;top:0;height:0.25rem;background:var(--rainbow)}
.section--band h2{color:#fff}
.section--band .lead{color:var(--paper-dim);margin-top:1.25rem}
.band-inner{display:flex;flex-direction:column;gap:1.75rem;align-items:flex-start}
@media (min-width:820px){
  .band-inner{flex-direction:row;align-items:center;justify-content:space-between;gap:clamp(2rem,5vw,4.5rem)}
  .band-copy{max-width:64ch}
  .band-inner .btn{flex:none}
}

/* ============================================================
   why us
   ============================================================ */
.why{background:var(--oat)}
.why-top{display:grid;gap:1.5rem;align-items:end;margin-bottom:clamp(2.5rem,5vw,4rem)}
/* cinematic vertical reel - wordless full-bleed band of slowly drifting framed photos */
.why-reel{position:relative;overflow:hidden;background:var(--oat);height:clamp(28.75rem,64vh,46.25rem)}
.reel-stage{position:relative;display:flex;gap:clamp(0.5rem,1vw,1rem);height:100%;overflow:hidden;padding:0 clamp(0.5rem,1vw,1rem);-webkit-mask:linear-gradient(180deg,transparent,#000 9%,#000 91%,transparent);mask:linear-gradient(180deg,transparent,#000 9%,#000 91%,transparent)}
.reel-col{flex:1;min-width:0}
.reel-col:nth-child(n+3){display:none}
.reel-track{display:flex;flex-direction:column;will-change:transform;animation:reel-up var(--dur,64s) linear infinite;animation-delay:var(--delay,0s)}
.reel-col--down .reel-track{animation-name:reel-down}
.reel-card{position:relative;margin:0 0 clamp(0.5rem,1vw,1rem);border-radius:14px;overflow:hidden;background:#fff;border:1px solid rgba(0,0,0,.06);box-shadow:0 14px 30px -18px rgba(0,0,0,.35)}
.reel-card img{width:100%;height:100%;object-fit:cover;display:block}
@keyframes reel-up{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-50%,0)}}
@keyframes reel-down{from{transform:translate3d(0,-50%,0)}to{transform:translate3d(0,0,0)}}
@media (prefers-reduced-motion:reduce){.reel-track{animation:none}}
@media (min-width:600px){
  .reel-col:nth-child(3),.reel-col:nth-child(4){display:block}
  .reel-col:nth-child(n+5){display:none}
}
@media (min-width:880px){
  .reel-col:nth-child(n){display:block}
}

/* ============================================================
   niches
   ============================================================ */
.niches-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:clamp(2rem,4vw,3rem)}
#niches-title{text-transform:uppercase;font-weight:700;letter-spacing:-.01em}
.niches-grid{display:grid;gap:1.25rem}
.niches-foot{text-align:center;margin-top:clamp(2rem,4vw,3rem)}
.niche{position:relative;display:flex;overflow:hidden;border:1px solid var(--hairline);border-left:5px solid var(--acc);border-radius:var(--r);min-height:18.75rem;box-shadow:var(--shadow);transition:transform .3s,box-shadow .3s,border-color .3s;--acc:var(--brand)}
.niche:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:var(--acc)}
.niche__media{position:absolute;inset:0;z-index:0;background:linear-gradient(100deg,#EBE3D3 25%,#F8F4EC 45%,#F8F4EC 55%,#EBE3D3 75%);background-size:220% 100%;animation:niche-load 1.5s linear infinite}
@keyframes niche-load{from{background-position:200% 0}to{background-position:-120% 0}}
@media (prefers-reduced-motion:reduce){.niche__media{animation:none;background:#EBE3D3}}
.niche__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* card without a photo → tinted placeholder tile (same language as .ph), never the loading shimmer */
.niche__media--ph{animation:none;background:var(--tint,#EBE3D3)}
.niche__media--ph::before{content:"";position:absolute;inset:0.875rem;border:1px solid rgba(23,19,15,.14);border-radius:4px;opacity:.8;pointer-events:none}
.niche__media--ph::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;background:radial-gradient(120% 90% at 78% 16%,rgba(255,255,255,.45),transparent 55%),radial-gradient(100% 80% at 12% 94%,rgba(23,19,15,.06),transparent 60%)}
.niche__ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--acc);opacity:.45}
.niche__ph svg{width:2.125rem;height:2.125rem}
.niche__body{position:relative;z-index:2;flex:1;display:flex;flex-direction:column;gap:.6rem;padding:clamp(1.4rem,2.3vw,1.9rem)}
.niche__txt{margin-top:auto;display:flex;flex-direction:column;gap:.55rem;max-width:32rem}
.niche .ic{width:1.875rem;height:1.875rem;stroke:var(--acc);stroke-width:1.5;fill:none}
.niche h3{font-family:var(--serif);font-weight:700;text-transform:uppercase;overflow-wrap:normal;word-break:keep-all;hyphens:none;font-size:clamp(1.3rem,1.05rem + .7vw,1.7rem);line-height:1.05;letter-spacing:-.005em}
.niche p{color:var(--stone);font-size:.9rem;line-height:1.45}
.niche .go{display:inline-flex;align-items:center;gap:.5em;font-size:.82rem;font-weight:600;color:var(--acc)}
.niche .go .ar{transition:transform .25s}
.niche:hover .go .ar{transform:translateX(3px)}
/* photo present → image fills the whole card, text overlays it */
/* lock the card to the photo's 16:9 so the composition (and the empty left
   band reserved for text) stays identical on every screen size - no re-crop,
   no bags sliding under the text. align-self:start stops the grid from
   stretching the card taller than 16:9 to match its row neighbours. */
.niche:has(.niche__img):not(.niche--flag),
.niche:has(.niche__media--ph):not(.niche--flag){aspect-ratio:16/9;min-height:0;align-self:start}
.niche:has(.niche__img){border-color:rgba(23,19,15,.12);border-left-color:var(--acc)}
.niche:has(.niche__img) h3{color:var(--ink)}
.niche:has(.niche__img) p{color:var(--stone)}
.niche:has(.niche__img) .niche__body{text-shadow:none}
.niche:has(.niche__img) .ic{filter:none}
.niche--orange{--acc:#F7941E;--tint:#FFE9CC}
.niche--violet{--acc:#B11F9C;--tint:#F7D9F2}
.niche--cyan{--acc:#00AEEF;--tint:#CFEFFD}
.niche--green{--acc:#2CB24A;--tint:#D3F3DB}
.niche--blue{--acc:#2C5BD6;--tint:#D8E3FB}
.niche--navy{--acc:#1E3A8A;--tint:#D8E0F2}
.niche--red{--acc:#F0323C;--tint:#FCD9DB}
.niche--rose{--acc:#EC008C;--tint:#FCD4E7}
.niche--indigo{--acc:#6A2BD6;--tint:#E4D9FB}
.niche--lime{--acc:#7FB52A;--tint:#E9F4CE}
.niche--clay{--acc:#EA5A1C;--tint:#FBDECC}
.niche--teal{--acc:#00B3A4;--tint:#CCF1EC}
.niche--flag{color:#fff;--acc:#FFC400}
.niche--flag .niche__body{padding:clamp(1.7rem,2.8vw,2.5rem)}
.niche--flag .niche__txt{max-width:30rem}
.niche--flag .ic{width:2.125rem;height:2.125rem;stroke:var(--acc)}
.niche--flag h3{color:#fff}
.niche--flag p{color:rgba(255,255,255,.8)}
.niche--flag .go{color:var(--acc)}
.flag-badge{position:absolute;top:clamp(1.1rem,2vw,1.5rem);right:clamp(1.1rem,2vw,1.5rem);z-index:4;display:inline-flex;align-items:center;gap:.45em;font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:#1B140C;background:linear-gradient(180deg,#E7C268,#C79B3E);padding:.45em .7em;border-radius:5px}
.flag-badge svg{width:0.6875rem;height:0.6875rem;fill:currentColor;stroke:none}

/* Niche solutions - category switchers + photo carousel */
.niche-switch{display:none;flex-wrap:wrap;gap:.6rem;margin-bottom:clamp(1.75rem,3.5vw,2.75rem)}
.js .niche-switch{display:flex}
.niche-tab{--acc:var(--brand-strong);font:inherit;font-weight:600;font-size:.92rem;line-height:1;letter-spacing:.01em;padding:.7em 1.1em;border-radius:999px;cursor:pointer;color:var(--ink);background:var(--offwhite);border:1px solid var(--hairline);transition:color .2s,background .2s,border-color .2s,transform .2s}
.niche-tab[data-acc=orange]{--acc:#C56A0A}
.niche-tab[data-acc=violet]{--acc:#7A2374}
.niche-tab[data-acc=cyan]{--acc:#0A6E96}
.niche-tab[data-acc=green]{--acc:#177A37}
.niche-tab[data-acc=blue]{--acc:#23408F}
.niche-tab[data-acc=rose]{--acc:#B02768}
.niche-tab:hover{border-color:var(--acc);color:var(--acc);transform:translateY(-1px)}
.niche-tab.is-active{background:var(--acc);border-color:var(--acc);color:#fff}

.niche-panel{--acc:var(--brand-strong)}
.niche-panel[data-acc=orange]{--acc:#C56A0A}
.niche-panel[data-acc=violet]{--acc:#7A2374}
.niche-panel[data-acc=cyan]{--acc:#0A6E96}
.niche-panel[data-acc=green]{--acc:#177A37}
.niche-panel[data-acc=blue]{--acc:#23408F}
.niche-panel[data-acc=rose]{--acc:#B02768}
.niche-panel + .niche-panel{margin-top:clamp(2.5rem,5vw,4rem)}
.js .niche-panel{display:none}
.js .niche-panel + .niche-panel{margin-top:0}
.js .niche-panel.is-active{display:block;animation:nfade .4s ease}
@keyframes nfade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

.ncar{position:relative}
.ncar-viewport{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;-webkit-mask:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent);mask:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent)}
.ncar-viewport::-webkit-scrollbar{display:none}
.ncar-track{display:flex;gap:1.25rem;list-style:none;margin:0;padding:.25rem .35rem 1rem}
.ncar-slide{flex:0 0 80%;max-width:21.25rem;scroll-snap-align:start}
.ncar-card{margin:0;display:flex;flex-direction:column;gap:1rem;height:100%}
.ncar-card .ph{aspect-ratio:4/5;min-height:0}
.ncar-card .ph__mark svg{width:1.875rem;height:1.875rem;opacity:.55}
.ncar-meta h3{font-family:var(--serif);font-weight:500;font-size:1.2rem;line-height:1.12;color:var(--ink)}
.ncar-meta p{color:var(--stone);font-size:.9rem;line-height:1.5;margin-top:.4rem}

.ncar-arrow{position:absolute;top:38%;transform:translateY(-50%);z-index:3;width:2.75rem;height:2.75rem;border-radius:50%;display:grid;place-items:center;cursor:pointer;background:#fff;color:var(--ink);border:1px solid var(--hairline);box-shadow:var(--shadow);transition:color .2s,border-color .2s,transform .2s}
.ncar-arrow svg{width:1.375rem;height:1.375rem}
.ncar-arrow:hover{color:var(--acc);border-color:var(--acc);transform:translateY(-50%) scale(1.06)}
.ncar-arrow--prev{left:-0.375rem}
.ncar-arrow--next{right:-0.375rem}
.ncar-arrow[hidden]{display:none}

.niche-panel-foot{margin-top:1.5rem}

@media (min-width:680px){
  .ncar-slide{flex-basis:42%}
}
@media (min-width:1000px){
  .ncar-slide{flex-basis:calc((100% - 2 * 1.25rem) / 3)}
  .ncar-arrow--prev{left:-1.375rem}
  .ncar-arrow--next{right:-1.375rem}
}
@media (min-width:1400px){
  .ncar-slide{flex-basis:calc((100% - 3 * 1.25rem) / 4)}
}
@media (hover:none){.ncar-arrow{display:none}}
@media (prefers-reduced-motion:reduce){.js .niche-panel.is-active{animation:none}}

/* Niche-page formats - per-category photo gallery (switchers open a category's gallery) */
.gal-intro{color:var(--stone);max-width:62ch;margin:0 0 clamp(1.25rem,3vw,2.25rem);font-size:1.05rem;line-height:1.6}
.gal-intro--solo{margin-top:0}
.gal-item .ph__video{z-index:0}
.gal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr));gap:1.25rem}
.gal-item{margin:0;display:flex;flex-direction:column;gap:.9rem}
.gal-item[hidden]{display:none}
.gal-item .ph{aspect-ratio:4/5;min-height:0}
.gal-item .ph__mark svg{width:1.875rem;height:1.875rem;opacity:.55}
.gal-open{cursor:zoom-in;-webkit-tap-highlight-color:transparent}
.gal-open:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.gal-zoom{position:absolute;right:0.875rem;top:0.875rem;z-index:2;width:2.5rem;height:2.5rem;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(16,13,11,.68);pointer-events:none;transition:transform .2s,background .2s}
.gal-zoom svg{width:1.25rem;height:1.25rem}
@media (hover:hover){.gal-open:hover .gal-zoom{background:var(--brand);transform:scale(1.08)}}
.gal-item h3{font-family:var(--serif);font-weight:500;font-size:1.2rem;line-height:1.12;color:var(--ink)}
.gal-item p{color:var(--stone);font-size:.9rem;line-height:1.5;margin-top:.35rem}

/* ============================================================
   process - how we work (linear stepper)
   ============================================================ */
.process-flow{list-style:none;margin:clamp(2rem,4vw,3rem) 0 0;padding:0;display:grid;gap:0}
.process-step{position:relative;display:grid;grid-template-columns:auto 1fr;gap:1.25rem;padding-bottom:clamp(1.75rem,3.5vw,2.5rem);--acc:var(--brand)}
.process-step:last-child{padding-bottom:0}
.process-step:nth-child(1){--acc:var(--pink)}
.process-step:nth-child(2){--acc:var(--orange)}
.process-step:nth-child(3){--acc:var(--cyan)}
.process-step:nth-child(4){--acc:var(--green)}
.process-step:nth-child(5){--acc:var(--blue)}
.process-step:not(:last-child)::before{content:"";position:absolute;left:1.4rem;top:2.85rem;bottom:0;width:0.125rem;background:linear-gradient(var(--acc),var(--hairline) 70%);transform:translateX(-1px)}
.process-num{position:relative;z-index:1;align-self:start;width:2.8rem;height:2.8rem;display:grid;place-items:center;border-radius:50%;background:var(--acc);color:var(--ink);font-family:var(--display);font-weight:800;font-size:1.05rem;line-height:1}
.process-body{display:grid;gap:.5rem;align-content:start;padding-top:.35rem}
.process-body h3{font-family:var(--serif);font-weight:500;font-size:1.3rem;line-height:1.15}
.process-body p{color:var(--stone);font-size:.93rem;line-height:1.55;max-width:48ch}

/* ============================================================
   production (dark)
   ============================================================ */
.production{background:var(--ink-2);color:#fff}
.prod-grid{display:grid;gap:clamp(2.5rem,5vw,4rem);align-items:center}
.prod-copy h2{color:#fff;margin-bottom:1.5rem}
.prod-copy .lead{color:var(--paper);margin-bottom:2rem}
.prod-list{display:grid;gap:1rem;margin-bottom:2.5rem}
.prod-list li{display:flex;gap:.85rem;align-items:flex-start;font-size:.97rem;color:#fff}
.prod-list svg{width:1.375rem;height:1.375rem;stroke-width:1.6;fill:none;flex:none;margin-top:1px}
.prod-list li:nth-child(1) svg{stroke:var(--pink)}
.prod-list li:nth-child(2) svg{stroke:var(--orange)}
.prod-list li:nth-child(3) svg{stroke:var(--accent-dark)}
.prod-list li:nth-child(4) svg{stroke:var(--lime)}
.prod-visual{display:flex;justify-content:center}

/* Production stays dark (--ink-2, white text) on every viewport - the boxed
   visual on tablet/desktop, the full-bleed video background on phones (see
   max-width:767px block). */
@media (min-width:1100px){
  /* keep the production title on a single line on desktop */
  #prod-title{white-space:nowrap;font-size:clamp(1.7rem,2.3vw,2.7rem)}
}

/* ============================================================
   production stats (single row, bordered grid, inside .prod-copy)
   section is dark on every viewport - labels stay light (--paper)
   ============================================================ */
.prod-copy .stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:2rem;border:1px solid rgba(255,255,255,.14);border-radius:14px;overflow:hidden}
.stat{padding:1.25rem 1rem;border-left:1px solid rgba(255,255,255,.14)}
.stat:first-child{border-left:0}
.stat b{display:block;font-family:var(--display);font-weight:800;line-height:1;letter-spacing:-.02em;font-size:clamp(1.5rem,1.1rem + 1.4vw,2.25rem)}
.stat:nth-child(1) b{color:var(--pink)}
.stat:nth-child(2) b{color:var(--orange)}
.stat:nth-child(3) b{color:var(--accent-dark)}
.stat:nth-child(4) b{color:var(--lime)}
.stat span{display:block;margin-top:.4rem;font-size:.9rem;line-height:1.4;color:var(--paper)}
.prod-visual .ph--main{flex:none;width:min(100%,28.75rem);aspect-ratio:4/5;max-height:37.5rem;min-height:clamp(20rem,45vw,32.5rem)}

/* ============================================================
   cases
   ============================================================ */
.cases-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:clamp(2rem,4vw,3rem)}
.cases-head .lead{margin-top:1rem}
/* all case cards are equal squares; flex so an incomplete last row sits centred */
.cases-grid{--case-cols:1;--case-gap:clamp(1.25rem,2.5vw,2rem);display:flex;flex-wrap:wrap;justify-content:center;gap:var(--case-gap)}
.cases-grid>.case{flex:0 0 calc((100% - (var(--case-cols) - 1) * var(--case-gap)) / var(--case-cols));min-width:0}
.case figure{margin:0;display:flex;flex-direction:column;gap:1rem}
.case .ph{aspect-ratio:1/1;min-height:0;transition:transform .3s,box-shadow .3s}
.case:hover .ph{box-shadow:var(--shadow);transform:translateY(-3px)}
.case figcaption{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding-bottom:.9rem;border-bottom:1px solid var(--hairline)}
.case .brand{font-family:var(--serif);font-weight:500;font-size:1.4rem;line-height:1.1}
/* «Tone» section: a deeper oat background with a plain straight edge, so «Кейси» separates from
   «Рішення для кожної ніші», which shares the paper background above it. No decoration by design. */
.section--tone{background:var(--oat)}
.section--tone .case figcaption{border-bottom-color:rgba(23,19,15,.13)}

/* ============================================================
   final CTA (dark)
   ============================================================ */
.cta{background:var(--ink-2);color:#fff;text-align:center;position:relative}
.cta::before{content:"";position:absolute;left:0;right:0;top:0;height:0.25rem;background:var(--rainbow)}
.cta-inner{max-width:48ch;margin-inline:auto}
.cta h2{color:#fff;margin-bottom:1.25rem}
.cta p{color:var(--paper-dim);margin-bottom:2.25rem;font-size:1.1rem}
.cta-actions{display:flex;flex-wrap:wrap;gap:.85rem;justify-content:center}
.cta-grid{max-width:73.75rem;margin-inline:auto}
.cta-copy{max-width:48ch;margin-inline:auto}

/* final CTA - quote-request form (on dark) */
.cta-form{max-width:35rem;margin:2.5rem auto 0;text-align:left}
.cta-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.cta-form .field{margin:0 0 1.1rem;font-size:1rem;color:#fff}
.cta-form label{display:block;font-size:.82rem;font-weight:600;letter-spacing:.01em;color:#fff;margin-bottom:.45rem}
.cta-form .req{color:var(--accent-dark)}
.cta-form input,.cta-form select,.cta-form textarea{
  /* 16px keeps iOS Safari from auto-zooming the viewport on focus (mobile is 52.8% of UA traffic). */
  width:100%;font:inherit;font-size:1rem;line-height:1.4;color:#fff;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.18);
  border-radius:6px;padding:.75em .9em;transition:border-color .2s,background .2s;
}
.cta-form textarea{resize:vertical;min-height:6.5rem}
.cta-form input::placeholder,.cta-form textarea::placeholder{color:var(--paper-dim)}
.cta-form select{
  appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:2.5em;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B9B0A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .9em center;
}
.cta-form select option{color:var(--ink)}
.cta-form input:focus,.cta-form select:focus,.cta-form textarea:focus{
  outline:none;border-color:var(--accent-dark);background-color:rgba(255,255,255,.07);
}
.cta-form .btn{width:100%;margin-top:.4rem}
.cta-form .form-fine{font-size:.78rem;line-height:1.5;color:var(--paper-dim);margin:.9rem 0 0;text-align:center}
.cta-form .hp-field{position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden}
.cta .form-note{max-width:35rem;margin:0 auto 1.5rem;padding:.85em 1.1em;border-radius:8px;font-size:.95rem;line-height:1.5;text-align:left}
.cta .form-note--ok{background:rgba(31,174,77,.14);border:1px solid rgba(31,174,77,.5);color:#d7f6e1}
.cta .form-note--err{background:rgba(240,50,60,.12);border:1px solid rgba(240,50,60,.5);color:#ffd7da}
.cta .cta-alt{margin:1.75rem 0 0;font-size:1rem;text-align:center}
@media (max-width:560px){
  .cta-form{margin-top:2rem}
  .cta-form .form-row{grid-template-columns:1fr;gap:0}
}
/* large screens: copy (title + text) left, form right */
@media (min-width:1100px){
  .cta-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2.5rem,4vw,5rem);align-items:center;text-align:left}
  .cta-copy{max-width:none;margin-inline:0}
  .cta-grid .cta-form{margin-top:0}
}

/* ============================================================
   footer (dark)
   ============================================================ */
.site-footer{background:var(--ink-2);color:var(--paper-dim);position:relative;padding-bottom:env(safe-area-inset-bottom)}
.site-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:0.25rem;background:var(--rainbow)}
.footer-grid{display:grid;gap:2.5rem;padding-block:clamp(3rem,5vw,4.5rem)}
.footer-brand .logo .logo-mark{width:11rem;height:2.75rem}
.footer-brand p.about{margin-top:1rem;max-width:30ch;font-size:.92rem;color:var(--paper-dim)}
.foot-col h4{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--accent-dark);font-weight:600;margin-bottom:1.1rem}
.foot-col h4.foot-col__sub{margin-top:2rem}
.foot-col ul{display:grid;gap:.7rem}
.foot-col a,.foot-col li{font-size:.93rem;color:var(--paper-dim);transition:color .2s}
.foot-col a:hover{color:#fff}
.foot-contacts a{display:block}
.foot-contact + .foot-contact{margin-top:1.1rem}
.foot-contact__label{display:block;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--paper-dim);opacity:.7;margin-bottom:.5rem}
.socials{display:flex;gap:.6rem;margin-top:1.5rem}
.socials a{width:2.5rem;height:2.5rem;border:1px solid var(--line-dark);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;transition:border-color .2s,background .2s,transform .2s}
.socials a:hover{transform:translateY(-2px)}
.socials a:nth-child(1):hover{border-color:var(--pink);background:rgba(236,0,140,.15)}
.socials a:nth-child(2):hover{border-color:var(--cyan);background:rgba(0,174,239,.15)}
.socials svg{width:1.1875rem;height:1.1875rem;stroke:#fff;stroke-width:1.5;fill:none}
.footer-bottom{border-top:1px solid var(--line-dark);padding-block:1.5rem;display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;justify-content:space-between;align-items:center;font-size:.83rem;color:var(--stone)}
/* Room under the copyright/links so the fixed pills (call + calc on desktop, call + «Замовити» on mobile) never sit on the text. */
.footer-bottom{padding-bottom:6rem}
.footer-bottom .links{display:flex;gap:1.25rem;flex-wrap:wrap}
.footer-bottom a:hover{color:#fff}

/* ============================================================
   blog / content (index, single, page)
   ============================================================ */
.page-hero{padding-block:clamp(2.5rem,5vw,4rem) clamp(1.5rem,3vw,2.5rem)}
.page-hero .eyebrow{margin-bottom:1rem}
.posts-grid{display:grid;gap:clamp(1.5rem,3vw,2.25rem)}
.post-card{display:flex;flex-direction:column;gap:1rem}
.post-card .ph{aspect-ratio:16/10;min-height:0}
.post-card .meta{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--stone);font-weight:600}
.post-card h2,.post-card h3{font-family:var(--serif);font-weight:500;font-size:1.5rem;line-height:1.15}
.post-card p{color:var(--stone);font-size:.95rem}
.entry{max-width:72ch;margin-inline:auto}
.entry-header{margin-bottom:2rem}
.entry-header h1{font-family:var(--serif);font-weight:500;font-size:clamp(2rem,1.4rem + 2.4vw,3rem);line-height:1.1;margin-bottom:1rem}
.entry-meta{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--stone);font-weight:600}
.entry-content{font-size:1.075rem;line-height:1.75}
.entry-content > * + *{margin-top:1.2rem}
.entry-content h2{font-family:var(--serif);font-weight:500;font-size:1.9rem;line-height:1.15;margin-top:2.2rem}
.entry-content h3{font-family:var(--serif);font-weight:500;font-size:1.5rem;line-height:1.2;margin-top:1.8rem}
.entry-content a{color:var(--brand-strong);border-bottom:1px solid var(--hairline);transition:border-color .2s}
.entry-content a:hover{border-color:var(--brand)}
.entry-content ul,.entry-content ol{padding-left:1.3rem;display:grid;gap:.5rem}
.entry-content ul{list-style:disc}
.entry-content ol{list-style:decimal}
.entry-content img{border-radius:var(--r)}
.entry-content blockquote{border-left:3px solid var(--brand);padding-left:1.25rem;font-family:var(--serif);font-size:1.4rem;font-style:italic;color:var(--ink)}
.entry-content figure{margin:0}

/* page "in development" placeholder (template-wip.php) */
.wip{min-height:58vh;display:grid;place-items:center;text-align:center}
.wip-card{max-width:34rem;margin-inline:auto;display:flex;flex-direction:column;align-items:center;gap:1.1rem}
.wip-icon{width:4rem;height:4rem;border-radius:50%;display:grid;place-items:center;background:var(--oat);color:var(--brand-strong);border:1px solid var(--hairline)}
.wip-icon svg{width:1.875rem;height:1.875rem}
.wip-card .lead{margin:0 auto}
.wip-actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:.5rem}
.alignwide{width:min(68.75rem,100%)}
.alignfull{width:100vw;margin-left:calc(50% - 50vw)}
.aligncenter{margin-inline:auto;display:block}
.pagination{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:3rem}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;height:2.75rem;padding:0 .6rem;border:1px solid var(--hairline);border-radius:6px;font-weight:600;font-size:.9rem}
.pagination .page-numbers.current{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.pagination a.page-numbers:hover{border-color:var(--brand);color:var(--brand-strong)}

/* 404 / not found */
.notfound{text-align:center;padding-block:clamp(4rem,10vw,8rem)}
.notfound .code{font-family:var(--display);font-weight:800;font-size:clamp(4rem,18vw,9rem);line-height:1;background:var(--rainbow);-webkit-background-clip:text;background-clip:text;color:transparent}
.notfound h1{font-family:var(--serif);font-weight:500;font-size:clamp(1.8rem,1.4rem+1.6vw,2.6rem);margin:1rem 0 .75rem}
.notfound p{color:var(--stone);margin-bottom:2rem}

/* ============================================================
   WooCommerce (minimal v1 - full templates next step)
   ============================================================ */
.woocommerce a.button,.woocommerce button.button,.woocommerce .button,.woocommerce #respond input#submit{
  background:var(--brand-strong);color:#fff;border-radius:6px;font-weight:600;padding:.9em 1.5em;border:1px solid var(--brand-strong);transition:background .25s,transform .25s;
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce .button:hover{background:var(--ink);border-color:var(--ink);transform:translateY(-2px)}
.woocommerce .price{color:var(--ink);font-weight:600}
.woocommerce ul.products li.product{background:var(--offwhite);border:1px solid var(--hairline);border-radius:var(--r);padding:1rem;transition:transform .3s,box-shadow .3s}
.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:var(--shadow)}

/* ============================================================
   niche hub: breadcrumb, subcat accent, FAQ
   ============================================================ */
.niche--pink{--acc:#C2017A;--tint:#FBE0EF}

.breadcrumb{font-size:.82rem;color:var(--stone);margin-bottom:1.25rem;display:flex;gap:.5em;flex-wrap:wrap;font-weight:500}
.breadcrumb a{color:var(--stone)}
.breadcrumb a:hover{color:var(--brand-strong)}
.breadcrumb span[aria-hidden]{color:var(--hairline)}

.faq-section{background:var(--offwhite)}
.faq{max-width:80ch;margin-top:clamp(2rem,4vw,3rem);margin-inline:auto;border-top:1px solid var(--hairline)}
.faq-item{border-bottom:1px solid var(--hairline)}
.faq-item summary{cursor:pointer;list-style:none;padding:1.3rem 0;font-family:var(--serif);font-weight:500;font-size:clamp(1.2rem,1rem + .6vw,1.5rem);line-height:1.25;display:flex;justify-content:space-between;gap:1.5rem;align-items:baseline;color:var(--ink)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-family:var(--display);font-weight:800;color:var(--brand);flex:none;font-size:1.3rem;line-height:1}
.faq-item[open] summary::after{content:"-"}
.faq-a{padding:0 0 1.4rem;color:var(--stone);max-width:72ch}
.faq-a p{margin:0}
.faq-a ul{display:grid;gap:.5rem;margin:0;padding-left:1.3rem;list-style:disc}
.faq-a p + ul{margin-top:.7rem}
.faq-a li{margin:0}

/* ============================================================
   scroll reveal (progressive enhancement)
   ============================================================ */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s,transform .7s}
.js .reveal.in{opacity:1;transform:none}
.js .r-stagger > *{opacity:0;transform:translateY(18px);transition:opacity .6s,transform .6s}
.js .r-stagger.in > *{opacity:1;transform:none}
.js .r-stagger.in > *:nth-child(2){transition-delay:.07s}
.js .r-stagger.in > *:nth-child(3){transition-delay:.14s}
.js .r-stagger.in > *:nth-child(4){transition-delay:.21s}
/* TOUCH: NO FADE-INS. On a real iPhone a block that fades/slides in gets a fresh GPU
   layer mid-scroll, and iOS Safari sometimes fills it with stale pixels of the photo
   gallery above (grey tile "ghosts" over the logos, FAQ and SEO text). The simulator
   never shows it. Phones and tablets therefore get every block in place, no animation. */
@media (hover:none) and (pointer:coarse){
  .js .reveal,.js .r-stagger > *{opacity:1;transform:none;transition:none}
  .js .niche-panel.is-active{animation:none}
}
.js .r-stagger.in > *:nth-child(5){transition-delay:.28s}
.js .r-stagger.in > *:nth-child(6){transition-delay:.35s}
@media (prefers-reduced-motion:reduce){.js .reveal,.js .r-stagger > *{opacity:1;transform:none;transition:none}}

/* ============================================================
   responsive
   ============================================================ */
/* below 900px the niche text overlays the full-width photo (no 40% column),
   so a soft light wash anchored to the bottom-left keeps the heading legible
   over busy product imagery without touching the clean desktop layout. */
@media (max-width:899px){
  .niche:has(.niche__img) .niche__body{background:radial-gradient(135% 100% at 0% 100%,rgba(255,255,255,.93),rgba(255,255,255,.6) 34%,transparent 64%)}
  .niche:has(.niche__img) .niche__txt{max-width:62%}
}
@media (max-width:599px){
  .niche p{max-width:50%}
}
@media (min-width:600px){
  .niches-grid{grid-template-columns:repeat(2,1fr)}
  .niche--flag{grid-column:span 2;min-height:37.5rem}
  .niche--flag h3{font-size:clamp(1.85rem,1.3rem + 1.7vw,2.9rem)}
  .cases-grid{--case-cols:2}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .posts-grid{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:900px){
  .hero-grid{grid-template-columns:1.5fr 1fr}
  .paths-grid{grid-template-columns:repeat(2,1fr)}
  .why-top{grid-template-columns:1.1fr .9fr}
  .niches-grid{grid-template-columns:repeat(3,1fr);grid-auto-flow:dense}
  .niche--flag{grid-column:span 2;grid-row:span 2}
  .niche__body{flex:0 0 40%;max-width:40%;min-width:min-content}
  /* rows follow the 16:9 cards; the flag just spans 2 rows - no min-height, so no empty band under the cards */
  .niche--flag{min-height:0}
  .process-flow{--pflow-gap:clamp(1.5rem,3vw,2.75rem);grid-template-columns:repeat(5,1fr);gap:var(--pflow-gap);align-items:start}
  .process-step{grid-template-columns:1fr;gap:1.1rem;padding-bottom:0}
  .process-num{justify-self:start}
  .process-body{padding-top:0}
  .process-step:not(:last-child)::before{top:1.4rem;left:1.4rem;bottom:auto;width:calc(100% + var(--pflow-gap));height:0.125rem;background:linear-gradient(90deg,var(--acc),var(--hairline) 70%);transform:translateY(-1px)}
  .prod-grid{grid-template-columns:1fr 1fr}
  .prod-visual{justify-content:flex-end}
  .cases-grid{--case-cols:3}
  .footer-grid{grid-template-columns:1.1fr 1.7fr 1.3fr}
  .foot-col--niches ul{grid-template-columns:1fr 1fr;gap:.7rem 1.5rem}
  .posts-grid{grid-template-columns:repeat(3,1fr)}
}
/* Full horizontal nav on every desktop width (1024px+; compact below 1280px). Below this the
   long UA labels crowd the CTA icons, so the header collapses to the floating
   burger + fullscreen overlay. Decoupled from the 900px layout grids above. */
@media (min-width:1024px){
  .site-nav{display:block}
  .header-cta{display:flex}
  .nav-toggle{display:none}
  .mobile-nav{display:none !important}
}
/* 1024-1279px laptops: tighter gaps + slightly smaller labels so the menu stays in one row */
@media (min-width:1024px) and (max-width:1279px){
  .header-inner{gap:1rem}
  .site-nav{margin-left:.75rem}
  .site-nav ul{gap:1.15rem}
  .site-nav > ul > li > a{font-size:.875rem;letter-spacing:.04em}
  .header-cta{gap:.5rem}
}
@media (min-width:1024px) and (max-width:1199px){
  .site-header .logo-mark,body.has-dark-hero .site-header .logo-mark{width:8.5rem;height:auto}
  .site-nav{margin-left:.25rem}
  .site-nav ul{gap:.85rem}
  .site-nav > ul > li > a{font-size:.8rem;letter-spacing:.02em}
}
/* 5 square cards per row from 1280px → 10 cases = two full rows */
@media (min-width:1280px){
  .cases-grid{--case-cols:5;--case-gap:1.25rem}
  .case .brand{font-size:1.15rem}
}

/* ============================================================
   responsive hardening - tuned to UA 2026 screen data
   (mobile 52.8%; top devices 414/393/375px; 800×600 windowed
   desktop must not break below 768px)
   ============================================================ */

/* Mobile header: keep the sticky bar compact (≤60px) so it doesn't
   eat the short viewports of the top mobile devices. Logo already
   shrinks to 45px at ≤767px, which fits comfortably inside 60px. */
@media (max-width:767px){
  .header-inner{min-height:3.75rem;gap:1rem}
}

/* Production - the video stays on phones too (client request 2026-09-30), full width under the copy. */
@media (max-width:767px){
  .prod-visual .ph--main{width:100%;min-height:0}
  /* too narrow for a 4-up row - wrap into a 2×2 bordered grid */
  .prod-copy .stats{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(3){border-left:0}
  .stat:nth-child(n+3){border-top:1px solid rgba(255,255,255,.14)}
}

/* Featured images in the post grid: crop to the same 16/10 frame as the
   tonal placeholders so real photos and placeholders line up uniformly. */
.post-card a img,.post-card .post-thumb{
  width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--r);display:block;
}

/* Fluid media in post/page content. `responsive-embeds` covers WP oEmbeds;
   this catches raw-pasted iframes (Google Maps, custom embeds) too.
   Wrap a manual iframe in <div class="embed-responsive"> for 16:9. */
.entry-content iframe,.entry-content embed,.entry-content object,.entry-content video{max-width:100%}
.embed-responsive{position:relative;width:100%;height:0;padding-bottom:56.25%;overflow:hidden;border-radius:var(--r)}
.embed-responsive iframe,.embed-responsive embed,.embed-responsive object,.embed-responsive video{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Gutenberg columns: force a single column on mobile (WP core also stacks
   below 782px - this is a belt-and-braces guard for the 375-767px range). */
@media (max-width:767px){
  .entry-content .wp-block-columns{flex-wrap:wrap}
  .entry-content .wp-block-column{flex-basis:100% !important;min-width:0}
}

/* ------------------------------------------------------------
   WooCommerce - active only if WooCommerce is installed.
   Product grid: 2 cols on mobile, 3 on tablet/desktop; cart &
   checkout collapse to a single column on mobile.
   ------------------------------------------------------------ */
.woocommerce ul.products,.woocommerce-page ul.products{display:grid;gap:1rem;margin:0}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto;float:none;margin:0 0 1rem}
.woocommerce ul.products li.product img,.woocommerce div.product div.images img{width:100%;height:auto}
@media (max-width:767px){
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:768px){
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,1fr);gap:1.5rem}
}
@media (max-width:767px){
  .woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2,
  .woocommerce-page .col2-set .col-1,.woocommerce-page .col2-set .col-2{width:100%;float:none}
  .woocommerce form.checkout .col2-set{display:block}
}

/* ============================================================
   Case gallery - clickable cover cue + lightbox (images & video)
   ============================================================ */
a.ph{cursor:pointer;text-decoration:none;color:inherit;-webkit-tap-highlight-color:transparent}
a.ph:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.case-gallery{display:none}
.case-open .ph__img{transition:transform .5s ease}
.case-open:hover .ph__img{transform:scale(1.04)}

/* Lightbox overlay */
.lbx{position:fixed;inset:0;z-index:1000;display:flex}
.lbx[hidden]{display:none}
.lbx__backdrop{position:absolute;inset:0;background:rgba(12,10,8,.88);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;transition:opacity .3s}
.lbx.is-open .lbx__backdrop{opacity:1}
.lbx__panel{
  position:relative;z-index:1;margin:auto;width:min(73.75rem,100%);height:100%;
  display:grid;grid-template-rows:1fr auto;gap:clamp(.6rem,1.6vw,1rem);
  padding:clamp(1rem,3vw,2.2rem);box-sizing:border-box;
  opacity:0;transform:scale(.985);transition:opacity .3s,transform .3s
}
.lbx.is-open .lbx__panel{opacity:1;transform:none}
.lbx__stage{position:relative;grid-row:1;margin:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.lbx__media{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}
.lbx__img,.lbx__vid{max-width:100%;max-height:100%;width:auto;height:auto;border-radius:var(--r);box-shadow:var(--shadow-lift);background:#000;object-fit:contain}
.lbx__img{cursor:zoom-in;transition:transform .25s ease;touch-action:pinch-zoom}
.lbx__img.is-zoomed{transform:scale(2.4);cursor:zoom-out;border-radius:0;box-shadow:none;position:relative;z-index:3;touch-action:none}
.lbx .lbx__close,.lbx .lbx__zoom{z-index:5}
.lbx__zoom{position:fixed;top:max(clamp(1rem,3vw,2rem),env(safe-area-inset-top));right:calc(clamp(1rem,3vw,2rem) + 3.5rem);width:2.875rem;height:2.875rem}
.lbx__zoom[hidden]{display:none}
.lbx__zoom[aria-pressed=true] .lbx__zoom-v{display:none}
.lbx.is-zoomed .lbx__nav,.lbx.is-zoomed .lbx__cap,.lbx.is-zoomed .lbx__strip{opacity:0;pointer-events:none}
.lbx__media{overflow:hidden}
.lbx__cap{flex:none;margin:.85rem 0 0;display:flex;gap:1rem;align-items:baseline;justify-content:center;flex-wrap:wrap;color:#fff;text-align:center}
.lbx__cap [data-cap]{font-family:var(--serif);font-size:1.05rem;font-weight:500}
.lbx__count{font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:rgba(255,255,255,.6);white-space:nowrap}
.lbx__btn{
  position:absolute;z-index:2;display:inline-flex;align-items:center;justify-content:center;
  color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:50%;
  cursor:pointer;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:background .2s,transform .2s
}
.lbx__btn:hover{background:rgba(255,255,255,.22)}
.lbx__btn:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.lbx__btn svg{width:1.5rem;height:1.5rem}
.lbx__close{position:fixed;top:max(clamp(1rem,3vw,2rem),env(safe-area-inset-top));right:clamp(1rem,3vw,2rem);width:2.875rem;height:2.875rem}
.lbx__nav{top:50%;transform:translateY(-50%);width:3rem;height:3rem}
.lbx__nav:hover{transform:translateY(-50%) scale(1.06)}
.lbx__prev{left:clamp(-.2rem,1vw,.6rem)}
.lbx__next{right:clamp(-.2rem,1vw,.6rem)}
.lbx__next svg{transform:scaleX(-1)}
.lbx__strip{grid-row:2;list-style:none;margin:0;padding:.15rem;display:flex;gap:.55rem;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent;justify-content:safe center}
.lbx__strip::-webkit-scrollbar{height:0.375rem}
.lbx__strip::-webkit-scrollbar-thumb{background:rgba(255,255,255,.28);border-radius:99px}
.lbx__strip li{flex:0 0 auto;scroll-snap-align:center}
.lbx__strip button{position:relative;display:block;width:4.875rem;height:3.5rem;padding:0;border:2px solid transparent;border-radius:6px;overflow:hidden;cursor:pointer;background:#222;opacity:.5;transition:opacity .2s,border-color .2s}
.lbx__strip button:hover{opacity:.85}
.lbx__strip li.is-active button{opacity:1;border-color:var(--brand)}
.lbx__strip button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.lbx__strip img{width:100%;height:100%;object-fit:cover;display:block}
.lbx__play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;background:rgba(0,0,0,.28)}
.lbx__play svg{width:1.125rem;height:1.125rem;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
html.lbx-open{overflow:hidden}
@media (max-width:640px){
  .lbx__nav{width:2.5rem;height:2.5rem}
  .lbx__nav svg,.lbx__btn svg{width:1.25rem;height:1.25rem}
  .lbx__strip button{width:3.875rem;height:2.875rem}
  .lbx__cap [data-cap]{font-size:.95rem}
}
@media (prefers-reduced-motion:reduce){
  .lbx__backdrop,.lbx__panel,.case-open .ph__img,.lbx__btn{transition:none}
}
/* Multi-cuisine brand label - dim the " | " separators so the cuisines read as a set */
.case .brand .brand-sep{color:var(--paper-dim);font-weight:400}
/* Hover-to-play cover video - fades in over the static cover image, played by app.js */
.ph__video--hover{opacity:0;transition:opacity .45s ease}
.case-open--video:hover .ph__video--hover,.case-open--video:focus-within .ph__video--hover,.ph__video--hover.is-playing{opacity:1}
@media (prefers-reduced-motion:reduce){.ph__video--hover{display:none}}

/* ============================================================
   reviews (Google) - curated social proof above the final CTA
   ============================================================ */
.reviews-badge{display:flex;width:-moz-fit-content;width:fit-content;align-items:center;gap:.55rem;margin:clamp(1.4rem,3vw,2rem) auto 0;padding:.55rem 1.05rem;background:var(--offwhite);border:1px solid var(--hairline);border-radius:999px;box-shadow:var(--shadow);color:var(--ink);font-size:.95rem;transition:transform .2s,box-shadow .2s}
.reviews-badge:hover{transform:translateY(-2px);box-shadow:var(--shadow-lift)}
.reviews-badge > svg{width:1.25rem;height:1.25rem;flex:none}
.reviews-badge__score{font-family:var(--display);font-weight:800;font-size:1.05rem}
.reviews-badge__stars{display:inline-flex;gap:1px}
.reviews-badge__stars svg{width:0.9375rem;height:0.9375rem;fill:var(--yellow)}
.reviews-badge__meta{color:var(--stone)}
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2vw,1.5rem);margin-top:clamp(2rem,4vw,3rem)}
.review{display:flex;flex-direction:column;gap:.85rem;padding:clamp(1.3rem,2vw,1.7rem);background:var(--offwhite);border:1px solid var(--hairline);border-radius:var(--r);box-shadow:var(--shadow)}
.review__head{display:flex;align-items:center;gap:.7rem}
.review__avatar{flex:none;width:2.5rem;height:2.5rem;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-weight:800;font-size:1.1rem;color:#fff;background:var(--brand);text-transform:uppercase}
.review__id{display:flex;flex-direction:column;line-height:1.25;margin-right:auto;min-width:0}
.review__name{font-weight:600;color:var(--ink)}
.review__date{font-size:.82rem;color:var(--stone)}
.review__g{flex:none;display:inline-flex}
.review__g svg{width:1.125rem;height:1.125rem}
.review__stars{display:inline-flex;gap:0.125rem}
.review__stars svg{width:1.0625rem;height:1.0625rem;fill:var(--yellow)}
.review__text{margin:0;color:var(--stone);font-size:.97rem}
.review:nth-child(6n+1) .review__avatar{background:var(--pink)}
.review:nth-child(6n+2) .review__avatar{background:var(--orange)}
.review:nth-child(6n+3) .review__avatar{background:var(--cyan)}
.review:nth-child(6n+4) .review__avatar{background:var(--violet)}
.review:nth-child(6n+5) .review__avatar{background:var(--green)}
.review:nth-child(6n+6) .review__avatar{background:var(--blue)}
.reviews-cta{text-align:center;margin-top:clamp(1.75rem,3vw,2.5rem)}
@media (max-width:900px){.reviews-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.reviews-grid{grid-template-columns:1fr}}

/* ============================================================
   Mobile menu - floating button + fullscreen overlay (≤899px)
   ------------------------------------------------------------
   On phones the header bar is no longer pinned: it scrolls away
   with the page, leaving only the menu icon as a floating button.
   Tapping it opens a fullscreen menu with the nav links and two
   quick actions - call (phone icon) and cost quote (calculator).
   Desktop keeps the sticky bar; this whole block stays off there.
   ============================================================ */
@media (max-width:1023px){
  /* Bar scrolls away with the page - only the floating icon stays. */
  .site-header,
  body.has-dark-hero .site-header{position:static}
  .header-inner{min-height:3.75rem;gap:1rem}

  /* The scrolled-state blur would turn the (scrolled-away) header into a
     containing block for its position:fixed children - trapping the floating
     menu button + overlay so they scroll off with the bar and vanish. The bar
     isn't pinned on mobile, so neutralise the backdrop-filter here. */
  .site-header.scrolled,
  body.has-dark-hero .site-header.scrolled{
    -webkit-backdrop-filter:none;backdrop-filter:none;
  }

  /* The lone menu icon: a floating button pinned top-right, legible
     over any section (translucent dark disc with white bars). */
  .site-header .nav-toggle{
    position:fixed;
    top:max(.6rem,env(safe-area-inset-top));
    right:clamp(1rem,5vw,1.5rem);
    z-index:130;width:2.875rem;height:2.875rem;border-radius:50%;
    background:rgba(16,13,11,.62);
    -webkit-backdrop-filter:blur(10px) saturate(140%);
    backdrop-filter:blur(10px) saturate(140%);
    border:1px solid rgba(255,255,255,.22);
    box-shadow:0 10px 30px -12px rgba(0,0,0,.55);
  }
  .site-header .nav-toggle span{background:#fff}
  .admin-bar .site-header .nav-toggle{top:calc(2.875rem + .6rem)}

  /* Fullscreen menu overlay - one plain position:fixed sheet pinned to the
     viewport. iOS 26 Safari paints its status bar / address bar as translucent
     glass and shows the PAGE through them; no fixed element can reach under
     those strips, which is why every "bleed"/100vh trick still left a gap top
     and bottom. So instead, while the menu is open the page itself fades out
     (#main, footer, logo, progress bar -> opacity 0) and the <body> canvas is
     painted in the menu colour: whatever Safari shows through its bars is then
     the same flat colour as the sheet, edge to edge, exactly like apple.com. */
  .mobile-nav{
    position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;
    z-index:120;display:flex;flex-direction:column;border-top:0;
    -webkit-backdrop-filter:none;backdrop-filter:none;
    background:var(--paper);
    opacity:0;visibility:hidden;
    transition:opacity .2s ease,visibility 0s linear .2s;   /* close: short fade */
  }
  body.has-dark-hero .mobile-nav{background:var(--ink-2)}
  .admin-bar .mobile-nav{top:2.875rem}
  /* OPEN IS INSTANT (apple.com-style): any fade here lets the light page show
     through Safari's glass bars for its duration - the "gaps flash" - because
     the body canvas only reads dark once the page is actually gone. The sheet
     snaps on, the page snaps off, and only the menu items ease in. */
  [data-nav-open] .mobile-nav{display:flex;opacity:1;visibility:visible;transition:none}
  /* Scroll-lock: the document stops scrolling while the sheet is up; the
     panel inside scrolls on its own if the list ever outgrows the screen. */
  [data-nav-open],[data-nav-open] body{overflow:hidden;overscroll-behavior:none}
  /* Page fades out under the sheet (see note above). The header itself must
     stay un-faded: the floating button and this sheet live inside it, and an
     opacity on the header would trap both. */
  /* #main and the footer are hidden with visibility, not faded: an opacity
     transition on the whole page made iOS composite it and leave stale gallery
     pixels behind. They switch off in the same frame the sheet snaps on (no
     delay - a delay is exactly what showed the light strips under the bars). */
  #main,.site-footer,.site-header .logo,.scroll-progress{transition:none}
  [data-nav-open] #main,[data-nav-open] .site-footer,
  [data-nav-open] .site-header .logo,
  [data-nav-open] .scroll-progress{visibility:hidden;pointer-events:none}
  /* Canvas colour = sheet colour, so the strips under the iOS bars match. */
  html[data-nav-open],html[data-nav-open] body{background:var(--paper)}
  html[data-nav-open]:has(body.has-dark-hero),html[data-nav-open] body.has-dark-hero{background:var(--ink-2)}
  .mobile-nav .container{
    flex:1;min-height:100%;width:100%;max-width:none;margin:0;padding:0;
    display:flex;flex-direction:column;background:transparent;
  }
  /* flex-start, not center: a centred flex column that overflows (niche
     submenu open on a short phone) clips its top rows unreachably. The list
     sits at the top, the quick actions are pushed down by margin-top:auto. */
  .mobile-nav__panel{
    flex:1;display:flex;flex-direction:column;justify-content:flex-start;gap:1.5rem;
    overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
    padding:calc(env(safe-area-inset-top) + clamp(4.5rem,14vw,6rem)) max(var(--gutter),env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + clamp(2rem,8vw,3rem)) max(var(--gutter),env(safe-area-inset-left));
  }
  /* Laconic open: the sheet washes in (above) and the menu items settle -
     a soft fade + small upward rise, lightly staggered. */
  .mobile-nav ul li,
  .mobile-nav .m-actions{
    opacity:0;transform:translateY(12px);
    transition:opacity .4s ease,transform .5s cubic-bezier(.22,1,.36,1);
  }
  [data-nav-open] .mobile-nav ul li,
  [data-nav-open] .mobile-nav .m-actions{opacity:1;transform:none}
  [data-nav-open] .mobile-nav ul li:nth-child(1){transition-delay:.05s}
  [data-nav-open] .mobile-nav ul li:nth-child(2){transition-delay:.10s}
  [data-nav-open] .mobile-nav ul li:nth-child(3){transition-delay:.15s}
  [data-nav-open] .mobile-nav ul li:nth-child(4){transition-delay:.20s}
  [data-nav-open] .mobile-nav ul li:nth-child(n+5){transition-delay:.25s}
  [data-nav-open] .mobile-nav .m-actions{transition-delay:.30s}
  @media (prefers-reduced-motion:reduce){
    .mobile-nav,#main,.site-footer,.site-header .logo,.scroll-progress{transition:none}
    .mobile-nav ul li,.mobile-nav .m-actions{transition:none;opacity:1;transform:none}
  }

  /* Nav links - bigger, centred, no dividers. */
  .mobile-nav ul{gap:.15rem}
  .mobile-nav ul a{
    border-bottom:0;text-align:center;font-weight:500;
    font-size:clamp(1.3rem,5.5vw,1.7rem);padding:.55rem .5rem;
  }
  /* Niche parent: label + chevron sit together in the centre (the chevron's
     width is compensated on the left so the label stays optically centred);
     no leftover divider under the chevron. */
  .mobile-nav .nav-has-sub{justify-content:center;padding-left:1.75rem}
  .mobile-nav .nav-has-sub > a{flex:0 1 auto}
  .mobile-nav .nav-sub-toggle{border-bottom:0;height:auto;align-self:center;width:1.75rem;padding:0;margin-left:-.25rem}
  .mobile-nav .sub-menu{margin-left:-1.75rem;flex-basis:calc(100% + 1.75rem);width:auto}
  .mobile-nav .sub-menu a{padding:.45rem .5rem;font-size:clamp(1.05rem,4.2vw,1.2rem);color:var(--stone)}
  body.has-dark-hero .mobile-nav .sub-menu a{color:var(--paper-dim)}

  /* Quick actions: call + cost quote, as icon buttons. */
  .mobile-nav .m-actions{
    display:flex;justify-content:center;gap:clamp(1.75rem,9vw,3rem);
    margin-top:auto;padding-top:1.5rem;margin-bottom:clamp(2rem,9vh,5.5rem);
  }
  .mobile-nav .m-action{
    display:flex;flex-direction:column;align-items:center;gap:.55rem;
    border:0;padding:0;color:var(--ink);text-align:center;
  }
  .m-action__icon{
    display:inline-flex;align-items:center;justify-content:center;
    width:3.625rem;height:3.625rem;border-radius:50%;
    transition:transform .2s,background .2s,border-color .2s;
  }
  .m-action__icon svg{width:1.5rem;height:1.5rem;display:block}
  .m-action--call .m-action__icon{border:1px solid var(--hairline);color:var(--ink)}
  .m-action--quote .m-action__icon{background:var(--brand-strong);color:#fff}
  .m-action:active .m-action__icon{transform:scale(.94)}
  .m-action__label{font-size:.92rem;font-weight:500;letter-spacing:.01em}

  /* Dark-hero pages: overlay is dark → light text/icon. */
  body.has-dark-hero .mobile-nav .m-action{color:#fff}
  body.has-dark-hero .m-action--call .m-action__icon{border-color:rgba(255,255,255,.32);color:#fff}
}

/* ============================================================
   "Wow" motion layer - GSAP ScrollTrigger + Lenis smooth scroll.
   Progressive enhancement driven by assets/js/motion.js. The .gsap-on
   hook is added only once the libraries initialise (never under reduced
   motion), so without JS nothing here alters the base layout.
   ============================================================ */
.gsap-on .ph.has-photo .ph__img,
.gsap-on .hero .ph--main .ph__video{will-change:transform}

/* Brand-gradient reading-progress bar pinned to the very top. */
.scroll-progress{position:fixed;top:env(safe-area-inset-top);left:0;right:0;height:0.1875rem;z-index:210;pointer-events:none}
.scroll-progress > i{display:block;height:100%;transform:scaleX(0);transform-origin:0 50%;background:var(--rainbow,linear-gradient(90deg,var(--brand),var(--accent-dark)))}

/* Lenis smooth-scroll plumbing (the library's recommended base styles). */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto !important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}

@media (prefers-reduced-motion:reduce){.scroll-progress{display:none}}

/* ============================================================
   Cinematic scroll - a full-bleed section whose first image cross-fades
   into a second image and then into a background video that begins playing,
   all scrubbed 1:1 by scroll position (freezes when you stop - no inertia).

   Progressive enhancement: by default it's a single static full-bleed image
   (the first frame). assets/js/motion.js adds .cinema--live to switch on the
   sticky pin + tall scroll track that drive the cross-fade; under reduced
   motion that JS bails, leaving just the static image. Swap the media/copy in
   the $cinema_frames array in front-page.php.
   ============================================================ */
.cinema{position:relative;background:var(--ink-2);color:#fff}
.cinema__pin{position:relative;height:100vh;height:100svh;overflow:hidden;display:flex;align-items:flex-end}
.cinema__stage{position:absolute;inset:0}
.cinema__layer{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background-size:cover;background-position:center;opacity:0}
.cinema__layer.is-active{opacity:1}
.cinema__scrim{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(16,13,11,.82) 0%,rgba(16,13,11,.3) 40%,rgba(16,13,11,0) 66%)}
.cinema__copy{position:relative;z-index:2;width:100%;padding-bottom:clamp(2.75rem,7vw,6rem)}
.cinema__caps{position:relative;min-height:clamp(7rem,16vw,11rem)}
.cinema__cap{position:absolute;left:0;bottom:0;max-width:34ch;opacity:0}
.cinema__cap.is-active{opacity:1}
.cinema__cap .eyebrow{color:var(--accent-dark);margin-bottom:.85rem}
.cinema__title{margin:0;font-family:var(--serif);font-weight:500;font-size:clamp(1.9rem,1.2rem + 2.4vw,3.1rem);line-height:1.08;letter-spacing:-.005em;color:#fff;text-wrap:balance}

/* JS on: the section grows a tall scroll track and its inner pin sticks, so
   scrolling through the section scrubs the cross-fade timeline. */
.cinema--live{height:300vh}
.cinema--live .cinema__pin{position:sticky;top:0}

@media (prefers-reduced-motion:reduce){
	.cinema,.cinema--live{height:auto}
	.cinema__pin{position:relative}
}

/* niches: 4 columns from 1440px (the fluid-scale range) so cards stay compact on big screens.
   12 cards: flag = 2×2, the last one (Готове зі складу) spans 2 columns → 4 + 10 + 2 = 16 cells, no holes.
   (3 columns: 4 + 11 = 15 ✓; 2 columns: flag row + 11 → the last card spans 2, see below.) */
@media (min-width:600px) and (max-width:899px){
  .niches-grid>.niche:not(.niche--flag):last-child{grid-column:span 2;aspect-ratio:32/9}
}
@media (min-width:1440px){
  .niches-grid{grid-template-columns:repeat(4,1fr);grid-auto-rows:1fr;gap:1rem}
  .niches-grid>.niche:not(.niche--flag):last-child{grid-column:span 2;aspect-ratio:auto;align-self:stretch}
  .niche h3{font-size:1.1rem}
  .niche p{font-size:.8rem}
  .niche__body{padding:1.1rem 1.25rem}
  .niche .ic{width:1.5rem;height:1.5rem}
  .niche--flag h3{font-size:2rem}
  .niche--flag .niche__body{flex-basis:50%;max-width:50%}
}

/* ==========================================================================
   NICHE CATALOGUE CARDS - homepage «Рішення для кожної ніші» (chosen 2026-10-02).
   ========================================================================== */

.nv-flag{position:absolute;top:.75rem;left:.75rem;z-index:2;font-size:.62rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;background:var(--ink);color:#fff;padding:.4em .75em;border-radius:3px}
.nv-go{flex:none;width:2.4rem;height:2.4rem;border-radius:50%;border:1px solid var(--hairline);display:grid;place-items:center;color:var(--ink);transition:background .25s,border-color .25s,color .25s}

.nv--catalog{display:grid;gap:clamp(1.5rem,2.5vw,2.2rem) clamp(.9rem,1.6vw,1.4rem);grid-template-columns:repeat(2,1fr)}
@media (min-width:48em){.nv--catalog{grid-template-columns:repeat(3,1fr)}}
@media (min-width:75em){.nv--catalog{grid-template-columns:repeat(4,1fr)}}
.nv-cat{display:flex;flex-direction:column;gap:.85rem;color:var(--ink);text-decoration:none}
.nv-cat__ph{position:relative;aspect-ratio:4/3;border-radius:var(--r);overflow:hidden;background:var(--oat)}
.nv-cat__ph img{width:100%;height:100%;object-fit:cover;object-position:62% 60%;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.nv-cat:hover .nv-cat__ph img{transform:scale(1.05)}
.nv-cat__cap{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}
.nv-cat__name{font-family:var(--serif);font-weight:600;text-transform:uppercase;font-size:clamp(1.02rem,.9rem + .45vw,1.35rem);line-height:1.08;margin:0 0 .3rem}
.nv-cat__fmt{font-size:.82rem;color:var(--stone);margin:0}
.nv-cat:hover .nv-go{background:var(--brand);border-color:var(--brand);color:#fff}
@media (max-width:30em){.nv-cat .nv-go{display:none}.nv-cat__fmt{font-size:.74rem}}

/* ---------- LANGUAGE SWITCH (UA / RU) ----------
   Rendered on every page, shown by app.js only to browsers with Russian in their languages
   (and always on /ru/ pages). [hidden] keeps it out of the layout for everyone else. */
.lang-switch{display:inline-flex;align-items:center;gap:.125rem;padding:.1875rem;border:1px solid var(--hairline);border-radius:999px;line-height:1}
.lang-switch[hidden]{display:none}
.lang-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:2.25rem;height:2rem;padding:0 .5rem;border-radius:999px;font-size:.75rem;font-weight:600;letter-spacing:.08em;color:var(--stone);transition:color .2s,background .2s}
.lang-switch a:hover{color:var(--ink)}
.lang-switch a[aria-current]{background:var(--ink);color:#fff}
body.has-dark-hero .site-header .lang-switch{border-color:rgba(255,255,255,.32)}
body.has-dark-hero .site-header .lang-switch a{color:rgba(255,255,255,.72)}
body.has-dark-hero .site-header .lang-switch a:hover{color:#fff}
body.has-dark-hero .site-header .lang-switch a[aria-current]{background:#fff;color:var(--ink)}
.lang-switch--mobile{align-self:center}

/* ============================================================
   Order sheet - mobile "Замовити" button + fullscreen quote form
   ------------------------------------------------------------
   Floating pill bottom-right on every page (≤1023px). It opens
   the quote form in a dark fullscreen sheet (markup: footer.php,
   behaviour: app.js). Same iOS 26 trick as the mobile menu: the
   page fades out and the canvas takes the sheet colour, so the
   strips under Safari's glass bars match the sheet.
   ============================================================ */
.order-fab,.order-sheet{display:none}
@media (max-width:1023px){
  .order-fab:not([hidden]){
    position:fixed;z-index:110;
    right:max(clamp(1rem,5vw,1.5rem),env(safe-area-inset-right));
    bottom:max(1rem,calc(env(safe-area-inset-bottom) + .5rem));
    display:inline-flex;align-items:center;gap:.55em;
    padding:.95em 1.45em;border:0;border-radius:999px;
    background:var(--brand-strong);color:#fff;
    font:600 .95rem/1 var(--sans);letter-spacing:.04em;text-transform:uppercase;
    /* Shadow must stay inside the 1rem gap: Safari 26 cuts fixed layers at the top of its bottom bar. */
    box-shadow:0 6px 16px -6px rgba(200,1,124,.6),0 2px 8px -2px rgba(0,0,0,.3);
    cursor:pointer;transition:opacity .3s ease,transform .3s ease,visibility 0s;
  }
  .order-fab svg{width:1.05em;height:1.05em}
  .order-fab:active{transform:scale(.96)}
  .order-fab.is-away,
  [data-nav-open] .order-fab,
  [data-order-open] .order-fab{opacity:0;transform:translateY(1rem);visibility:hidden;pointer-events:none;transition:opacity .3s ease,transform .3s ease,visibility 0s linear .3s}

  .order-sheet:not([hidden]){
    display:flex;flex-direction:column;
    position:fixed;inset:0;z-index:140;
    background:var(--ink-2);color:#fff;
    opacity:0;transition:opacity .3s ease;
  }
  .admin-bar .order-sheet{top:2.875rem}
  [data-order-open] .order-sheet{opacity:1}
  .order-sheet::before{content:"";position:absolute;left:0;right:0;top:0;height:.25rem;background:var(--rainbow);z-index:1}
  .order-sheet__panel{
    flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
    padding:calc(env(safe-area-inset-top) + clamp(4.25rem,14vw,5.5rem)) max(var(--gutter),env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 2.5rem) max(var(--gutter),env(safe-area-inset-left));
  }
  .order-sheet__panel > *{max-width:35rem;margin-inline:auto}
  .order-sheet__panel > *:not(.order-sheet__close){
    opacity:0;transform:translateY(12px);
    transition:opacity .4s ease,transform .5s cubic-bezier(.22,1,.36,1);
  }
  [data-order-open] .order-sheet__panel > *{opacity:1;transform:none}
  [data-order-open] .order-sheet__panel > .h-section{transition-delay:.05s}
  [data-order-open] .order-sheet__panel > .order-sheet__lead{transition-delay:.1s}
  [data-order-open] .order-sheet__panel > .order-sheet__body{transition-delay:.15s}
  .order-sheet__title{color:#fff;font-size:clamp(1.7rem,7vw,2.4rem);margin-bottom:.75rem}
  .order-sheet__lead{color:var(--paper-dim);font-size:1rem;margin-bottom:1.75rem}
  .order-sheet .cta-form{margin:0;max-width:none}
  .order-sheet .form-note{margin:0 0 1.25rem;padding:.85em 1.1em;border-radius:8px;font-size:.95rem;line-height:1.5}
  .order-sheet .form-note--ok{background:rgba(31,174,77,.14);border:1px solid rgba(31,174,77,.5);color:#d7f6e1}
  .order-sheet .form-note--err{background:rgba(240,50,60,.12);border:1px solid rgba(240,50,60,.5);color:#ffd7da}

  /* Compact layout: title sits on the close-button row, tighter fields, so the
     whole form + submit fit on one iPhone screen without scrolling. */
  .order-sheet__panel{padding-top:calc(max(.6rem,env(safe-area-inset-top)) + .1rem);padding-bottom:calc(env(safe-area-inset-bottom) + 1.25rem)}
  .order-sheet__panel > .eyebrow{display:none}
  .order-sheet__title{font-size:clamp(1.45rem,6.4vw,2rem);line-height:2.875rem;margin:0 0 .15rem;padding-right:3.5rem}
  .order-sheet__lead{font-size:.9rem;line-height:1.45;margin-bottom:1.1rem}
  .order-sheet .cta-form .field{margin-bottom:.7rem}
  .order-sheet .cta-form label{font-size:.78rem;margin-bottom:.3rem}
  .order-sheet .cta-form input,.order-sheet .cta-form select{padding-block:.6em}
  .order-sheet .cta-form textarea{min-height:0;height:4.75rem}
  .order-sheet .cta-form .btn{margin-top:.3rem}
  .order-sheet .cta-form .form-fine{font-size:.72rem;margin-top:.6rem}

  /* Close: same spot and disc as the floating menu button it covers. */
  .order-sheet__close{
    position:fixed;z-index:2;
    top:max(.6rem,env(safe-area-inset-top));
    right:clamp(1rem,5vw,1.5rem);
    width:2.875rem;height:2.875rem;border-radius:50%;margin:0;
    display:flex;align-items:center;justify-content:center;
    background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);cursor:pointer;
  }
  .admin-bar .order-sheet__close{top:calc(2.875rem + .6rem)}
  .order-sheet__close span{position:absolute;width:1.125rem;height:.125rem;background:#fff;border-radius:2px;transform:rotate(45deg)}
  .order-sheet__close span + span{transform:rotate(-45deg)}

  /* Page fades out under the sheet; canvas = sheet colour (see header note). */
  [data-order-open],[data-order-open] body{overflow:hidden;overscroll-behavior:none}
  [data-order-open] #main,
  [data-order-open] .site-footer,
  [data-order-open] .site-header,
  [data-order-open] .scroll-progress{opacity:0;pointer-events:none}
  html[data-order-open],html[data-order-open] body{background:var(--ink-2)}
  .site-header{transition:opacity .3s ease}

  /* Demo-only feedback widget: lift its button above "Замовити". */
  html body .sbf-fab{bottom:calc(max(1rem,env(safe-area-inset-bottom) + .5rem) + 3.75rem)}
  html body .sbf-panel{bottom:calc(max(1rem,env(safe-area-inset-bottom) + .5rem) + 7.25rem)}

  @media (prefers-reduced-motion:reduce){
    .order-fab,.order-sheet,.order-sheet__panel > *{transition:none}
  }
}

/* ============================================================
   Callback - mobile phone button + small "Передзвоніть мені" sheet
   ------------------------------------------------------------
   Round white button bottom-left (mirrors "Замовити" on the
   right). Opens a bottom sheet with one phone field; the number
   goes to Binotel via sabona_handle_callback() (functions.php).
   Markup: footer.php, behaviour: app.js.
   ============================================================ */
.call-fab,.call-sheet,.call-fab__label{display:none}
@media screen{
  .call-fab:not([hidden]){
    position:fixed;z-index:110;
    left:max(clamp(1rem,5vw,1.5rem),env(safe-area-inset-left));
    bottom:max(1rem,calc(env(safe-area-inset-bottom) + .5rem));
    display:flex;align-items:center;justify-content:center;
    width:2.75rem;height:2.75rem;padding:0;border:0;border-radius:50%;
    background:#fff;color:var(--brand-strong);
    /* Shadow must stay inside the 1rem gap: Safari 26 cuts fixed layers at the top of its bottom bar. */
    box-shadow:0 6px 16px -6px rgba(0,0,0,.4),0 2px 8px -2px rgba(0,0,0,.25);
    cursor:pointer;transition:opacity .3s ease,transform .3s ease,visibility 0s;
  }
  .call-fab svg{width:1.3rem;height:1.3rem;animation:call-ring 6s ease-in-out 2s infinite}
  /* soft halo that breathes out every few seconds */
  .call-fab::before{
    content:"";position:absolute;inset:0;border-radius:50%;
    box-shadow:0 0 0 0 rgba(200,1,124,.45);
    animation:call-halo 6s ease-out 2s infinite;
  }
  .call-fab:active{transform:scale(.94)}
  [data-nav-open] .call-fab,
  [data-order-open] .call-fab,
  [data-call-open] .call-fab{opacity:0;transform:translateY(1rem);visibility:hidden;pointer-events:none;transition:opacity .3s ease,transform .3s ease,visibility 0s linear .3s}

  .call-sheet:not([hidden]){display:block;position:fixed;inset:0;z-index:150}
  /* No fixed tinted backdrop: Safari 26 shows the PAGE (not fixed layers) under its glass
     status/address bars, so the dimming is an absolute layer over the whole document (body::after)
     that Safari paints under the bars too. data-call-shade outlives data-call-open by the fade-out. */
  .call-sheet__backdrop{position:absolute;inset:0;background:transparent}
  html[data-call-shade]{background:var(--paper)}
  html[data-call-shade] body{position:relative;overflow:clip}
  /* Beige strip in the PAGE right below the sheet: it is what Safari 26 shows through its
     glass address bar, so the sheet visually runs to the screen edge (app.js keeps it placed). */
  .call-sheet__under{display:none}
  html[data-call-shade] .call-sheet__under{display:block;position:absolute;left:0;right:0;height:100vh;z-index:146;background:var(--paper);pointer-events:none;opacity:0;transition:opacity .3s ease}
  html[data-call-open] .call-sheet__under{opacity:1}
  html[data-call-shade] body::after{content:"";position:absolute;inset:0;z-index:145;background:rgba(16,13,11,.55);opacity:0;pointer-events:none;transition:opacity .3s ease}
  html[data-call-open] body::after{opacity:1}
  [data-call-open] .scroll-progress{opacity:0}
  .call-sheet__panel{
    position:absolute;left:0;right:0;bottom:0;
    background:var(--ink-2);color:#fff;overflow:hidden;
    padding:2rem max(var(--gutter),env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 1.5rem) max(var(--gutter),env(safe-area-inset-left));
    box-shadow:0 -20px 50px -20px rgba(0,0,0,.5);
    transform:translateY(100%);transition:transform .38s cubic-bezier(.22,1,.36,1);
  }
  .call-sheet__panel::before{content:"";position:absolute;left:0;right:0;top:0;height:.25rem;background:var(--rainbow)}
  [data-call-open] .call-sheet__panel{transform:none}
  .call-sheet .call-form{margin:0 auto;max-width:28rem}
  .call-sheet__title{font-family:var(--serif);font-weight:500;letter-spacing:-.005em;color:#fff;font-size:clamp(1.45rem,6vw,1.9rem);line-height:1.15;margin:0 2.5rem .5rem 0}
  .call-sheet__lead{color:var(--paper-dim);font-size:.98rem;line-height:1.5;margin:0 0 1.25rem}
  .call-sheet .field{margin-bottom:.9rem}
  .call-sheet .field-err{display:block;margin-top:.4rem;font-size:.82rem;color:#ffb3ba}
  .call-sheet .field-err[hidden]{display:none}
  .call-sheet .is-invalid input{border-color:rgba(240,50,60,.75)}
  .call-sheet .form-note{margin:0 0 .9rem;padding:.75em 1em;border-radius:8px;font-size:.92rem;line-height:1.45;background:rgba(240,50,60,.12);border:1px solid rgba(240,50,60,.5);color:#ffd7da}
  .call-sheet .form-note[hidden]{display:none}
  .call-sheet__alt{margin:1.1rem 0 0;text-align:center;font-size:1.02rem;color:var(--paper-dim)}
  .call-sheet__alt a{color:#fff;font-weight:600;white-space:nowrap;text-decoration:underline;text-underline-offset:.2em;text-decoration-color:rgba(255,255,255,.35)}
  .call-form__done{outline:none;padding-bottom:.5rem}
  .call-form__done .call-sheet__lead{margin:0}
  .call-sheet__close{
    position:absolute;z-index:1;top:1.1rem;right:max(var(--gutter),env(safe-area-inset-right));
    width:2.5rem;height:2.5rem;border-radius:50%;margin:0;padding:0;
    display:flex;align-items:center;justify-content:center;
    background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);cursor:pointer;
  }
  .call-sheet__close span{position:absolute;width:1rem;height:.125rem;background:#fff;border-radius:2px;transform:rotate(45deg)}
  .call-sheet__close span + span{transform:rotate(-45deg)}

  @media (prefers-reduced-motion:reduce){
    .call-fab,.call-sheet__panel,html[data-call-shade] body::after{transition:none}
    .call-fab svg,.call-fab::before{animation:none}
  }
}
/* Beige sheet / dialog on every width (was dark). */
@media screen{
  .call-sheet__panel{background:var(--paper);color:var(--ink)}
  .call-sheet__title{color:var(--ink)}
  .call-sheet__lead{color:var(--stone)}
  .call-sheet .cta-form label{color:var(--ink)}
  .call-sheet .cta-form input{color:var(--ink);background:#fff;border-color:var(--hairline)}
  .call-sheet .cta-form input::placeholder{color:#A69D92}
  .call-sheet .cta-form input:focus{border-color:var(--brand-strong);background:#fff}
  .call-sheet :focus-visible{outline-color:var(--brand-strong)}
  .call-sheet .btn--primary:hover{--btn-bg:var(--ink);--btn-fg:#fff;--btn-bd:var(--ink)}
  .call-sheet .field-err{color:#C8102E}
  .call-sheet .form-note{background:rgba(240,50,60,.08);border-color:rgba(240,50,60,.4);color:#9B1020}
  .call-sheet__alt{color:var(--stone)}
  .call-sheet__alt a{color:var(--ink);text-decoration-color:rgba(23,19,15,.3)}
  .call-sheet__close{background:rgba(23,19,15,.05);border-color:var(--hairline)}
  .call-sheet__close span{background:var(--ink)}
}
/* Desktop: the button becomes a labelled pill, the sheet a centred dialog.
   The header phone icon opens it too (app.js) - a tel: link does nothing on most computers. */
@media (min-width:1024px){
  .call-fab:not([hidden]){
    left:1.5rem;bottom:1.5rem;width:auto;height:3rem;gap:.6rem;padding:0 1.2rem 0 1rem;border-radius:999px;
    font:600 .92rem/1 var(--sans);letter-spacing:.01em;
    transition:opacity .3s ease,transform .3s ease,visibility 0s,background .2s,color .2s;
  }
  .call-fab__label{display:inline}
  .call-fab svg{width:1.15rem;height:1.15rem}
  .call-fab:hover{background:var(--brand-strong);color:#fff}
  .call-sheet__backdrop{cursor:pointer}
  html[data-call-shade] .call-sheet__under{display:none}
  .call-sheet__panel{
    left:50%;right:auto;top:50%;bottom:auto;width:min(30rem,calc(100vw - 4rem));
    padding:2.5rem 2.5rem 2rem;border-radius:18px;
    box-shadow:0 30px 80px -20px rgba(23,19,15,.45);
    opacity:0;transform:translate(-50%,-46%);
    transition:transform .35s cubic-bezier(.22,1,.36,1),opacity .25s ease;
  }
  [data-call-open] .call-sheet__panel{opacity:1;transform:translate(-50%,-50%)}
  .call-sheet .call-form{max-width:none}
  .call-sheet__title{font-size:2rem}
  .call-sheet__close{top:1.25rem;right:1.25rem}
}
/* ============================================================
   Calc helper - desktop pill «Розрахувати вартість» bottom-right
   (mobile has «Замовити» in this corner) + the small chat it opens.
   Markup: footer.php, behaviour: app.js "Calc helper".
   ============================================================ */
.calc-helper{display:none}
@media (min-width:1024px){
  .calc-helper{display:block;position:fixed;z-index:120;right:1.5rem;bottom:1.5rem}
  .calc-fab{
    display:inline-flex;align-items:center;gap:.6rem;height:3rem;padding:0 1.3rem;
    border-radius:999px;background:var(--brand-strong);color:#fff;text-decoration:none;
    font:600 .92rem/1 var(--sans);letter-spacing:.01em;
    box-shadow:0 8px 20px -8px rgba(200,1,124,.6),0 2px 8px -2px rgba(0,0,0,.25);
    transition:opacity .3s ease,transform .3s ease,visibility 0s,background .2s,color .2s;
  }
  .calc-fab svg{width:1.05em;height:1.05em;transition:transform .2s ease}
  .calc-fab:hover,.is-open .calc-fab{background:var(--ink);color:#fff}
  .calc-fab:hover svg{transform:translateX(3px)}
  .is-open .calc-fab svg{transform:rotate(90deg)}
  .calc-fab:focus-visible{outline:2px solid var(--brand-strong);outline-offset:3px}
  [data-nav-open] .calc-helper,
  [data-call-open] .calc-helper{opacity:0;visibility:hidden;pointer-events:none}

  .hp-panel{
    position:absolute;right:0;bottom:4rem;width:24rem;max-height:min(38rem,calc(100vh - 7rem));
    display:flex;flex-direction:column;overflow:hidden;
    background:var(--paper);color:var(--ink);border-radius:18px;
    box-shadow:0 30px 80px -20px rgba(23,19,15,.45),0 0 0 1px rgba(23,19,15,.06);
    font:400 .95rem/1.45 var(--sans);
    transform-origin:100% 100%;animation:hp-pop .28s cubic-bezier(.22,1,.36,1);
  }
  .hp-panel[hidden]{display:none}
  @keyframes hp-pop{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
  .hp-head{position:relative;display:flex;align-items:center;gap:.8rem;padding:1rem 1.1rem;background:var(--ink);color:#fff}
  .hp-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--rainbow)}
  .hp-ava{position:relative;flex:none;display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:50%;background:var(--brand-strong)}
  .hp-ava svg{width:1.35rem;height:1.35rem}
  .hp-ava i{position:absolute;right:-1px;bottom:-1px;width:.7rem;height:.7rem;border-radius:50%;background:#3fbf6f;box-shadow:0 0 0 2px var(--ink)}
  .hp-title{margin:0;font:600 1.05rem/1.2 var(--sans);color:#fff}
  .hp-sub{margin:.15rem 0 0;font-size:.8rem;line-height:1.3;color:var(--paper-dim)}
  .hp-close{position:relative;flex:none;margin-left:auto;width:2.1rem;height:2.1rem;border:0;border-radius:50%;background:transparent;cursor:pointer}
  .hp-close:hover{background:rgba(255,255,255,.1)}
  .hp-close span{position:absolute;left:50%;top:50%;width:1rem;height:1.5px;background:#fff;transform:translate(-50%,-50%) rotate(45deg)}
  .hp-close span+span{transform:translate(-50%,-50%) rotate(-45deg)}
  .hp-body{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.6rem;padding:1.1rem 1rem 1.2rem;scroll-behavior:smooth}
  .hp-body>*{flex-shrink:0}
  .hp-msg{max-width:88%;padding:.65rem .9rem;border-radius:16px;animation:hp-in .25s ease-out}
  @keyframes hp-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
  .hp-msg--bot{align-self:flex-start;background:#fff;border-bottom-left-radius:5px;box-shadow:0 1px 2px rgba(23,19,15,.06)}
  .hp-msg--me{align-self:flex-end;background:var(--brand-strong);color:#fff;border-bottom-right-radius:5px}
  .hp-dots{display:inline-flex;gap:4px;padding:.3rem 0}
  .hp-dots i{width:6px;height:6px;border-radius:50%;background:var(--stone);animation:hp-blink 1s infinite}
  .hp-dots i:nth-child(2){animation-delay:.15s}.hp-dots i:nth-child(3){animation-delay:.3s}
  @keyframes hp-blink{0%,80%,100%{opacity:.25}40%{opacity:1}}
  .hp-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.45rem;animation:hp-in .25s ease-out}
  .hp-chips--end{justify-content:flex-start;margin-top:.2rem}
  .hp-chip{padding:.55rem .9rem;border:1.5px solid var(--brand-strong);border-radius:999px;background:#fff;color:var(--brand-strong);font:600 .85rem/1.2 var(--sans);text-decoration:none;cursor:pointer;transition:background .15s,color .15s}
  .hp-chip:hover{background:var(--brand-strong);color:#fff}
  .hp-chip--ghost{border-color:var(--hairline);color:var(--stone)}
  .hp-chip--ghost:hover{background:var(--oat);color:var(--ink)}
  /* Picture cards (drawings from inc/calc-art.php, light palette as in .cta--light) */
  .hp-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;animation:hp-in .25s ease-out}
  .hp-cards--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp-card{display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.6rem .45rem .7rem;border:1px solid var(--hairline);border-radius:12px;background:#fff;color:var(--ink);text-align:center}
  .hp-card:hover{border-color:var(--brand-strong);background:#FFF5FA;color:var(--ink)}
  .hp-card__art{display:flex;align-items:center;justify-content:center;width:100%;height:4.2rem;margin-bottom:.3rem}
  .hp-cards--4 .hp-card__art{height:4.6rem}
  .hp-card__art .iso{max-width:80%;max-height:100%;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
  .hp-card:hover .iso{transform:translateY(-3px)}
  .hp-card__name{font:600 .82rem/1.2 var(--sans)}
  .hp-card__sub{font:400 .7rem/1.3 var(--sans);color:var(--stone)}
  .hp-card .iso polygon,.hp-card .iso path{stroke:var(--ink)}
  .hp-card .iso .iso-t{fill:#EAE3D5}
  .hp-card .iso .iso-l{fill:#F6F2EA}
  .hp-card .iso .iso-r{fill:#DCD3C2}
  .hp-card .iso .iso-in{fill:#C9BFAD}
  .hp-card .iso .iso-in2{fill:#D6CDBC}
  .hp-card .iso .iso-in3{fill:#BCB19D}
  .hp-card .iso .iso-lid{fill:#EFE9DE}
  .hp-card .iso .iso-line{stroke:rgba(23,19,15,.4)}
  .hp-card .iso .iso-dash{fill:#FAF7F1}
  .hp-card .iso .iso-q{fill:var(--stone)}
  .hp-card:hover .iso .iso-t{fill:#F9C9E3}
  .hp-card:hover .iso .iso-l{fill:#FDE6F2}
  .hp-card:hover .iso .iso-r{fill:#F4AFD4}
  .hp-card:hover .iso .iso-lid{fill:#FBD7EA}
  .hp-msg--form{align-self:stretch;max-width:none;padding:0;background:none}
  .hp-form{display:flex;flex-direction:column;gap:.5rem}
  .hp-form input{width:100%;padding:.75rem .9rem;border:1.5px solid var(--hairline);border-radius:10px;background:#fff;color:var(--ink);font:500 .95rem/1.2 var(--sans)}
  .hp-form input:focus{outline:0;border-color:var(--brand-strong)}
  .hp-form .hp-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
  .hp-err{margin:0;font-size:.82rem;color:#C8102E}
  .hp-err[hidden]{display:none}
  .hp-send{padding:.85rem 1rem;border:0;border-radius:999px;background:var(--brand-strong);color:#fff;font:600 .92rem/1 var(--sans);cursor:pointer;transition:background .2s}
  .hp-send:hover{background:var(--ink)}
  .hp-send:disabled{opacity:.6;cursor:default}
  /* Demo-only feedback widget: lift it above the pill. */
  html body .sbf-fab{bottom:5.25rem}
  html body .sbf-panel{bottom:8.75rem}
  html.hp-open .sbf-fab,html.hp-open .sbf-panel{visibility:hidden}
  @media (prefers-reduced-motion:reduce){.hp-panel,.hp-msg,.hp-chips,.hp-dots i{animation:none}}
}
@media print{.calc-helper{display:none!important}}
/* Glass floating buttons: call (white), «Замовити» and «Розрахувати вартість» (pink).
   Semi-transparent fill + blur of what scrolls under them, a thin light rim and a top highlight. */
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .call-fab:not([hidden]),.order-fab:not([hidden]),.calc-fab{
    -webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%);
  }
  .call-fab:not([hidden]){
    background:rgba(255,255,255,.72);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),inset 0 1px 0 rgba(255,255,255,.9),0 6px 16px -6px rgba(0,0,0,.4),0 2px 8px -2px rgba(0,0,0,.25);
  }
  .order-fab:not([hidden]),.calc-fab{
    background:rgba(200,1,124,.74);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),inset 0 1px 0 rgba(255,255,255,.35),0 6px 16px -6px rgba(200,1,124,.6),0 2px 8px -2px rgba(0,0,0,.3);
  }
  .calc-fab:hover,.is-open .calc-fab{background:rgba(23,19,15,.72)}
  @media (min-width:1024px){.call-fab:hover{background:rgba(200,1,124,.78)}}
}
@keyframes call-halo{
  0%{box-shadow:0 0 0 0 rgba(200,1,124,.45)}
  18%{box-shadow:0 0 0 .85rem rgba(200,1,124,0)}
  100%{box-shadow:0 0 0 .85rem rgba(200,1,124,0)}
}
@keyframes call-ring{
  0%,12%,100%{transform:none}
  2%,6%,10%{transform:rotate(-14deg)}
  4%,8%{transform:rotate(14deg)}
}

/* ---------- NICHE DETAILS (long-form block on niche pages: text, materials, sizes, price, steps) ---------- */
.niche-details{background:var(--offwhite)}
.nd-intro{display:grid;gap:clamp(1.25rem,3vw,3rem);align-items:start}
@media (min-width:64em){.nd-intro{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}}
.nd-text{display:grid;gap:1rem;color:var(--stone);font-size:clamp(1rem,.95rem + .25vw,1.12rem);line-height:1.65;max-width:68ch}
.nd-text p{margin:0}
.nd-h{font-family:var(--serif);font-weight:500;font-size:clamp(1.4rem,1.1rem + 1vw,1.9rem);line-height:1.15;margin:clamp(2.5rem,5vw,4rem) 0 clamp(1rem,2vw,1.5rem)}
.nd-specs{display:grid;gap:clamp(.75rem,1.5vw,1.25rem);grid-template-columns:repeat(auto-fill,minmax(min(100%,17rem),1fr))}
.nd-spec{padding:clamp(1.1rem,2vw,1.5rem);background:var(--paper);border:1px solid var(--hairline);border-radius:var(--r)}
.nd-spec h4{font-family:var(--serif);font-weight:600;font-size:1.1rem;margin:0 0 .45rem}
.nd-spec p{margin:0;color:var(--stone);font-size:.95rem;line-height:1.55}
.nd-sizes{display:grid;gap:clamp(1rem,2vw,1.5rem);grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr))}
.nd-size-group h4{font-size:.8rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--stone);margin:0 0 .6rem}
.nd-size-group ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.nd-size-group li{padding:.35rem .6rem;border:1px solid var(--hairline);border-radius:999px;background:var(--paper);font-size:.85rem;font-variant-numeric:tabular-nums}
.nd-note{margin:1rem 0 0;color:var(--stone);font-size:.92rem}
.nd-price{margin-top:clamp(2.5rem,5vw,4rem);padding:clamp(1.4rem,3vw,2.25rem);border-radius:var(--r);background:var(--paper);border:1px solid var(--hairline)}
.nd-price .nd-h{margin-top:0}
.nd-price ul{margin:0 0 1.1rem;padding-left:1.2rem;display:grid;gap:.45rem;color:var(--ink)}
.nd-price p{margin:0;color:var(--stone);max-width:72ch}
.niche-details .process-flow{margin-top:0}
/* Calculator page - price factors grid */
.calc-details{padding-top:clamp(2.5rem,4vw,3.5rem)}
.price-factors{margin-bottom:clamp(1rem,3vw,2rem)}
.pf-head{display:grid;gap:.6rem 3rem;align-items:end;margin-bottom:clamp(1.5rem,3vw,2.25rem)}
.pf-head .nd-h{margin:0}
.pf-head p{margin:0;color:var(--stone);max-width:52ch}
@media (min-width:900px){.pf-head{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}}
.pf-grid{list-style:none;margin:0;padding:0;display:grid;gap:1px;background:var(--hairline);border:1px solid var(--hairline);border-radius:var(--r);overflow:hidden}
@media (min-width:600px){.pf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.pf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.pf-card{position:relative;background:var(--paper);padding:clamp(1.25rem,2.5vw,1.9rem);display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto 1fr;column-gap:1rem;row-gap:.35rem;--acc:var(--pink);transition:background .25s}
.pf-card:nth-child(2){--acc:var(--orange)}
.pf-card:nth-child(3){--acc:var(--lime)}
.pf-card:nth-child(4){--acc:var(--cyan)}
.pf-card:nth-child(5){--acc:var(--blue)}
.pf-card:nth-child(6){--acc:var(--violet)}
.pf-card::before{content:"";position:absolute;left:0;top:0;width:100%;height:3px;background:var(--acc);transform:scaleX(0);transform-origin:left;transition:transform .35s}
@media (hover:hover){.pf-card:hover{background:var(--offwhite)}.pf-card:hover::before{transform:scaleX(1)}}
.pf-ic{grid-row:1 / span 3;width:2.9rem;height:2.9rem;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--acc) 14%,transparent);color:var(--acc)}
.pf-ic .ic{width:1.45rem;height:1.45rem;fill:none;stroke:currentColor;stroke-width:1.7}
.pf-num{font-family:var(--display);font-weight:800;font-size:.75rem;letter-spacing:.08em;color:var(--stone)}
.pf-card h3{font-family:var(--serif);font-weight:500;font-size:1.3rem;line-height:1.15;margin:0}
.pf-card p{margin:.15rem 0 0;color:var(--stone);font-size:.95rem;line-height:1.5}
.pf-more{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1.5rem;margin-top:1rem;padding:1rem 1.25rem;border-radius:var(--r);background:var(--ink);color:var(--paper-dim);text-decoration:none;transition:background .25s}
.pf-more-cta{color:#fff;font-weight:600;white-space:nowrap}
.pf-more-cta span{display:inline-block;transition:transform .25s}
@media (hover:hover){.pf-more:hover{background:var(--ink-2)}.pf-more:hover .pf-more-cta span{transform:translateX(4px)}}

.niche-details .process-body h4{font-family:var(--serif);font-weight:500;font-size:1.3rem;line-height:1.15;margin:0}
.logos .reviews-badge{margin-top:clamp(1.25rem,2.5vw,1.75rem)}

/* ============================================================
   Quote form - two steps (functions.php sabona_quote_form,
   behaviour in app.js). Sits on dark (.cta, order sheet).
   Without JS both steps show and the step controls hide.
   ============================================================ */
.qf{scroll-margin-top:6rem}
.qf-step[hidden],.qf-done[hidden],.qf-progress[hidden]{display:none}
.qf:not(.is-stepped) .qf-progress,
.qf:not(.is-stepped) .qf-next,
.qf:not(.is-stepped) .qf-back{display:none}

.qf-progress{margin:0 0 1.75rem}
.qf-progress__bar{display:flex;gap:.5rem}
.qf-progress__step{
  flex:1;min-width:0;position:relative;padding-top:.8rem;font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--paper-dim);
}
.qf-progress__step[hidden]{display:none}
.qf-progress__step::before{content:"";position:absolute;left:0;right:0;top:0;height:.1875rem;border-radius:2px;background:rgba(255,255,255,.14);transition:background .3s}
.qf-progress__step.is-on::before{background:var(--brand)}
.qf-progress__step.is-current{color:#fff}
.qf-progress__now{display:none}
/* Calculator: five short labels don't fit under the bars - one line under them instead. */
.qf--calc .qf-progress__step{padding-top:0;height:.1875rem;font-size:0;color:transparent}
.qf--calc .qf-progress__now{display:flex;gap:.6rem;align-items:baseline;margin:.75rem 0 0;font-size:.82rem;font-weight:500;color:var(--paper-dim)}
.qf--calc .qf-progress__now strong{color:#fff;font-weight:600}
.qf--calc .qf-progress__now:empty{display:none}
.cta-form .qf-q,.cta-form .qf-group legend.qf-q{display:block;margin:0 0 1rem;padding:0;font-family:var(--serif);font-weight:500;font-size:clamp(1.25rem,1.1rem + .5vw,1.5rem);line-height:1.2;letter-spacing:0;color:#fff;outline:0}
.cta-form .qf-q .req{font-family:var(--sans,inherit);font-size:.9rem}

/* Picture cards (inc/calc-art.php) */
.vcards{display:grid;gap:.75rem;grid-template-columns:repeat(3,minmax(0,1fr))}
.vcards--4{grid-template-columns:repeat(2,minmax(0,1fr))}
.vcard,.cta-form .vcard{position:relative;display:flex;margin:0;font-weight:400;cursor:pointer;-webkit-tap-highlight-color:transparent}
.vcard input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.vcard__in{
  flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.2rem;
  padding:1rem .75rem 1.05rem;border-radius:var(--r);border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.035);
  transition:border-color .2s,background .2s,transform .2s;
}
.vcard:hover .vcard__in{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.06)}
.vcard input:checked + .vcard__in{border-color:var(--brand);background:rgba(236,0,140,.12);box-shadow:inset 0 0 0 1px var(--brand)}
.vcard input:focus-visible + .vcard__in{outline:2px solid var(--accent-dark);outline-offset:2px}
.vcard__art{display:flex;align-items:center;justify-content:center;width:100%;height:6.5rem;margin-bottom:.45rem}
.vcards--4 .vcard__art{height:6rem}
.vcard__art .iso{max-width:82%;max-height:100%;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.vcard:hover .iso,.vcard input:checked + .vcard__in .iso{transform:translateY(-3px)}
.vcard__name{font-size:.98rem;font-weight:600;color:#fff;line-height:1.2}
.vcard__sub{font-size:.76rem;line-height:1.35;color:var(--paper-dim)}
.cta-form .qf-group.is-invalid .vcard__in{border-color:rgba(255,107,118,.6)}
@media (max-width:560px){
  .vcards{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
  .vcards--3 .vcard:last-child{grid-column:1 / -1}
  .vcards--3 .vcard:last-child .vcard__in{display:grid;grid-template-columns:5rem 1fr;column-gap:1rem;row-gap:.15rem;align-items:center;text-align:left;padding:.75rem 1rem}
  .vcards--3 .vcard:last-child .vcard__art{grid-row:1 / 3;width:5rem;height:4rem;margin:0}
  .vcards--3 .vcard:last-child .vcard__name{align-self:end}
  .vcards--3 .vcard:last-child .vcard__sub{align-self:start}
  .vcard__art{height:5.25rem}
  .vcards--4 .vcard__art{height:5rem}
  .vcard__sub{font-size:.72rem}
}

/* Isometric line drawings: cards + the live size diagram */
.iso{display:block;overflow:visible;width:100%;height:auto}
.iso polygon,.iso path{stroke:rgba(255,255,255,.88);stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.iso .iso-t{fill:rgba(255,255,255,.2)}
.iso .iso-l{fill:rgba(255,255,255,.1)}
.iso .iso-r{fill:rgba(255,255,255,.05)}
.iso .iso-in{fill:rgba(0,0,0,.35)}
.iso .iso-in2{fill:rgba(0,0,0,.25)}
.iso .iso-in3{fill:rgba(0,0,0,.45)}
.iso .iso-lid{fill:rgba(255,255,255,.14)}
.iso .iso-line{fill:none;stroke:rgba(255,255,255,.45)}
.iso .iso-handle{fill:none;stroke-width:2}
.iso .iso-logo{fill:var(--brand);stroke:none}
.iso .iso-dash{fill:rgba(255,255,255,.03);stroke-dasharray:4 4}
.iso .iso-q{fill:rgba(255,255,255,.7);font:600 34px/1 var(--serif,serif)}
.vcard input:checked + .vcard__in .iso-t{fill:rgba(236,0,140,.32)}
.vcard input:checked + .vcard__in .iso-l{fill:rgba(236,0,140,.2)}
.vcard input:checked + .vcard__in .iso-r{fill:rgba(236,0,140,.12)}
.vcard input:checked + .vcard__in .iso-lid{fill:rgba(236,0,140,.24)}
.vcard input:checked + .vcard__in .iso-logo{fill:#fff}

.qf-dia{margin:0 0 1rem;padding:.5rem;border-radius:var(--r);background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1)}
.qf-dia:empty{display:none}
.iso--dia{max-height:15rem;margin-inline:auto}
.iso--dia polygon,.iso--dia path{stroke-width:1.6}
.iso .iso-dim{fill:none;stroke:rgba(51,192,245,.55);stroke-width:1.2;stroke-dasharray:3 3}
.iso circle.iso-dim{fill:rgba(51,192,245,.8);stroke:none}
.iso .iso-dim.has-v{stroke:var(--accent-dark);stroke-dasharray:none}
.iso .iso-dim.is-on{stroke:var(--brand);stroke-width:2;stroke-dasharray:none}
.iso circle.iso-dim.is-on{fill:var(--brand)}
.iso text.iso-dimtxt{fill:var(--accent-dark);stroke:none;font:600 12.5px/1 var(--sans,system-ui,sans-serif);letter-spacing:.02em;font-variant-numeric:tabular-nums}
.iso text.iso-dimtxt.is-on{fill:#fff}
.qf-size label:focus-within .qf-size__lbl{color:#fff}

/* Recap on the contacts step */
.qf-summary{margin:0 0 1.5rem;padding:.35rem 1rem;border-radius:var(--r);background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1)}
.qf-summary[hidden]{display:none}
.qf-summary > div{display:flex;gap:1rem;align-items:baseline;padding:.55rem 0;border-top:1px solid rgba(255,255,255,.08);font-size:.88rem}
.qf-summary > div:first-child{border-top:0}
.qf-summary dt{flex:none;width:7.5rem;color:var(--paper-dim)}
.qf-summary dd{flex:1;margin:0;color:#fff;display:flex;gap:.75rem;justify-content:space-between;align-items:baseline;min-width:0}
.qf-summary__edit{flex:none;padding:0;border:0;background:none;color:var(--accent-dark);font:inherit;font-size:.8rem;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.qf-summary__edit:hover{color:#fff}
@media (max-width:560px){.qf-summary dt{width:6rem}}

.cta-form .qf-group{border:0;margin:0 0 1.4rem;padding:0;min-width:0}
.cta-form .qf-group legend,
.cta-form .qf-label{display:block;padding:0;font-size:.82rem;font-weight:600;letter-spacing:.01em;color:#fff;margin-bottom:.6rem}
.qf-opt{font-weight:400;color:var(--paper-dim);margin-left:.35em}

/* Pill toggles */
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip,.cta-form .chip{position:relative;display:inline-flex;margin:0;font-weight:400;cursor:pointer;-webkit-tap-highlight-color:transparent}
.chip input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.chip span{
  display:inline-flex;align-items:center;min-height:2.6rem;padding:.55em 1.05em;border-radius:999px;
  border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.04);color:#fff;
  font-size:.9rem;line-height:1.2;transition:background .2s,border-color .2s,color .2s;
}
.chip:hover span{border-color:rgba(255,255,255,.5)}
.chip input:checked + span{background:var(--brand-strong);border-color:var(--brand-strong)}
.chip input[type="checkbox"]:checked + span::before{content:"✓";margin-right:.45em;font-weight:700}
.chip input:focus-visible + span{outline:2px solid var(--accent-dark);outline-offset:2px}

/* Size L × W × H */
.qf-size{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:end;gap:.5rem}
.qf-size label{display:flex;flex-direction:column;gap:.35rem;margin:0}
.cta-form .qf-size label span{font-size:.72rem;font-weight:500;color:var(--paper-dim)}
.cta-form .qf-size input{text-align:center;padding-inline:.5rem}
.cta-form .qf-size input:disabled{opacity:.4}
.qf-size__x{padding-bottom:.85rem;color:var(--paper-dim)}
.qf-group[hidden]{display:none}
.cta-form .qf-hint{margin:.6rem 0 0;font-size:.82rem;line-height:1.45;color:var(--paper-dim)}
/* Calculator page: what you get, next to the form */
.calc-points{list-style:none;margin:1.5rem 0 0;padding:0;display:flex;flex-direction:column;gap:.85rem}
.calc-points li{display:flex;gap:.75rem;align-items:flex-start;color:var(--paper-dim)}
.calc-points strong{display:block;color:#fff;font-weight:600}
.calc-points .ic{flex:none;width:1.4rem;height:1.4rem;margin-top:.1rem;color:var(--brand);fill:none;stroke:currentColor;stroke-width:1.8}
@media (max-width:1099px){.calc-points{width:fit-content;margin-inline:auto;text-align:left}}
.cta-form .qf-check{display:flex;align-items:flex-start;gap:.6rem;margin:.85rem 0 0;font-size:.88rem;font-weight:400;color:var(--paper-dim);cursor:pointer}
.cta-form .qf-check input{width:1.15rem;height:1.15rem;flex:none;margin:.1rem 0 0;padding:0;accent-color:var(--brand-strong)}

/* Files */
.qf-files input[type="file"]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.qf-drop{
  display:flex;flex-direction:column;align-items:center;gap:.35rem;text-align:center;cursor:pointer;
  padding:1.25rem 1rem;border:1.5px dashed rgba(255,255,255,.28);border-radius:var(--r);
  background:rgba(255,255,255,.03);transition:border-color .2s,background .2s;
}
.cta-form .qf-drop{display:flex;margin:0;font-weight:400;letter-spacing:0}
.qf-drop:hover,.qf-drop.is-over{border-color:var(--accent-dark);background:rgba(51,192,245,.07)}
.qf-files input:focus-visible + .qf-filelist,.qf-drop:focus-within{outline:2px solid var(--accent-dark);outline-offset:2px}
.qf-drop svg{width:1.5rem;height:1.5rem;color:var(--accent-dark)}
.qf-drop__text{font-size:.92rem;color:#fff}
.qf-drop__text strong{color:var(--accent-dark);font-weight:600}
.qf-drop__hint{font-size:.74rem;line-height:1.4;color:var(--paper-dim)}
.qf-filelist{list-style:none;margin:.6rem 0 0;padding:0;display:flex;flex-direction:column;gap:.4rem}
.qf-filelist:empty{display:none}
.qf-filelist li{display:flex;align-items:center;gap:.6rem;padding:.5rem .5rem .5rem .85rem;border-radius:8px;background:rgba(255,255,255,.07);font-size:.86rem}
.qf-filelist__name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}
.qf-filelist__size{color:var(--paper-dim);font-size:.78rem;white-space:nowrap}
.qf-filelist__rm{flex:none;width:1.9rem;height:1.9rem;border:0;border-radius:50%;background:transparent;color:var(--paper-dim);font-size:1.25rem;line-height:1;cursor:pointer}
.qf-filelist__rm:hover{background:rgba(255,255,255,.1);color:#fff}

/* Errors */
.cta-form .field-err{display:block;margin:.4rem 0 0;font-size:.8rem;line-height:1.4;color:#ff9aa2}
.cta-form .field-err[hidden]{display:none}
.cta-form .is-invalid input,.cta-form .is-invalid select,.cta-form .is-invalid textarea{border-color:#ff6b76}
.cta-form .qf-group.is-invalid .chip span{border-color:rgba(255,107,118,.6)}

/* Step buttons */
.cta-form .qf-actions .qf-next{flex:1}
.qf-actions{display:flex;gap:.75rem;margin-top:.4rem}
.cta-form .qf-actions .btn{margin-top:0}
.cta-form .qf-actions .qf-back{width:auto;flex:none}
.cta-form .qf-actions .qf-submit{flex:1}
.cta-form .qf-submit:disabled{opacity:.7;cursor:progress;transform:none}
.cta-form .form-note{margin:0 0 1rem}

/* Thank-you */
.qf-done{padding:2rem 1.5rem;border-radius:var(--r);background:rgba(31,174,77,.12);border:1px solid rgba(31,174,77,.45);text-align:center;outline:0}
.cta-form .qf-done p{margin:0;color:#d7f6e1;font-size:1rem}
.cta-form .qf-done .qf-done__title{font-family:var(--serif);font-weight:700;text-transform:uppercase;font-size:1.4rem;color:#fff;margin-bottom:.5rem}

@media (max-width:560px){
  .chip span{font-size:.86rem;padding:.5em .9em}
  .qf-actions .qf-back{padding-inline:1.1rem}
}
/* The stepped form is tall: pin the copy to the top and keep it in view. */
@media (min-width:1100px){
  .cta-grid:has(.qf){align-items:start}
  .cta-grid:has(.qf) .cta-copy{position:sticky;top:calc(var(--header-h,5rem) + 2rem)}
}
.qf-files[hidden]{display:none}

/* ============================================================
   Calculator page: dark title block, LIGHT form section (.cta--light).
   Everything is scoped to .cta--light, so when the mobile order sheet
   borrows the form it falls back to the dark styles above.
   ============================================================ */
.calc-hero{background:var(--ink-2);color:#fff}
.calc-hero .h-display{color:#fff}
.calc-hero .lead{color:var(--paper-dim)}
.calc-hero .breadcrumb,.calc-hero .breadcrumb a{color:var(--paper-dim)}
.calc-hero .breadcrumb a:hover{color:#fff}
.calc-hero .breadcrumb span[aria-hidden]{color:rgba(255,255,255,.25)}

.cta--light{background:var(--paper);color:var(--ink)}
.cta--light h2{color:var(--ink)}
.cta--light p{color:var(--stone)}
.cta--light .calc-points li{color:var(--stone)}
.cta--light .calc-points strong{color:var(--ink)}
.cta--light .cta-form .field,.cta--light .cta-form label,
.cta--light .cta-form .qf-group legend,.cta--light .cta-form .qf-label,
.cta--light .cta-form .qf-q{color:var(--ink)}
.cta--light .cta-form .req{color:var(--brand-strong)}
.cta--light .cta-form input,.cta--light .cta-form select,.cta--light .cta-form textarea{color:var(--ink);background-color:#fff;border-color:var(--hairline)}
.cta--light .cta-form input::placeholder,.cta--light .cta-form textarea::placeholder{color:#A69D92}
.cta--light .cta-form select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E665E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9em center}
.cta--light .cta-form input:focus,.cta--light .cta-form select:focus,.cta--light .cta-form textarea:focus{border-color:var(--brand-strong);background-color:#fff}
.cta--light .cta-form .form-fine,.cta--light .cta-form .qf-hint,.cta--light .cta-form .qf-check,
.cta--light .cta-form .qf-size label span,.cta--light .qf-size__x{color:var(--stone)}
.cta--light .qf-size label:focus-within .qf-size__lbl{color:var(--ink)}
.cta--light .cta-form .field-err{color:#C42B37}
.cta--light .cta-form .is-invalid input,.cta--light .cta-form .is-invalid select,.cta--light .cta-form .is-invalid textarea{border-color:#D9434F}
.cta--light .form-note--err{background:#FDECEE;border-color:#F0B4BA;color:#8E1C26}

.cta--light .qf-progress__step{color:var(--stone)}
.cta--light .qf-progress__step::before{background:rgba(23,19,15,.1)}
.cta--light .qf-progress__step.is-on::before{background:var(--brand)}
.cta--light .qf-progress__now{color:var(--stone)}
.cta--light .qf-progress__now strong{color:var(--ink)}

.cta--light .chip span{border-color:var(--hairline);background:#fff;color:var(--ink)}
.cta--light .chip:hover span{border-color:var(--stone)}
.cta--light .chip input:checked + span{background:var(--brand-strong);border-color:var(--brand-strong);color:#fff}
.cta--light .cta-form .qf-group.is-invalid .chip span,
.cta--light .cta-form .qf-group.is-invalid .vcard__in{border-color:#E58A92}

.cta--light .vcard__in{background:#fff;border-color:var(--hairline)}
.cta--light .vcard:hover .vcard__in{border-color:var(--stone);background:#fff}
.cta--light .vcard input:checked + .vcard__in{border-color:var(--brand);background:#FFF5FA}
.cta--light .vcard__name{color:var(--ink)}
.cta--light .vcard__sub{color:var(--stone)}

/* line drawings on light: ink strokes, paper-toned faces */
.cta--light .iso polygon,.cta--light .iso path{stroke:var(--ink)}
.cta--light .iso .iso-t{fill:#EAE3D5}
.cta--light .iso .iso-l{fill:#F6F2EA}
.cta--light .iso .iso-r{fill:#DCD3C2}
.cta--light .iso .iso-in{fill:#C9BFAD}
.cta--light .iso .iso-in2{fill:#D6CDBC}
.cta--light .iso .iso-in3{fill:#BCB19D}
.cta--light .iso .iso-lid{fill:#EFE9DE}
.cta--light .iso .iso-line{stroke:rgba(23,19,15,.4)}
.cta--light .iso .iso-dash{fill:#FAF7F1}
.cta--light .iso .iso-q{fill:var(--stone)}
.cta--light .vcard input:checked + .vcard__in .iso-t{fill:#F9C9E3}
.cta--light .vcard input:checked + .vcard__in .iso-l{fill:#FDE6F2}
.cta--light .vcard input:checked + .vcard__in .iso-r{fill:#F4AFD4}
.cta--light .vcard input:checked + .vcard__in .iso-lid{fill:#FBD7EA}
.cta--light .vcard input:checked + .vcard__in .iso-logo{fill:var(--brand-strong)}
.cta--light .qf-dia{background:#fff;border-color:var(--hairline)}
.cta--light .iso .iso-dim{stroke:rgba(14,128,176,.55)}
.cta--light .iso circle.iso-dim{fill:#0E80B0}
.cta--light .iso .iso-dim.has-v{stroke:#0E80B0}
.cta--light .iso .iso-dim.is-on{stroke:var(--brand)}
.cta--light .iso circle.iso-dim.is-on{fill:var(--brand)}
.cta--light .iso text.iso-dimtxt{fill:#0E80B0}
.cta--light .iso text.iso-dimtxt.is-on{fill:var(--brand-strong)}

.cta--light .qf-drop{border-color:#CFC5B3;background:#fff}
.cta--light .qf-drop:hover,.cta--light .qf-drop.is-over{border-color:var(--brand-strong);background:#FFF5FA}
.cta--light .qf-drop svg,.cta--light .qf-drop__text strong{color:var(--brand-strong)}
.cta--light .qf-drop__text{color:var(--ink)}
.cta--light .qf-drop__hint{color:var(--stone)}
.cta--light .qf-filelist li{background:#fff;border:1px solid var(--hairline)}
.cta--light .qf-filelist__name{color:var(--ink)}
.cta--light .qf-filelist__size,.cta--light .qf-filelist__rm{color:var(--stone)}
.cta--light .qf-filelist__rm:hover{background:var(--paper);color:var(--ink)}

.cta--light .qf-summary{background:#fff;border-color:var(--hairline)}
.cta--light .qf-summary > div{border-top-color:var(--hairline)}
.cta--light .qf-summary dt{color:var(--stone)}
.cta--light .qf-summary dd{color:var(--ink)}
.cta--light .qf-summary__edit{color:var(--brand-strong)}
.cta--light .qf-summary__edit:hover{color:var(--ink)}

.cta--light .qf-done{background:#EAF7EE;border-color:#9BD3AE}
.cta--light .cta-form .qf-done p{color:#2C5A3A}
.cta--light .cta-form .qf-done .qf-done__title{color:var(--ink)}

/* ============================================================
   RATIO BOXES WITHOUT aspect-ratio. Safari 26 (iOS 26.x) sizes a grid
   item that gets its height only from aspect-ratio too short when it
   lays out the section, so the photo gallery overflowed #formats by a
   whole tile and the next section was painted on top of it (grey tile
   "ghosts" over the SEO text / logos / FAQ). iOS 27 is fine. Height
   from padding-bottom (% of width) is laid out correctly everywhere.
   ============================================================ */
.gal-item .ph,.ncar-card .ph,.case .ph,.post-card .ph{aspect-ratio:auto;height:0;min-height:0}
.gal-item .ph,.ncar-card .ph{padding-bottom:125%}
.case .ph{padding-bottom:100%}
.post-card .ph{padding-bottom:62.5%}
.gal-item .ph > .ph__mark,.ncar-card .ph > .ph__mark,.case .ph > .ph__mark,.post-card .ph > .ph__mark{position:absolute;inset:0;justify-content:center}

/* ============================================================
   FINISHES PAGE (template-finishes.php): foil, emboss, lamination...
   ============================================================ */
.fin-hero{padding-top:clamp(1.5rem,2vw,2rem);padding-bottom:clamp(1.5rem,3vw,2.5rem)}
.fin-hero .breadcrumb{margin-bottom:1.25rem}
.fin-lead{max-width:62ch;margin-top:1rem}
.fin-nav{list-style:none;margin:clamp(1.5rem,3vw,2.25rem) 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}
.fin-nav a{display:inline-block;padding:.7em 1.1em;border-radius:999px;border:1px solid var(--hairline);background:var(--offwhite);color:var(--ink);font-weight:600;font-size:.92rem;line-height:1;text-decoration:none;transition:border-color .2s,color .2s}
.fin-nav a:hover{border-color:var(--brand);color:var(--brand)}
.fin-block{scroll-margin-top:var(--header-h,5rem)}
.fin-block--alt{background:var(--offwhite)}
.fin-head{display:grid;gap:.4rem;margin-bottom:clamp(1.5rem,3vw,2.5rem)}
.fin-text{display:grid;gap:.9rem;max-width:68ch;color:var(--stone);font-size:clamp(1rem,.95rem + .25vw,1.12rem);line-height:1.65;margin-top:.6rem}
.fin-text p{margin:0}
.fin-good strong{color:var(--ink)}
@media (min-width:64em){
  .fin-head{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:clamp(2rem,5vw,5rem);align-items:start}
  .fin-head{grid-template-rows:auto 1fr}
  .fin-head .eyebrow,.fin-head .h-section{grid-column:1;align-self:start}
  .fin-head .fin-text{grid-column:2;grid-row:1 / span 2;margin-top:0}
}
.fin-grid figcaption{color:var(--stone);font-size:.9rem;line-height:1.45}
.fin-combo{padding-top:0}
.fin-block--alt + .fin-combo{padding-top:clamp(3rem,6vw,5rem)}
.faq-a .faq-more{margin-top:.9rem}
@media (max-width:47.99em){
  .fin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
  .fin-grid .gal-item{gap:.5rem}
  .fin-grid figcaption{font-size:.8rem;line-height:1.35}
  .fin-grid .gal-zoom{width:2rem;height:2rem;right:.5rem;top:.5rem}
  .fin-grid .gal-zoom svg{width:1rem;height:1rem}
  .fin-grid .ph::before{inset:.5rem}
}

/* Top menu with 6 items: one line on narrower desktops too */
.site-nav > ul > li > a{white-space:nowrap}
@media (min-width:75em) and (max-width:89.99em){
  .site-nav{margin-left:1rem}
  .site-nav ul{gap:1.15rem}
  .site-nav > ul > li > a{font-size:.85rem;letter-spacing:.04em}
}
/* Space between a section title and its tab strip (formats, cases, every page) */
.section-head + .niche-switch{margin-top:clamp(1.5rem,3vw,2.25rem)}
/* Finishing terms in copy, linked to /vydy-ozdoblennya/ (inc/term-links.php) */
.term-link{color:var(--brand-strong);font-weight:500;text-decoration:underline;text-decoration-style:dotted;text-decoration-color:currentColor;text-decoration-thickness:1.5px;text-underline-offset:.2em;transition:color .2s}
.term-link:hover{color:var(--brand);text-decoration-style:solid}
.hero .term-link,.on-dark .term-link{color:var(--brand)}
.hero .term-link:hover,.on-dark .term-link:hover{color:#fff}

/* HERO DESKTOP (home + niche pages): the same first-screen hero everywhere. The video
   is one size on every page: the full first-screen band (screen - header - top pad -
   bottom pad), 3:4. Niche pages keep the breadcrumb right under the menu and centre the
   rest of the copy in the remaining height; the homepage centres its copy next to the video. */
@media (min-width:900px){
  .hero{padding-top:clamp(1.25rem,2vw,2rem)}
  .hero-visual{height:auto;min-height:0;align-content:center}
  .hero-visual .ph--main{min-height:0;height:calc(100svh - var(--header-h,5.5rem) - clamp(1.25rem,2vw,2rem) - var(--hero-pad));max-height:none;width:auto;max-width:100%}
  body:not(.home) .hero{justify-content:flex-start}
  body:not(.home) .hero>.container{flex:1}
  body:not(.home) .hero-grid{align-items:stretch}
  body:not(.home) .hero-copy{display:flex;flex-direction:column}
  body:not(.home) .hero-copy .eyebrow{margin-top:auto}
  body:not(.home) .hero-copy .hero-meta{margin-bottom:auto}
}

/* Spec cards with an example photo (inc/niches.php: 3rd item of a spec) */
.nd-spec--photo{padding:0;overflow:hidden;display:flex;flex-direction:column}
.nd-spec__ph{position:relative;height:0;padding-bottom:75%;background:var(--oat);overflow:hidden}
.nd-spec__ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.nd-spec--photo .nd-spec__body{padding:clamp(1.1rem,2vw,1.5rem)}
@media (max-width:47.99em){
  .nd-specs:has(.nd-spec--photo){grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
  .nd-spec--photo .nd-spec__body{padding:.85rem .9rem 1rem}
  .nd-spec--photo h4{font-size:1rem}
  .nd-spec--photo p{font-size:.85rem;line-height:1.45}
}

/* ---- Contacts page (template-contacts.php) ---- */
.ct-section{padding-top:0}
.ct-grid{display:grid;gap:clamp(1rem,2vw,1.5rem);grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr))}
.ct-card{padding:clamp(1.4rem,3vw,2.25rem);background:var(--offwhite);border:1px solid var(--hairline);border-radius:var(--r)}
.ct-card__title{font-family:var(--serif);font-weight:500;font-size:clamp(1.4rem,1.1rem + 1vw,1.9rem);line-height:1.15;margin:.35rem 0 1.25rem}
.ct-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.85rem}
.ct-list li{display:flex;gap:.75rem;align-items:flex-start;font-size:1.05rem;line-height:1.4}
.ct-list a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--hairline);overflow-wrap:anywhere}
.ct-list a:hover{border-color:var(--brand)}
.ct-list .ic{flex:none;width:1.3rem;height:1.3rem;margin-top:.1rem;fill:none;stroke:var(--brand);stroke-width:1.7}
.ct-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem}
.ct-note{margin:1.25rem 0 0;color:var(--stone);font-size:.95rem}
.ct-map{margin-top:clamp(1rem,2vw,1.5rem);border-radius:var(--r);overflow:hidden;border:1px solid var(--hairline);background:var(--oat);aspect-ratio:16/7}
.ct-map iframe{display:block;width:100%;height:100%;border:0}
@media (max-width:700px){.ct-map{aspect-ratio:4/5}}

/* ---- Articles (template-article.php, template-articles.php) ---- */
.article__body{font-size:1.1rem;line-height:1.7;color:var(--ink)}
.article__body p{margin:0 0 1.15em}
.article__body h2{font-family:var(--serif);font-weight:500;font-size:clamp(1.45rem,1.15rem + 1vw,1.95rem);line-height:1.2;margin:2em 0 .7em}
.article__body h3{font-family:var(--serif);font-weight:500;font-size:clamp(1.2rem,1.05rem + .6vw,1.45rem);line-height:1.25;margin:1.6em 0 .6em}
.article__body ul,.article__body ol{margin:0 0 1.15em;padding-left:1.3em}
.article__body li{margin:.3em 0}
.article__body a{color:var(--brand-strong);text-decoration:underline;text-underline-offset:.15em}
.art-related .h-section{margin-bottom:clamp(1.25rem,2.5vw,2rem)}
.art-grid{display:grid;gap:clamp(1rem,2vw,1.5rem);grid-template-columns:repeat(auto-fill,minmax(min(100%,19rem),1fr))}
.article__body ul{list-style:disc}
.article__body ol{list-style:decimal}

/* Article page v2 (2026-10-06): hero + sticky contents + photos + two offers */
.art-hero{min-height:0}
.art-hero .hero-grid{align-items:center}
.art-hero__title{font-size:clamp(2rem,1.3rem + 3vw,3.75rem)}
.art-hero .lead.art-hero__lead{font-size:clamp(1rem,.95rem + .35vw,1.15rem);line-height:1.6;max-width:40rem;margin-bottom:0}
.art-hero__ph{aspect-ratio:4/5;max-height:38rem}
.art-hero__ph .ph__img{object-fit:cover}
.art-main{padding-top:clamp(2.5rem,5vw,4.5rem)}
.art-layout{display:grid;gap:clamp(2rem,4vw,4rem)}
@media (min-width:1100px){
  .art-layout{grid-template-columns:17rem minmax(0,46rem);justify-content:center}
  .art-aside{position:sticky;top:calc(var(--header-h,5rem) + 1.5rem);align-self:start}
}
.art-toc{padding:1.25rem 1.25rem 1.1rem;border:1px solid var(--hairline);border-radius:var(--r);background:var(--offwhite)}
.art-toc__title{margin:0 0 .75rem;font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--brand-strong)}
.art-toc ol{list-style:none;margin:0;padding:0;counter-reset:toc;display:flex;flex-direction:column;gap:.55rem}
.art-toc li{counter-increment:toc;display:flex;gap:.6rem;font-size:.9rem;line-height:1.35}
.art-toc li::before{content:counter(toc,decimal-leading-zero);flex:none;color:var(--stone);font-variant-numeric:tabular-nums;font-size:.8rem;padding-top:.1rem}
.art-toc a{color:var(--ink);text-decoration:none}
.art-toc a:hover{color:var(--brand-strong)}
.art-aside__offers{display:grid;gap:.6rem;margin-top:1rem}
@media (max-width:1099px){.art-aside__offers{display:none}}
.article__body > p:first-child::first-letter{float:left;font-family:var(--display);font-size:3.4em;line-height:.85;padding:.08em .12em 0 0;color:var(--brand-strong)}
.article__body h2{scroll-margin-top:calc(var(--header-h,5rem) + 1.5rem);padding-top:.2em}
.article__body h2::before{content:"";display:block;width:2.5rem;height:3px;margin-bottom:.8rem;background:var(--rainbow);border-radius:2px}
.art-fig{margin:2.25rem 0;border-radius:var(--r);overflow:hidden;background:var(--oat)}
.art-fig img{display:block;width:100%;height:auto;max-height:32rem;object-fit:cover}
@media (min-width:1100px){.art-fig{margin-inline:-2rem}}
.art-strip{margin-top:clamp(2rem,4vw,3rem)}
.art-strip__title{margin:0 0 .9rem;font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--brand-strong)}
.art-strip__grid{grid-template-columns:repeat(3,1fr)}
.art-strip__more{margin:1rem 0 0}
.art-offers .h-section{margin-bottom:clamp(1.25rem,2.5vw,2rem)}
.art-offers__grid{display:grid;gap:clamp(1rem,2vw,1.5rem);grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr))}
.art-offer{display:flex;flex-direction:column;padding:clamp(1.5rem,3vw,2.5rem);border-radius:var(--r)}
.art-offer__title{font-family:var(--serif);font-weight:500;font-size:clamp(1.6rem,1.2rem + 1.4vw,2.3rem);line-height:1.1;margin:.4rem 0 1.1rem}
.art-offer__list{list-style:none;margin:0 0 1.75rem;padding:0;display:flex;flex-direction:column;gap:.6rem}
.art-offer__list li{display:flex;gap:.6rem;align-items:flex-start;line-height:1.45}
.art-offer__list li::before{content:"";flex:none;width:.55rem;height:.55rem;margin-top:.45rem;border-radius:50%;background:var(--brand)}
.art-offer--market .art-offer__list li::before{background:var(--green)}
.art-offer__actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:.75rem}
.art-offer--brand .btn--ghost{--btn-fg:#fff;--btn-bd:rgba(255,255,255,.5)}
.art-offer--brand .btn--ghost:hover{--btn-bg:#fff;--btn-fg:var(--ink)}
.btn--dark{--btn-bg:var(--ink);--btn-fg:#fff;--btn-bd:var(--ink)}
.btn--dark:hover{--btn-bg:var(--brand-strong);--btn-bd:var(--brand-strong);transform:translateY(-2px)}
/* Niche pages: «no logo? ready-made in Sabona Market» strip */
.market-strip{display:flex;align-items:center;gap:1.1rem;padding:1.1rem 1.4rem;border:1px solid var(--hairline);border-radius:var(--r);background:var(--oat);color:var(--ink);text-decoration:none;transition:box-shadow .2s,transform .2s}
.market-strip:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.market-strip__ic{flex:none;display:grid;place-items:center;width:2.75rem;height:2.75rem;border-radius:50%;background:#fff;color:var(--green)}
.market-strip__ic svg{width:1.4rem;height:1.4rem}
.market-strip__text{display:flex;flex-direction:column;gap:.15rem;flex:1;min-width:0}
.market-strip__text span{color:var(--stone);font-size:.95rem}
.market-strip__cta{flex:none;display:inline-flex;gap:.4rem;align-items:center;font-weight:600;color:var(--brand-strong)}
@media (max-width:700px){.market-strip{flex-wrap:wrap}.market-strip__cta{width:100%;padding-left:3.85rem}}

/* Article cards v2 + /statti/ list (2026-10-06) */
.art-card{position:relative;display:flex;flex-direction:column;background:var(--offwhite);border:1px solid var(--hairline);border-radius:var(--r);overflow:hidden;color:var(--ink);text-decoration:none;transition:box-shadow .25s,transform .25s}
.art-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-3px)}
.art-card[hidden]{display:none}
.art-card__ph{position:relative;display:block;aspect-ratio:16/10;background:var(--oat);overflow:hidden}
.art-card__ph img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.art-card:hover .art-card__ph img{transform:scale(1.04)}
.art-card__tag{position:absolute;left:.85rem;top:.85rem;padding:.35rem .7rem;border-radius:99px;background:rgba(16,13,11,.78);color:#fff;font-size:.74rem;font-weight:600;letter-spacing:.02em;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.art-card__body{display:flex;flex-direction:column;gap:.6rem;flex:1;padding:1.15rem 1.25rem 1.2rem}
.art-card__title{font-family:var(--serif);font-weight:500;font-size:1.3rem;line-height:1.2}
.art-card__text{color:var(--stone);font-size:.95rem;line-height:1.5}
.art-card__foot{margin-top:auto;padding-top:.6rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;border-top:1px solid var(--hairline)}
.art-card__time{color:var(--stone);font-size:.82rem}
.art-card__more{color:var(--brand-strong);font-weight:600;font-size:.92rem;display:inline-flex;gap:.4rem;align-items:center}
.art-card--featured .eyebrow{margin:0}
@media (min-width:900px){
  .arts-grid .art-card--featured{grid-column:1/-1;flex-direction:row;min-height:24rem;max-height:30rem}
  .art-card--featured .art-card__ph{flex:0 0 58%;aspect-ratio:auto}
  .art-card--featured .art-card__body{padding:clamp(1.75rem,3vw,3rem);justify-content:center;gap:1rem}
  .art-card--featured .art-card__title{font-size:clamp(1.8rem,1.2rem + 1.6vw,2.6rem);line-height:1.1}
  .art-card--featured .art-card__text{font-size:1.05rem}
  .art-card--featured .art-card__foot{margin-top:1rem}
  .arts-grid.is-filtered .art-card--featured{grid-column:auto;flex-direction:column;min-height:0}
  .arts-grid.is-filtered .art-card--featured .art-card__ph{flex:none;aspect-ratio:16/10}
  .arts-grid.is-filtered .art-card--featured .art-card__title{font-size:1.3rem}
}
.arts-hero{min-height:0;padding-block:clamp(2rem,4vw,3.5rem) clamp(2.25rem,4vw,3.5rem)}
.arts-hero .breadcrumb{margin-bottom:1.25rem}
.arts-hero .lead.arts-hero__lead{max-width:44rem;margin-bottom:0}
.arts-filter{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:clamp(1.5rem,3vw,2.25rem)}
.arts-chip{appearance:none;cursor:pointer;padding:.6rem 1.05rem;border-radius:99px;border:1px solid rgba(255,255,255,.22);background:transparent;color:#fff;font:inherit;font-size:.9rem;transition:background .2s,border-color .2s,color .2s}
.arts-chip:hover{border-color:#fff}
.arts-chip.is-on{background:#fff;border-color:#fff;color:var(--ink)}
.arts-list{padding-top:clamp(2rem,4vw,3.5rem)}

/* Bright offer tiles with Higgsfield illustrations (2026-10-06) */
.art-mini{display:flex;flex-direction:column;border-radius:calc(var(--r) * 1.5);overflow:hidden;text-decoration:none;box-shadow:0 10px 24px -14px rgba(23,19,15,.45);transition:transform .25s,box-shadow .25s}
.art-mini:hover{transform:translateY(-3px) rotate(-.4deg);box-shadow:0 18px 34px -16px rgba(23,19,15,.5)}
.art-mini__ph{display:block;aspect-ratio:2/1;overflow:hidden}
.art-mini__ph img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.art-mini:hover .art-mini__ph img{transform:scale(1.06)}
.art-mini__body{display:flex;flex-direction:column;gap:.55rem;padding:.85rem 1rem 1rem}
.art-mini strong{font-family:var(--display);font-size:1.05rem;text-transform:uppercase;letter-spacing:.01em;line-height:1.1}
.art-mini__cta{align-self:flex-start;display:inline-flex;gap:.4rem;align-items:center;padding:.45rem .8rem;border-radius:99px;font-size:.82rem;font-weight:600}
.art-mini--brand{background:linear-gradient(135deg,#EC008C 0%,#F0323C 55%,#F7941E 100%);color:#fff}
.art-mini--brand .art-mini__cta{background:#fff;color:#C8017C}
.art-mini--market{background:linear-gradient(135deg,#00AEEF 0%,#3CC6B4 50%,#8CC63F 100%);color:#0B2B26}
.art-mini--market .art-mini__cta{background:#0B2B26;color:#fff}
.art-offer{position:relative;overflow:hidden}
.art-offer__ph{display:block;margin:calc(-1 * clamp(1.5rem,3vw,2.5rem)) calc(-1 * clamp(1.5rem,3vw,2.5rem)) clamp(1.25rem,2.5vw,1.75rem);aspect-ratio:16/7;overflow:hidden}
.art-offer__ph img{display:block;width:100%;height:100%;object-fit:cover}
.art-offer--brand{background:linear-gradient(150deg,#C8017C 0%,#EC008C 40%,#F0323C 75%,#F7941E 100%);color:#fff}
.art-offer--brand .eyebrow{color:#fff}
.art-offer--brand .art-offer__list li::before{background:#FFC400}
.art-offer--brand .btn--primary{--btn-bg:#fff;--btn-fg:#C8017C;--btn-bd:#fff}
.art-offer--brand .btn--primary:hover{--btn-bg:var(--ink);--btn-fg:#fff;--btn-bd:var(--ink)}
.art-offer--market{background:linear-gradient(150deg,#00AEEF 0%,#3CC6B4 50%,#8CC63F 100%);color:#0B2B26}
.art-offer--market .eyebrow{color:#0B2B26}
.art-offer--market .art-offer__list li::before{background:#fff}
.art-offer--market .btn--dark{--btn-bg:#0B2B26;--btn-bd:#0B2B26}
