/* ============================================================
   ANSH STUDIO — Nail & Makeup Studio
   Core stylesheet: tokens, base, intro, nav, reveal, buttons,
   hero, floating actions, footer, motion preferences
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --ivory:        #FBF7F2;
  --paper:        #FDFAF6;
  --blush:        #F7EBE4;
  --blush-deep:   #F1DFD4;
  --champagne:    #EAD9C7;
  --beige:        #E4D2C1;
  --rose:         #C08272;
  --rose-deep:    #A5685A;
  --rose-soft:    #D8AFA3;
  --ink:          #332E2B;
  --ink-soft:     #756C66;
  --line:         rgba(60, 52, 48, 0.14);
  --line-soft:    rgba(60, 52, 48, 0.08);

  /* Typography */
  --serif:  "Cormorant Garamond", "Playfair Display", Didot, "Bodoni MT", "Times New Roman", Georgia, serif;
  --serif2: "Playfair Display", Didot, "Bodoni MT", Georgia, serif;
  --sans:   "Jost", "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Motion */
  --ease:      cubic-bezier(0.22, 0.61, 0.21, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.83, 0, 0.17, 1);

  /* Layout */
  --nav-h: 88px;
  --radius: 0px;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(84px, 10vw, 150px);
  --shadow-soft: 0 30px 60px -30px rgba(60, 45, 38, 0.25);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html { overflow-x: clip; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--rose); color: #fff; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: 0.01em; }

:focus-visible { outline: 1px solid var(--rose); outline-offset: 3px; }

/* ---------- Typography helpers ---------- */
.overline {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--rose-deep);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.overline::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--rose);
  display: inline-block;
}
.overline.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--rose);
  display: inline-block;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.display-xl { font-size: clamp(3rem, 8.4vw, 7.2rem); }
.display-lg { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.display-md { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.display-sm { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.italic { font-style: italic; font-family: var(--serif2); }
.rose-text { color: var(--rose-deep); }
.soft-text { color: var(--ink-soft); }

.lead {
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* ---------- Layout scaffolding ---------- */
.container { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-narrow { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.section { padding-block: var(--section); position: relative; }
section[id], [id="top"] { scroll-margin-top: calc(var(--nav-h) + 12px); }
.section.tight { padding-block: calc(var(--section) * 0.66); }
.section.paper { background: var(--paper); }
.section.blush { background: var(--blush); }

.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head .overline { margin-bottom: 22px; }
.section-head h2 { margin-top: 18px; max-width: 20ch; }
.section-head p.lead { margin-top: 22px; max-width: 52ch; }
.section-head.split { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.section-head.split p.lead { justify-self: end; text-align: right; margin: 0; }

/* thin divider lines */
.hairline { height: 1px; background: var(--line-soft); border: 0; }

/* ---------- Intro (logo reveal) ---------- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background:
    radial-gradient(120% 90% at 50% 38%, var(--paper) 0%, var(--blush) 58%, var(--blush-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 42% at 50% 50%, rgba(255, 255, 255, 0.65), transparent 70%);
  pointer-events: none;
}
.intro-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 24px;
}
.intro-logo {
  width: min(38vw, 300px);
  height: auto;
  opacity: 0;
  filter: blur(16px);
  transform: scale(0.92);
  transition:
    opacity 1.15s var(--ease-out),
    filter 1.15s var(--ease-out),
    transform 1.15s var(--ease-out);
  will-change: opacity, filter, transform;
}
#intro.reveal .intro-logo {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}
.intro-caption {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s var(--ease) 0.35s, transform 0.9s var(--ease) 0.35s;
  font-size: 10px;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 500;
}
#intro.reveal .intro-caption { opacity: 1; transform: none; }

/* light sweep */
.intro-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.85) 50%, transparent 62%);
  transform: translateX(-130%) skewX(-8deg);
  opacity: 0;
}
#intro.sweep .intro-sweep {
  opacity: 1;
  transform: translateX(130%) skewX(-8deg);
  transition: transform 1.4s var(--ease-inout) 0.15s, opacity 0.5s ease 0.9s;
}

/* exit */
#intro.exit {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.95s var(--ease-inout), visibility 0s linear 0.95s;
}
body.intro-active { overflow: hidden; }

/* ---------- Page transition curtain ---------- */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: var(--paper);
  transform: scaleY(1);
  transform-origin: top;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.55s var(--ease-inout), opacity 0.3s ease, visibility 0s linear 0.3s;
  pointer-events: none;
}
#page-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(240, 214, 199, 0.35), transparent 70%);
  opacity: 0.7;
}
#page-transition.armed { opacity: 1; visibility: visible; transition: transform 0.55s var(--ease-inout); }
#page-transition.active { transform: scaleY(1); transform-origin: bottom; }
body.loaded #page-transition { transform: scaleY(0); }
body.page-exit { pointer-events: none; }

