/* GTI Cares — «Blunk». One stage, one blink, one nail shape. Tokens first, then components. */

/* ---------- fonts (self-hosted, OFL; Cyrillic loads only when Ukrainian text needs it) ---------- */
@font-face{font-family:"Noto Serif Display";font-style:italic;font-weight:100 900;font-stretch:62.5% 100%;font-display:swap;
  src:url(../assets/fonts/NotoSerifDisplay-Italic-VF.latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Noto Serif Display";font-style:italic;font-weight:100 900;font-stretch:62.5% 100%;font-display:swap;
  src:url(../assets/fonts/NotoSerifDisplay-Italic-VF.cyrillic.woff2) format("woff2");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Noto Serif Display";font-style:normal;font-weight:500;font-display:swap;
  src:url(../assets/fonts/NotoSerifDisplay-500.latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Noto Serif Display";font-style:normal;font-weight:500;font-display:swap;
  src:url(../assets/fonts/NotoSerifDisplay-500.cyrillic.woff2) format("woff2");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:100 900;font-display:swap;
  src:url(../assets/fonts/Onest-VF.latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Onest";font-style:normal;font-weight:100 900;font-display:swap;
  src:url(../assets/fonts/Onest-VF.cyrillic.woff2) format("woff2");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
/* latin-ext: the extra letters of Polish, Lithuanian and the other Latin-alphabet languages of Europe (ą ę ł ė ų ū š ž ...). The same fonts
   (fontsource builds), cut down to these letters; a page fetches such a file only when it really shows one of them. */
@font-face{font-family:"Noto Serif Display";font-style:italic;font-weight:100 900;font-stretch:62.5% 100%;font-display:swap;
  src:url(../assets/fonts/NotoSerifDisplay-Italic-VF.latin-ext.woff2) format("woff2");
  unicode-range:U+0100-0130,U+0132-0151,U+0154-017F,U+0218-021B,U+1E9E}
@font-face{font-family:"Noto Serif Display";font-style:normal;font-weight:500;font-display:swap;
  src:url(../assets/fonts/NotoSerifDisplay-500.latin-ext.woff2) format("woff2");
  unicode-range:U+0100-0130,U+0132-0151,U+0154-017F,U+0218-021B,U+1E9E}
@font-face{font-family:"Onest";font-style:normal;font-weight:100 900;font-display:swap;
  src:url(../assets/fonts/Onest-VF.latin-ext.woff2) format("woff2");
  unicode-range:U+0100-0130,U+0132-0151,U+0154-017F,U+0218-021B,U+1E9E}

/* ---------- layout modes (DESIGN 14.1): each mode is ONE query string; js/app.js (MQ_DESK, MQ_LC) carries the same strings word for word ----------
   desk  : (min-width: 960px) and (orientation: landscape) and (min-height: 600px)
   lc    : (orientation: landscape) and (max-height: 599.98px)          landscape-compact: phones held sideways, very short windows, ANY width
   stack : everything else = the default rules below (phones, tablets, tall windows) */

/* ---------- tokens ---------- */
:root{
  --linen:#F8F2EB; --porcelain:#FFFDF9; --linen-deep:#EFE5DA; --ink:#2B2326; --ink-soft:#6F5A62;
  --plum:#5C2642; --plum-deep:#421A2F; --rose:#C98B9B; --blush:#E9CCC6; --line:#DCC8C0;
  --sheen:linear-gradient(105deg,#6B3F2A 0%,#E0A56B 46%,#F6DDBB 52%,#6B3F2A 100%);
  --focus:#5C2642;
  --display:"Noto Serif Display","Cormorant Garamond",Georgia,serif;
  --ui:"Onest",system-ui,-apple-system,"Segoe UI",sans-serif;
  --ease-out:cubic-bezier(.16,1,.3,1); --ease-in:cubic-bezier(.5,0,.75,0); --ease-io:cubic-bezier(.65,0,.35,1);
  --t-fast:160ms; --t-mid:320ms; --t-slow:560ms;
  --arc:9%;
  --vh:100vh;
  --dsp:clamp(2.9rem,12.5vw,4.4rem);
  --dsp-look:min(clamp(2.3rem,9.6vw,3.3rem),14vw);   /* the vw cap only bites with large text: the longest look-title word must fit beside the price at 150% */
  --dock-h:64px;
  --pad:20px;
  --glass:rgba(255,253,249,.66);
  --glass-solid:rgba(255,253,249,.94);
  --sat:env(safe-area-inset-top,0px); --sab:env(safe-area-inset-bottom,0px);
}
@supports (height:100dvh){:root{--vh:100dvh}}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:var(--linen);color:var(--ink);font:400 1rem/1.5 var(--ui);
  font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{margin:0;min-height:var(--vh);background:var(--linen);overflow-x:hidden;overflow-x:clip}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
a{color:inherit}
p,h1,h2,ul{margin:0}
ul{padding:0;list-style:none}
img{display:block;max-width:100%}
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.ic{width:22px;height:22px;flex:none;display:block}
[hidden]{display:none!important}
/* the visitor asked for another language than this document's (?lang=, or an earlier choice on the main page): no flash of the wrong words.
   Hidden are the texts only - nothing moves; released by app.js when the words are in (or by the head script after 2.5 s). */
html.t-hold [data-t],html.t-hold .chip__label,html.t-hold .rail__label,html.t-hold #fromPrice,html.t-hold #lookTitle,html.t-hold #lookService,html.t-hold #lookNote,
html.t-hold #bookLook,html.t-hold .lang__name,html.t-hold .lang__tag,html.t-hold .sheet__body,html.t-hold .sheet__bar{visibility:hidden}

:focus{outline:none}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:6px}
.glass:focus-visible,.pager:focus-visible,.stage__play:focus-visible{outline:2px solid var(--focus);outline-offset:3px;box-shadow:0 0 0 3px var(--porcelain)}
.skip{position:fixed;left:12px;top:calc(10px + var(--sat));z-index:100;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;background:var(--porcelain);color:var(--ink);border-radius:999px;text-decoration:none;font-weight:600}
.skip:focus{width:auto;height:auto;clip:auto;clip-path:none;padding:12px 18px;overflow:visible;box-shadow:0 0 0 2px var(--plum)}

.glass{background:var(--glass-solid);border:1px solid rgba(220,200,192,.7)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .glass{background:var(--glass);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2)}
}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px;border:0;border-radius:999px;
  font:600 1rem/1 var(--ui);text-decoration:none;white-space:nowrap;transition:background-color var(--t-fast),transform var(--t-fast) var(--ease-out)}
.btn--primary{background:var(--plum);color:var(--porcelain)}
.btn--primary:hover{background:#4d1f37}
.btn--primary:active{background:var(--plum-deep);transform:scale(.985)}
.btn--quiet{background:transparent;color:var(--plum);box-shadow:inset 0 0 0 1.5px var(--line)}
.btn--quiet:hover{background:rgba(233,204,198,.28)}
.btn--quiet:active{background:rgba(233,204,198,.5)}

/* ---------- header ---------- */
.top{position:absolute;z-index:40;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:calc(var(--sat) + 10px) 10px 0;container:top / inline-size}
@container top (max-width: 20.9em){.brand__name{display:none}.brand{padding:0 7px}}   /* narrow bar or large text: the eye pill alone (replaces the old max-width:359.98px rule) */
.top__nav,.top__cta{display:none}
.top__utils{display:flex;align-items:center;gap:6px}
.brand{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px 0 7px;border-radius:999px;color:var(--ink)}
.brand__eye{position:relative;display:grid;place-items:center;width:34px;height:30px;border-radius:50%;color:var(--plum);overflow:hidden}
.brand__glyph{width:28px;height:28px}
.brand__canvas{position:absolute;inset:0;width:100%;height:100%;border-radius:50% / 55%}
.brand__name{font:500 1.0625rem/1 var(--display);letter-spacing:.01em;white-space:nowrap}
/* language: ONE button (globe, the language's own name, a chevron) that opens ONE panel - see "language panel" below.
   Its height is the outer height of the three-button pill it replaced (44px buttons + a 1px border = 46px), so the bar and everything in it
   sit exactly where they sat (measured: before/after screens differ only inside this button). */
.lang{display:inline-flex;align-items:center;gap:6px;height:46px;padding-block:0;padding-inline:11px 9px;border-radius:999px;color:var(--ink);font:500 .875rem/1 var(--ui);white-space:nowrap;anchor-name:--lang}
.lang .ic{width:18px;height:18px}
.lang .lang__globe{color:var(--plum)}
.lang .lang__chev{width:14px;height:14px;color:var(--ink-soft);transition:rotate var(--t-fast) var(--ease-out)}
.lang[aria-expanded="true"] .lang__chev{rotate:180deg}
.lang__tag{display:none;font-weight:600;font-size:.8125rem;letter-spacing:.03em}
@container top (max-width: 23em){.lang{gap:5px;padding-inline:10px 8px}.lang__name{display:none}.lang__tag{display:inline}}   /* narrow bar (phones under ~390px) or large text: two letters instead of the name */
.motion{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;color:var(--ink)}

/* ---------- scene (phone / portrait) ---------- */
.scene{position:relative;display:flex;flex-direction:column;min-height:var(--vh);padding-bottom:var(--dock-space,calc(var(--dock-h) + var(--sab)))}
.stage{position:relative;flex:1 1 auto;min-height:max(34vh,250px);max-height:64vh;touch-action:pan-y}
@supports (height:1svh){.stage{max-height:64svh}}
.stage__frame{position:absolute;inset:0;overflow:hidden;isolation:isolate;background:var(--linen-deep);
  border-radius:0 0 50% 50% / 0 0 var(--arc) var(--arc);-webkit-mask-image:-webkit-radial-gradient(#fff,#000)}
.stage__media{position:absolute;inset:0;container-type:size;background:center/cover no-repeat;overflow:hidden;opacity:0;pointer-events:none}
.stage__media[data-role="idle"]{visibility:hidden}
.stage__media[data-role="front"]{opacity:1;z-index:2}
.stage__media[data-role="back"]{z-index:1}
.stage__media[data-role="park"]{z-index:0}
.stage__media > .lp__base,.scene__poster,.scene__video,.scene__still,.lpf__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.stage__media > .lp__base{transition:opacity 240ms linear;object-position:50% 45%}   /* = portraits[0].focus in js/site-data.js: the still and the film must be cut the same way */
.stage__media > .lp__base.is-out{opacity:0}
.lpf{position:absolute;inset:0}
.scene__poster{transition:opacity 280ms linear}
.scene__video{opacity:0;transition:opacity 280ms linear}
.scene__video.is-on{opacity:1}
.scene__still{animation:drift 14s ease-in-out infinite alternate;will-change:transform}
@keyframes drift{from{transform:scale(1)}to{transform:scale(1.035)}}
.no-motion .scene__still{animation:none}

.stage__caption{position:absolute;z-index:7;left:12px;top:calc(var(--sat) + 64px);margin:0;padding:5px 11px;border-radius:999px;font:400 .8125rem/1.2 var(--ui);color:var(--ink);
  background:var(--glass-solid);border:1px solid rgba(220,200,192,.7)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.stage__caption{background:var(--glass);-webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2)}}

.pager{position:absolute;z-index:9;top:46%;width:44px;height:44px;padding:0;border-radius:50%;display:grid;place-items:center;color:var(--ink)}
.pager--prev{left:12px}.pager--next{right:12px}
.stage__play{position:absolute;z-index:9;left:50%;top:50%;translate:-50% -50%;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 20px;border-radius:999px;font:600 1rem/1 var(--ui);color:var(--ink)}

/* ---------- lids ---------- */
.lid{position:absolute;left:-14%;width:128%;pointer-events:none;will-change:transform;z-index:6}
.lid--top{top:0;height:120%;transform:translateY(-110%);
  background:linear-gradient(180deg,var(--porcelain) 0%,#F9F3EC 45%,#F1E7DC 85%,#EADFD3 100%);
  border-radius:0 0 50% 50% / 0 0 9.1% 9.1%;border-bottom:2px solid rgba(43,35,38,.9);
  box-shadow:inset 0 -26px 30px -22px rgba(92,38,66,.16),0 18px 24px -14px rgba(43,35,38,.30)}
.lid--top::before{content:"";position:absolute;left:12%;right:12%;bottom:5.5%;height:7%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,253,249,.7),rgba(255,253,249,0));opacity:.9}
.lid--bottom{z-index:5;top:calc(84% - 11% - 3px);height:36%;transform:translateY(90%);
  background:linear-gradient(180deg,#EADFD3 0%,#F1E7DC 60%,var(--linen-deep) 100%);
  -webkit-mask-image:radial-gradient(ellipse 50% 30.6% at 50% 0,transparent calc(100% - 1.5px),#000 100%);
  mask-image:radial-gradient(ellipse 50% 30.6% at 50% 0,transparent calc(100% - 1.5px),#000 100%)}
.lid__sheen{position:absolute;inset:0;border-radius:inherit;border-bottom:3px solid transparent;overflow:hidden;opacity:0;transition:opacity 160ms linear;
  background:transparent;-webkit-mask:linear-gradient(#000 0 0) padding-box exclude,linear-gradient(#000 0 0);
  -webkit-mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.lid__sheen i{position:absolute;top:0;bottom:0;left:0;width:38%;background:var(--sheen);transform:translateX(-120%)}
.lid.is-wait .lid__sheen{opacity:1}
.lid.is-wait .lid__sheen i{animation:sheen 1100ms var(--ease-io) infinite}
@keyframes sheen{from{transform:translateX(-120%)}to{transform:translateX(280%)}}
.stage__frame::after{content:"";position:absolute;inset:0;z-index:8;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(111,90,98,.16)}
.stage__glint{position:absolute;inset:-10% -40%;z-index:7;pointer-events:none;opacity:0;
  background:linear-gradient(105deg,transparent 40%,rgba(255,253,249,.9) 50%,transparent 60%);transform:translateX(-60%)}

/* ---------- copy (display text, detail) ---------- */
.copy{position:relative;z-index:6;margin-top:calc(var(--dsp) * -.62);padding:0 var(--pad);
  display:grid;grid-template-columns:minmax(min-content,1fr) auto;column-gap:14px;align-content:start;
  min-height:calc(var(--dsp) * 1.9 + 3.6rem + 8px)}
.display,.detail{display:contents}
.display__title{font:italic 300 var(--dsp)/.94 var(--display);font-stretch:72%;letter-spacing:-.01em;color:var(--ink);
  text-shadow:0 0 22px rgba(248,242,235,.95),0 0 6px rgba(248,242,235,.85);text-wrap:balance;margin-left:-1px}
.display__title--home{grid-column:1/-1;max-width:6.4em}
.display__title--look{grid-column:1;grid-row:1;font-size:var(--dsp-look);align-self:end}
.display__lead{grid-column:1/-1;margin-top:10px;font-size:1rem;line-height:1.45;color:var(--ink);max-width:31ch;text-wrap:balance}
.detail__price{grid-column:2;grid-row:1;align-self:end;font:500 clamp(1.6rem,6.4vw,2.2rem)/1 var(--display);font-variant-numeric:lining-nums tabular-nums;white-space:nowrap;padding-bottom:.18em}
.detail__service{grid-column:1/-1;grid-row:2;margin-top:8px;font:500 1rem/1.35 var(--ui)}
.detail__note{grid-column:1/-1;grid-row:3;margin-top:4px;font-size:.9375rem;line-height:1.45;color:var(--ink-soft)}
.detail__cta{display:none}
.display__from{display:none;margin:12px 0 0;padding:0;border:0;background:none;color:var(--plum);font:500 1rem/1.4 var(--ui);text-decoration:underline;text-decoration-color:var(--rose);text-decoration-thickness:1.5px;text-underline-offset:5px;cursor:pointer;text-align:left}
.display__from:hover{text-decoration-color:var(--plum)}
.scene[data-view=look] .copy{padding-top:calc(var(--dsp) * .6)}

/* ---------- rail ---------- */
.rail{position:relative;z-index:6;margin-top:8px;padding-bottom:2px;--chip-w:min(96px,max(72px,calc((100vw - 14px) / 4.5)));--fl:0px;--fr:0px;--al:1;--ar:1}
.rail[data-more*="l"]{--fl:26px;--al:.16}
.rail[data-more*="r"]{--fr:26px;--ar:.16}   /* app.js: edge fade only on the side that still has chips to reveal */
.rail__label{display:none}
.rail__list{display:flex;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  padding:10px 14px 6px;-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,var(--al)) 0,#000 var(--fl),#000 calc(100% - var(--fr)),rgba(0,0,0,var(--ar)) 100%);mask-image:linear-gradient(90deg,rgba(0,0,0,var(--al)) 0,#000 var(--fl),#000 calc(100% - var(--fr)),rgba(0,0,0,var(--ar)) 100%)}
.rail__list::-webkit-scrollbar{display:none}
.rail__list li{flex:0 0 auto;scroll-snap-align:center}
.chip{width:auto;min-width:var(--chip-w,92px);display:flex;flex-direction:column;align-items:center;gap:7px;min-height:44px;padding:2px 0 4px;
  background:transparent;border:0;border-radius:14px;color:var(--ink-soft);font:400 .8125rem/1.2 var(--ui);text-align:center}
/* R3 B1: a label wraps between words only. Its box is chip-wide, never narrower than its longest word (min-content), so the chip grows instead of breaking a word. */
.chip__label{display:block;box-sizing:border-box;width:var(--chip-w,92px);min-width:min-content;margin:0;padding:0 4px;overflow-wrap:normal;word-break:normal;hyphens:manual;-webkit-hyphens:manual;text-wrap:balance;min-height:2.4em}
.chip__label[data-long]{min-width:7.2em}   /* 3+ words: two lines, never three ("Pedicure with / gel polish") */
.chip[aria-current="true"]{color:var(--ink);font-weight:600}
.nail{position:relative;display:block;width:34px;height:48px;transition:transform var(--t-mid) var(--ease-out)}
.nail::after{content:"";position:absolute;inset:-5px -5px -4px;border-radius:46% 46% 50% 50% / 27% 27% 68% 68%;box-shadow:0 0 0 1.5px var(--plum);opacity:0;transition:opacity var(--t-fast) linear;pointer-events:none}
.chip[aria-current="true"] .nail{transform:translateY(-4px)}
.chip[aria-current="true"] .nail::after{opacity:1}
.swatch{position:absolute;inset:0;display:block;overflow:hidden;isolation:isolate;border-radius:44% 44% 50% 50% / 26% 26% 70% 70%;background:var(--c1,#ccc);
  box-shadow:inset 0 0 0 1px rgba(43,35,38,.07)}
.swatch::before,.swatch::after{content:"";position:absolute;display:block}
.swatch--gloss{background-image:linear-gradient(180deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 40%,rgba(0,0,0,.2) 100%);box-shadow:inset 0 -5px 8px -3px rgba(0,0,0,.25),inset 0 0 0 1px rgba(0,0,0,.08)}
.swatch--gloss::before{left:17%;top:8%;width:38%;height:46%;border-radius:42% 42% 48% 48% / 30% 30% 60% 60%;background:linear-gradient(165deg,rgba(255,255,255,.92),rgba(255,255,255,.14) 78%)}
.swatch--gloss::after{right:15%;bottom:9%;width:14%;height:20%;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0))}
.swatch--sheer{background-image:linear-gradient(180deg,rgba(255,255,255,.62) 0%,rgba(255,255,255,.1) 52%,rgba(255,255,255,.28) 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.7),inset 0 -7px 10px -5px rgba(190,120,110,.3),0 0 0 1px rgba(43,35,38,.06)}
.swatch--sheer::before{left:20%;top:12%;width:15%;height:52%;border-radius:99px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,0))}
.swatch--sheer::after{left:0;right:0;top:0;height:20%;background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,0))}
.swatch--cateye{background-image:radial-gradient(90% 70% at 50% 100%,rgba(0,0,0,.35),transparent 70%);box-shadow:inset 0 -5px 8px -3px rgba(0,0,0,.4),inset 0 0 0 1px rgba(0,0,0,.2)}
.swatch--cateye::before{top:-12%;bottom:-12%;left:-85%;width:270%;
  background:linear-gradient(112deg,transparent 40%,rgba(224,165,107,.0) 41%,var(--c2,#E0A56B) 49%,#F6DDBB 52%,rgba(224,165,107,.5) 56%,transparent 64%);
  transform:translateX(calc(-3% + var(--lx,0) * 13%)) rotate(calc(var(--ly,0) * 3deg))}   /* at rest slightly off-centre; --lx slides the band across the nail */
.swatch--cateye::after{left:17%;top:8%;width:30%;height:34%;border-radius:42% 42% 48% 48% / 30% 30% 60% 60%;background:linear-gradient(165deg,rgba(255,255,255,.7),rgba(255,255,255,0) 80%)}
/* S7 light that follows: --lx / --ly (-1..1) are written on :root by app.js; every use below is a transform, nothing else animates */
.swatch--gloss::before{transform:translate(calc(var(--lx,0) * 3.4px),calc(var(--ly,0) * 2.6px))}
.swatch--gloss::after{transform:translate(calc(var(--lx,0) * -2px),calc(var(--ly,0) * -1.4px))}
.swatch--sheer::before{transform:translate(calc(var(--lx,0) * 3px),calc(var(--ly,0) * 2px))}
.swatch--sheer::after{transform:translateY(calc(var(--ly,0) * -2px))}
.swatch--cateye::after{transform:translate(calc(var(--lx,0) * 1.6px),calc(var(--ly,0) * 1.2px))}
.swatch--french::after{transform:translate(calc(var(--lx,0) * 2.2px),calc(var(--ly,0) * 1.6px))}
.swatch--french{background-image:linear-gradient(180deg,rgba(255,255,255,.28) 0%,rgba(255,255,255,0) 50%);box-shadow:inset 0 0 0 1px rgba(43,35,38,.09),inset 0 -4px 7px -3px rgba(150,90,80,.28)}
.swatch--french::before{left:-8%;right:-8%;bottom:-2%;height:40%;background:var(--c2,#fff);border-radius:50% 50% 0 0 / 62% 62% 0 0;box-shadow:0 -1px 2px rgba(150,90,80,.18)}
.swatch--french::after{left:19%;top:8%;width:28%;height:34%;border-radius:42% 42% 48% 48% / 30% 30% 60% 60%;background:linear-gradient(165deg,rgba(255,255,255,.78),rgba(255,255,255,0) 80%)}
.swatch--home{background:var(--linen-deep) url(../assets/icons/home-house.webp) 50% 58% / 92% auto no-repeat}
.chip[data-view="home"] .nail::after{display:none}   /* operator 16.11: no ring around the house; current state = bold label + lift */

/* ---------- dock (phones) ----------
   .dock is a size container, .dock__row the grid; the layout follows the room the labels really need (Ukrainian is the widest; em = the visitor's text size):
   >= 22.2em       one row, 13px labels, 8px between items          (360-wide phones and up)
   19.7-22.2em     one row, 12px labels, CTA padding 8px, 4px side margins   (320-wide phones)
   < 19.7em        two rows: the primary action on top, the four links below (large text settings); app.js keeps --dock-space in step */
.dock{position:fixed;z-index:30;left:0;right:0;bottom:0;padding:0 0 var(--sab);background:var(--glass-solid);border-top:1px solid var(--line);container:dock / inline-size}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.dock{background:rgba(255,253,249,.82);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2)}}
.dock__row{display:grid;grid-template-columns:repeat(2,minmax(max-content,1fr)) auto repeat(2,minmax(max-content,1fr));align-items:center;column-gap:8px;padding:0 4px;min-height:calc(var(--dock-h) - 1px)}
.dock__item{height:48px;min-width:44px;padding:0;border:0;background:transparent;border-radius:12px;font:500 .8125rem/1.1 var(--ui);color:var(--ink);letter-spacing:0;white-space:nowrap}
.dock__item:active{background:var(--linen-deep)}
.dock__cta{margin:-26px 0 0;min-height:52px;padding:0 12px;font-size:.96875rem;box-shadow:0 10px 20px -10px rgba(92,38,66,.7),0 0 0 4px var(--linen)}
@media (max-height:700px) and (max-width:959.98px){.dock__cta{margin-top:-22px;min-height:48px}}
@container dock (max-width: 22.2em){
  .dock__row{padding:0 4px}            /* the outer labels keep 4px from the screen edge (they sat at 0px in Ukrainian at 320px) */
  .dock__item{font-size:.75rem}
  .dock__cta{font-size:.75rem;padding:0 8px}   /* 8px less pill pays for the 4px side margins */
}
@container dock (max-width: 19.6em){
  .dock__row{grid-template-columns:repeat(4,minmax(max-content,1fr));row-gap:2px;padding:8px 4px 4px}
  .dock__cta{grid-column:1/-1;grid-row:1;justify-self:center;margin:0;min-height:48px;padding:0 28px;font-size:.96875rem;box-shadow:none}
  .dock__item{grid-row:2;font-size:.75rem;min-width:44px;padding:0 2px}
}

/* ---------- sheets ---------- */
.sheet{position:fixed;inset:auto 0 0 0;margin:0;padding:0;width:100%;max-width:none;max-height:82vh;max-height:82dvh;border:0;background:var(--porcelain);color:var(--ink);
  border-radius:50% 50% 0 0 / 26px 26px 0 0;overflow:hidden;box-shadow:0 -1px 0 rgba(43,35,38,.06);
  translate:0 0;opacity:1;overscroll-behavior:contain;
  transition:translate var(--t-mid) var(--ease-out),opacity var(--t-mid) var(--ease-out),overlay var(--t-mid) allow-discrete,display var(--t-mid) allow-discrete}
.sheet[open]{display:flex;flex-direction:column}
.sheet--form{max-height:90vh;max-height:90dvh}
.sheet:not([open]){translate:0 100%;opacity:0}
@starting-style{.sheet[open]{translate:0 100%;opacity:0}}
.sheet.is-swap{transition:none}
.sheet.is-drag{transition:none}
.sheet::backdrop{background:rgba(248,242,235,.35);opacity:1;transition:opacity var(--t-mid) linear,overlay var(--t-mid) allow-discrete,display var(--t-mid) allow-discrete}
.sheet:not([open])::backdrop{opacity:0}
@starting-style{.sheet[open]::backdrop{opacity:0}}
.sheet__head{position:relative;flex:none;display:flex;align-items:center;gap:12px;padding:26px 14px 8px 22px;touch-action:none;cursor:grab}
.sheet__grab{position:absolute;left:50%;top:9px;width:38px;height:4px;margin-left:-19px;border-radius:4px;background:var(--line)}
.sheet__title{flex:1;min-width:0;font:italic 300 2.1rem/1 var(--display);font-stretch:72%;letter-spacing:-.01em;outline:none}
.sheet__thumb{flex:none;width:36px;height:50px;border-radius:44% 44% 50% 50% / 26% 26% 70% 70%;background:var(--linen-deep) center/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(43,35,38,.1)}
.sheet__thumb:empty{display:block}
.sheet__close{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px 0 16px;border:0;border-radius:999px;background:var(--linen);
  font:500 .9375rem/1 var(--ui);color:var(--ink);cursor:pointer}
.sheet__close:active{background:var(--linen-deep)}
.sheet__body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 22px calc(26px + var(--sab));-webkit-overflow-scrolling:touch}
.sheet__lead{color:var(--ink-soft);margin-bottom:14px}
.sheet__bar{flex:none;padding:12px 22px calc(12px + var(--sab));background:var(--porcelain);border-top:1px solid var(--line);box-shadow:0 -12px 20px -16px rgba(43,35,38,.28)}
.sheet__bar:empty{display:none}

/* gallery */
.gal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px;padding-top:6px}
.gal__item{display:block;align-self:start;width:100%;padding:0;border:0;background:transparent;text-align:left;border-radius:10px}
.gal__img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;background:var(--linen-deep) center/cover no-repeat;border-radius:14px 14px 50% 50% / 14px 14px 9% 9%}
.gal__title{display:block;margin-top:10px;font:italic 300 1.55rem/1 var(--display);font-stretch:72%}
.gal__svc{display:block;margin-top:5px;font-size:.875rem;line-height:1.35;color:var(--ink-soft)}
.gal__price{display:block;margin-top:2px;font:500 1.0625rem/1.2 var(--display);font-variant-numeric:lining-nums tabular-nums}

/* prices */
.price{width:100%;border-collapse:collapse;margin-top:4px}
.price caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.price th,.price td{padding:0;border-bottom:1px solid var(--line);vertical-align:middle}
.price thead th{font:500 .8125rem/1.2 var(--ui);color:var(--ink-soft);text-align:left;padding:8px 0;border-bottom-color:var(--ink)}
.price thead th.num{text-align:right}
.price tbody th{font:500 1rem/1.35 var(--ui);text-align:left;padding:14px 12px 14px 0}
.price td{padding:6px 0}
.price .num{text-align:right;white-space:nowrap;padding:6px 14px 6px 6px;font:500 1.25rem/1 var(--display);font-variant-numeric:lining-nums tabular-nums}
.price thead th.num{font:500 .8125rem/1.2 var(--ui)}
.price .dur{color:var(--ink-soft);white-space:nowrap;padding:6px 10px;font-size:.9375rem}
.price .act{width:1%;text-align:right;white-space:nowrap}
.price .btn{min-height:44px;padding:0 18px;font-size:.9375rem}

/* about / contact */
#body-about{display:flex;flex-direction:column}
.prose{flex:1 0 auto;display:flex;flex-direction:column}
.prose p{margin:0 0 14px;max-width:58ch}
.prose .org{margin-top:22px;font-size:.875rem;color:var(--ink-soft)}
.facts{margin:2px 0 0;display:grid;gap:3px;font-size:.875rem;line-height:1.4;color:var(--ink-soft)}
.facts__k{font-weight:600}
.about__fig{display:none;margin:auto 0 0;padding-top:28px}   /* desktop only: a calm wide crop of portrait B at the foot of the sheet */
.about__cap{margin:8px 0 0;font-size:.8125rem;line-height:1.3;color:var(--ink-soft)}
.contact{display:grid;gap:4px}
.contact__area{font:italic 300 1.9rem/1.05 var(--display);font-stretch:72%}
.contact__note{color:var(--ink-soft);margin-bottom:12px}
.row{display:flex;align-items:center;gap:14px;min-height:56px;padding:6px 0;border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}
.row .ic{color:var(--plum)}
.row__k{display:block;font-size:.8125rem;color:var(--ink-soft);line-height:1.2}
.row__v{display:block;font:500 1.0625rem/1.3 var(--ui);overflow-wrap:anywhere}
.row:hover .row__v{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--rose)}
.contact h3{margin:18px 0 0;font:600 .875rem/1.3 var(--ui);color:var(--ink-soft)}
.contact .org{margin-top:20px;font-size:.875rem;color:var(--ink-soft)}
.contact .facts{margin-top:2px}
/* the way to the privacy panel under the organisation's details: a text button in the look of the "from" price link, 44px high */
.org__link{align-self:flex-start;justify-self:start;min-height:44px;margin:2px 0 0;padding:0;border:0;background:none;color:var(--plum);font:500 .9375rem/1.4 var(--ui);
  text-decoration:underline;text-decoration-color:var(--rose);text-decoration-thickness:1.5px;text-underline-offset:5px;text-align:start}
.org__link:hover{text-decoration-color:var(--plum)}
/* privacy: the same running text as "Om oss", with small headings in the look of the contact panel's */
.prose h3{margin:10px 0 6px;font:600 .875rem/1.3 var(--ui);color:var(--ink-soft)}
.prose .row{margin-top:6px}

/* booking */
.field{display:block;margin:0 0 12px;padding:0;border:0;min-width:0}
.field__label{display:block;margin:0 0 8px;padding:0;font:600 .9375rem/1.3 var(--ui);color:var(--ink)}
.opts{display:block;border-top:1px solid var(--line)}
.opt{display:grid;grid-template-columns:22px minmax(min-content,1fr) auto;align-items:center;gap:12px;min-height:44px;padding:2px 2px;border-bottom:1px solid var(--line);cursor:pointer}
.opt input{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin:0;border-radius:50%;border:1.5px solid var(--ink-soft);background:transparent;display:grid;place-items:center}
.opt input::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--plum);transform:scale(0);transition:transform var(--t-fast) var(--ease-out)}
.opt input:checked{border-color:var(--plum)}
.opt input:checked::after{transform:scale(1)}
.opt:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:2px;border-radius:8px}
.opt input:focus-visible{outline:none}
.opt__name{font-size:.9688rem;line-height:1.28}
.opt__price{font:500 1.125rem/1 var(--display);font-variant-numeric:lining-nums tabular-nums;white-space:nowrap}
.opt:has(input:checked) .opt__name{font-weight:600}
.input{display:block;width:100%;min-height:48px;padding:0 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--porcelain);font-size:1rem}
.input:focus{border-color:var(--plum)}
.input:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.input::placeholder{color:var(--ink-soft);opacity:.85}
.msg{margin:0;padding:12px 16px;border-radius:14px;background:var(--linen);white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text;font-size:.9688rem;line-height:1.45}
.field__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;margin:0 0 6px}
.field__head .field__label{margin:0}
.field__head .btn{min-height:44px;padding:0 16px 0 14px;gap:8px;font-size:.875rem}
.field__head .btn .ic{width:18px;height:18px}
.channels{display:block}
.channels .btn .ic{width:22px;height:22px}
.btn--bar{display:flex;width:100%;min-height:54px;font-size:1.0625rem}
.more{margin-top:10px}
.more__label{margin:0 0 6px;font-size:.8125rem;line-height:1.2;color:var(--ink-soft)}
.more__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(4.5rem,1fr));gap:5px}
.ch{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;padding:6px 1px;border-radius:14px;color:var(--plum);text-decoration:none;
  font:500 .8125rem/1.2 var(--ui);letter-spacing:-.005em;box-shadow:inset 0 0 0 1.5px var(--line);transition:background-color var(--t-fast)}
