/* ===========================================================
   Painted Mane — boutique stylesheet
   Aesthetic: pampas / cream / matte / feminine
   Type: Poppins (UI/body), Dancing Script (wordmark), Cormorant
         Garamond (display serif accent)
   Palette: warm sand, dusty taupe, cream, soft terracotta
   =========================================================== */

:root {
  /* Soft, muted boutique palette */
  --pm-cream:       #F6EFE6;   /* page bg */
  --pm-cream-deep:  #EFE5D6;   /* card / section bg */
  --pm-sand:        #E5D6BF;   /* warm sand */
  --pm-taupe:       #C8B89E;   /* muted taupe */
  --pm-mocha:       #8B6F5C;   /* deep warm brown — used sparingly */
  --pm-charcoal:    #3A3530;   /* warm charcoal text */
  --pm-stone:       #8A7F73;   /* secondary text */
  --pm-terra:       #C97D5A;   /* soft terracotta accent (replaces neon orange) */
  --pm-terra-deep:  #A86344;
  --pm-white:       #FFFFFF;

  /* Legacy aliases so older inline styles still resolve */
  --pm-orange:      #C97D5A;
  --pm-orange-deep: #A86344;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: var(--pm-charcoal);
  background: var(--pm-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--pm-charcoal);
  margin: 0;
}
h1 { font-weight: 300; }

p { text-wrap: pretty; margin: 0; }

a { color: inherit; text-decoration: none; }

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

/* Wordmark in script */
.wordmark {
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  color: var(--pm-charcoal);
  letter-spacing: 0;
}
.wordmark .wm-kicker {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pm-stone);
  margin-top: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--pm-charcoal); color: white;
  padding: 12px 18px; z-index: 1000; font-size: 14px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Top nav ---------- */
.pm-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,239,230,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(58,53,48,0.08);
}
.pm-nav .pm-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.pm-nav a.nav-link {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pm-charcoal);
  padding: 6px 0;
}
.pm-nav a.nav-link::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--pm-terra);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.pm-nav a.nav-link:hover::after,
.pm-nav a.nav-link.is-active::after { transform: scaleX(1); }

.nav-phone {
  font-size: 13px; font-weight: 400; letter-spacing: 0.04em;
  color: var(--pm-charcoal);
  transition: color .25s ease;
}
.nav-phone:hover { color: var(--pm-terra); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all .35s ease;
}
.btn-primary {
  background: var(--pm-charcoal);
  color: var(--pm-cream);
  border-color: var(--pm-charcoal);
}
.btn-primary:hover {
  background: var(--pm-terra);
  border-color: var(--pm-terra);
  color: white;
}
.btn-ghost {
  color: var(--pm-charcoal);
  border-color: var(--pm-charcoal);
}
.btn-ghost:hover {
  background: var(--pm-charcoal);
  color: var(--pm-cream);
}
.btn-ghost-light {
  color: var(--pm-cream);
  border-color: var(--pm-cream);
}
.btn-ghost-light:hover {
  background: var(--pm-cream);
  color: var(--pm-charcoal);
}
.btn-terra {
  background: var(--pm-terra);
  color: white;
  border-color: var(--pm-terra);
}
.btn-terra:hover {
  background: var(--pm-terra-deep);
  border-color: var(--pm-terra-deep);
}
.btn-sm { padding: 12px 22px; font-size: 10px; }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--pm-mocha);
}
.eyebrow::before {
  content: ""; width: 32px; height: 1px;
  background: var(--pm-mocha);
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.center::before, .eyebrow.center::after {
  content: ""; width: 32px; height: 1px; background: var(--pm-mocha);
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 72px 0; }
.section-cream { background: var(--pm-cream); }
.section-sand { background: var(--pm-cream-deep); }
.section-mocha { background: var(--pm-mocha); color: var(--pm-cream); }
.section-mocha h1, .section-mocha h2, .section-mocha h3 { color: var(--pm-cream); }

.container-pm { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container-pm { padding: 0 40px; } }

/* ---------- Hero (compact, boutique-card) ---------- */
.hero-compact {
  position: relative;
  padding: 56px 0 72px;
  background: var(--pm-cream);
  overflow: hidden;
}
.hero-compact .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-compact .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
  }
}
.hero-compact .hero-eyebrow {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  color: var(--pm-terra);
  margin-bottom: 18px;
  font-weight: 500;
}
.hero-compact h1 {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  font-weight: 300;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
.hero-compact h1 em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--pm-terra);
}
.hero-compact .hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--pm-stone);
  max-width: 460px;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-compact .hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(58,53,48,0.12);
  flex-wrap: wrap;
}
.hero-compact .hero-meta .meta-item {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pm-stone);
}
.hero-compact .hero-meta .meta-item strong {
  color: var(--pm-charcoal); font-weight: 500;
}
.hero-compact .hero-photo-stack {
  position: relative;
  aspect-ratio: 4/5;
}
.hero-compact .hero-photo-stack img,
.hero-compact .hero-photo-stack image-slot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-compact .hero-photo-stack .photo-main {
  z-index: 2;
}
.hero-compact .hero-photo-stack .photo-tag {
  position: absolute;
  bottom: -28px; left: -36px;
  width: 200px; height: auto; aspect-ratio: 1/1;
  z-index: 3;
  border: 8px solid var(--pm-cream);
  object-fit: cover;
}
@media (max-width: 899px) {
  .hero-compact .hero-photo-stack .photo-tag { width: 140px; bottom: -20px; left: -28px; border-width: 6px; }
}