/* ---------- Navbar ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease),
              height 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}
.site-nav.scrolled {
  background: rgba(251, 247, 242, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line-soft), 0 18px 40px -28px rgba(60, 45, 38, 0.25);
  height: 72px;
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.9s var(--ease) 0.25s, transform 0.9s var(--ease) 0.25s;
}
body.loaded .nav-logo { opacity: 1; transform: none; }
.nav-logo img { height: 58px; width: auto; transition: height 0.5s var(--ease); }
.site-nav.scrolled .nav-logo img { height: 46px; }
.nav-logo .wordmark {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.06em;
  line-height: 1;
}
.nav-logo .wordmark small {
  display: block;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-top: 5px;
}

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); list-style: none; }
.nav-links a:not(.btn) {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 8px 2px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), color 0.3s ease;
}
body.loaded .nav-links a:not(.btn) { opacity: 1; transform: none; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:not(.btn).active { color: var(--rose-deep); }

.nav-cta { opacity: 0; transform: translateY(-8px); transition: opacity 0.8s var(--ease) 0.4s, transform 0.8s var(--ease) 0.4s; }
body.loaded .nav-cta { opacity: 1; transform: none; }

/* stagger nav link reveal */
.nav-links li:nth-child(1) a:not(.btn) { transition-delay: 0.25s; }
.nav-links li:nth-child(2) a:not(.btn) { transition-delay: 0.3s; }
.nav-links li:nth-child(3) a:not(.btn) { transition-delay: 0.35s; }
.nav-links li:nth-child(4) a:not(.btn) { transition-delay: 0.4s; }
.nav-links li:nth-child(5) a:not(.btn) { transition-delay: 0.45s; }
.nav-links li:nth-child(6) a:not(.btn) { transition-delay: 0.5s; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  z-index: 1400;
}
.nav-burger span {
  width: 30px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.45s var(--ease), opacity 0.3s ease, background 0.3s ease;
}
.nav-burger.open span { background: var(--ink); }
.nav-burger.open span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background:
    radial-gradient(90% 70% at 50% 20%, var(--paper), var(--blush) 75%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.mobile-menu.open { visibility: visible; opacity: 1; transition: opacity 0.5s var(--ease); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a.m-link {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 9vw, 3.2rem);
  color: var(--ink);
  padding: 8px 0;
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  width: fit-content;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s ease;
}
.mobile-menu.open a.m-link { opacity: 1; transform: none; }
.mobile-menu a.m-link small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--rose-deep);
}
.mobile-menu a.m-link:hover { color: var(--rose-deep); font-style: italic; }
.mobile-menu.open a.m-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open a.m-link:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu.open a.m-link:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu.open a.m-link:nth-child(4) { transition-delay: 0.28s; }
.mobile-menu.open a.m-link:nth-child(5) { transition-delay: 0.34s; }
.mobile-menu.open a.m-link:nth-child(6) { transition-delay: 0.4s; }
.mobile-menu-foot {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease) 0.4s, transform 0.6s var(--ease) 0.4s;
}
.mobile-menu.open .mobile-menu-foot { opacity: 1; transform: none; }
.mobile-menu-foot a, .mobile-menu-foot span {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.mobile-menu-foot a { color: var(--rose-deep); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 20px 38px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-inout);
  z-index: -1;
}
.btn:hover { color: var(--paper); border-color: var(--ink); }
.btn:hover::before { transform: scaleY(1); }
.btn svg { transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(6px); }

