/* ==========================================================
   NAILS BY ZARI — brand stylesheet
   Colors from brand guide:
   midnight #0D0D10 | rose quartz #B98FA1 | blush #F6E7E8
   champagne #D8B988 | stone #7A7773
   Type: Playfair Display (headlines) + Montserrat (UI/body)
   ========================================================== */

:root {
  --midnight: #0D0D10;
  --rose: #B98FA1;
  --blush: #F6E7E8;
  --champagne: #D8B988;
  --stone: #7A7773;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--midnight);
  color: var(--blush);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Custom stiletto-nail cursor (desktop only). Interactive
   elements revert to the normal pointer so clicking is never
   a guessing game. */
@media (pointer: fine) {
  body {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M3 3 Q 8.5 16.5, 15.9 25.7 A 5.5 5.5 0 0 0 24.1 18.3 Q 14.5 8.5, 3 3 Z' fill='%23D8B988' stroke='%23B98FA1' stroke-width='1.1' stroke-linejoin='round'/><path d='M6.5 6.5 Q 13 13.5, 18.5 20' stroke='rgba(255,255,255,0.55)' stroke-width='1.3' fill='none' stroke-linecap='round'/></svg>") 3 3, auto;
  }
  a, button, input, textarea, select, label { cursor: pointer; }
  input[type="text"], input[type="email"], input[type="tel"], textarea { cursor: text; }
}

/* Background canvases sit behind everything */
#bg-canvas, #cursor-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#bg-canvas { z-index: -2; }
#cursor-canvas { z-index: 50; }

/* ============ TYPE HELPERS ============ */
.eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 18px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; }

em { font-style: italic; color: var(--champagne); }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw;
  transition: background .4s, box-shadow .4s;
}
.nav.scrolled {
  background: rgba(13, 13, 16, .88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(216, 185, 136, .18);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blush);
}
.logo-img { height: 40px; width: auto; display: block; }
.logo-img-lg { height: 72px; }
.nav-wordmark {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  color: var(--blush);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color .3s;
}
.nav-links a:hover { color: var(--champagne); }
.nav-toggle { display: none; }

/* ============ BUTTONS (from brand guide slide 09) ============ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 8px;
  transition: transform .25s, background .3s, color .3s, box-shadow .3s;
  will-change: transform;
}
.btn-fill {
  background: var(--rose);
  color: var(--midnight);
}
.btn-fill:hover {
  background: #C79FB1;
  box-shadow: 0 0 24px rgba(216, 185, 136, .35);
}
.btn-outline {
  border: 1px solid var(--champagne);
  color: var(--champagne);
}
.btn-outline:hover {
  background: rgba(216, 185, 136, .12);
  box-shadow: 0 0 24px rgba(216, 185, 136, .25);
}
.btn-lg { padding: 18px 46px; font-size: 13px; }
.nav-book { padding: 11px 24px; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 6vw 60px;
  position: relative;
}
.hero-title {
  font-size: clamp(44px, 8vw, 96px);
  letter-spacing: 6px;
  line-height: 1.1;
}
.hero-tagline {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--champagne);
  margin-top: 22px;
}
.hero-sub {
  max-width: 520px;
  color: var(--stone);
  margin-top: 24px;
  font-size: 15px;
}
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 44px;
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  width: 1px;
  height: 56px;
  background: rgba(216, 185, 136, .25);
  overflow: hidden;
}
.scroll-hint span {
  display: block;
  width: 1px;
  height: 18px;
  background: var(--champagne);
  animation: drip 2.4s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: translateY(-20px); }
  100% { transform: translateY(60px); }
}

/* ============ SECTIONS ============ */
.section {
  padding: 110px 6vw;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.section-title {
  font-size: clamp(30px, 4.5vw, 48px);
  margin-bottom: 56px;
}
.center { margin-top: 52px; }

/* ============ SERVICE CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  text-align: left;
}
.card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--blush);
  background: rgba(246, 231, 232, .03);
  border: 1px solid rgba(216, 185, 136, .16);
  border-radius: 14px;
  padding: 34px 28px 30px;
  transition: transform .35s, border-color .35s, background .35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 185, 136, .5);
  background: rgba(246, 231, 232, .05);
}
.card-num {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose);
}
.card h3 {
  font-size: 22px;
  margin: 14px 0 10px;
}
.card p {
  font-size: 13.5px;
  color: var(--stone);
  line-height: 1.65;
}
.card-price {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  border-top: 1px solid rgba(216, 185, 136, .2);
  padding-top: 12px;
}

/* ============ ESSENCE BAND ============ */
.essence {
  text-align: center;
  padding: 130px 6vw;
  border-top: 1px solid rgba(216, 185, 136, .1);
  border-bottom: 1px solid rgba(216, 185, 136, .1);
}
.essence-line {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 400;
}
.essence-words {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--stone);
}