/* ---------- Page header band (interior pages) ---------- */
.page-header {
  background: var(--pm-cream-deep);
  padding: 80px 0 64px;
  border-bottom: 1px solid rgba(58,53,48,0.08);
  text-align: center;
}
.page-header h1 {
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: 1.02;
  font-weight: 300;
}

/* ---------- Cards ---------- */
.spec-card {
  background: var(--pm-cream);
  padding: 40px 32px 36px;
  border: 1px solid rgba(58,53,48,0.08);
  display: flex; flex-direction: column;
  height: 100%;
  transition: transform .5s ease, border-color .5s ease, background .5s ease;
}
.spec-card:hover {
  transform: translateY(-3px);
  background: var(--pm-cream-deep);
  border-color: var(--pm-taupe);
}
.spec-card .num {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  color: var(--pm-terra);
  margin-bottom: 18px;
  font-weight: 500;
}
.spec-card h3 {
  font-size: 26px;
  margin-bottom: 14px;
  font-weight: 400;
}
.spec-card p {
  color: var(--pm-stone);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
  font-weight: 300;
}
.spec-card .more {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pm-charcoal);
  font-weight: 400;
}
.spec-card .more::after {
  content: " →"; transition: margin .25s ease;
}
.spec-card:hover .more::after { margin-left: 6px; }

/* ---------- Stylist card (magazine masthead) ---------- */
.stylist-card {
  display: flex; flex-direction: column;
  background: transparent;
  transition: transform .5s ease;
}
.stylist-card .photo-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--pm-cream-deep);
}
.stylist-card .photo-wrap img,
.stylist-card .photo-wrap image-slot {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.2s ease;
}
.stylist-card:hover .photo-wrap img { transform: scale(1.04); }
.stylist-card h2, .stylist-card h3 {
  margin-top: 22px; font-size: 28px; font-weight: 400;
}
.stylist-card .role {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pm-terra);
  margin-top: 6px;
}
.stylist-card .quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: var(--pm-charcoal);
  margin-top: 18px;
  padding-left: 16px;
  border-left: 1px solid var(--pm-terra);
}
.stylist-card .bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--pm-stone);
  margin-top: 18px;
  font-weight: 300;
}

/* ---------- Service block ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .service-block { grid-template-columns: 1fr 1fr; gap: 80px; }
  .service-block.reverse > .service-media { order: 2; }
}
.service-block .service-media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--pm-cream-deep);
}
.service-block .service-media img,
.service-block .service-media image-slot {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.service-block h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.05;
  margin: 18px 0 24px;
}
.service-block p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--pm-stone);
  margin-bottom: 18px;
  font-weight: 300;
  max-width: 52ch;
}
.service-block .price {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--pm-terra);
  font-size: 20px;
}

/* ---------- Menu / price list ---------- */
.menu-group { margin-bottom: 64px; }
.menu-group .group-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--pm-mocha);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(58,53,48,0.12);
  display: flex; align-items: baseline; gap: 14px;
}
.menu-group .group-title .num {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  font-style: normal;
  color: var(--pm-terra);
}
.menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  padding: 22px 0;
  border-bottom: 1px dashed rgba(58,53,48,0.12);
  align-items: baseline;
}
.menu-row:last-child { border-bottom: none; }
.menu-row .item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--pm-charcoal);
}
.menu-row .item-price {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--pm-terra);
  white-space: nowrap;
}
.menu-row .item-desc {
  grid-column: 1 / 2;
  font-size: 13px;
  line-height: 1.65;
  color: var(--pm-stone);
  font-weight: 300;
  margin-top: 4px;
  max-width: 60ch;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px);
  transition: opacity .9s ease, transform .9s ease; will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--pm-cream);
  z-index: 100; display: none;
  flex-direction: column; padding: 24px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; }
