/* ==========================================================
   MAG Nails & Beauty Shop
   ========================================================== */
:root {
  --ink: #161616;
  --ink-soft: #4a4646;
  --paper: #faf7f4;
  --paper-2: #f3ece6;
  --blush: #ecd3cc;
  --rose: #c98d88;
  --champagne: #d9c4a3;
  --line: rgba(22, 22, 22, .14);

  --f-logo: "Josefin Sans", "Montserrat", sans-serif;
  --f-sans: "Montserrat", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--rose); }
::selection { background: var(--ink); color: var(--paper); }

/* ---------- Logo (shared) ---------- */
.lg-mag   { font-family: var(--f-logo); font-weight: 300; font-size: 190px; fill: currentColor; }
.lg-nails { font-family: var(--f-sans); font-weight: 300; font-size: 64px; fill: currentColor; }
.lg-shop  { font-family: var(--f-sans); font-weight: 700; font-size: 36px; letter-spacing: 2px; fill: currentColor; }
.lg-strike, .lg-tail, .lg-box { fill: none; stroke: currentColor; stroke-linecap: square; }
.lg-strike { stroke-width: 2.5; }
.lg-tail   { stroke-width: 6; }
.lg-box    { stroke-width: 3; }

/* logo drawing animation (on .logo-anim after JS inlines the paths) */
.logo-anim .lg-strike, .logo-anim .lg-tail, .logo-anim .lg-box {
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
}
.logo-anim .lg-mag, .logo-anim .lg-nails, .logo-anim .lg-shop {
  opacity: 0;
  transform: translateY(24px);
  transform-box: fill-box;
}
.logo-anim.is-drawn .lg-mag   { animation: logoRise 1.1s var(--ease) forwards; }
.logo-anim.is-drawn .lg-nails { animation: logoRise 1s var(--ease) .35s forwards; }
.logo-anim.is-drawn .lg-strike{ animation: draw .9s var(--ease-in-out) .55s forwards; }
.logo-anim.is-drawn .lg-tail  { animation: draw .9s var(--ease-in-out) .75s forwards; }
.logo-anim.is-drawn .lg-box   { animation: draw 1.3s var(--ease-in-out) 1.05s forwards; }
.logo-anim.is-drawn .lg-shop  { animation: logoRise .9s var(--ease) 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes logoRise { to { opacity: 1; transform: none; } }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; gap: 28px;
  background: var(--ink); color: var(--paper);
  transition: transform 1s var(--ease-in-out) .1s;
}
.loader__logo { width: min(420px, 74vw); }
.loader__bar { height: 1px; background: rgba(255,255,255,.15); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--blush); transform-origin: left; transform: scaleX(0); animation: load 2.1s var(--ease-in-out) forwards; }
@keyframes load { to { transform: scaleX(1); } }
.loader.is-done { transform: translateY(-100%); }

