/* ============================================================
   Clansi Beauty · lash + brow artistry
   powder pink editorial · Figtree + Mrs Saint Delafield
   ============================================================ */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/figtree-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/script-latin.woff2") format("woff2");
}

:root {
  --pink: #f7d6eb;
  --pink-deep: #e79ed2;
  --pink-soft: #fdf1f8;
  --ink: #161216;
  --muted: #6f5c68;
  --paper: #fffcfe;
  --line: rgba(22, 18, 22, 0.14);
  --radius: 18px;
  --shadow: 0 18px 44px -18px rgba(88, 41, 71, 0.35);
  --wrap: 1120px;
  --script: "Script", cursive;
  --sans: "Figtree", "Segoe UI", sans-serif;
  --grain: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/></filter><rect width="180" height="180" filter="url(%23n)" opacity="0.055"/></svg>');
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--pink-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

#services, #booking, #work, #contact { scroll-margin-top: 92px; }

/* texture overlay */
.grain { position: relative; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
}
.grain > * { position: relative; z-index: 1; }

/* twinkling sparkle accents */
.spark {
  position: absolute;
  color: var(--pink-deep);
  line-height: 1;
  pointer-events: none;
  animation: twinkle 3.4s ease-in-out infinite;
  z-index: 1;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.75) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(18deg); }
}

/* ---------- announcement bar ---------- */

.bar {
  background: var(--ink);
  color: var(--pink);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.55rem 1rem;
}
.bar .dot { opacity: 0.5; margin-inline: 0.5rem; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--pink);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(88, 41, 71, 0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 0.7rem;
}
.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: none;
  list-style: none;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  display: block;
  padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.nav-links a:hover { border-color: var(--ink); }

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
}
.nav-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* phone dropdown */
@media (max-width: 759px) {
  .nav.open .nav-links {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pink);
    padding: 0.4rem 1.4rem 1.2rem;
    box-shadow: 0 24px 34px -20px rgba(88, 41, 71, 0.45);
  }
  .nav-links a {
    font-size: 1.12rem;
    padding-block: 0.75rem;
    border-bottom: 1px solid rgba(22, 18, 22, 0.12);
  }
}