.ch:hover{background:rgba(233,204,198,.28)}.ch:active{background:rgba(233,204,198,.5)}
.ch .ic{width:20px;height:20px}
.ch__name{display:block;max-width:100%;text-align:center}
.ch:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* embedded online booking: a row (back / new tab) above a fixed-height frame that scrolls inside */
.embedbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 14px;margin:0 0 10px}
.embedbar .btn{min-height:44px;max-width:100%;padding:0 18px;font-size:.9375rem;line-height:1.15;text-align:center}
.embedbar__link{display:inline-flex;align-items:center;min-height:44px;max-width:100%;color:var(--plum);font-size:.9375rem;font-weight:500;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.embedbar__link:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:4px}
.embed__frame{display:block;width:100%;max-width:100%;height:min(78vh,760px);border:0}
.status{min-height:0;margin:0 0 8px;font-size:.9375rem;line-height:1.4;color:var(--plum);font-weight:500}
.status:empty{margin:0}
.cancel{margin:0 0 8px;font-size:.8125rem;line-height:1.35;color:var(--ink-soft)}
.note{margin:0 0 6px;font-size:.875rem;line-height:1.45;color:var(--ink-soft);max-width:60ch}

/* ---------- language panel ----------
   ONE element (<dialog id="langPanel" popover>) with one list; js/app.js (MQ_LANGSHEET) decides how it opens and says so in data-mode:
     pop   : a small panel under the button, not modal (Popover API). Placed by CSS anchor positioning where the browser has it;
             elsewhere js/app.js writes --lp-top / --lp-end (three lines). This is also the look without data-mode: the button's
             popovertarget opens the panel before js/app.js has run, and without JavaScript at all.
     sheet : narrow upright screens - a modal bottom sheet with a title, a close button and large rows.
   Closed = the base rule (faded, slightly lifted); the open states are separate rules on purpose: a browser that does not know
   :popover-open must not lose the [open] rule with it. */
