/* Belora — демо-сайт салону краси. Палітра: теплий айворі й травертин, один акцент — глибоке бордо. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-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: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-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: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-italic-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f6f1ea;
  --paper: #fbf8f3;
  --stone: #ece3d6;
  --stone-2: #e1d6c6;
  --ink: #2a221f;
  --ink-2: #554940;
  --muted: #8a7d71;
  --line: rgba(42, 34, 31, .12);
  --line-2: rgba(42, 34, 31, .24);
  --accent: #6e2333;          /* бордо — єдиний акцент */
  --accent-deep: #561a28;
  --accent-hi: #c98d98;       /* той самий тон, світліший — лише на темному тлі */
  --accent-tint: rgba(110, 35, 51, .07);
  --night: #181210;
  --night-2: #221a17;
  --cream: #f3ece2;
  --cream-2: rgba(243, 236, 226, .66);
  --night-line: rgba(243, 236, 226, .14);
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --pad: clamp(16px, 4.4vw, 64px);
  --max: 1320px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[data-theme='dark'] :focus-visible { outline-color: var(--accent-hi); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: italic; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 11px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--accent); }
[data-theme='dark'] .eyebrow { color: var(--cream-2); }
[data-theme='dark'] .eyebrow::before { background: var(--accent-hi); }
h2 em, h1 em { color: var(--accent); }
[data-theme='dark'] h2 em { color: var(--accent-hi); }
.lead { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.note { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.demo-tag { display: inline-block; padding: 4px 9px 3px; border: 1px solid var(--accent); border-radius: 999px; font: 600 10px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; vertical-align: middle; }
.demo-tag--dark { border-color: var(--accent-hi); color: var(--accent-hi); }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 2px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--cream); }
.btn--accent:hover { background: var(--accent-deep); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: rgba(251, 248, 243, .4); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 11px; }
.btn--wide { width: 100%; }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; z-index: 60; inset: 0 0 auto 0; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--pad); color: var(--ink); transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.nav.is-solid { background: rgba(246, 241, 234, .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav.is-dark { color: var(--cream); }
.nav.is-dark.is-solid { background: rgba(24, 18, 16, .78); box-shadow: 0 1px 0 var(--night-line); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--cream); font: italic 600 23px/1 var(--serif); padding-bottom: 2px; }
.logo b { font: 600 20px/1 var(--serif); letter-spacing: .34em; margin-right: -.34em; }
.nav__links { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .82; transition: opacity .3s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav.is-dark .btn--accent { background: var(--cream); color: var(--night); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--stone); }
.hero__media { position: absolute; inset: 0; }
.hero__media picture { display: contents; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform-origin: 70% 60%; animation: heroIn 2.6s var(--ease) both; will-change: transform; }
@keyframes heroIn { from { transform: scale(1.07); filter: brightness(1.04); } to { transform: scale(1); filter: none; } }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246, 241, 234, .78) 0, rgba(246, 241, 234, .38) 70px, rgba(246, 241, 234, 0) 150px), linear-gradient(90deg, rgba(246, 241, 234, .9) 0%, rgba(246, 241, 234, .72) 26%, rgba(246, 241, 234, .18) 46%, rgba(246, 241, 234, 0) 58%); pointer-events: none; }
.hero__copy { position: absolute; z-index: 2; left: var(--pad); top: 50%; transform: translateY(-44%); width: min(600px, 46vw); }
.hero__copy > * { animation: rise 1.2s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .1s; }
.hero__copy > :nth-child(3) { animation-delay: .2s; }
.hero__copy > :nth-child(4) { animation-delay: .3s; }
.hero__copy > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero h1 { margin: 22px 0 24px; font: 400 clamp(58px, 7.3vw, 116px)/.9 var(--serif); letter-spacing: -.015em; }
.hero h1 em { display: inline-block; padding-right: .06em; }
.hero .lead { max-width: 470px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 30px; list-style: none; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.facts li { display: flex; align-items: center; gap: 11px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.facts svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.hero__hint { position: absolute; z-index: 2; left: var(--pad); bottom: 30px; display: flex; flex-direction: row-reverse; align-items: center; gap: 14px; text-decoration: none; font: 600 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.hero__hint i { position: relative; width: 56px; height: 1px; background: var(--line-2); overflow: hidden; }
.hero__hint i::after { content: ''; position: absolute; top: 0; left: -40%; height: 1px; width: 40%; background: var(--accent); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { left: 100%; } }

/* ------------------------------------------------------------------ story */
.story { position: relative; background: var(--bg); }
.story__stage { position: relative; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(240px, 300px) auto minmax(250px, 330px); justify-content: center; align-items: center; column-gap: clamp(30px, 4.2vw, 72px); padding: calc(var(--nav-h) + 22px) var(--pad) 40px; overflow: hidden; }
.story__head h2 { margin: 16px 0 12px; font: 400 clamp(34px, 3.4vw, 50px)/1 var(--serif); letter-spacing: -.01em; }
.story__head p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.rail { position: relative; list-style: none; margin: 26px 0 0; padding: 0; }
.rail li { display: grid; grid-template-columns: 36px 1fr auto; align-items: baseline; gap: 4px; padding: 11px 0 10px; border-top: 1px solid var(--line); color: var(--muted); transition: color .45s var(--ease); }
.rail li:last-of-type { border-bottom: 1px solid var(--line); }
.rail .n { font: 600 11px/1 var(--sans); letter-spacing: .12em; }
.rail b { font: 500 21px/1.15 var(--serif); }
.rail .t { font: 600 11px/1 var(--sans); letter-spacing: .08em; white-space: nowrap; }
.rail li.is-done { color: var(--ink-2); }
.rail li.is-active { color: var(--ink); }
.rail li.is-active .n, .rail li.is-active .t { color: var(--accent); }
.rail li.is-active b { font-style: italic; }
.rail__pre { border-top-style: dashed !important; font-size: 13px; }
.rail__pre b { font-size: 18px !important; }
.rail__fill { position: absolute; left: -16px; top: var(--ft, 0); height: var(--fh, 100%); width: 1px; background: var(--line); }
.rail__fill::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(var(--p, 0)); }
.rail__total { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 14px; margin-top: 20px; }
.rail__total span { font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.rail__total b { font: 400 34px/1 var(--serif); font-variant-numeric: lining-nums; }
.rail__total em { grid-column: 1 / -1; font-style: normal; font-size: 12px; color: var(--muted); }

.frame { position: relative; margin: 0; height: calc(100vh - var(--nav-h) - 74px); height: calc(100svh - var(--nav-h) - 74px); aspect-ratio: 2 / 3; }
.frame__push { position: absolute; inset: 0; overflow: hidden; background: var(--stone); box-shadow: 0 40px 70px -40px rgba(70, 48, 34, .45), 0 0 0 1px rgba(42, 34, 31, .04); }
.frame__push picture { display: contents; }
.stg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transform-origin: 50% 42%; }
.js .stg:not([data-i='0']) { visibility: hidden; }
.stg.is-wipe { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--w, 0%) - 15%), transparent var(--w, 0%)); mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--w, 0%) - 15%), transparent var(--w, 0%)); }
.wipe-glow { position: absolute; left: 0; right: 0; height: 18%; top: calc(var(--w, 0%) - 17%); background: linear-gradient(180deg, rgba(255, 249, 238, 0), rgba(255, 249, 238, .34) 72%, rgba(255, 249, 238, 0)); mix-blend-mode: soft-light; opacity: var(--g, 0); pointer-events: none; }
.note48 { position: absolute; z-index: 3; left: -34px; top: 34px; display: flex; gap: 12px; align-items: flex-start; width: 252px; padding: 14px 16px 14px 14px; background: rgba(251, 248, 243, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -20px rgba(70, 48, 34, .45); border-left: 2px solid var(--accent); }
.note48 svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: 1px; }
.note48 p { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.note48 b { display: block; margin-bottom: 2px; font: 600 13px/1.3 var(--sans); color: var(--ink); }
.frame__cap { position: absolute; left: 0; right: 0; bottom: -26px; display: flex; justify-content: space-between; font: 600 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.stepcopy { position: relative; align-self: center; height: 340px; }
.sc { position: absolute; left: 0; right: 0; top: 0; opacity: 0; }
.sc__n { display: block; font: italic 300 112px/.8 var(--serif); color: var(--accent); letter-spacing: -.02em; }
.sc h3 { margin: 18px 0 14px; font: 400 40px/1.05 var(--serif); }
.sc p { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.sc__t { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 999px; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.sc__t svg { width: 15px; height: 15px; color: var(--accent); }
.mbar { display: none; }

/* ------------------------------------------------------------------ shade picker */
.shade { padding: clamp(90px, 11vw, 160px) 0; background: var(--paper); }
.shade__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: 'stage head' 'stage ctl'; column-gap: clamp(36px, 6vw, 100px); align-items: start; }
.shade__head { grid-area: head; }
.shade__ctl { grid-area: ctl; }
.shade__stage { grid-area: stage; position: sticky; top: calc(var(--nav-h) + 28px); aspect-ratio: 2 / 3; max-height: calc(100vh - var(--nav-h) - 56px); margin: 0 auto; width: 100%; background: var(--stone); overflow: hidden; box-shadow: 0 40px 70px -40px rgba(70, 48, 34, .4); }
.shade__base, .shade__cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade__cv { opacity: 0; transition: opacity .6s var(--ease); }
.shade__cv.is-on { opacity: 1; }
.shade__stage.is-cmp .shade__cv { opacity: 0; transition-duration: .25s; }
.shade__label { position: absolute; z-index: 4; left: 16px; bottom: 16px; display: flex; align-items: baseline; gap: 10px; padding: 11px 15px 10px; background: rgba(251, 248, 243, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 400 22px/1 var(--serif); }
.shade__label b { font: 600 11px/1 var(--sans); letter-spacing: .1em; color: var(--accent); }
.shade__cmp { position: absolute; z-index: 4; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border: 0; border-radius: 999px; background: rgba(251, 248, 243, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 11px/1 var(--sans); letter-spacing: .05em; color: var(--ink); touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.shade__cmp svg { width: 17px; height: 17px; color: var(--accent); }
.shade__stage.is-cmp .shade__cmp { background: var(--ink); color: var(--cream); }
.shade__head h2 { margin: 18px 0 16px; font: 400 clamp(40px, 4.6vw, 66px)/1 var(--serif); letter-spacing: -.01em; }
.shade__head .lead { max-width: 520px; font-size: 16px; }
.tones { margin-top: 34px; display: grid; gap: 18px; }
.tg { display: grid; grid-template-columns: 96px 1fr; align-items: start; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.tg h4 { padding-top: 16px; font: 600 10.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tg__row { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.tone { width: 74px; padding: 6px 2px 4px; border: 0; background: none; text-align: center; border-radius: 4px; transition: background-color .3s; }
.tone:hover { background: var(--accent-tint); }
.tone canvas { display: block; width: 52px; height: 52px; margin: 0 auto 7px; border-radius: 50%; background: var(--stone-2); box-shadow: 0 0 0 1px var(--line), 0 6px 12px -8px rgba(60, 40, 30, .6); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.tone b { display: block; font: 600 10px/1 var(--sans); letter-spacing: .08em; color: var(--muted); }
.tone span { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.2; color: var(--ink-2); }
.tone[aria-checked='true'] canvas { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--accent), 0 8px 16px -8px rgba(60, 40, 30, .6); transform: scale(1.04); }
.tone[aria-checked='true'] b { color: var(--accent); }
.tone[aria-checked='true'] span { color: var(--ink); font-weight: 600; }
.toneinfo { margin-top: 30px; padding: 24px 26px; background: var(--bg); border: 1px solid var(--line); }
.toneinfo__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.toneinfo__name span { font: 600 12px/1 var(--sans); letter-spacing: .1em; color: var(--accent); }
.toneinfo__name b { font: 400 36px/1 var(--serif); font-weight: 400; }
.toneinfo__name em { font: italic 400 18px/1 var(--serif); color: var(--muted); }
.toneinfo__dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 40px; margin: 20px 0 0; }
.toneinfo__dl dt { font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.toneinfo__dl dd { margin: 0; font: 500 21px/1.15 var(--serif); }
.toneinfo__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.shade__ctl .note { margin-top: 16px; max-width: 560px; }

/* ------------------------------------------------------------------ manicure (dark) */
.nails { position: relative; background: var(--night); color: var(--cream); }
.nails__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.nails__glow { position: absolute; inset: 0; background: radial-gradient(ellipse 40% 55% at 57% 56%, rgba(168, 108, 70, .26), rgba(168, 108, 70, .06) 55%, transparent 75%); pointer-events: none; }
.nails__copy { position: absolute; z-index: 3; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(400px, 30vw); }
.nails__copy h2 { margin: 18px 0 16px; font: 400 clamp(40px, 4.4vw, 64px)/1 var(--serif); letter-spacing: -.01em; }
.nails__copy p { font-size: 15px; line-height: 1.7; color: var(--cream-2); }
.nstack { position: absolute; inset: 0; pointer-events: none; }
.nl { position: absolute; left: 0; top: 0; height: auto; transform-origin: 50% 50%; will-change: transform; }
.nl img, .nl canvas { display: block; width: 100%; height: auto; }
#nlColour canvas { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .5s var(--ease); }
#nlColour.is-live canvas { opacity: 1; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.leaders path { fill: none; stroke: rgba(243, 236, 226, .38); stroke-width: 1; }
.leaders circle { fill: var(--night); stroke: var(--cream); stroke-width: 1.4; }
.nlabels { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.nlabel { position: absolute; left: 0; top: 0; opacity: 0; }
.nlabel .n { display: block; font: 600 10.5px/1 var(--sans); letter-spacing: .16em; color: var(--accent-hi); margin-bottom: 5px; }
.nlabel b { display: block; font: 400 26px/1.05 var(--serif); }
.nlabel span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--cream-2); }
.nlabel .t { display: inline-block; margin-top: 6px; font: 600 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cream); opacity: .78; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 10px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--cream-2); }
.scroll-hint i { width: 1px; height: 36px; background: linear-gradient(var(--accent-hi), transparent); }
.static-layers { display: none; }

/* ------------------------------------------------------------------ polish (dark) */
.polish { background: var(--night); color: var(--cream); padding: 10px 0 clamp(90px, 10vw, 140px); }
.polish__stage { position: relative; margin: 0 auto; max-width: 1200px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px var(--night-line); }
.polish__stage picture { display: contents; }
.polish__stage img { width: 100%; height: 100%; object-fit: cover; }
.polish__cv { position: absolute; left: 17.643%; top: 31.543%; width: 67.643%; height: 32.91%; opacity: 0; transition: opacity .55s var(--ease); }
.polish__cv.is-on { opacity: 1; }
.polish__bar { max-width: 1200px; margin: 34px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 40px; align-items: center; }
.polish__head h3 { font: 400 34px/1.05 var(--serif); }
.polish__head p { margin-top: 8px; font-size: 14px; color: var(--cream-2); }
.polish__row { display: flex; flex-wrap: wrap; gap: 4px; }
.pchip { width: 72px; padding: 6px 2px 4px; border: 0; background: none; color: var(--cream-2); text-align: center; border-radius: 4px; transition: background-color .3s; }
.pchip:hover { background: rgba(243, 236, 226, .06); }
.pchip canvas { display: block; width: 46px; height: 46px; margin: 0 auto 8px; border-radius: 50%; box-shadow: 0 0 0 1px var(--night-line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.pchip span { display: block; font-size: 11.5px; line-height: 1.2; }
.pchip[aria-checked='true'] { color: var(--cream); }
.pchip[aria-checked='true'] canvas { box-shadow: 0 0 0 2px var(--night), 0 0 0 3.5px var(--accent-hi); transform: scale(1.05); }
.polish__read { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: 14px; color: var(--cream-2); }
.polish__read b { font: 500 20px/1 var(--serif); color: var(--cream); }

/* ------------------------------------------------------------------ services */
.services { padding: clamp(90px, 11vw, 160px) 0; background: var(--bg); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { margin-top: 18px; font: 400 clamp(40px, 5vw, 70px)/1 var(--serif); letter-spacing: -.01em; }
.sec-head p { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.sec-head p .demo-tag { margin-left: 6px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); }
.card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.card__img--dark { background: var(--night); }
.card__img picture { display: contents; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { flex: 1; display: flex; flex-direction: column; padding: 20px 20px 22px; }
.card__n { font: italic 400 16px/1 var(--serif); color: var(--accent); }
.card h3 { margin: 6px 0 12px; font: 400 34px/1 var(--serif); }
.card ul { list-style: none; margin: 0 0 18px; padding: 0; }
.card li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.card li b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.card__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card__link:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ booking */
.book { padding: clamp(90px, 11vw, 150px) 0; background: var(--stone); }
.book__grid > * { min-width: 0; }
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.bstep { margin: 0 0 30px; padding: 0; border: 0; min-width: 0; }
.bstep legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 0; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.bstep legend span { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; letter-spacing: 0; font-size: 11px; }
.masters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.master { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px 16px 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; text-align: left; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.master:hover { border-color: var(--line-2); }
.mono { width: 54px; height: 54px; flex: none; display: grid; place-items: center; margin-bottom: 10px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); font: italic 500 22px/1 var(--serif); letter-spacing: .02em; color: var(--ink); transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.master b { font-size: 14.5px; line-height: 1.3; }
.master > span:not(.mono) { font-size: 12px; line-height: 1.35; color: var(--muted); }
.master small { margin-top: 8px; font: 600 10px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.master[aria-checked='true'] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.master[aria-checked='true'] .mono { background: var(--accent); border-color: var(--accent); color: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); font-size: 14px; line-height: 1; transition: background-color .3s, color .3s, border-color .3s; }
.chip em { font-style: normal; color: var(--muted); margin-left: 6px; font-size: 12.5px; }
.chip[aria-checked='true'] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip[aria-checked='true'] em { color: rgba(243, 236, 226, .7); }
.bnote { margin-top: 10px; display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-2); min-height: 1em; }
.bnote:empty { display: none; }
.bnote svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; min-width: 68px; padding: 10px 8px 9px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--paper); text-align: center; transition: background-color .3s, color .3s, border-color .3s; }
.day span { display: block; font: 600 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.day b { display: block; margin-top: 5px; font: 500 24px/1 var(--serif); }
.day[aria-checked='true'] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.day[aria-checked='true'] span { color: rgba(243, 236, 226, .7); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { padding: 11px 0; border: 1px solid var(--line-2); border-radius: 3px; background: var(--paper); font: 600 14px/1 var(--sans); font-variant-numeric: tabular-nums; transition: background-color .3s, color .3s, border-color .3s; }
.slot:disabled { opacity: .38; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.slot[aria-checked='true'] { background: var(--accent); border-color: var(--accent); color: var(--cream); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; margin-bottom: 7px; font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.field input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--paper); font-size: 16px; transition: border-color .3s; }
.field input:focus { outline: none; border-color: var(--ink); }
.field input.is-bad { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.summary { position: sticky; top: calc(var(--nav-h) + 22px); padding: 26px; background: var(--paper); border: 1px solid var(--line); }
.summary__who { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.summary__who .mono { width: 60px; height: 60px; margin: 0; background: var(--accent); border-color: var(--accent); color: var(--cream); font-size: 24px; }
.summary__who b { display: block; font: 400 25px/1.1 var(--serif); }
.summary__who span { font-size: 12.5px; color: var(--muted); }
.summary dl { margin: 6px 0 16px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary__price dd { font: 500 24px/1 var(--serif); }
.summary .btn { margin-top: 18px; }
.form-note { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }
.form-done { display: none; margin-top: 16px; padding: 14px 16px; background: var(--accent-tint); border-left: 2px solid var(--accent); font-size: 13.5px; line-height: 1.55; }
.form-done.is-on { display: block; }

/* ------------------------------------------------------------------ footer */
.foot { background: var(--night); color: var(--cream); padding: 64px 0 56px; }
.foot__grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 36px 56px; align-items: start; }
.foot__tag { margin-top: 18px; font: italic 400 24px/1.2 var(--serif); color: var(--cream-2); }
.foot__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; color: var(--cream-2); }
.foot__facts li { display: flex; gap: 10px; align-items: center; }
.foot__facts svg { width: 18px; height: 18px; color: var(--accent-hi); flex: none; }
.foot__esite { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--accent-hi); padding-bottom: 4px; }
.foot .note { margin-top: 18px; color: rgba(243, 236, 226, .5); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story__stage { grid-template-columns: minmax(220px, 260px) auto minmax(220px, 280px); }
  .sc__n { font-size: 92px; }
  .sc h3 { font-size: 34px; }
}
@media (max-width: 980px) {
  .nav__links { display: none; }
}
@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .logo b { font-size: 18px; }
  .logo__mark { width: 30px; height: 30px; font-size: 20px; }
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; padding-top: var(--nav-h); background: var(--bg); }
  .hero__media { position: relative; height: 52svh; min-height: 340px; }
  .hero__media img { object-position: 76% 50%; }
  .hero__veil { display: none; }
  .hero__copy { position: static; transform: none; width: auto; padding: 26px 16px 40px; }
  .hero h1 { margin: 16px 0 16px; font-size: clamp(46px, 13vw, 64px); }
  .hero .lead { font-size: 15.5px; }
  .ctas { margin-top: 24px; }
  .ctas .btn { flex: 1 1 100%; }
  .facts { gap: 12px 18px; margin-top: 28px; padding-top: 18px; }
  .facts li { font-size: 12px; flex: 1 1 calc(50% - 18px); }
  .hero__hint { display: none; }

  .story__stage { display: block; padding: 0; }
  .story__side { position: absolute; z-index: 4; left: 0; right: 0; top: var(--nav-h); padding: 10px 16px 0; }
  .story__head h2, .story__head p, .rail, .rail__total { display: none; }
  .story__head .eyebrow { font-size: 10px; }
  .frame { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 62px); bottom: 178px; height: auto; aspect-ratio: auto; }
  .frame__push { box-shadow: none; }
  .frame__cap { display: none; }
  .note48 { left: 12px; top: 12px; width: auto; max-width: calc(100% - 24px); padding: 10px 12px; }
  .note48 p { font-size: 11.5px; }
  .note48 b { font-size: 12px; }
  .note48 svg { width: 20px; height: 20px; }
  .stepcopy { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 16px; height: 148px; }
  .sc { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; }
  .sc__n { grid-row: 1; font-size: 46px; line-height: .9; }
  .sc h3 { grid-row: 1; margin: 0; font-size: 28px; }
  .sc p { grid-column: 1 / -1; margin-top: 8px; font-size: 13.5px; line-height: 1.55; }
  .sc__t { position: absolute; right: 0; top: 4px; margin: 0; padding: 6px 10px; font-size: 10px; }
  .mbar { position: absolute; z-index: 4; left: 16px; right: 16px; top: calc(var(--nav-h) + 38px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .mbar i { position: relative; height: 2px; background: var(--line); overflow: hidden; }
  .mbar i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--f, 0)); }

  .shade { padding: 70px 0 80px; }
  .shade__grid { grid-template-columns: 1fr; grid-template-areas: 'head' 'stage' 'ctl'; }
  .shade__stage { z-index: 5; top: var(--nav-h); height: 46svh; max-height: none; aspect-ratio: auto; width: calc(100% + 32px); margin: 26px -16px 0; box-shadow: 0 18px 30px -24px rgba(70, 48, 34, .5); }
  .shade__base, .shade__cv { object-position: 50% 38%; }
  .shade__label { left: 12px; bottom: 12px; font-size: 19px; padding: 9px 12px 8px; }
  .shade__cmp { right: 10px; top: 10px; }
  .tones { margin-top: 22px; }
  .tg { grid-template-columns: 1fr; gap: 4px; padding-top: 12px; }
  .tg h4 { padding-top: 0; }
  .tg__row { gap: 4px 0; }
  .tone { width: calc(20% - 0px); min-width: 64px; }
  .tone canvas { width: 46px; height: 46px; }
  .toneinfo { padding: 20px; }
  .toneinfo__dl { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  .toneinfo__dl div:last-child { grid-column: 1 / -1; }
  .toneinfo__foot .btn { width: 100%; }

  .nails__copy { top: calc(var(--nav-h) + 18px); transform: none; width: auto; right: 16px; left: 16px; }
  .nails__copy h2 { margin: 12px 0 8px; font-size: 38px; }
  .nails__copy p { font-size: 13.5px; line-height: 1.55; }
  .nlabel b { font-size: 20px; }
  .nlabel > span:not(.n) { display: none; }
  .nlabel .n { margin-bottom: 3px; }
  .nlabel b { line-height: 1; }
  .nlabel .t { font-size: 9.5px; }
  .scroll-hint { display: none; }

  .polish__stage { aspect-ratio: 4 / 3; margin: 0 -16px; border-radius: 0; }
  .polish__stage img { object-position: 50% 50%; }
  .polish__cv { left: 13.598%; width: 76.098%; top: 31.543%; height: 32.91%; }
  .polish__bar { grid-template-columns: 1fr; margin-top: 26px; }
  .polish__head h3 { font-size: 28px; }
  .polish__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .pchip { width: auto; }

  .sec-head { grid-template-columns: 1fr; }
  .cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 78vw; scroll-snap-align: start; }
  .card h3 { font-size: 30px; }

  .book__grid { grid-template-columns: 1fr; }
  .masters { gap: 8px; }
  .master { padding: 13px; }
  .mono { width: 46px; height: 46px; font-size: 19px; margin-bottom: 8px; }
  .fields { grid-template-columns: 1fr; }
  .summary { position: static; }
  .foot__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ reduced motion / no JS: static story */
.rm .hero__media img, .rm .hero__copy > * { animation: none; }
.rm .hero__hint i::after { animation: none; }
html:not(.js) .story__stage, .rm .story__stage { height: auto; display: block; padding: calc(var(--nav-h) + 40px) var(--pad) 80px; max-width: var(--max); margin: 0 auto; overflow: visible; }
html:not(.js) .story__side, .rm .story__side { position: static; padding: 0; }
html:not(.js) .story__head h2, html:not(.js) .story__head p, .rm .story__head h2, .rm .story__head p { display: block; }
html:not(.js) .rail, html:not(.js) .rail__total, html:not(.js) .note48, html:not(.js) .mbar, html:not(.js) .frame__cap, html:not(.js) .wipe-glow,
.rm .rail, .rm .rail__total, .rm .mbar, .rm .frame__cap, .rm .wipe-glow { display: none; }
html:not(.js) .frame, .rm .frame { position: static; height: auto; aspect-ratio: auto; margin-top: 32px; }
html:not(.js) .frame__push, .rm .frame__push { position: static; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; overflow: visible; box-shadow: none; background: none; }
html:not(.js) .frame__push picture, .rm .frame__push picture { display: block; }
html:not(.js) .stg, .rm .stg { width: 100%; position: static; visibility: visible !important; aspect-ratio: 2 / 3; height: auto; transform: none; -webkit-mask-image: none; mask-image: none; }
html:not(.js) .note48, .rm .note48 { position: static; width: auto; margin-top: 20px; max-width: 520px; }
html:not(.js) .stepcopy, .rm .stepcopy { position: static; height: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
html:not(.js) .sc, .rm .sc { position: static; opacity: 1 !important; transform: none !important; display: block; }
html:not(.js) .sc__n, .rm .sc__n { font-size: 40px; }
html:not(.js) .sc h3, .rm .sc h3 { margin: 6px 0 6px; font-size: 24px; }
html:not(.js) .sc p, .rm .sc p { font-size: 13px; }
html:not(.js) .sc__t, .rm .sc__t { position: static; margin-top: 10px; }
@media (max-width: 860px) {
  html:not(.js) .frame__push, .rm .frame__push, html:not(.js) .stepcopy, .rm .stepcopy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not(.js) .story__stage, .rm .story__stage { padding: 60px 16px 60px; }
  html:not(.js) .sc, .rm .sc { display: block; }
}
html:not(.js) .nails__stage { height: auto; padding: 100px var(--pad) 60px; }
html:not(.js) .nails__copy { position: static; transform: none; width: auto; max-width: 560px; }
html:not(.js) .nstack { position: static; display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 36px; }
html:not(.js) .nl { position: static; width: min(420px, 80vw); }
html:not(.js) .nl canvas, html:not(.js) .leaders, html:not(.js) .scroll-hint, html:not(.js) .shade__cmp { display: none; }
html:not(.js) .static-layers { display: block; max-width: 560px; margin: 30px auto 0; color: var(--cream-2); }
html:not(.js) .shade__cv { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