/* ---------- UI chrome ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: var(--rose); transform-origin: left; transform: scaleX(0);
}
.cursor, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; z-index: 90;
    pointer-events: none; border-radius: 50%;
    transform: translate(-100px, -100px);
  }
  .cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
  .cursor-ring {
    width: 36px; height: 36px; margin: -18px 0 0 -18px;
    border: 1px solid var(--ink); opacity: .35;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .35s, background .35s;
  }
  .cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: 1; background: rgba(201,141,136,.15); border-color: var(--rose); }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--paper);
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blush); transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: none; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--small { padding: 11px 20px; font-size: 11px; }
.btn--full { width: 100%; grid-column: 1 / -1; }

.eyebrow {
  margin: 0 0 14px; font-size: 11px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--rose);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: padding .4s var(--ease), background .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; }
/* blurred bar lives on a pseudo-element: backdrop-filter on .nav itself would trap the fixed mobile menu inside the bar */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(250,247,244,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); transition: opacity .4s; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-open::before { opacity: 0; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand svg { width: 132px; transition: width .4s var(--ease); }
.nav.is-scrolled .nav__brand svg { width: 108px; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.nav__links a:not(.btn) {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; }

@media (max-width: 1280px) {
  .nav__toggle {
    display: grid; gap: 7px; width: 44px; height: 44px; place-content: center;
    background: none; border: 0; z-index: 2;
  }
  .nav__toggle span { display: block; width: 26px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), background .3s; }
  .nav.is-open .nav__toggle span { background: var(--paper); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: safe center; gap: clamp(4px, 1.4vh, 22px); overflow-y: auto; padding: 72px 0 24px;
    background: var(--ink); color: var(--paper);
    clip-path: circle(0% at calc(100% - 44px) 44px);
    transition: clip-path .8s var(--ease-in-out);
  }
  .nav.is-open .nav__links { clip-path: circle(150% at calc(100% - 44px) 44px); }
  .nav__links a:not(.btn) { font-family: var(--f-serif); font-size: clamp(22px, 4.2vh, 40px); letter-spacing: 0; text-transform: none; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
  .nav.is-open .nav__links a { opacity: 1; transform: none; }
  .nav.is-open .nav__links a:nth-child(1) { transition-delay: .25s; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .32s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: .39s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: .46s; }
  .nav.is-open .nav__links a:nth-child(5) { transition-delay: .53s; }
  .nav.is-open .nav__links a:nth-child(6) { transition-delay: .6s; }
  .nav.is-open .nav__links a:nth-child(7) { transition-delay: .67s; }
  .nav.is-open .nav__links a:nth-child(8) { transition-delay: .74s; }
  .nav.is-open .nav__links a:nth-child(9) { transition-delay: .81s; }
  .nav.is-open .nav__links a:nth-child(10) { transition-delay: .88s; }
  .nav.is-open .nav__links a:nth-child(11) { transition-delay: .95s; }
  .nav.is-open .nav__links a:nth-child(12) { transition-delay: 1s; }
  .nav__links .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
  .nav.is-open .nav__brand { color: var(--paper); position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.video-hero { position: relative; height: 100vh; height: 100svh; background: var(--ink); overflow: hidden; }
.video-hero__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 50% 50%, rgba(0,0,0,.42), rgba(0,0,0,.18) 60%, rgba(0,0,0,0) 100%);
}
.video-hero__logo {
  position: absolute; left: 50%; top: 50%; width: min(680px, 84vw); translate: -50% -50%;
  color: #fff; filter: drop-shadow(0 4px 24px rgba(0,0,0,.35));
}

.hero {
  position: relative;
  display: grid; place-items: center;
  padding: clamp(90px, 12vw, 150px) var(--gutter) clamp(110px, 12vw, 150px);
  overflow: hidden; text-align: center;
}
.hero__inner { position: relative; z-index: 1; max-width: 880px; }
.hero__title {
  margin: 0 auto 18px; max-width: 18ch; text-wrap: balance;
  font-family: var(--f-serif); font-weight: 400; line-height: 1.05;
  font-size: clamp(38px, 6vw, 76px);
}
.hero__sub { margin: 0 auto 36px; max-width: 46ch; color: var(--ink-soft); font-size: clamp(15px, 1.6vw, 17px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__eyebrow, .hero__sub, .hero__cta { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .hero__eyebrow { opacity: 1; transform: none; transition-delay: .1s; }
.is-ready .hero__sub     { opacity: 1; transform: none; transition-delay: .7s; }
.is-ready .hero__cta     { opacity: 1; transform: none; transition-delay: .9s; }

.hero__blobs { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; will-change: transform; }
.blob--1 { width: 46vmax; height: 46vmax; top: -18vmax; right: -14vmax; background: radial-gradient(circle, var(--blush), transparent 68%); animation: float 16s ease-in-out infinite; }
.blob--2 { width: 38vmax; height: 38vmax; bottom: -16vmax; left: -12vmax; background: radial-gradient(circle, var(--champagne), transparent 68%); animation: float 20s ease-in-out infinite reverse; opacity: .55; }
.blob--3 { width: 18vmax; height: 18vmax; top: 30%; left: 12%; background: radial-gradient(circle, #f2dcd6, transparent 70%); animation: float 12s ease-in-out infinite; }
@keyframes float {
  0%, 100% { translate: 0 0; scale: 1; }
  33% { translate: 3vmax -2vmax; scale: 1.06; }
  66% { translate: -2vmax 2vmax; scale: .96; }
}

.badge {
  position: absolute; left: var(--gutter); bottom: 60px; z-index: 2;
  width: 120px; height: 120px; display: grid; place-items: center;
  opacity: 0; transform: scale(.6); transition: opacity 1s, transform 1s var(--ease);
}
.is-ready .badge { opacity: 1; transform: none; transition-delay: 1.2s; }
.badge svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.badge text { font-size: 15.5px; font-weight: 500; letter-spacing: 3px; fill: var(--ink); }
.badge__dot {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: var(--paper); transition: transform .5s var(--ease), background .3s;
}
.badge:hover .badge__dot { transform: scale(1.2) rotate(90deg); background: var(--rose); }
@keyframes spin { to { rotate: 360deg; } }

.hero__scroll { position: absolute; left: 50%; bottom: 24px; width: 1px; height: 54px; background: var(--line); overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: var(--ink); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 820px) {
  .badge { width: 92px; height: 92px; bottom: 28px; }
  .badge__dot { width: 36px; height: 36px; }
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: var(--paper); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--f-serif); font-size: clamp(26px, 3.6vw, 44px); font-style: italic; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--blush); font-size: 18px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) var(--gutter); }
.section__head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 70px); text-align: center; }
.section__title {
  margin: 0; font-family: var(--f-serif); font-weight: 400; line-height: 1.05;
  font-size: clamp(40px, 6vw, 72px); text-wrap: balance;
}
.section__lead { margin: 18px auto 0; max-width: 48ch; color: var(--ink-soft); }

/* split-text reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.split.is-in .w > span { transform: none; }
.hero__title.split .w > span { transition-delay: calc(.2s + var(--i) * 80ms); }
.hero__title.split.is-in .w > span { transform: translateY(110%); }
.is-ready .hero__title.split.is-in .w > span { transform: none; }

/* generic reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.tabs { position: relative; display: flex; justify-content: center; gap: 6px; margin: 0 auto 50px; width: max-content; max-width: 100%; border-bottom: 1px solid var(--line); }
.tab { position: relative; background: none; border: 0; padding: 12px clamp(14px, 3vw, 28px); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); transition: color .3s; }
.tab.is-active { color: var(--ink); }
.tabs__indicator { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease); }
.menu { display: none; max-width: 820px; margin: 0 auto; }
.menu.is-active { display: block; }
.menu__item {
  display: flex; align-items: baseline; gap: 16px;
  padding: 24px 12px; border-bottom: 1px solid var(--line);
  position: relative; transition: padding .5s var(--ease);
  opacity: 0; transform: translateY(20px);
}
.menu.is-shown .menu__item { animation: itemIn .8s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes itemIn { to { opacity: 1; transform: none; } }
.menu__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper-2);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.menu__item:hover { padding-left: 24px; padding-right: 24px; }
.menu__item:hover::before { transform: scaleY(1); }
.menu__item h3 { margin: 0 0 2px; font-family: var(--f-serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.menu__item p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.menu__dots { flex: 1; min-width: 20px; border-bottom: 1px dotted rgba(22,22,22,.3); transform: translateY(-6px); }
.menu__book { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; transition: color .3s, transform .4s var(--ease); }
.menu__item:hover .menu__book { color: var(--rose); transform: translateX(4px); }
@media (max-width: 560px) {
  .menu__item { flex-wrap: wrap; gap: 6px 16px; }
  .menu__item > div { flex: 1 1 100%; }
  .menu__dots { display: none; }
}

/* ---------- Our work (photos + videos) ---------- */
.gallery { background: var(--paper-2); }
.works { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 18px; max-width: 1200px; margin: 0 auto; }
.work--wide { flex: 0 0 100%; }
.works__col { flex: 1; min-width: 0; }
@media (max-width: 560px) { .works { column-gap: 10px; } }
.work {
  position: relative; display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0;
  break-inside: avoid; overflow: hidden; background: var(--ink); cursor: zoom-in;
  isolation: isolate;
}
@media (max-width: 560px) { .work { margin-bottom: 10px; } }
.work img, .work video {
  display: block; width: 100%; height: auto;
  transition: transform 1.2s var(--ease), filter .6s;
}
.work:hover img, .work:hover video { transform: scale(1.05); }
.work::after { /* soft shade on hover */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 45%);
  opacity: 0; transition: opacity .5s;
}
.work:hover::after { opacity: 1; }
.work__badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.85); color: var(--ink); font-size: 10px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.work__zoom {
  position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff;
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease);
}
.work:hover .work__zoom { opacity: 1; transform: none; }
.work.reveal { transform: translateY(60px) scale(.97); }
.work.reveal.is-in { transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 95;
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  background: rgba(14,14,14,.94);
  animation: lbIn .4s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox__stage { display: grid; place-items: center; height: 100svh; padding: 56px 0; }
.lightbox__stage img, .lightbox__stage video {
  max-width: 100%; max-height: calc(100svh - 112px); width: auto; height: auto; object-fit: contain;
  animation: lbPop .5s var(--ease);
}
@keyframes lbPop { from { opacity: 0; transform: scale(.94); } }
.lightbox button { background: none; border: 0; color: #fff; }
.lightbox__close { position: absolute; top: 10px; right: 14px; z-index: 2; width: 48px; height: 48px; font-size: 34px; line-height: 1; }
.lightbox__nav { height: 64px; font-size: 26px; opacity: .7; transition: opacity .3s, transform .3s var(--ease); }
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev:hover { transform: translateX(-4px); }
.lightbox__nav--next:hover { transform: translateX(4px); }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .2em; }
@media (max-width: 560px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__stage { padding: 56px 8px; }
  .lightbox__nav { position: absolute; bottom: 4px; z-index: 2; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
}

/* ---------- Pedicure: before / after slider ---------- */
.pedicure { background: var(--paper-2); }
.pedicure__feature { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
@media (max-width: 860px) { .pedicure__feature { grid-template-columns: 1fr; } .pedicure .ba { order: -1; } }
.pedicure__hint { display: flex; align-items: center; gap: 10px; margin: 22px 0 26px; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--rose) !important; }
.pedicure__hint span { font-size: 20px; letter-spacing: 0; animation: hintNudge 2.4s var(--ease) infinite; }
@keyframes hintNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

.ba {
  position: relative; width: 100%; max-width: 460px; margin: 0 auto; aspect-ratio: 900 / 1346;
  overflow: hidden; background: var(--ink); user-select: none; -webkit-user-select: none;
  box-shadow: 0 50px 90px -50px rgba(22,22,22,.55);
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 18px; letter-spacing: 2px; font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: scale .3s var(--ease), background .3s, color .3s;
}
.ba:hover .ba__knob, .ba.is-dragging .ba__knob { scale: 1.12; background: var(--ink); color: #fff; }
.ba__range:focus-visible ~ .ba__line .ba__knob { outline: 3px solid var(--rose); outline-offset: 3px; }
.ba__label {
  position: absolute; top: 16px; z-index: 1; padding: 6px 12px; border-radius: 20px; pointer-events: none;
  background: rgba(255,255,255,.88); color: var(--ink); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  transition: opacity .3s;
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }
.ba[data-side="after"] .ba__label--before, .ba[data-side="before"] .ba__label--after { opacity: 0; }
.ba { cursor: ew-resize; touch-action: pan-y; } /* vertical swipes scroll the page, sideways swipes move the bar */
.ba__range { /* kept only for keyboard users; dragging is handled on the photo itself */
  position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; margin: 0;
  opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none;
}

/* ---------- Brows & lashes ---------- */
.brows__feature {
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px);
  align-items: center; max-width: 1100px; margin: 0 auto clamp(56px, 8vw, 100px);
}
@media (max-width: 860px) { .brows__feature { grid-template-columns: 1fr; } }
.brows__video {
  position: relative; aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; width: 100%;
  overflow: hidden; background: var(--paper-2); box-shadow: 0 50px 90px -50px rgba(22,22,22,.5);
}
.brows__video::after { /* thin inner frame, like the studio photo */
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.6); pointer-events: none;
}
.brows__video video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .brows__video { max-width: 380px; } }
.brows__title { margin: 0 0 18px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.brows__text > p:not(.eyebrow) { color: var(--ink-soft); }
.brows__steps { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 4px; }
.brows__steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.brows__steps b {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%;
  border: 1px solid var(--rose); color: var(--rose); font-family: var(--f-serif); font-weight: 400; font-size: 18px;
}
.brows__steps h4 { margin: 0 0 2px; font-family: var(--f-serif); font-weight: 500; font-size: 22px; }
.brows__steps p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.brows__also { margin: 0 0 26px; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--rose) !important; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 36px; }
@media (max-width: 700px) {
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 28px; padding: 4px var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
.chip {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 40px; background: transparent;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s, border-color .4s, transform .3s var(--ease);
}
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip__n { opacity: .55; margin-left: 4px; font-variant-numeric: tabular-nums; }
.pmu-grid { transition: opacity .28s, transform .28s var(--ease); }
.pmu-grid.is-filtering { opacity: 0; transform: translateY(14px); }
.lashes { background: var(--paper-2); }
.lips { background: var(--paper); }
.lashes .brows__feature, .lips .brows__feature { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.lips .brows__video { max-width: 300px; }
.lashes .brows__feature { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
@media (max-width: 860px) { .lashes .brows__feature { grid-template-columns: 1fr; } .lashes .brows__video { order: -1; } }
@media (max-width: 860px) {
  .lips .brows__feature { grid-template-columns: 1fr; }
  .lips .brows__video { order: -1; max-width: 280px; }
}
.work__tag {
  position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 10px; border-radius: 20px;
  background: rgba(255,255,255,.9); color: var(--ink); font-size: 10px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}

/* ---------- E-shop banner ---------- */
.shop { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 110px) var(--gutter); background: var(--ink); color: var(--paper); }
.shop::before { /* slow drifting glow */
  content: ""; position: absolute; width: 60vmax; height: 60vmax; top: -30vmax; right: -20vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,141,136,.35), transparent 65%); animation: float 18s ease-in-out infinite; pointer-events: none;
}
.shop__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 820px) { .shop__inner { flex-direction: column; align-items: flex-start; } }
.shop__text { max-width: 620px; }
.shop .eyebrow { color: var(--blush); }
.shop__title { margin: 0 0 16px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; }
.shop__title em { color: var(--blush); }
.shop__text > p:not(.eyebrow) { margin: 0; color: rgba(250,247,244,.72); }
.btn--shop { flex: none; padding: 22px 40px; font-size: 13px; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--shop:hover { color: var(--ink); }
.btn--shop:hover .btn__arrow { transform: translateX(6px); }

/* ---------- About ---------- */
.about { overflow-x: clip; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; max-width: 1200px; margin: 0 auto; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about__visual { position: relative; }
.about__frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 40px 80px -50px rgba(22,22,22,.45);
}
.about__frame img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transition: transform 1.6s var(--ease);
}
.about__visual.is-in .about__frame img { transform: none; }
.about__frame:hover img { transform: scale(1.04); }
.about__frame::before { /* thin inner frame line */
  content: ""; position: absolute; inset: 14px; z-index: 1; border: 1px solid rgba(255,255,255,.55); pointer-events: none;
}
.about__frame::after { /* soft light that follows the mouse */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 45%);
}
.about__ring {
  position: absolute; width: 42%; aspect-ratio: 1; right: -8%; bottom: -8%;
  border: 1px solid var(--rose); border-radius: 50%; z-index: -1;
  animation: float 14s ease-in-out infinite;
}
.about__text .section__title { margin-bottom: 24px; }
.about__text > p { color: var(--ink-soft); }
.features { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.features li { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.features span { color: var(--rose); }

/* ---------- Process ---------- */
.process { background: var(--ink); color: var(--paper); }
.process .eyebrow { color: var(--blush); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.steps__line { position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px; background: rgba(255,255,255,.15); }
.steps__line span { position: absolute; inset: 0; background: var(--blush); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; text-align: center; }
.step b {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: var(--ink);
  font-family: var(--f-serif); font-size: 24px; font-weight: 400;
  transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease);
}
.step.is-lit b { background: var(--blush); color: var(--ink); border-color: var(--blush); transform: scale(1.08); }
.step h3 { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 400; font-size: 28px; }
.step p { margin: 0 auto; max-width: 22ch; font-size: 14px; color: rgba(250,247,244,.7); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps__line { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto; }
  .steps__line span { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { background: var(--ink); padding: 8px 0; }
}

/* ---------- Reviews ---------- */
.reviews { overflow: hidden; }
.ratings { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 0 auto clamp(40px, 6vw, 64px); }
.rating {
  display: grid; justify-items: center; gap: 4px; min-width: 220px; padding: 26px 40px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease);
}
a.rating:hover { border-color: var(--ink); transform: translateY(-5px); }
.rating__src { font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); }
.rating__score { font-family: var(--f-serif); font-size: 56px; line-height: 1; }
.rating__score small { font-size: 22px; color: var(--ink-soft); }
.rating__stars { color: #d1a04a; letter-spacing: 4px; font-size: 16px; }
.rating__count { font-size: 13px; color: var(--ink-soft); }
.rating__count b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .ratings { flex-wrap: nowrap; gap: 12px; }
  .rating { flex: 1 1 0; min-width: 0; padding: 20px 10px; }
  .rating__score { font-size: 44px; }
  .rating__src { letter-spacing: .2em; }
}

.rv-rows {
  display: grid; gap: 22px; margin: 0 calc(-1 * var(--gutter));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.rv-row { overflow: hidden; padding: 10px 0 18px; }
.rv-track { display: flex; width: max-content; will-change: transform; -webkit-backface-visibility: hidden; animation: rvScroll var(--dur, 120s) linear infinite; }
.rv-row--rev .rv-track { animation-name: rvScrollRev; } /* own keyframes: iOS Safari stalls on animation-direction: reverse */
@media (hover: hover) and (pointer: fine) { .rv-row:hover .rv-track { animation-play-state: paused; } }
.rv-group { display: flex; gap: 22px; padding-right: 22px; }
@keyframes rvScroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes rvScrollRev { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.rv {
  flex: none; width: 340px; margin: 0; padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.rv:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 50px -30px rgba(22,22,22,.4); }
@media (max-width: 560px) { .rv { width: 280px; padding: 22px; } }
.rv__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rv__stars { color: #d1a04a; letter-spacing: 2px; font-size: 14px; }
.rv__src { padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; background: var(--paper-2); }
.rv__src--treatwell { background: var(--blush); }
.rv__text {
  flex: 1; margin: 0; font-size: 15px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.rv__name { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; }
.rv__avatar {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500;
}
@media (prefers-reduced-motion: reduce) {
  .rv-row { overflow-x: auto; }
  .rv-group[aria-hidden] { display: none; }
}

/* ---------- Booking ---------- */
.book__card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center;
  max-width: 1150px; margin: 0 auto; padding: clamp(28px, 6vw, 70px);
  background: #fff; box-shadow: 0 40px 80px -50px rgba(22,22,22,.35);
}
@media (max-width: 860px) { .book__card { grid-template-columns: 1fr; } }
.book__action { display: grid; gap: 30px; justify-items: start; }
.btn--tw { padding: 22px 40px; font-size: 13px; }
.btn__arrow { font-style: normal; margin-left: 14px; transition: transform .5s var(--ease); }
.btn--tw:hover .btn__arrow { transform: translateX(6px); }
@media (max-width: 560px) { .book__action, .btn--tw { width: 100%; } }
.book__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.book__steps li { display: flex; align-items: center; gap: 14px; color: var(--ink-soft); font-size: 15px; }
.book__steps b {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border: 1px solid var(--line); border-radius: 50%;
  font-family: var(--f-serif); font-weight: 400; font-size: 17px; color: var(--ink);
}

/* ---------- Opening hours (live) ---------- */
.opening { background: var(--paper-2); }
.opening__grid {
  display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: clamp(30px, 6vw, 80px);
  align-items: center; max-width: 1150px; margin: 0 auto;
}
@media (max-width: 900px) { .opening__grid { grid-template-columns: 1fr; } }

.status {
  --accent: #2f9e63;
  display: grid; place-items: center; gap: 20px; padding: 40px 24px 32px;
  background: #fff; color: var(--ink); text-align: center;
  border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(22,22,22,.35);
}
.status[data-state="closing"] { --accent: #d9822b; }
.status[data-state="closed"]  { --accent: var(--rose); }
.status__ring, .status__body { grid-area: 1 / 1; }
.status__ring { width: min(250px, 100%); transform: rotate(-90deg); }
.status__ring circle { fill: none; stroke-width: 5; }
.status__track { stroke: var(--paper-2); }
.status__fill { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease), stroke .6s; }
.status__body { display: grid; gap: 6px; padding: 0 30px; }
.status__body p { margin: 0; }
.status__label { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--f-serif); font-size: 32px; line-height: 1.1; }
.status__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; transition: background .6s; }
.status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: waPulse 2s ease-out infinite; }
.status__detail { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.status__count { font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--accent); transition: color .6s; }
.status__clock { grid-area: 2 / 1; margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.status__clock b { font-weight: 500; font-variant-numeric: tabular-nums; margin-left: 6px; }

.week { --name-w: 130px; --time-w: 130px; }
@media (max-width: 560px) { .week { --name-w: 52px; --time-w: 104px; } }
.week__axis { position: relative; height: 22px; margin: 0 var(--time-w) 4px var(--name-w); }
.week__axis span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .week__axis span:nth-child(even) { display: none; } }
.day {
  display: grid; grid-template-columns: var(--name-w) 1fr var(--time-w); align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(-20px);
}
.week.is-in .day { animation: itemIn .7s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * 70ms); }
.day__name { font-family: var(--f-serif); font-size: 21px; line-height: 1.1; }
.day__short { display: none; }
@media (max-width: 560px) { .day__full { display: none; } .day__short { display: inline; } }
.day__time { text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
.day__track {
  position: relative; height: 10px; border-radius: 10px;
  background-color: rgba(22,22,22,.05);
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / var(--hours)) 100%;
}
.day__bar {
  position: absolute; top: 0; bottom: 0; border-radius: 10px; background: var(--blush);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease), background .4s; transition-delay: calc(.35s + var(--i) * 80ms);
}
.week.is-in .day__bar { transform: none; }
.day.is-today .day__bar { background: var(--ink); }
.day.is-today .day__name { font-weight: 500; }
.day.is-today .day__name::after {
  content: "Today"; display: block; margin-top: 2px;
  font-family: var(--f-sans); font-size: 9px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--rose);
}
.day.is-today .day__time { font-weight: 600; }
.day.is-closed .day__time { color: var(--ink-soft); font-style: italic; }
.day:hover .day__bar { background: var(--rose); }
.day__now { position: absolute; top: -7px; bottom: -7px; width: 2px; margin-left: -1px; background: var(--rose); transition: left 1s var(--ease); }
.day__now::after {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--rose); animation: waPulse 2s ease-out infinite;
}
.day__now::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--rose); }