/* ============ GALLERY TILES (placeholders until photos land) ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(216, 185, 136, .16);
  background-image:
    var(--tile-img, none),
    radial-gradient(120% 90% at 20% 10%, rgba(185, 143, 161, .35), transparent 60%),
    radial-gradient(120% 90% at 85% 90%, rgba(216, 185, 136, .28), transparent 55%);
  background-color: #16151b;
  background-size: cover;
  background-position: center;
  transition: transform .35s, border-color .35s;
}
.tile::after {
  content: attr(data-label);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blush);
  background: linear-gradient(transparent, rgba(13, 13, 16, .85));
}
.tile:hover {
  transform: scale(1.02);
  border-color: rgba(216, 185, 136, .5);
}

/* ============ CTA ============ */
.cta {
  text-align: center;
  padding: 120px 6vw;
}
.cta .section-title { margin-bottom: 18px; }
.cta-sub {
  color: var(--stone);
  margin-bottom: 40px;
  font-size: 15px;
}

/* ============ FOOTER ============ */
.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 80px 6vw 40px;
  border-top: 1px solid rgba(216, 185, 136, .12);
  max-width: 1180px;
  margin: 0 auto;
}
.footer-brand p {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--stone);
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 16px;
}
.footer-col p, .footer-col a {
  display: block;
  color: var(--blush);
  text-decoration: none;
  font-size: 13.5px;
  margin-bottom: 10px;
  transition: color .3s;
}
.footer-col a:hover { color: var(--champagne); }
.footer-note { color: var(--stone); font-size: 12px; }
.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--stone);
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(216, 185, 136, .08);
}

/* Social icon rows */
.social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-icons a {
  color: var(--champagne);
  display: inline-flex;
  transition: color .3s, transform .3s;
}
.social-icons a:hover {
  color: var(--rose);
  transform: translateY(-2px);
}
.social-icons-lg svg { width: 26px; height: 26px; }
.contact-card .social-icons { justify-content: center; }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============ INNER PAGES ============ */
.page-hero {
  padding: 190px 6vw 40px;
  text-align: center;
}
.page-title {
  font-size: clamp(36px, 6vw, 68px);
  letter-spacing: 3px;
}
.page-hero .hero-sub { margin: 22px auto 0; }

/* Booking steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  text-align: left;
}
.step {
  background: rgba(246, 231, 232, .03);
  border: 1px solid rgba(216, 185, 136, .16);
  border-radius: 14px;
  padding: 34px 28px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--champagne);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--champagne);
}
.step h3 { font-size: 20px; margin: 18px 0 10px; }
.step p { font-size: 13.5px; color: var(--stone); }
.placeholder-note {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--stone);
}
.center .btn + .btn { margin-left: 16px; }

/* Policy */
.policy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  text-align: left;
}
.policy-item {
  border-left: 1px solid var(--champagne);
  padding: 6px 0 6px 24px;
}
.policy-item h3 { font-size: 19px; color: var(--rose); margin-bottom: 8px; }
.policy-item p { font-size: 13.5px; color: var(--blush); }

/* Service menu rows */
.menu-section { max-width: 780px; text-align: left; }
.menu-group {
  font-size: 26px;
  color: var(--champagne);
  margin: 64px 0 26px;
  text-align: center;
}
.menu-group:first-of-type { margin-top: 0; }
.menu-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(216, 185, 136, .1);
}
.menu-name h3 { font-size: 19px; }
.menu-name p { font-size: 12.5px; color: var(--stone); margin-top: 4px; }
.menu-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(216, 185, 136, .35);
  margin-bottom: 6px;
  min-width: 30px;
}
.menu-price {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  white-space: nowrap;
  margin-bottom: 2px;
}

/* Gallery full page */
.gallery-full { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  text-align: left;
}
.contact-card {
  background: rgba(246, 231, 232, .03);
  border: 1px solid rgba(216, 185, 136, .16);
  border-radius: 14px;
  padding: 34px 28px;
}
.contact-card h3 { font-size: 21px; margin-bottom: 10px; }
.contact-card p { font-size: 13.5px; color: var(--stone); margin-bottom: 18px; }
.contact-link {
  display: block;
  color: var(--blush);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .3s;
}
.contact-link:hover { color: var(--champagne); }
.contact-hours {
  color: var(--champagne) !important;
  letter-spacing: 1.5px;
  font-size: 13px !important;
}

/* ============ MOBILE ============ */
@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 16, .97);
    flex-direction: column;
    justify-content: center;
    gap: 38px;
    transform: translateX(100%);
    transition: transform .4s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    z-index: 60;
    padding: 6px;
  }
  .nav-toggle span {
    width: 26px;
    height: 1.5px;
    background: var(--champagne);
    transition: transform .3s, opacity .3s;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .section { padding: 80px 6vw; }
}

/* ============ ACCESSIBILITY: reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span { animation: none; }
  * { transition-duration: .01ms !important; }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}