.mobile-menu nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--pm-charcoal);
  display: block; padding: 10px 0;
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: none; z-index: 60;
  background: var(--pm-cream);
  border-top: 1px solid rgba(58,53,48,0.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-cta .btn { flex: 1; padding: 14px 12px; font-size: 10px; }
@media (max-width: 767px) { .mobile-cta { display: flex; } body { padding-bottom: 76px; } }

/* ---------- Footer ---------- */
.pm-footer {
  background: var(--pm-cream-deep);
  color: var(--pm-charcoal);
  padding: 80px 0 40px;
  font-size: 14px;
  font-weight: 300;
}
.pm-footer h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  margin-bottom: 20px;
}
.pm-footer a { color: var(--pm-charcoal); }
.pm-footer a:hover { color: var(--pm-terra); }
.pm-footer .legal {
  border-top: 1px solid rgba(58,53,48,0.12);
  margin-top: 56px; padding-top: 28px;
  font-size: 12px; color: var(--pm-stone);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Booking band ---------- */
.booking-band {
  background: var(--pm-cream-deep);
  padding: 110px 0;
  text-align: center;
  border-top: 1px solid rgba(58,53,48,0.08);
}
.booking-band h2 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 300;
  margin-bottom: 32px;
}
.booking-band .ornament {
  font-family: 'Dancing Script', cursive;
  font-size: 24px;
  color: var(--pm-terra);
  margin-bottom: 18px;
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid rgba(58,53,48,0.12);
  padding: 28px 0;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500;
  color: var(--pm-charcoal); gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: 'Poppins', sans-serif; font-weight: 200;
  font-size: 28px; color: var(--pm-terra);
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin-top: 16px; color: var(--pm-stone);
  font-size: 15px; line-height: 1.7; max-width: 70ch;
  font-weight: 300;
}

/* ---------- Form ---------- */
.pm-form label {
  display: block; font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--pm-charcoal); margin-bottom: 8px;
}
.pm-form input,
.pm-form select,
.pm-form textarea {
  width: 100%;
  background: var(--pm-cream);
  border: none;
  border-bottom: 1px solid rgba(58,53,48,0.25);
  padding: 12px 0;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: var(--pm-charcoal);
  transition: border-color .25s ease;
  border-radius: 0;
}
.pm-form input:focus,
.pm-form select:focus,
.pm-form textarea:focus {
  outline: none; border-bottom-color: var(--pm-terra);
}

/* Image slot styling override */
image-slot {
  background: var(--pm-cream-deep);
  color: var(--pm-stone);
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
image-slot::part(placeholder) {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--pm-stone);
}

/* Util */
.divider { width: 40px; height: 1px; background: var(--pm-terra); margin: 24px 0; }
.divider.center { margin: 24px auto; }
.text-stone { color: var(--pm-stone); }
.text-terra { color: var(--pm-terra); }
.text-mocha { color: var(--pm-mocha); }
.font-script { font-family: 'Dancing Script', cursive; font-weight: 500; }
.font-display { font-family: 'Cormorant Garamond', serif; font-weight: 400; }

/* Masonry */
.masonry { column-count: 2; column-gap: 14px; }
@media (min-width: 768px) { .masonry { column-count: 3; column-gap: 18px; } }
@media (min-width: 1100px) { .masonry { column-count: 4; column-gap: 20px; } }
.masonry > * { break-inside: avoid; margin-bottom: 16px; display: block; }

/* Reviews */
.review-card {
  background: var(--pm-cream);
  border: 1px solid rgba(58,53,48,0.08);
  padding: 38px 32px;
  height: 100%;
  display: flex; flex-direction: column;
}
.review-card .stars {
  color: var(--pm-terra);
  letter-spacing: 6px; font-size: 14px;
  margin-bottom: 18px;
}
.review-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1.5;
  font-style: italic;
  color: var(--pm-charcoal);
  font-weight: 400;
  margin: 0;
}

/* Booking landing - vagaro card */
.booking-card {
  background: var(--pm-cream);
  border: 1px solid rgba(58,53,48,0.08);
  padding: 56px 48px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .booking-card { padding: 40px 24px; }
}

/* Booking step */
.booking-step {
  text-align: center;
  padding: 32px 24px;
}
.booking-step .step-num {
  font-family: 'Dancing Script', cursive;
  font-size: 56px;
  color: var(--pm-terra);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 500;
}
.booking-step h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}
.booking-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--pm-stone);
  font-weight: 300;
}

/* Logo mark (small) */
.logo-mark {
  width: 56px; height: 56px;
  background-image: url('img/logo-circle.jpg');
  background-size: cover; background-position: center;
  border-radius: 50%;
  flex-shrink: 0;
}