@media (min-width: 760px) {
  .nav-links { display: flex; gap: 1.8rem; font-size: 0.98rem; }
  .nav-burger { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn:active { transform: scale(0.97); }

.btn-ink { background: var(--ink); color: var(--pink); }
.btn-ink:hover {
  background: transparent;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--pink); }

.btn-pink { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.btn-pink:hover { background: var(--pink-deep); border-color: var(--pink-deep); box-shadow: var(--shadow); }

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.92rem; }

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(60% 50% at 18% 8%, rgba(255, 255, 255, 0.6), transparent 70%),
    radial-gradient(46% 42% at 88% 14%, rgba(255, 255, 255, 0.35), transparent 70%),
    radial-gradient(50% 45% at 85% 90%, rgba(231, 158, 210, 0.55), transparent 72%),
    radial-gradient(40% 38% at 8% 86%, rgba(231, 158, 210, 0.4), transparent 70%),
    var(--pink);
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0 0;
}
.hero-logo {
  width: min(620px, 92vw);
  height: auto;
  margin-inline: auto;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-tag {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  animation: rise 0.9s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-sub {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 34rem;
  margin-inline: auto;
  animation: rise 0.9s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-cta {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  animation: rise 0.9s 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-note {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  animation: rise 0.9s 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-arches {
  margin-top: clamp(2.2rem, 5vw, 3.5rem);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  padding-inline: 1rem;
}
.hero-arches .arch {
  width: clamp(102px, 26vw, 250px);
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--paper);
  border-bottom: 0;
  animation: rise 1s 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-arches .arch:nth-child(2) {
  width: clamp(120px, 30vw, 290px);
  animation-delay: 0.5s;
}
.hero-arches .arch:nth-child(3) { animation-delay: 0.58s; }
.hero-arches .arch img {
  width: 100%;
  aspect-ratio: 3 / 4.4;
  object-fit: cover;
}
.hero-arches .arch:nth-child(2) img { aspect-ratio: 3 / 5; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- marquee ---------- */

.marquee {
  background: var(--ink);
  color: var(--pink);
  overflow: hidden;
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 30s linear infinite;
}
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee-track > span {
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.marquee-track .s { color: var(--pink-deep); margin-inline: 1.1rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */

section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pink-deep);
}
.title {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-top: 0.5rem;
}
.title .tw {
  font-family: var(--script);
  font-weight: 400;
  font-size: 1.32em;
  line-height: 0.9;
  color: var(--pink-deep);
  letter-spacing: 0;
  padding-inline: 0.08em;
}
.lede { color: var(--muted); margin-top: 0.9rem; max-width: 38rem; }

.center { text-align: center; }
.center .lede { margin-inline: auto; }
.center.head { position: relative; }

/* scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- service menu ---------- */

.services-section {
  background:
    radial-gradient(42% 34% at 100% 0%, rgba(247, 214, 235, 0.55), transparent 70%),
    radial-gradient(38% 30% at 0% 100%, rgba(247, 214, 235, 0.5), transparent 70%),
    linear-gradient(180deg, var(--paper), var(--pink-soft));
}

.menu {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 2.6rem;
}
@media (min-width: 900px) {
  .menu { grid-template-columns: 1fr 1fr; gap: 2.6rem 3.5rem; }
}

.menu-group-name {
  font-family: var(--script);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 0.45rem;
  margin-bottom: 0.4rem;
}

.menu-rows { list-style: none; }

.menu-row { border-bottom: 1px solid var(--line); }
.menu-row a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.95rem 0.4rem;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s ease, padding 0.2s ease;
}
.menu-row a:hover { background: rgba(255, 255, 255, 0.85); padding-inline: 0.8rem; }

.menu-item { min-width: 0; }
.menu-item .name { font-weight: 600; }
.menu-item .desc {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.1rem;
}
.menu-leader {
  flex: 1;
  border-bottom: 2px dotted rgba(22, 18, 22, 0.28);
  transform: translateY(-0.35rem);
  min-width: 1.5rem;
}
.menu-price { text-align: right; white-space: nowrap; }
.menu-price .amount { font-weight: 700; font-size: 1.06rem; }
.menu-price .time {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.menu-cta { margin-top: 2.4rem; }

/* ---------- how booking works ---------- */

.how { background: var(--pink); }

.steps {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }

.step {
  background: var(--paper);
  border: 1px solid rgba(22, 18, 22, 0.08);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: var(--shadow); }
.step p.step-num {
  font-family: var(--script);
  font-size: 2.7rem;
  line-height: 1;
  color: var(--pink-deep);
  margin-top: 0;
}
.step h3 { font-size: 1.12rem; margin-top: 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin-top: 0.45rem; }
.step p strong { color: var(--ink); font-weight: 600; }

.how-note {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.75;
}

/* ---------- gallery ---------- */

.work-section {
  background:
    radial-gradient(40% 30% at 0% 0%, rgba(247, 214, 235, 0.5), transparent 70%),
    linear-gradient(180deg, var(--pink-soft), var(--paper) 55%);
}

.gallery {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 1.3rem; } }

.gallery button {
  border: 0;
  background: var(--paper);
  padding: 9px 9px 13px;
  cursor: zoom-in;
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px -14px rgba(88, 41, 71, 0.38);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.gallery button:nth-child(odd) { transform: rotate(-1.5deg); }
.gallery button:nth-child(even) { transform: rotate(1.3deg) translateY(6px); }
.gallery button:hover {
  transform: rotate(0deg) translateY(-5px) scale(1.02);
  box-shadow: var(--shadow);
  z-index: 2;
  position: relative;
}
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 999px 999px 9px 9px;
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 720px);
}
.lightbox::backdrop { background: rgba(22, 18, 22, 0.82); backdrop-filter: blur(4px); }
.lightbox img { border-radius: var(--radius); max-height: 86vh; width: auto; max-width: 100%; margin-inline: auto; }
.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  box-shadow: 0 4px 14px rgba(22, 18, 22, 0.35);
  background: var(--pink);
  border: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- book / hours ---------- */

.book-grid {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 900px) { .book-grid { grid-template-columns: 1.15fr 1fr; gap: 1.6rem; } }

.book-panel {
  background: var(--ink);
  color: var(--paper);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  position: relative;
}
.book-panel::after {
  content: "";
  position: absolute;
  inset: auto -18% -55% auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 214, 235, 0.28), transparent 65%);
}
.book-panel .eyebrow { color: var(--pink); }
.book-panel h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.book-panel h2 .tw {
  font-family: var(--script);
  font-weight: 400;
  font-size: 1.28em;
  color: var(--pink-deep);
}
.book-panel p { color: rgba(255, 252, 254, 0.75); margin-top: 0.5rem; max-width: 28rem; }
.book-panel .btn { margin-top: 1.6rem; position: relative; z-index: 1; }

/* spinning badge */
.badge-spin {
  position: absolute;
  top: -44px;
  right: 6px;
  width: 112px;
  height: 112px;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 759px) { .badge-spin { width: 92px; height: 92px; top: -38px; right: 2px; } }
.badge-spin svg {
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
  overflow: visible;
}
@keyframes spin { to { transform: rotate(360deg); } }
.badge-spin text {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 11.4px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.badge-spin circle { fill: var(--pink); }
.badge-spin .badge-star {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--ink);
}

.hours-panel {
  border: 1.5px solid var(--ink);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--paper);
}
.hours-panel h3 {
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hours-list { list-style: none; margin-top: 1.1rem; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem;
  border-bottom: 1px dotted var(--line);
  font-size: 0.98rem;
}
.hours-list li span:last-child { font-weight: 600; }
.hours-list li.closed span:last-child { color: var(--muted); font-weight: 500; }

.contact-links { margin-top: 1.5rem; display: grid; gap: 0.55rem; }
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 500;
  width: fit-content;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease;
}
.contact-links a:hover { border-color: var(--ink); }
.contact-links .at { color: var(--pink-deep); font-weight: 700; }

/* ---------- footer ---------- */

footer {
  background: var(--pink);
  padding: 2.6rem 0 2.2rem;
  text-align: center;
}
footer .foot-logo { width: 210px; margin-inline: auto; }
.foot-social {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.foot-social a { text-decoration: none; border-bottom: 1.5px solid transparent; }
.foot-social a:hover { border-color: var(--ink); }
footer small {
  display: block;
  margin-top: 1.3rem;
  color: rgba(22, 18, 22, 0.55);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
