/* Perfect Eyebrow Threading — site styles */

:root {
  --night: #1d1830;
  --night-2: #2a2344;
  --iris: #7a3fa0;
  --iris-soft: #e9def2;
  --mist: #f4f1f8;
  --paper: #fffdfd;
  --ink: #2a2433;
  --ink-soft: #5d5568;
  --thread: #b07d52;
  --line: #ddd5e6;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--paper); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }
.muted { color: var(--ink-soft); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -0.01em; }
.section-head p { margin-top: .9rem; color: var(--ink-soft); font-size: 1.125rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-light { background: var(--paper); color: var(--night); }
.btn-light:hover { background: var(--iris-soft); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid { background: rgba(255,253,253,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: block; background: var(--paper); border-radius: 10px; padding: 6px 12px;
  transition: padding .3s, background-color .3s;
}
.brand img { height: 38px; width: auto; }
.site-header.is-solid .brand { background: transparent; padding-inline: 0; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.site-nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .98rem; padding-block: .4rem; }
.site-nav a:hover { text-decoration: underline; text-decoration-color: var(--thread); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.site-header.is-solid .site-nav a { color: var(--ink); }
.site-nav .nav-call { border: 1px solid currentColor; border-radius: 999px; padding: .5rem 1rem; }
.site-nav .nav-call:hover { text-decoration: none; background: rgba(255,255,255,.12); }
.site-header.is-solid .site-nav .nav-call { background: var(--night); border-color: var(--night); color: #fff; }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: var(--paper); cursor: pointer;
  }
  .nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--night); transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] .bar:not(.bar + .bar) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar + .bar { transform: translateY(-4px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: .5rem var(--gutter) 1.5rem;
    box-shadow: 0 12px 24px rgba(29,24,48,.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a, .site-header.is-solid .site-nav a { color: var(--ink); padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .site-nav .nav-call, .site-header.is-solid .site-nav .nav-call {
    margin-top: 1rem; border: 0; text-align: center; background: var(--night); color: #fff;
  }
  .site-header.menu-open { background: var(--paper); }
  .site-header.menu-open .brand { background: transparent; padding-inline: 0; }
}

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 860px);
  display: flex; align-items: flex-end;
  color: #fff; background: var(--night);
  padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(29,24,48,.92) 0%, rgba(29,24,48,.7) 38%, rgba(29,24,48,.1) 70%),
    linear-gradient(0deg, rgba(29,24,48,.75) 0%, rgba(29,24,48,0) 45%);
}
.hero-content { max-width: var(--wrap); }
.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 450; line-height: 1.02; letter-spacing: -0.015em;
}
.thread {
  display: block; width: min(560px, 80%); height: 22px; margin: 1.4rem 0 1.6rem -2px;
  overflow: visible;
}
.thread path {
  fill: none; stroke: var(--thread); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 700; stroke-dashoffset: 700;
  animation: draw 1.8s .3s cubic-bezier(.6,.05,.3,1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-sub { max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-hours { margin-top: 1.5rem; font-size: .95rem; color: rgba(255,255,255,.7); }

@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: 92svh; }
  .hero-img { object-position: 68% 20%; }
  .hero::after { background: linear-gradient(0deg, rgba(29,24,48,.96) 0%, rgba(29,24,48,.75) 50%, rgba(29,24,48,.2) 100%); }
}

/* Services */
.services { padding-block: var(--section); }
.service-grid {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(4, 1fr);
}
.svc { display: flex; flex-direction: column; gap: .9rem; }
.svc img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 4px; background: var(--iris-soft); }
.svc h3 { font-size: 1.45rem; }
.svc p { margin-top: .3rem; color: var(--ink-soft); font-size: .98rem; max-width: 30ch; }
.svc-feature { grid-column: span 2; grid-row: span 2; }
.svc-feature img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.svc-cta {
  grid-column: span 2;
  background: var(--night); color: #fff; border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
}
.svc-cta h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 18ch; }
.svc-cta p { margin-top: .75rem; color: rgba(255,255,255,.78); max-width: 36ch; }
.svc-cta .hero-actions { margin-top: 0; }
.svc-feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.svc-feature p { font-size: 1.05rem; max-width: 40ch; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-feature { grid-row: auto; }
  .svc-feature img { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
}
@media (max-width: 480px) {
  .svc-cta .btn { flex: 1; }
  .svc h3 { font-size: 1.2rem; }
  .svc p { font-size: .9rem; }
}

/* Prices */
.prices { padding-block: var(--section); background: var(--paper); border-block: 1px solid var(--line); }

.price-controls { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
.price-controls[hidden] { display: none; }

.loc-picker {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 5px; gap: 5px;
  max-width: 640px;
}
.loc-picker button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  border-radius: 10px; padding: .7rem .5rem;
  font: 600 1rem/1.2 var(--sans); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  transition: background-color .2s, color .2s;
}
.loc-picker button span { font-weight: 400; font-size: .82rem; color: var(--ink-soft); }
.loc-picker button:hover { background: rgba(122,63,160,.08); }
.loc-picker button[aria-checked="true"] { background: var(--night); color: #fff; }
.loc-picker button[aria-checked="true"] span { color: rgba(255,255,255,.72); }

.cat-tabs { display: flex; gap: .25rem 1.75rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.cat-tabs button {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: .75rem 0; margin-bottom: -1px;
  font: 500 1.05rem/1 var(--sans); color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.cat-tabs button:hover { color: var(--ink); }
.cat-tabs button[aria-selected="true"] { color: var(--iris); border-bottom-color: var(--iris); }

.price-panel + .price-panel { margin-top: 3rem; }
.js .price-panel + .price-panel { margin-top: 0; }
.panel-title { font-size: 1.6rem; margin-bottom: 1.25rem; }
.panel-title span { font-family: var(--sans); font-size: 1rem; color: var(--ink-soft); font-weight: 400; }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.price-panel.is-entering { animation: panel-in .35s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.menu { columns: 2; column-gap: clamp(2rem, 6vw, 5rem); }
.menu li {
  display: flex; align-items: baseline; gap: .5rem;
  padding: .62rem 0; break-inside: avoid;
}
.menu .item { flex: 0 1 auto; }
.menu .dots { flex: 1 1 1.5rem; min-width: 1.5rem; border-bottom: 1.5px dotted #c4b8d0; transform: translateY(-.3em); }
.menu .price { flex: none; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.menu .price small { font-family: var(--sans); font-size: .78rem; color: var(--ink-soft); font-weight: 400; }
.menu .pkg { padding-top: 0; padding-left: 1.1rem; font-size: .94rem; color: var(--ink-soft); }
.menu .pkg .price { font-size: 1.05rem; }

.menu-group {
  font-size: 1.3rem; color: var(--iris);
  margin: 2.25rem 0 .5rem;
}
.price-panel > .menu-group:first-of-type { margin-top: 0; }

.empty { max-width: 40rem; padding: 2rem; background: var(--mist); border-radius: 10px; color: var(--ink-soft); }
.linklike {
  appearance: none; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--iris); text-decoration: underline; text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .menu { columns: 1; }
  .loc-picker button { font-size: .92rem; }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 1.4rem; }
  .cat-tabs button { white-space: nowrap; }
}

/* Reviews */
.reviews {
  padding-block: var(--section);
  background: var(--night) url("../img/quote-bg.webp") center / cover no-repeat;
  background-blend-mode: soft-light;
  color: #fff;
}
.reviews h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.quotes figure { margin: 0; border-left: 1.5px solid var(--thread); padding-left: clamp(1rem, 2.5vw, 1.75rem); }
.quotes figure:first-child { grid-row: span 2; }
.quotes blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; font-style: italic; }
.quotes figure:first-child blockquote { font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.32; }
.quotes figcaption { margin-top: 1rem; color: rgba(255,255,255,.7); font-size: .98rem; }

@media (max-width: 760px) {
  .quotes { grid-template-columns: 1fr; }
  .quotes figure:first-child { grid-row: auto; }
}

/* Locations */
.locations { padding-block: var(--section); }
.loc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.loc { padding: 1.75rem clamp(1rem, 2.5vw, 2rem) 0 0; display: flex; flex-direction: column; gap: .5rem; }
.loc + .loc { padding-left: clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--line); }
.loc h3 { font-size: 1.85rem; margin-bottom: .4rem; }
.loc address { font-style: normal; line-height: 1.55; min-height: 4.7em; }
.loc address .muted { font-size: .92rem; }
.loc-phone {
  margin-top: .75rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
  text-decoration: none; color: var(--iris); font-variant-numeric: lining-nums;
}
.loc-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.loc-map { font-weight: 600; font-size: .95rem; text-underline-offset: 4px; text-decoration-color: var(--thread); }

@media (max-width: 860px) {
  .loc-list { grid-template-columns: 1fr; border-top: 0; }
  .loc, .loc + .loc { padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .loc address { min-height: 0; }
}

/* Footer */
.site-footer { background: var(--night); color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .thread path { stroke-dashoffset: 0; }
}

.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-links a { color: #fff; text-underline-offset: 4px; text-decoration-color: var(--thread); }

/* Legal pages (terms, privacy) */
.legal { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 var(--section); background: var(--paper); }
.legal-doc { max-width: 46rem; }
.legal-doc h1 {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  margin: 0 0 .5rem; letter-spacing: -0.01em;
}
.legal-doc .legal-date { color: var(--ink-soft); font-size: .95rem; margin-bottom: 2.5rem; }
.legal-doc h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  margin: 2.75rem 0 .9rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--line); line-height: 1.2;
}
.legal-doc h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin: 1.75rem 0 .5rem; }
.legal-doc strong { font-weight: 600; }
.legal-doc p, .legal-doc li { color: var(--ink); line-height: 1.7; }
.legal-doc p + p { margin-top: 1rem; }
.legal-doc ul { list-style: disc; padding-left: 1.4rem; margin: .75rem 0 1rem; }
.legal-doc li + li { margin-top: .35rem; }
.legal-doc a { color: var(--iris); }