.contact { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.book__intro .section__title { margin-bottom: 20px; }
.book__intro p:not(.eyebrow) { color: var(--ink-soft); }

/* ---------- Visit ---------- */
.visit__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 820px; margin: 0 auto; }
@media (max-width: 820px) { .visit__grid { grid-template-columns: 1fr; } }
.visit__block { padding: 34px 28px; border: 1px solid var(--line); text-align: center; transition: border-color .4s, transform .5s var(--ease); }
.visit__block:hover { border-color: var(--ink); transform: translateY(-6px); }
.visit__block h3 { margin: 0 0 14px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); }
.visit__block p { margin: 0; line-height: 1.9; }
.visit__block a { background: linear-gradient(currentColor 0 0) left bottom / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.visit__block a:hover { background-size: 100% 1px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: 0 var(--gutter) 28px; background: var(--ink); color: var(--paper); }
.footer::before { content: ""; position: absolute; width: 50vmax; height: 50vmax; left: -20vmax; bottom: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(201,141,136,.22), transparent 65%); animation: float 20s ease-in-out infinite; pointer-events: none; }
.footer__marquee { margin: 0 calc(-1 * var(--gutter)); padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.footer__marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.footer__marquee span { font-family: var(--f-serif); font-style: italic; font-size: clamp(40px, 8vw, 110px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(250,247,244,.35); }
.footer__top-row { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: clamp(32px, 5vw, 70px); max-width: 1200px; margin: 0 auto; padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); }
@media (max-width: 960px) { .footer__top-row { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__top-row { grid-template-columns: 1fr; } }
.footer__logo { width: min(240px, 70vw); color: var(--paper); }
.footer__tagline { max-width: 34ch; margin: 22px 0 26px; color: rgba(250,247,244,.7); font-size: 15px; }
.footer__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--outline-light { background: transparent; color: var(--paper); border-color: rgba(250,247,244,.45); }
.btn--outline-light:hover, .btn--light:hover { color: var(--ink); }
.footer__col h3 { margin: 0 0 20px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--blush); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: rgba(250,247,244,.82); }
.footer__col a { background: linear-gradient(var(--blush) 0 0) left bottom / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.footer__col a:hover { color: #fff; background-size: 100% 1px; }
.footer__hours li { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.footer__hours li span:first-child { color: rgba(250,247,244,.55); }
.footer__hours li.is-today, .footer__hours li.is-today span { color: #fff; font-weight: 600; }
.footer__bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom p { margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .55; }
.footer__top { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; transition: background .3s, color .3s; }
.footer__top:hover { background: var(--paper); color: var(--ink); }

/* ---------- WhatsApp ---------- */
.btn svg { width: 20px; height: 20px; margin-right: 10px; flex: none; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  opacity: 0; transform: translateY(30px) scale(.6); transform-origin: bottom right; pointer-events: none;
  transition: opacity .5s, transform .6s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab__toggle {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0,0,0,.35);
  transition: transform .4s var(--ease), background .4s;
}
.fab__toggle::before { /* soft pulse, only while closed */
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}
.fab__toggle:hover { transform: scale(1.08); }
.fab__toggle svg { grid-area: 1 / 1; width: 30px; height: 30px; transition: opacity .3s, transform .45s var(--ease); }
.fab__close { width: 24px !important; height: 24px !important; opacity: 0; transform: rotate(-90deg) scale(.5); }
.fab.is-open .fab__toggle { background: var(--ink); }
.fab.is-open .fab__toggle::before { animation: none; opacity: 0; }
.fab.is-open .fab__open { opacity: 0; transform: rotate(90deg) scale(.5); }
.fab.is-open .fab__close { opacity: 1; transform: none; }

.fab__menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.fab__item {
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(16px) scale(.9); transform-origin: right center;
  transition: opacity .3s, transform .45s var(--ease); transition-delay: calc(var(--i) * 50ms);
}
.fab.is-open .fab__menu { pointer-events: auto; }
.fab.is-open .fab__item { opacity: 1; transform: none; }
.fab__label {
  padding: 10px 16px; border-radius: 30px; background: #fff; color: var(--ink); white-space: nowrap;
  font-size: 12px; font-weight: 500; letter-spacing: .08em; box-shadow: 0 10px 26px -10px rgba(0,0,0,.35);
  transition: background .3s, color .3s;
}
.fab__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-right: 5px; border-radius: 50%; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); transition: transform .35s var(--ease); }
.fab__icon svg { width: 24px; height: 24px; }
.fab__icon--wa { background: #25d366; }
.fab__icon--tw { background: var(--ink); }
.fab__icon--shop { background: var(--rose); }
.fab__item:hover .fab__icon, .fab__item:focus-visible .fab__icon { transform: scale(1.1); }
.fab__item:hover .fab__label, .fab__item:focus-visible .fab__label { background: var(--ink); color: #fff; }
@keyframes waPulse { from { transform: scale(1); opacity: .5; } to { transform: scale(1.7); opacity: 0; } }
.nav.is-open ~ .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; animation-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Section background photos / video (soft, with parallax) ---------- */
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.sec-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.sec-bg img, .sec-bg video {
  position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0); will-change: transform;
}
.sec-bg::after { /* light veil keeps the text easy to read */
  content: ""; position: absolute; inset: 0; background: rgba(250,247,244,.66);
}
.has-bg--dark .sec-bg::after { background: rgba(22,22,22,.64); }
.services.has-bg .sec-bg::after { background: linear-gradient(rgba(250,247,244,.62), rgba(250,247,244,.8)); }
.reviews.has-bg .sec-bg::after { background: rgba(250,247,244,.6); }
.hero.has-bg .hero__blobs { z-index: -1; opacity: .45; }
.hero.has-bg .sec-bg::after { background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(250,247,244,.72), rgba(250,247,244,.5)); }
/* soft halo behind small text on photo backgrounds, instead of a heavier veil */
.has-bg:not(.has-bg--dark) :is(p, h1, h2, h3, .tab, .menu__book, .eyebrow) { text-shadow: 0 0 14px rgba(250,247,244,.95), 0 0 2px rgba(250,247,244,.9); }
.has-bg:not(.has-bg--dark) .hero__sub, .has-bg:not(.has-bg--dark) .menu__item p { color: #2e2a2a; }
.has-bg--dark :is(p, h2, h3) { text-shadow: 0 1px 12px rgba(0,0,0,.5); }

/* ---------- Instagram ---------- */
.fab__icon--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.hero__ig {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--ink);
  opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease), color .3s;
}
.is-ready .hero__ig { opacity: 1; transform: none; transition-delay: 1.1s; }
.hero__ig svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.hero__ig span { background: linear-gradient(currentColor 0 0) left bottom / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.hero__ig:hover { color: var(--rose); }
.hero__ig:hover svg { transform: rotate(-10deg) scale(1.15); }
.hero__ig:hover span { background-size: 100% 1px; }

/* ---------- Home: "See our products" teaser ---------- */
.pteaser { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 100px) var(--gutter); background: var(--paper-2); }
.pteaser__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 80px); align-items: center; max-width: 1200px; margin: 0 auto; }
@media (max-width: 860px) { .pteaser__inner { grid-template-columns: 1fr; } }
.pteaser__title { margin: 0 0 16px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
.pteaser__text > p:not(.eyebrow) { margin: 0 0 28px; color: var(--ink-soft); max-width: 44ch; }
.pteaser__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pteaser__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pteaser__strip a { position: relative; display: block; aspect-ratio: 9 / 15; overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px -40px rgba(22,22,22,.6); }
.pteaser__strip a:nth-child(even) { transform: translateY(28px); }
.pteaser__strip img, .pteaser__strip video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pteaser__strip a:hover img, .pteaser__strip a:hover video { transform: scale(1.07); }
@media (max-width: 560px) { .pteaser__strip { gap: 8px; } .pteaser__strip a:nth-child(even) { transform: translateY(16px); } }

/* ---------- Products page ---------- */
.products-page .pnav { padding: 12px var(--gutter); }
.pnav__links { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.pnav__back { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.pnav__back:hover { color: var(--rose); }
@media (max-width: 480px) { .pnav__back { display: none; } }
.phero { position: relative; overflow: hidden; padding: clamp(130px, 16vw, 190px) var(--gutter) clamp(40px, 6vw, 60px); text-align: center; }
.phero__blob { position: absolute; z-index: -1; width: 60vmax; height: 60vmax; top: -30vmax; right: -20vmax; border-radius: 50%; background: radial-gradient(circle, var(--blush), transparent 65%); animation: float 18s ease-in-out infinite; }
.phero__title { margin: 0 0 18px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(52px, 9vw, 110px); line-height: 1; }
.phero__lead { max-width: 52ch; margin: 0 auto 34px; color: var(--ink-soft); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px); max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) clamp(60px, 8vw, 100px); transition: opacity .25s, transform .25s var(--ease); }
.pgrid.is-filtering { opacity: 0; transform: translateY(12px); }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; background: #fff; box-shadow: 0 30px 60px -45px rgba(22,22,22,.45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pcard[hidden] { display: none; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(22,22,22,.5); }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.pcard__media img, .pcard__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__media img, .pcard:hover .pcard__media video { transform: scale(1.05); }
.pcard__badge { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.88); font-size: 10px; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.pcard__type { margin: 0 0 6px; font-size: 10px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: var(--rose); }
.pcard__name { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 500; font-size: 26px; line-height: 1.15; }
.pcard__text { flex: 1; margin: 0 0 20px; font-size: 14px; color: var(--ink-soft); }
.pcard__btn .btn__arrow { font-style: normal; margin-left: 12px; transition: transform .5s var(--ease); }
.pcard__btn:hover .btn__arrow { transform: translateX(6px); }
.pcta { padding: clamp(70px, 9vw, 110px) var(--gutter); background: var(--ink); color: var(--paper); text-align: center; }
.pcta h2 { margin: 0 0 14px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(38px, 5vw, 60px); }
.pcta h2 em { color: var(--blush); }
.pcta p { margin: 0 auto 30px; max-width: 46ch; color: rgba(250,247,244,.7); }
.pfooter { display: grid; justify-items: center; gap: 14px; padding: 40px var(--gutter); background: var(--ink); color: var(--paper); border-top: 1px solid rgba(255,255,255,.1); }
.pfooter__logo svg { width: 160px; color: var(--paper); }
.pfooter p { margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .55; }

/* ---------- Scroll-down cue on the hero video ---------- */
.scroll-down {
  position: absolute; left: 50%; bottom: clamp(22px, 5vh, 44px); z-index: 2;
  display: grid; justify-items: center; gap: 8px; translate: -50% 0;
  color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.45));
  opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.is-loaded .scroll-down { opacity: 1; transform: none; transition-delay: 2.4s; }