.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid::before { background: var(--rose-deep); }
.btn.solid:hover { border-color: var(--rose-deep); color: #fff; }

.btn.ghost-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn.ghost-light::before { background: #fff; }
.btn.ghost-light:hover { color: var(--ink); border-color: #fff; }

.btn.rose { border-color: var(--rose); color: var(--rose-deep); }
.btn.rose::before { background: var(--rose); }
.btn.rose:hover { color: #fff; border-color: var(--rose); }

.btn.small { padding: 14px 26px; font-size: 10px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.text-link svg { transition: transform 0.4s var(--ease); }
.text-link:hover { color: var(--rose-deep); border-color: var(--rose); }
.text-link:hover svg { transform: translateX(6px); }

/* ---------- Reveal system ---------- */
[data-reveal] {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 1.1s var(--ease),
    transform 1.1s var(--ease),
    clip-path 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal="up"]    { transform: translateY(42px); }
[data-reveal="down"]  { transform: translateY(-42px); }
[data-reveal="left"]  { transform: translateX(-52px); }
[data-reveal="right"] { transform: translateX(52px); }
[data-reveal="scale"] { transform: scale(0.93); }
[data-reveal="clip-x"] { clip-path: inset(0 100% 0 0); transform: none; }
[data-reveal="clip-y"] { clip-path: inset(100% 0 0 0); transform: none; }
[data-reveal].revealed { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* words mask reveal (for split headings) */
[data-split] { display: inline; }
.wm {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.wi {
  display: inline-block;
  transform: translateY(118%);
  transition: transform 1.15s var(--ease);
  transition-delay: var(--wd, 0s);
}
[data-reveal].revealed .wi,
[data-reveal="words"].revealed .wi,
.revealed [data-split] .wi,
body.loaded .hero-title .wi { transform: translateY(0); }

/* image mask / curtain reveal */
.img-mask {
  overflow: hidden;
  position: relative;
  display: block;
}
.img-mask img, .img-mask video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  transition: transform 1.6s var(--ease-out);
}
.img-mask.revealed img, .img-mask.revealed video,
[data-reveal="mask"].revealed img, [data-reveal="mask"].revealed video { transform: scale(1.02); }
.img-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform: translateY(101%);
  transition: transform 1.15s var(--ease-inout);
  transition-delay: 0.05s;
  pointer-events: none;
}
.img-mask.revealed::after,
[data-reveal="mask"].revealed::after { transform: translateY(-101%); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media .hero-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(251, 247, 242, 0.62) 0%, rgba(251, 247, 242, 0.2) 34%, rgba(251, 247, 242, 0.08) 55%, rgba(74, 52, 44, 0.42) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 90px;
  max-width: 1100px;
  margin-inline: auto;
  width: 100%;
}
.hero-kicker {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.hero-kicker::before { background: #fff; }
.hero-title {
  color: #fff;
  margin: 26px 0 8px;
  text-shadow: 0 2px 30px rgba(50, 30, 20, 0.25);
}
.hero-sub {
  font-family: var(--serif2);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.06em;
  margin-bottom: 26px;
}
.hero-desc {
  color: rgba(255, 255, 255, 0.9);
  max-width: 46ch;
  margin: 0 auto 42px;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.9;
}
.hero-ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* hero reveal after intro */
[data-hero] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--hd, 0s);
}
body.loaded [data-hero] { opacity: 1; transform: none; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.hero-scroll .line {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0));
  overflow: hidden;
  position: relative;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  left: 0; top: -60%;
  width: 100%; height: 60%;
  background: rgba(120, 84, 70, 0.85);
  animation: scrollDrop 2.4s var(--ease-inout) infinite;
}
@keyframes scrollDrop {
  0% { top: -60%; }
  100% { top: 120%; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: var(--paper);
  padding: 22px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
  gap: 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-group span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  color: var(--ink-soft);
  padding: 0 clamp(22px, 3vw, 44px);
  white-space: nowrap;
}
.marquee-group i {
  width: 5px; height: 5px;
  background: var(--rose);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 247, 242, 0.75);
  padding: clamp(64px, 8vw, 110px) 0 40px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 0%, rgba(192, 130, 114, 0.14), transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(36px, 5vw, 72px);
  position: relative;
}
.footer-brand img.f-logo { height: 64px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.9; max-width: 34ch; color: rgba(251,247,242,.6); }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--rose-soft);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col li {
  font-size: 0.94rem;
  color: rgba(251, 247, 242, 0.72);
  transition: color 0.3s ease, padding-left 0.3s var(--ease);
}
.footer-col a:hover { color: #fff; padding-left: 6px; }
.footer-col .dim { color: rgba(251, 247, 242, 0.5); font-size: 0.88rem; }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid rgba(251, 247, 242, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(251, 247, 242, 0.45);
}
.footer-bottom a { color: rgba(251,247,242,.55); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating contact actions ---------- */
.fab-stack {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.fab {
  display: flex;
  align-items: center;
  gap: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(251, 247, 242, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -14px rgba(60, 45, 38, 0.35);
  justify-content: center;
  color: var(--ink);
  transition: width 0.45s var(--ease-out), border-radius 0.45s var(--ease-out),
              background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
}
.fab svg { flex-shrink: 0; }
.fab .fab-label { opacity: 0; max-width: 0; transition: opacity 0.35s ease 0.1s, max-width 0.45s var(--ease-out); overflow: hidden; }
.fab:hover {
  width: auto;
  border-radius: 999px;
  padding: 0 22px 0 16px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.fab:hover .fab-label { opacity: 1; max-width: 140px; }
.fab:hover svg { color: var(--rose-soft); }
.fab.wa:hover { background: #1F5C47; }
.fab.call:hover { background: var(--ink); }
.fab.ig:hover { background: #7A3B52; }

/* mobile action bar */
.mobile-actions {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1150;
  background: rgba(251, 247, 242, 0.9);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--line-soft);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.mobile-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 4px;
  border-radius: 12px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease;
}
.mobile-actions a:active { background: var(--blush); color: var(--rose-deep); }
.mobile-actions a svg { width: 21px; height: 21px; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}
.center-text { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }
.mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }

/* ---------- Responsive (base) ---------- */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .nav-cta { display: none; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .site-nav { height: 74px; }
  .site-nav.scrolled { height: 68px; }
  .nav-logo img { height: 50px; }
  .site-nav.scrolled .nav-logo img { height: 44px; }
  .section-head.split { grid-template-columns: 1fr; }
  .section-head.split p.lead { justify-self: start; text-align: left; }
}

@media (max-width: 760px) {
  :root { --nav-h: 74px; }
  .fab-stack { display: none; }
  .mobile-actions { display: grid; }
  .hero { min-height: 100svh; }
  .hero-inner { padding-bottom: 110px; }
  .btn { padding: 18px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal], [data-hero] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .wi { transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* ============================================================
   LUXURY ART-DIRECTION OVERRIDES
   ============================================================ */
:root{
  --lux-pink:#f3d9d5;
  --lux-pink-2:#ead0cc;
  --lux-ink:#2b2423;
  --lux-shadow:0 34px 90px rgba(86,55,48,.13);
}
body{background:var(--ivory)}
body.intro-active{overflow:hidden}
.btn{transition:transform .5s var(--ease-out),background-color .5s var(--ease-out),color .5s var(--ease-out),border-color .5s var(--ease-out),box-shadow .5s var(--ease-out)}
.btn:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(113,76,67,.12)}
.btn svg{opacity:.55;transition:transform .4s var(--ease-out)}
.btn:hover svg{transform:translateX(4px)}
.site-nav{backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);transition:background .55s var(--ease-out),box-shadow .55s var(--ease-out),border-color .55s var(--ease-out)}
body.scrolled .site-nav{background:rgba(251,247,242,.84);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 10px 40px rgba(75,52,45,.07)}
.hero{isolation:isolate}
.hero-overlay{background:linear-gradient(180deg,rgba(30,20,20,.16) 0%,rgba(30,20,20,.02) 36%,rgba(30,20,20,.34) 100%)}
.hero-video{filter:saturate(.96) contrast(1.02);transform:scale(1.015);transition:transform 1.8s var(--ease-out),filter 1s ease}
body.loaded .hero-video{transform:scale(1)}
.hero-inner{max-width:1000px}
.hero-title{letter-spacing:.015em;text-shadow:0 14px 40px rgba(20,10,10,.14)}
.hero-desc{max-width:50ch}
.hero::after{content:"";position:absolute;inset:auto 0 0;height:18vh;background:linear-gradient(to bottom,transparent,rgba(251,247,242,.72));pointer-events:none;z-index:1}
.hero-inner{z-index:2}
.brand-intro .visual,.service-section .visual,.story-block .visual,.homesvc .visual{filter:drop-shadow(0 28px 45px rgba(73,49,42,.08))}
.frame{box-shadow:var(--lux-shadow)}
.img-mask img,.img-mask video{transition:transform 1.2s var(--ease-out),filter 1s ease}
.img-mask:hover img,.img-mask:hover video{transform:scale(1.035)}
.float-card,.side-cap,.stamp{box-shadow:0 16px 45px rgba(72,50,44,.09)}
.page-chapter-label{
  display:block;
  width:min(1280px,calc(100% - 2 * var(--gutter)));
  margin:0 auto;
  padding-top:calc(var(--nav-h) + 22px);
  font-size:9px;
  letter-spacing:.42em;
  text-transform:uppercase;
  color:var(--rose-deep);
  position:relative;
  z-index:2;
}
.page-hero{padding-top:12px}
.page-hero .page-chapter-label + .container{padding-top:clamp(42px,6vw,78px)}
.lux-chapter-marker{
  position:fixed;right:22px;bottom:26px;z-index:1200;
  display:flex;align-items:center;gap:12px;
  font-size:9px;letter-spacing:.28em;text-transform:uppercase;
  color:var(--ink-soft);writing-mode:vertical-rl;
  opacity:.72;pointer-events:none;
}
.lux-chapter-num{font-family:var(--serif);font-size:20px;color:var(--rose-deep);letter-spacing:0}
.lux-scroll-progress{
  position:fixed;right:12px;top:22%;height:34vh;width:1px;background:rgba(60,52,48,.10);z-index:1200;pointer-events:none
}
.lux-scroll-progress span{display:block;width:100%;height:0;background:var(--rose-deep);transition:height .15s linear}
.section[data-chapter-index]::before{
  content:attr(data-chapter-index);
  position:absolute;left:var(--gutter);top:26px;
  font-family:var(--serif);font-size:13px;color:rgba(165,104,90,.5);
}


/* ============================================================
   ANSH STUDIO — BLUSH PINK LUXURY BEAUTY THEME
   ============================================================ */
:root{
  --ivory:#fff9f8;
  --paper:#fff5f4;
  --paper-2:#fdf0ef;
  --ink:#302527;
  --ink-soft:#78696a;
  --rose:#d99a9f;
  --rose-deep:#a9616b;
  --line-soft:rgba(169,97,107,.16);
  --pink-soft:#f7dfe1;
  --pink:#e8b5ba;
  --champagne:#ead8ce;
}
html,body{
  background:
    radial-gradient(circle at 8% 8%,rgba(232,181,186,.18),transparent 28%),
    radial-gradient(circle at 92% 34%,rgba(247,223,225,.24),transparent 30%),
    var(--ivory);
  color:var(--ink);
}
body:before{
  background:linear-gradient(90deg,rgba(232,181,186,.035),transparent 35%,rgba(217,154,159,.025));
}
.site-nav{
  background:rgba(255,249,248,.68);
  border-color:rgba(169,97,107,.12);
}
body.scrolled .site-nav{
  background:rgba(255,249,248,.90);
  box-shadow:0 12px 42px rgba(132,79,87,.10);
  border-color:rgba(169,97,107,.16);
}
.nav-links a:hover,.nav-links a.active{color:var(--rose-deep)}
.nav-cta,.btn.solid{
  background:linear-gradient(135deg,#b96f79,#d7969d);
  color:#fff;
  box-shadow:0 12px 28px rgba(169,97,107,.18);
}
.btn.outline{
  border-color:rgba(169,97,107,.32);
  color:var(--rose-deep);
  background:rgba(255,255,255,.34);
}
.btn.outline:hover{background:#f8e4e5;border-color:var(--rose)}
.hero-overlay{
  background:
    linear-gradient(180deg,rgba(80,34,43,.12),rgba(255,209,215,.04) 45%,rgba(70,34,40,.34));
}
.hero::after{
  background:linear-gradient(to bottom,transparent,rgba(255,249,248,.82));
}
.overline,.booking-kicker,.page-chapter-label,.booking-image-caption span,
.contact-hero-note span,.form-topline,.lux-chapter-num{
  color:var(--rose-deep);
}
.display em,.hero-title em,.booking-intro em,.contact-form-side em{
  color:var(--rose-deep);
}
.section-label,.eyebrow{color:var(--rose-deep)}
.section-title:after,.rule,.line{background:var(--rose)}
.paper,.paper-section{
  background:linear-gradient(145deg,#fffafa,#fdf0ef);
}
.card,.frame,.contact-form-card,.booking-shell{
  background:rgba(255,250,249,.82);
  border-color:rgba(169,97,107,.13);
  box-shadow:0 28px 75px rgba(126,76,83,.09);
}
.service-section .text::before{background:var(--rose)}
.price .amount,.service-price,.amount{color:var(--rose-deep)}
.we-cell:hover{
  background:rgba(250,228,229,.45);
  box-shadow:0 22px 55px rgba(126,76,83,.08);
}
.gallery-toolbar{
  background:rgba(255,249,248,.84);
  border-color:rgba(169,97,107,.13);
}
.gallery-toolbar button.active,.filter-btn.active{
  background:#f2d2d5;
  color:#75434b;
  border-color:#e2b0b5;
}
.contact-quick a:hover{
  background:rgba(249,224,226,.68);
}
.contact-conversation{
  background:
    radial-gradient(circle at 85% 10%,rgba(232,181,186,.22),transparent 30%),
    linear-gradient(180deg,#fff9f8,#f8e6e5);
}
.conversation-steps span,.assurance-card>span{color:var(--rose-deep)}
.booking-intro,.conversation-steps,.assurance-grid{
  border-color:rgba(169,97,107,.15);
}
.booking-assurance{
  background:linear-gradient(180deg,#fff9f8,#f9e5e5);
}
.assurance-card:hover{
  background:rgba(246,220,222,.38);
}
.bk-option{
  background:linear-gradient(100deg,rgba(255,255,255,.86),rgba(250,229,230,.52));
  border-color:rgba(169,97,107,.12);
}
.bk-option:hover,.bk-option.selected{
  border-color:#d79ba2;
  background:linear-gradient(100deg,#fffafa,#f8e1e2);
  box-shadow:0 18px 45px rgba(126,76,83,.11);
}
.bk-option.selected{
  box-shadow:inset 3px 0 #bd727d,0 18px 45px rgba(126,76,83,.11);
}
.bk-time.selected{
  background:#f2d2d5;
  border-color:#d99a9f;
  color:#6f3f47;
}
.bk-confirm-note{
  background:linear-gradient(135deg,#f5dadd,#fff8f7);
  border-color:#e1b2b6;
}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus,
.booking-shell input:focus,.booking-shell select:focus,.booking-shell textarea:focus{
  border-color:#d99a9f;
  box-shadow:0 0 0 4px rgba(217,154,159,.12);
  background:#fffdfd;
}
.float-actions a,.floating-actions a{
  background:rgba(255,249,248,.92);
  border-color:rgba(169,97,107,.16);
  color:var(--rose-deep);
  box-shadow:0 12px 32px rgba(126,76,83,.10);
}
.lux-scroll-progress span{background:var(--rose-deep)}
.lux-scroll-progress{background:rgba(169,97,107,.13)}
.lux-chapter-marker{color:#8a7476}
.mobile-menu{
  background:
    radial-gradient(circle at 80% 10%,rgba(232,181,186,.24),transparent 28%),
    #fff8f7;
}
.mobile-menu a:hover{color:var(--rose-deep)}
footer{
  background:linear-gradient(145deg,#f4dddd,#ead0d1);
}
footer a:hover{color:#7d454d}
@media(max-width:760px){
  .site-nav{background:rgba(255,249,248,.88)}
}

/* Logo intro blush atmosphere */
.intro{background:radial-gradient(circle at center,#fffafa 0%,#f9e5e6 58%,#f2d5d7 100%)}
.intro::before{background:radial-gradient(circle,rgba(255,255,255,.75),transparent 62%)}

/* ============================================================
   ANSH STUDIO — SPACING & RHYTHM REFINEMENT
   Tight, editorial spacing: premium without dead zones.
   ============================================================ */
:root{
  --section-gap:clamp(58px,7vw,100px);
}

/* Global section rhythm */
.section{
  padding-top:clamp(58px,7vw,100px);
  padding-bottom:clamp(58px,7vw,100px);
}
.section.tight{
  padding-top:clamp(42px,5vw,70px);
  padding-bottom:clamp(42px,5vw,70px);
}

/* Keep hero cinematic, but don't leave an oversized void after media. */
.hero{
  min-height:min(88svh,860px);
}
.hero + .section{
  padding-top:clamp(52px,6vw,86px);
}

/* Intro/story blocks */
.brand-intro,
.story-block,
.homesvc{
  min-height:auto !important;
}
.brand-intro .container,
.story-block .container,
.homesvc .container{
  min-height:0 !important;
}

/* Headings should lead directly into their visual content. */
.section-head{
  margin-bottom:clamp(28px,4vw,48px) !important;
}
.section-head.split{
  margin-bottom:clamp(30px,4vw,50px) !important;
}

/* Prevent media sections from creating giant empty vertical regions. */
.visual,
.frame,
.img-mask,
.makeup-mosaic,
.nail-mosaic{
  min-height:0;
}
.makeup-mosaic,
.nail-mosaic{
  height:auto !important;
}

/* Signature services */
.luxury-services{
  padding-bottom:clamp(48px,6vw,82px);
}
.lux-service-grid{
  grid-template-rows:minmax(330px,390px) minmax(175px,200px) minmax(175px,200px) !important;
  max-height:none;
}
.lux-service-card,
.lux-service-feature{
  min-height:0;
}
.services-bottom-note{
  margin-top:18px;
}

/* Makeup / nail showcase: remove artificial tall cells. */
.makeup-showcase,
.nail-showcase{
  min-height:0 !important;
}
.makeup-mosaic .cell,
.nail-mosaic .tile{
  min-height:0 !important;
}

/* Why section */
.why-ansh-premium,
.why-choose-editorial{
  padding-top:clamp(55px,6vw,90px);
  padding-bottom:clamp(55px,6vw,90px);
}
.why-premium-head,
.why-choose-heading{
  margin-bottom:clamp(30px,4vw,48px);
}
.why-premium-image{
  height:min(620px,62vw);
}

/* Gallery preview / gallery pages */
.gallery-preview,
.gallery-page{
  min-height:0 !important;
}
.gallery-toolbar{
  margin-bottom:18px !important;
}

/* CTA and contact should follow content, not float in a giant blank area. */
.cta-band{
  min-height:0 !important;
}
.contact-preview,
.contact-conversation{
  min-height:0 !important;
}

/* Footer follows naturally after content. */
footer{
  margin-top:0 !important;
}

/* Mobile: aggressively remove dead space while keeping touch comfort. */
@media(max-width:760px){
  .section{
    padding-top:46px;
    padding-bottom:46px;
  }
  .section.tight{
    padding-top:34px;
    padding-bottom:34px;
  }
  .hero{
    min-height:78svh;
  }
  .hero + .section{
    padding-top:42px;
  }
  .section-head{
    margin-bottom:26px !important;
  }
  .lux-service-grid{
    grid-template-rows:none !important;
  }
  .lux-service-card,
  .lux-service-feature{
    height:auto !important;
    min-height:330px;
  }
  .lux-service-feature{
    min-height:390px;
  }
  .makeup-mosaic .cell,
  .nail-mosaic .tile{
    min-height:180px !important;
  }
  .why-premium-image,
  .why-choose-image{
    height:430px;
  }
}

@media(max-width:480px){
  .section{
    padding-top:38px;
    padding-bottom:38px;
  }
  .hero{
    min-height:74svh;
  }
  .hero + .section{
    padding-top:36px;
  }
  .lux-service-card,
  .lux-service-feature{
    min-height:300px;
  }
  .lux-service-feature{
    min-height:360px;
  }
  .why-premium-image,
  .why-choose-image{
    height:390px;
  }
}

/* Final home-page section transition: no dead space after nail gallery */
.nail-show{
  padding-bottom:clamp(42px,5vw,72px) !important;
}
.nail-show .center-text{
  margin-top:clamp(26px,3vw,42px) !important;
  margin-bottom:0 !important;
}
.nail-show + .why-ansh-premium{
  margin-top:0 !important;
  padding-top:clamp(48px,6vw,82px) !important;
}
.why-ansh-premium + .homesvc{
  margin-top:0 !important;
  padding-top:clamp(48px,6vw,82px) !important;
}
@media(max-width:760px){
  .nail-show{padding-bottom:34px !important}
  .nail-show + .why-ansh-premium{padding-top:42px !important}
  .why-ansh-premium + .homesvc{padding-top:42px !important}
}

@media(max-width:620px){
  input[type="date"]{
    min-height:52px;
    box-sizing:border-box;
    line-height:1.2;
  }
}