.langp{position:fixed;inset:auto;top:var(--lp-top,calc(var(--sat) + 62px));inset-inline-end:var(--lp-end,10px);margin:0;padding:6px;border:1px solid rgba(220,200,192,.9);
  width:max-content;min-width:14.5rem;max-width:min(21rem,calc(100vw - 16px));height:auto;max-height:min(27rem,calc(var(--vh) - var(--sat) - 76px));
  border-radius:20px;background:var(--porcelain);color:var(--ink);overflow:hidden;
  box-shadow:0 18px 40px -18px rgba(66,26,47,.38),0 2px 8px -4px rgba(43,35,38,.18);
  opacity:0;translate:0 -6px;
  transition:opacity var(--t-fast) var(--ease-out),translate var(--t-fast) var(--ease-out)}
/* the way out is animated only where the browser can keep a closing element in the top layer (overlay: Chromium today); elsewhere the panel
   closes at once - a half-supported exit animation is worse than none (measured from the vendors' own notes, dev/i18n/research/platform-2026-11-15.md) */
@supports (overlay:auto){
  .langp{transition:opacity var(--t-fast) var(--ease-out),translate var(--t-fast) var(--ease-out),overlay var(--t-fast) allow-discrete,display var(--t-fast) allow-discrete}
}
.langp[open]{display:flex;flex-direction:column;opacity:1;translate:0 0}
.langp:popover-open{display:flex;flex-direction:column;opacity:1;translate:0 0}
@starting-style{.langp[open]{opacity:0;translate:0 -6px}}
@starting-style{.langp:popover-open{opacity:0;translate:0 -6px}}
.langp::backdrop{background:transparent}
@supports (anchor-name:--a) and (position-anchor:--a) and (top:anchor(bottom)) and (inset-inline-end:anchor(end)){
  .langp:not([data-mode="sheet"]){position-anchor:--lang;top:calc(anchor(bottom,62px) + 8px);inset-inline-end:anchor(end,10px);position-try-fallbacks:flip-block,--lp-inside,flip-block --lp-inside}
}
@position-try --lp-inside{inset-inline-end:8px}   /* wider than the room between the screen's edge and the button's edge (a narrow phone): the screen's edge instead */
.langp:not([data-mode="sheet"]) .langp__head{display:none}   /* the title still names the panel for screen readers (aria-labelledby) */
.langp:focus,.langp:focus-visible{outline:none}         /* opened with a mouse or a finger the focus rests on the panel itself (its border and shadow show where it is); the rows show their own ring */
.langp__body{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.langp__list{margin:0;padding:0;list-style:none}
.langp__item{position:relative;display:flex;flex-wrap:wrap;align-items:center;align-content:center;gap:1px 12px;min-height:44px;padding-block:5px;padding-inline:14px 38px;
  border-radius:14px;text-decoration:none;color:var(--ink);font:500 .9688rem/1.2 var(--ui);-webkit-tap-highlight-color:transparent}
/* the language's own name, then its name in the language of the page: side by side while they fit, the second under the first when they do not
   (a narrow screen, large text) - never cut off, never a sideways scroll */
.langp__name{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.langp__in{flex:0 1 auto;min-width:0;font-weight:400;font-size:.8125rem;color:var(--ink-soft);overflow-wrap:anywhere}
.langp__item .langp__check{position:absolute;inset-inline-end:10px;top:50%;translate:0 -50%;width:18px;height:18px;color:var(--plum);visibility:hidden}
.langp__item[aria-current]{color:var(--plum);font-weight:600}
.langp__item[aria-current] .langp__check{visibility:visible}
.langp__item:hover{background:rgba(233,204,198,.34)}
.langp__item:active{background:rgba(233,204,198,.55)}
.langp__item:focus-visible{outline:2px solid var(--focus);outline-offset:-2px;border-radius:14px}
.langp__item[aria-busy="true"] .langp__name{opacity:.7}   /* a moment at most (the words are fetched on intent); the text stays readable */
.langp__label{margin:8px 14px 2px;font:600 .8125rem/1.3 var(--ui);color:var(--ink-soft)}
.langp__find{padding:6px 6px 8px}
.langp__find .input{min-height:44px;border-radius:12px;border-color:var(--ink-soft)}
.langp__find .input:focus-visible{outline-offset:1px}
.langp__find .input::placeholder{opacity:1}   /* here the placeholder is the field's only visible label: full contrast */
.langp__status{margin:0;padding:8px 14px 6px;font-size:.875rem;line-height:1.4;color:var(--plum);font-weight:500}
.langp__status:empty{padding-block:0}   /* an empty live region must exist before it is filled: no room, but not display:none */
/* sheet: the same look and movement as the other bottom sheets (.sheet above) */
.langp[data-mode="sheet"]{inset:auto 0 0 0;width:100%;min-width:0;max-width:none;max-height:88vh;max-height:88dvh;padding:0;border:0;
  border-radius:50% 50% 0 0 / 26px 26px 0 0;box-shadow:0 -1px 0 rgba(43,35,38,.06);translate:0 100%;overscroll-behavior:contain;
  transition:translate var(--t-mid) var(--ease-out),opacity var(--t-mid) var(--ease-out)}
@supports (overlay:auto){
  .langp[data-mode="sheet"]{transition:translate var(--t-mid) var(--ease-out),opacity var(--t-mid) var(--ease-out),overlay var(--t-mid) allow-discrete,display var(--t-mid) allow-discrete}
}
.langp[data-mode="sheet"][open]{translate:0 0}
@starting-style{.langp[data-mode="sheet"][open]{translate:0 100%;opacity:0}}
.langp[data-mode="sheet"].is-drag{transition:none}
.langp[data-mode="sheet"]::backdrop{background:rgba(248,242,235,.35)}
.langp[data-mode="sheet"] .langp__body{padding:2px 0 calc(18px + var(--sab))}
.langp[data-mode="sheet"] .langp__item{min-height:56px;padding-block:8px;padding-inline:22px 52px;border-radius:0;border-top:1px solid var(--line);font-size:1.0625rem}
.langp[data-mode="sheet"] .langp__item .langp__check{inset-inline-end:20px}
.langp[data-mode="sheet"] .langp__item:focus-visible{border-radius:0}
.langp[data-mode="sheet"] .langp__in{font-size:.875rem}
.langp[data-mode="sheet"] .langp__label{margin:12px 22px 6px}
.langp[data-mode="sheet"] .langp__find{padding:4px 22px 12px}
.langp[data-mode="sheet"] .langp__status{padding:10px 22px 0}
.langp[data-mode="sheet"] .langp__status:empty{padding-block:0}

/* a one-line, polite offer of the visitor's browser language on the main page (never a redirect); it sits under the language button */
.offer{position:absolute;z-index:39;top:calc(var(--sat) + 62px);inset-inline-end:10px;display:flex;align-items:center;max-width:calc(100vw - 16px);padding-inline:4px 0;border-radius:999px}
.offer__go{min-height:44px;padding-inline:14px 4px;border:0;background:transparent;border-radius:999px;font:500 .9375rem/1.25 var(--ui);color:var(--plum);text-align:start}
.offer__x{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;background:transparent;border-radius:50%;color:var(--ink-soft)}
.offer__x .ic{width:18px;height:18px}
.offer__go:hover,.offer__x:hover{background:rgba(233,204,198,.34)}

/* the dock, measured: when the words of a language do not fit one row, js/app.js sets data-wrap and the dock takes the two-row layout.
   These are the declarations of "@container dock (max-width: 19.6em)" above (the large-text case): keep the two in step. */
.dock[data-wrap] .dock__row{grid-template-columns:repeat(4,minmax(max-content,1fr));row-gap:2px;padding:8px 4px 4px}
.dock[data-wrap] .dock__cta{grid-column:1/-1;grid-row:1;justify-self:center;margin:0;min-height:48px;padding:0 28px;font-size:.96875rem;box-shadow:none}
.dock[data-wrap] .dock__item{grid-row:2;font-size:.75rem;min-width:44px;padding:0 2px}

/* no-JS plain document */
.plain{padding:24px var(--pad) 48px;max-width:640px;margin:0 auto}
.plain h2{font:italic 300 2rem/1.1 var(--display);margin:28px 0 8px}
.plain li{margin:6px 0}
html:not(.js) .lang,html:not(.js) .motion,html:not(.js) .top__cta,html:not(.js) .dock,html:not(.js) .rail,html:not(.js) .skip,html:not(.js) .top__nav,html:not(.js) .display__from{display:none}
@supports selector(:popover-open){html:not(.js) .lang{display:inline-flex}}   /* the language button opens its panel without any script (popovertarget) and the list is plain links: it stays. No dead control where popovers are missing: there the list at the end of the page serves */
html:not(.js) .scene{padding-bottom:0}

/* motion off / reduced */
.no-motion .lid__sheen i,.no-motion .nail{animation:none;transition-duration:0.01ms}
.no-motion .langp,.no-motion .langp[data-mode],.no-motion .lang .lang__chev{transition:none}
@media (prefers-reduced-motion:reduce){
  .sheet,.sheet::backdrop,.langp,.langp[data-mode],.lang .lang__chev{transition:none}
  .scene__still{animation:none}
}

/* ---------- tablet portrait (a refinement of the stack mode: a calm 640px column) ---------- */
@media (min-width:640px) and (max-width:959.98px) and (min-height:600px),(min-width:960px) and (orientation:portrait){
  .scene{max-width:640px;margin-inline:auto}
  .stage{max-height:none}
  .top{max-width:640px;margin-inline:auto}
  .stage__frame{border-radius:28px 28px 50% 50% / 28px 28px var(--arc) var(--arc)}
  .sheet{max-width:640px;inset:auto 0 0 0;margin-inline:auto}
  .gal{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ---------- short phones ---------- */
@media (max-height:700px) and (max-width:959.98px){
  :root{--dock-h:58px}
  .chip{gap:5px}
  .nail{width:30px;height:42px}
}
@media (max-height:600px) and (max-width:959.98px) and (orientation:portrait){
  .stage{min-height:236px}     /* 320x568: a wrapped English look title + two-line note must still fit without a page scroll */
}
@media (max-width:374px){
  .price tbody th{padding-right:8px}
  .price .num{padding:6px 8px 6px 4px}
  .price .btn{padding:0 12px}
  .sheet__body,.sheet__bar{padding-left:18px;padding-right:18px}
  .sheet__head{padding-left:18px}
}

/* ---------- desk + lc share: the bar sits on the linen (no glass over a photo) and panels are side sheets ----------
   (the two mode strings below are the desk and lc strings, joined by a comma - nothing else is added) */
@media (min-width: 960px) and (orientation: landscape) and (min-height: 600px), (orientation: landscape) and (max-height: 599.98px){
  html,body{overflow-x:clip}
  .brand{background:transparent;border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;padding-left:0}
  .brand .brand__eye{background:var(--linen-deep)}
  .lang,.motion{background:transparent;border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
  .lang:hover,.motion:hover{background:rgba(233,204,198,.4)}
  .offer{position:fixed}
  .stage__caption{top:12px}                 /* B3: the same in-frame glass chip as on phones (left 12px from the base rule) */
  .about__fig{display:block}
  /* side sheet: the leading edge is the nail arc, the stage stays visible and keeps playing */
  .sheet{inset:0 0 0 auto;margin:0;max-width:none;height:var(--vh);max-height:none;border-radius:34px 0 0 34px / 50% 0 0 50%;translate:0 0}
  .sheet:not([open]){translate:100% 0}
  @starting-style{.sheet[open]{translate:100% 0}}
  .sheet__head{cursor:default;touch-action:auto}
  .sheet__grab{display:none}
}

/* ---------- desk (DESIGN 14.1) ---------- */
@media (min-width: 960px) and (orientation: landscape) and (min-height: 600px){
  :root{--arc:18%;--dsp:clamp(4.2rem,6.6vw,7.6rem);--dsp-look:var(--dsp);--pad:0px;--dock-h:0px;
    --desk-top:5.375rem;--desk-bot:5.375rem;--stage-h:calc(var(--vh) - var(--desk-top) - var(--desk-bot));
    --chip-fs:clamp(.84375rem,.94vw,1rem);--chip-min:5.8;--chip-share:24%;   /* chip-min (em of the label): room for the widest line a label may need - nb 2-line "Pedikyr med", en "Pedicure with", uk the bold word "Натуральний" */
    --nw:clamp(2.5rem,2.8vw,3.25rem);
    --col3-min:calc(3 * var(--chip-min) * var(--chip-fs) + .75rem)}
  :root:lang(en){--chip-min:6.6}
  :root:lang(uk){--chip-min:6.9}
  :root:lang(pl){--chip-min:6.4}   /* "Uzupełnienie". A language needs a line here only when its longest label word is wider than 5.8em: qa/scenarios/i18n-chipmin.json measures it, qa/check-i18n.py fails when a label does not fit */
  .dock{display:none}
  .top{position:fixed;padding:1.125rem clamp(1.5rem,3.4vw,3.5rem) 0;gap:1.25rem;align-items:center}
  .top::before{content:"";position:absolute;inset:0 0 -.75rem;z-index:-1;pointer-events:none;background:linear-gradient(var(--linen) 64%,rgba(248,242,235,0))}   /* text zoom may make the page scroll: content never shows through the bar */
  .top__nav{display:flex;gap:.25rem;margin-left:clamp(12px,3vw,48px);margin-right:auto}
  .top__link{min-height:2.75rem;padding:0 1rem;white-space:nowrap;border:0;background:transparent;border-radius:999px;font:500 .9375rem/1 var(--ui);color:var(--ink)}
  .top__link:hover{background:rgba(233,204,198,.4)}
  .top__cta{display:inline-flex;min-height:2.875rem;padding:0 1.5rem;white-space:nowrap}
  .top__utils{gap:.625rem}
  .brand{height:2.75rem}
  .brand__name{font-size:1.2rem}
  .lang{height:calc(2.75rem + 2px);font-size:.9375rem}
  .motion{width:2.75rem;height:2.75rem}
  .langp{--lp-top:4.6rem;--lp-end:clamp(1.5rem,3.4vw,3.5rem)}
  .offer{top:4.5rem;inset-inline-end:clamp(1.5rem,3.4vw,3.5rem)}

  /* grid: copy | stage | detail + rail. Row 1 holds the detail, row 2 (the rest) the rail, so a tall detail pushes the page longer instead of
     running into the rail (B2); the stage has an explicit height, so nothing else changes when the text is larger. */
  .scene{max-width:none;margin:0;height:auto;min-height:var(--vh);padding:var(--desk-top) clamp(32px,5vw,96px) var(--desk-bot);
    display:grid;grid-template-columns:minmax(0,1fr) auto minmax(var(--col3-min),1fr);column-gap:clamp(36px,4.4vw,84px);align-items:stretch;grid-template-rows:auto 1fr}
  .copy{display:contents}
  .stage{grid-column:2;grid-row:1 / span 2;flex:none;min-height:0;max-height:none;height:var(--stage-h);aspect-ratio:5/8;align-self:start;margin:0}
  .stage__frame{border-radius:22px 22px 50% 50% / 22px 22px var(--arc) var(--arc)}
  .pager{top:auto;bottom:-3.875rem}
  .pager--prev{left:calc(50% - 3.875rem)}
  .pager--next{right:auto;left:calc(50% + 1.125rem)}

  .display{grid-column:1;grid-row:1 / span 2;align-self:start;height:var(--stage-h);position:relative;z-index:6;display:flex;flex-direction:column;justify-content:flex-end;width:max-content;justify-self:end;
    max-width:calc(100% + var(--dsp) * 1.9);margin-right:calc(var(--dsp) * -1.9);padding-bottom:0}
  .display__title{grid-column:auto;font-size:var(--dsp);line-height:.93}
  .display__title--home{max-width:4.9em}
  .display__title--look{max-width:8.4em}
  .display__lead{margin-top:clamp(18px,2.6vh,30px);font-size:1.125rem;max-width:20ch}
  .display__from{display:inline-block;align-self:flex-start;margin-top:14px;padding:10px 0;margin-bottom:-8px;font-size:1.0625rem}

  .detail{grid-column:3;grid-row:1;align-self:start;display:flex;flex-direction:column;align-items:flex-start;padding-top:6px;margin-bottom:16px;max-width:22.5rem}
  .detail__service{order:1;margin:0;font:500 1.06rem/1.35 var(--ui)}
  .detail__price{order:2;align-self:flex-start;display:block;margin-top:10px;padding:0;font-size:clamp(2.2rem,2.7vw,3.3rem)}
  .detail__note{order:3;margin-top:12px;font-size:1rem;max-width:30ch}
  .detail__cta{order:4;margin-top:26px;min-height:56px;padding:0 40px;font-size:1.0625rem}
  .detail__cta:not([hidden]){display:inline-flex}

  .rail{grid-column:3;grid-row:2;align-self:end;margin:0;max-width:25rem;padding-bottom:0;font-size:var(--chip-fs)}
  .rail__label{display:block;margin:0 0 6px 4px;font:600 .9375rem/1.3 var(--ui);color:var(--ink-soft)}
  /* B1: as many columns as keep the longest word of every label whole (nb/en 4.7em, uk 5.9em), never more than --chip-share allows */
  .rail__list{display:grid;grid-template-columns:repeat(auto-fit,minmax(max(calc(var(--chip-min) * var(--chip-fs)),var(--chip-share)),1fr));gap:12px 4px;overflow:visible;padding:8px 0 0;-webkit-mask-image:none;mask-image:none}
  .rail__list li{flex:none}
  .chip{width:100%;min-width:0;font-size:1em}
  .chip__label,.chip__label[data-long]{width:auto;min-width:0;margin:0;padding:0;max-width:100%;min-height:0}
  .nail{width:var(--nw);height:calc(var(--nw) * 1.4)}

  .sheet{width:min(32.5rem,100%)}
  .sheet__head{padding:24px 22px 8px 52px}
  .sheet__body{padding:8px 28px 28px 52px}
  .sheet__bar{padding:12px 28px calc(16px + var(--sab)) 52px}
  .gal{grid-template-columns:repeat(2,minmax(0,1fr))}
  .about__pic{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:50% 44%;border-radius:18px 18px 50% 50% / 18px 18px 16% 16%;background:var(--linen-deep)}
}
@media (min-width: 960px) and (orientation: landscape) and (min-height: 600px) and (max-width: 1119.98px){
  .top{gap:.75rem}
  .top__nav{margin-left:.5rem}
  .top__link{padding:0 .625rem}
  .top__cta{padding:0 1.25rem}
}
@media (min-width: 960px) and (orientation: landscape) and (min-height: 600px) and (max-height: 860px){
  .rail__list{row-gap:6px}
  .detail__cta{margin-top:20px}
}
@media (min-width: 960px) and (orientation: landscape) and (min-height: 600px) and (max-height: 760px){
  :root{--desk-bot:4.375rem;--nw:clamp(2.25rem,5vh,3.25rem)}
  .pager{bottom:-3.25rem}
  .detail__price{font-size:clamp(1.9rem,2.4vw,3rem);margin-top:6px}
  .detail__cta{min-height:48px;margin-top:16px}
}
@media (min-width: 960px) and (orientation: landscape) and (min-height: 600px) and (max-height: 700px){
  :root{--desk-top:5rem;--desk-bot:3.75rem}
  .detail{padding-top:0}
  .detail__note{display:none}
  .detail__price{margin-top:4px}
  .detail__cta{min-height:44px;margin-top:12px}
  .rail__list{row-gap:4px;padding-top:6px}
}
@media (min-width:1700px) and (orientation:landscape) and (min-height:600px){
  .scene{padding-left:clamp(96px,8vw,200px);padding-right:clamp(96px,8vw,200px)}
}
/* B4: very large screens keep the proportions of 1920x1080 (everything above is in rem or vw/vh, so the rem base is the one lever) */
@media (min-width:2000px) and (min-height:1100px){html{font-size:112%}}
@media (min-width:2400px) and (min-height:1300px){html{font-size:130%}}

/* ---------- landscape-compact (DESIGN 14.2): a phone held sideways, a very short window - any width ---------- */
@media (orientation: landscape) and (max-height: 599.98px){
  :root{
    --lc-pl:max(8px,env(safe-area-inset-left,0px));
    --lc-pr:max(8px,env(safe-area-inset-right,0px));
    --lc-b:max(8px,env(safe-area-inset-bottom,0px));
    --lc-h:calc(var(--vh) - 8px - var(--lc-b));              /* the stage: full height minus 8px above and below */
    --lc-w:calc(var(--lc-h) * .8);                           /* 4:5 */
    --lc-gap:clamp(12px,2.2vw,36px);
    --lc-x:calc(var(--lc-pl) + var(--lc-w) + var(--lc-gap));   /* left edge of the right column */
    --arc:16%;
    --dsp:clamp(1.5rem,calc(var(--vh) * .074),2.5rem);
    --dsp-look:var(--dsp);
    --pad:0px;--dock-h:54px;
  }
  .top{position:fixed;top:8px;left:var(--lc-x);right:var(--lc-pr);padding:0;gap:6px}
  .langp{--lp-top:60px;--lp-end:var(--lc-pr);max-height:calc(var(--vh) - 68px)}
  .offer{top:56px;inset-inline-end:var(--lc-pr);max-width:calc(100vw - var(--lc-x) - var(--lc-pr))}
  .top__nav,.top__cta{display:none}
  .brand{height:44px}
  .scene{max-width:none;margin:0;height:auto;min-height:var(--vh);padding:8px var(--lc-pr) var(--lc-b) var(--lc-pl);
    display:grid;grid-template-columns:var(--lc-w) minmax(0,1fr);column-gap:var(--lc-gap);align-items:stretch;
    grid-template-rows:52px 1fr auto 62px}   /* top bar | copy | rail | dock (+8px air) - the bar and the dock are fixed, these rows only reserve their room */
  .stage{grid-column:1;grid-row:1 / -1;flex:none;min-height:0;max-height:none;height:var(--lc-h);margin:0;align-self:start}
  .stage__frame{border-radius:20px 20px 50% 50% / 20px 20px var(--arc) var(--arc)}
  .copy{grid-column:2;grid-row:2;align-self:center;margin:0;padding:0;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-content:center}
  .scene[data-view=look] .copy{padding-top:0}
  .display__title{font-size:var(--dsp);line-height:1;margin:0;text-shadow:none;max-width:none}
  .display__title--home{grid-column:1/-1;text-wrap:balance}
  .display__title--look{grid-column:1/-1;grid-row:1;align-self:end;white-space:nowrap}
  .display__lead{margin-top:6px;font-size:clamp(.875rem,calc(var(--vh) * .036),1.0625rem);line-height:1.35;max-width:none}
  .display__from{display:none}
  .detail__service{grid-column:1;grid-row:2;align-self:baseline;margin-top:5px;font-size:.9375rem;line-height:1.3;text-wrap:balance}
  .detail__price{grid-column:2;grid-row:2;align-self:baseline;padding:0;font-size:clamp(1.25rem,calc(var(--vh) * .05),1.75rem)}
  .detail__note{grid-column:1/-1;grid-row:3;margin-top:3px;font-size:.875rem;line-height:1.35}
  .rail{grid-column:2;grid-row:3;margin:8px 0 0;padding:0;--chip-w:52px}
  .rail__list{padding:8px 4px 4px}
  .chip{gap:5px;min-height:44px;min-width:46px;padding:2px 3px 4px;font-size:.75rem}
  .chip__label,.chip__label[data-long]{width:auto;min-width:0;margin:0;padding:0;min-height:0;white-space:nowrap}
  .nail{width:30px;height:42px}
  .stage__play{top:72%;padding:0 16px;font-size:.9375rem}   /* below the pager arrows, which sit at mid-height */
  .dock{left:var(--lc-x);right:var(--lc-pr);bottom:var(--lc-b);height:54px;padding:0;border:0;border-radius:27px;box-shadow:inset 0 0 0 1px var(--line)}
  .dock__row{height:100%;min-height:0;grid-template-columns:repeat(2,minmax(max-content,1fr)) auto repeat(2,minmax(max-content,1fr));column-gap:5px;row-gap:0;padding:0 2px}
  .dock__item{grid-row:auto;height:44px;min-width:44px;padding:0;white-space:nowrap;font-size:.75rem}
  .dock__cta{grid-column:auto;grid-row:auto;justify-self:auto;margin:0;height:44px;min-height:44px;padding:0 8px;font-size:.75rem;box-shadow:none}
  .pager{top:min(46%,calc(var(--vh) - 208px))}   /* mid-height, but never down into the rail's row (the rail scrolls under the stage edge) */
  html[data-sheet-open] .top{opacity:0;transition:opacity var(--t-mid) linear}   /* the bar sits under the side sheet; only its corner slivers would show */
  .sheet{width:min(100vw,clamp(400px,64vw,560px))}
  .sheet--form{max-height:none}
  .sheet__head{gap:10px;padding:10px 12px 4px 40px}
  .sheet__title{font-size:1.6rem}
  .sheet__thumb{width:28px;height:40px}
  .sheet__body{padding:4px 16px 16px 40px}
  .sheet__bar{padding:8px 16px calc(8px + var(--sab)) 40px;box-shadow:none}
  .about__fig{display:none}
  .contact__area{font-size:1.6rem}
  /* booking bar in ONE row: the primary channel (flex 1) + the others as 44x44 icon buttons (aria-label carries the name) */
  .status{margin:0 0 6px}
  .cancel{margin:0 0 6px;font-size:.75rem;line-height:1.3}
  .channels{display:flex;align-items:center;gap:6px}
  .channels .btn--bar{flex:1 1 0;min-width:0;min-height:44px;padding:6px 10px;gap:8px;font-size:.9375rem;line-height:1.15;white-space:normal;text-align:left}
  .channels .btn--bar .ic{width:20px;height:20px}
  .more{margin:0;display:flex;flex:none}
  .more__label{display:none}
  .more__grid{display:flex;gap:6px}
  .ch{width:44px;height:44px;min-height:44px;padding:0;flex:none}
  .ch__name{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
}
@media (orientation: landscape) and (max-height: 599.98px) and (min-width: 640px){
  .dock__row{column-gap:6px;padding:0 4px}
  .dock__item{font-size:.8125rem}
  .dock__cta{padding:0 12px;font-size:.875rem}
}
@media (orientation: landscape) and (max-height: 599.98px) and (min-width: 740px){
  .dock__cta{padding:0 16px;font-size:.9375rem}
}
@media (orientation: landscape) and (max-height: 399.98px){
  .detail__note{display:none}
}