.scroll-down.is-gone { opacity: 0 !important; transition-delay: 0s; pointer-events: none; }
.scroll-down__mouse { position: relative; width: 26px; height: 42px; border: 2px solid currentColor; border-radius: 14px; }
.scroll-down__wheel { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: sdWheel 1.8s var(--ease) infinite; }
.scroll-down__chev { display: grid; justify-items: center; }
.scroll-down__chev i { display: block; width: 10px; height: 10px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; animation: sdChev 1.8s ease-in-out infinite; }
.scroll-down__chev i:nth-child(2) { animation-delay: .2s; }
.scroll-down__text { font-size: 10px; font-weight: 500; letter-spacing: .35em; text-transform: uppercase; padding-left: .35em; }
.scroll-down:hover .scroll-down__mouse { transform: scale(1.08); }
.scroll-down__mouse { transition: transform .4s var(--ease); }
@keyframes sdWheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 70% { opacity: 1; transform: translateY(10px); } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes sdChev { 0%, 100% { opacity: .25; transform: translateY(-3px); } 50% { opacity: 1; transform: translateY(3px); } }

/* ---------- Ritzy nails logo on the products page ---------- */
.phero__brand { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 34px); margin: 0 auto 30px; }
.phero__mag { width: clamp(120px, 18vw, 190px); color: var(--ink); }
.phero__x { font-family: var(--f-serif); font-size: clamp(28px, 4vw, 44px); color: var(--rose); line-height: 1; }
.phero__ritzy { width: clamp(170px, 26vw, 300px); color: var(--ink); overflow: visible; }
.pcta__ritzy { display: block; width: clamp(150px, 20vw, 220px); margin: 0 auto 26px; color: var(--paper); overflow: visible; }
.ritzy-anim .rz-r { stroke-dasharray: var(--len, 200); stroke-dashoffset: var(--len, 200); }
.ritzy-anim :is(.rz-itzy, .rz-nails, .rz-reg) { opacity: 0; transform: translateY(14px); transform-box: fill-box; }
.ritzy-anim.is-drawn .rz-r { animation: draw 1s var(--ease-in-out) forwards; }
.ritzy-anim.is-drawn .rz-itzy { animation: logoRise .9s var(--ease) .35s forwards; }
.ritzy-anim.is-drawn .rz-nails { animation: logoRise .9s var(--ease) .65s forwards; }
.ritzy-anim.is-drawn .rz-reg { animation: logoRise .6s var(--ease) .95s forwards; }
.phero__x { opacity: 0; animation: logoRise .8s var(--ease) .2s forwards; transform: translateY(10px); }
.day.is-today .day__name:lang(el)::after { content: "Σήμερα"; }

