/* Pearl Nail Lounge — Skill E House v1.21 build
   Palette: pearl-white ground, black ink, gold accent, champagne tint,
   ACTION violet (their re-opening banner) — CTAs only. */

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-var.woff2?v=1") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("fonts/rubik-var.woff2?v=1") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ground: #fbfaf7;
  --tint: #f3eee4;
  --ink: #191613;
  --muted: #5d564b;
  --gold: #83601c;
  --gold-lt: #d9c9a4;
  --band-text: #f2ece0;
  --action: #7d3fb0;
  --action-dark: #662d91;
  --dot-green: #15803d;
  --dot-red: #d92d20;
  --display: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}

.shell { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; }
h2 { font-size: clamp(26px, 4.5vw, 36px); margin-bottom: 26px; }
h3 { font-size: 20px; }
img { max-width: 100%; height: auto; display: block; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border-radius: 10px;
  min-height: 52px;
  padding: 12px 26px;
  width: 100%;
}
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-dark); }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-secondary:hover { background: rgba(25, 22, 19, 0.06); }

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid #e6e0d3;
}
.header-inner { display: flex; align-items: center; min-height: 62px; gap: 14px; }
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav { display: none; }
/* v1.19 header law: button flush RIGHT at every width; all nav-adjacent
   spacing lives inside the desktop breakpoint (a display:none nav is
   still a sibling — never reset the button margin outside this query). */
.btn-header {
  margin-left: auto;
  width: auto;
  min-height: 44px;
  min-width: 104px;
  padding: 8px 22px;
  font-size: 16px;
}
@media (min-width: 900px) {
  .site-nav { display: flex; gap: 26px; margin-left: auto; }
  .site-nav a { color: var(--ink); text-decoration: none; font-size: 16px; padding: 10px 2px; }
  .site-nav a:hover { color: var(--gold); }
  .btn-header { margin-left: 10px; }
}

/* ---------- First screen ---------- */
.hero { padding: 40px 0 0; }
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(36px, 9vw, 58px); max-width: 14ch; }
.subtitle { font-size: 18px; color: var(--muted); max-width: 54ch; margin: 16px 0 24px; }
.cta-row { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }

.hours { margin: 26px 0 30px; }
.hours-status { font-size: 17px; display: flex; align-items: center; gap: 9px; }
.dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--muted);
  flex: none;
  display: none;
}
.dot.open { background: var(--dot-green); display: inline-block; }
.dot.closed { background: var(--dot-red); display: inline-block; }
.hours-table { border-collapse: collapse; margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.hours-table th { font-weight: 500; text-align: left; padding: 1px 14px 1px 0; }
.hours-table td { padding: 1px 0; }

.hero-photo img { width: 100%; border-radius: 14px; }

/* ---------- Proof strip (quiet) ---------- */
.proof { padding: 44px 0 10px; }
.proof-inner { max-width: 720px; }
.proof blockquote p {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 3vw, 23px);
  line-height: 1.35;
}
.proof blockquote footer { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.quiet-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  padding: 12px 4px;
  margin: -12px -4px;
}

/* ---------- Sections ---------- */
.section { padding: 58px 0; }
.section-tint { background: var(--tint); }

/* Services cards */
.card-grid { display: grid; gap: 22px; }
.card {
  background: #fff;
  border: 1px solid #e9e3d6;
  border-radius: 14px;
  overflow: hidden;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { margin: 16px 18px 6px; }
.card p { margin: 0 18px 18px; color: var(--muted); font-size: 16px; }

/* ---------- Menu card (signature element) ---------- */
.menu-card {
  position: relative;
  background: var(--ground);
  border: 1px solid var(--gold-lt);
  box-shadow: 0 0 0 4px var(--ground), 0 0 0 5px var(--gold-lt);
  border-radius: 6px;
  padding: 40px 26px 22px;
  margin: 34px 4px 26px;
}
.pearl {
  position: absolute;
  top: -14px; left: 50%;
  width: 28px; height: 28px;
  margin-left: -14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f0ece4 45%, #cfc4ae 80%, #b3a385 100%);
  box-shadow: 0 1px 3px rgba(25, 22, 19, 0.25), 0 0 0 4px var(--ground);
}
.menu-cols { display: grid; gap: 6px 48px; }
.menu-group h3 {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 22px 0 10px;
}
.menu-group h3:first-child { margin-top: 0; }
.menu-group ul { list-style: none; }
.menu-group li {
  display: flex;
  align-items: baseline;
  padding: 3.5px 0;
  font-size: 16px;
}
.menu-group .dots {
  flex: 1;
  border-bottom: 2px dotted #c9bfae;
  margin: 0 8px;
  transform: translateY(-4px);
}
.menu-group .price { font-weight: 500; white-space: nowrap; }
.menu-note { color: var(--muted); font-size: 15px; }
.menu-fineprint {
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 20px;
}
.section-cta { display: flex; }
.section-cta .btn { max-width: 420px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery figure { border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figure:last-child { grid-column: 1 / -1; }
.gallery figure:last-child img { aspect-ratio: 16 / 9; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; gap: 18px; }
.review {
  background: #fff;
  border: 1px solid #e9e3d6;
  border-radius: 14px;
  padding: 22px 22px 18px;
}
.review p { font-size: 16.5px; }
.review p::before { content: "\201C"; color: var(--gold); font-family: var(--display); font-weight: 700; }
.review p::after { content: "\201D"; color: var(--gold); font-family: var(--display); font-weight: 700; }
.review footer { margin-top: 12px; color: var(--muted); font-size: 15px; font-weight: 500; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 28px; }
.about-copy p { margin-bottom: 16px; max-width: 56ch; }
.about-photo img { border-radius: 14px; }

/* ---------- FAQ ---------- */
.section-faq { padding-top: 0; }
.faq-list { max-width: 720px; }
.faq-list details { border-bottom: 1px solid #e6e0d3; }
.faq-list details:first-child { border-top: 1px solid #e6e0d3; }
.faq-list summary {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  padding: 15px 4px;
  cursor: pointer;
  min-height: 44px;
}
.faq-list details p { padding: 0 4px 16px; color: var(--muted); }

/* ---------- Visit band (the ONE heavy band) ---------- */
.visit-band { background: var(--ink); color: var(--band-text); padding: 56px 0; }
.visit-band h2 { color: #fff; margin-bottom: 10px; }
.visit-band h3 {
  color: var(--gold-lt);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.visit-grid { display: grid; gap: 34px; }
.visit-cta p { margin-bottom: 20px; max-width: 40ch; }
.visit-cta .btn { max-width: 420px; }
.band-link {
  color: var(--band-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  padding: 10px 4px;
  margin: -10px -4px;
}
.hours-table-band { color: var(--band-text); }
.hours-table-band th { font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { padding: 26px 0 34px; }
.site-footer p { color: var(--muted); font-size: 14.5px; }

/* ---------- Desktop ---------- */
@media (min-width: 700px) {
  .hero { padding-top: 64px; }
  .cta-row { flex-direction: row; }
  .btn { width: auto; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .menu-cols { grid-template-columns: 1fr 1fr; }
  .menu-card { padding: 46px 44px 26px; }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery figure { grid-column: span 2; }
  .gallery figure:nth-child(1), .gallery figure:nth-child(2) { grid-column: span 3; }
  .gallery figure:last-child { grid-column: span 2; }
  .gallery figure:last-child img { aspect-ratio: 4 / 5; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 3fr 2fr; align-items: start; }
  .visit-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---------- Animations (js-gated; content visible without JS) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 250ms ease, transform 250ms ease;
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