/* ---------- Language switch (EN / ΕΛ) ---------- */
.lang-switch {
  display: inline-grid; place-items: center; min-width: 38px; height: 32px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 20px;
  font-size: 11px !important; font-weight: 600; letter-spacing: .12em !important;
  transition: background .3s, color .3s, border-color .3s;
}
.lang-switch::after { display: none !important; }
.lang-switch:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 1280px) {
  .nav__links .lang-switch { font-family: var(--f-sans) !important; font-size: 14px !important; height: 40px; min-width: 56px; border-color: rgba(255,255,255,.4); }
}
/* tighter desktop nav so both languages fit next to the logo */
@media (min-width: 1281px) and (max-width: 1700px) {
  .nav__links { gap: clamp(14px, 1.5vw, 26px); }
  .nav__links a:not(.btn):not(.lang-switch) { font-size: 11px; letter-spacing: .12em; }
}

/* ---------- Google review buttons ---------- */
.hero__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.hero__review svg { color: #e2a93b; }
.review-cta { display: grid; justify-items: center; gap: 14px; margin: -10px auto clamp(36px, 5vw, 56px); text-align: center; }
.review-cta p { margin: 0; color: var(--ink-soft); }
.btn--review { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--review svg, .btn--review-light svg { width: 18px; height: 18px; color: #e2a93b; transition: transform .5s var(--ease); }
.btn--review:hover { border-color: var(--ink); }
.btn--review:hover svg, .btn--review-light:hover svg { transform: rotate(72deg) scale(1.15); }
/* bigger tap targets for the Instagram / review links, kept above the spinning badge */
.hero__links { position: relative; z-index: 3; margin-top: 18px; }
.hero__links .hero__ig { margin-top: 0; padding: 10px 16px; border: 1px solid var(--line); border-radius: 40px; background: rgba(250,247,244,.7); min-height: 44px; }
.hero__links .hero__ig:hover { border-color: var(--ink); }
@media (max-width: 820px) { .hero .badge { bottom: 14px; left: 10px; width: 80px; height: 80px; } }
/* the floating button's container must not block taps on the page; only the button and the open menu are clickable */
.wa-float, .wa-float.is-visible { pointer-events: none; }
.wa-float.is-visible .fab__toggle { pointer-events: auto; }
.wa-float.is-visible.is-open .fab__menu { pointer-events: auto; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s; }
.faq__item[open] { border-color: transparent; box-shadow: 0 30px 60px -45px rgba(22,22,22,.45); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { margin: 0; font-family: var(--f-serif); font-weight: 500; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.25; }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: background .4s, transform .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .5s var(--ease), background .4s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--paper); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p { margin: 0; padding: 0 24px 24px; color: var(--ink-soft); animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Back to top (stacked above the WhatsApp button, never on top of it) ---------- */
.to-top {
  --p: 0; --size: 46px;
  position: fixed; z-index: 54; right: calc(20px + (58px - var(--size)) / 2); bottom: 20px;
  display: grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%;
  background: rgba(250,247,244,.92); color: var(--ink); box-shadow: 0 10px 26px -10px rgba(0,0,0,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(16px) scale(.7); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease), bottom .5s var(--ease), background .3s, color .3s;
}
.to-top.is-stacked { bottom: calc(20px + 58px + 14px); } /* WhatsApp button is 58px tall at bottom 20px; 14px gap */
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top.is-hidden-by-menu { opacity: 0; transform: translateY(10px) scale(.7); pointer-events: none; }
.to-top svg { grid-area: 1 / 1; }
.to-top__ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2; stroke: var(--line); }
.to-top__ring .to-top__fill { stroke: var(--rose); stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--p))); transition: stroke-dashoffset .15s linear; }
.to-top__arrow { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.to-top:hover { background: var(--ink); color: var(--paper); }
.to-top:hover .to-top__arrow { transform: translateY(-3px); }
.nav.is-open ~ .to-top { opacity: 0; pointer-events: none; }
