/* ============================================================
   BEAUTY SQUAD — design tokens
   Palette: black 60%, gold 20%, white 10%, grey 10%
   Type: Fraunces (display, characterful serif) + Work Sans (body/utility)
   Signature: the "swatch strip" — a row of lacquer-swatch buttons that
   double as category navigation, echoing the shop's own product.
   ============================================================ */

:root {
  --bg: #090909;
  --bg-alt: #151515;
  --surface: #1d1d1d;
  --surface-raised: #252525;
  --ink: #f7f7f5;
  --ink-soft: #b7b7b5;
  --line: #3d3d3d;
  --berry: #d6af2e;
  --berry-deep: #aa7c14;
  --gold: #e2c04f;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 4px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.4em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--berry);
  font-weight: 600;
  margin-bottom: 0.9em;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 88px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color .2s ease;
}
.btn:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--berry); color: var(--bg); }
.btn-primary:hover { background: var(--gold); }

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

.btn-light { background: var(--white); color: var(--bg); }

/* ---------- Header / nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 9, 9, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.logo em { color: var(--berry); font-style: normal; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--ink);
  border-bottom-color: var(--berry);
}
.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 840px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 16px 28px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { padding: 10px 16px; font-size: 0.85rem; }
}

/* ---------- Swatch strip (signature element) ---------- */
.swatch-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  transition: border-color .2s ease, transform .15s ease;
}
.swatch:hover { border-color: var(--berry); transform: translateY(-2px); }
.swatch-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

/* ---------- Hero ---------- */
.hero {
  padding: 48px 0 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy p.lead { font-size: 1.15rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  width: min(100%, calc(80svh - 112px));
  justify-self: end;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(155deg, #51420b 0%, var(--bg-alt) 55%, var(--bg) 100%);
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(226,192,79,0.55), transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.hero-feature-image,
.studio-front-image,
.studio-interior-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.04);
  z-index: 0;
}
.hero-visual .tag {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255,255,255,0.94);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: 100%; justify-self: stretch; aspect-ratio: 16/10; }
}

/* ---------- Placeholder image tiles (swap for real photos) ---------- */
.ph-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-alt), var(--line));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ph-image span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bg);
  background: rgba(255,255,255,0.7);
  padding: 6px 10px;
  margin: 10px;
  border-radius: 999px;
}
.ph-image.tone-nails { background: linear-gradient(135deg, #111111, #d6af2e); }
.ph-image.tone-hair { background: linear-gradient(135deg, #2a2a2a, #aa7c14); }
.ph-image.tone-lashes { background: linear-gradient(135deg, #151515, #777777); }

/* ---------- Section headers ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head p { max-width: 50ch; margin: 0; }

/* ---------- Carousel ---------- */
.carousel-block { margin-bottom: 64px; }
.carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.carousel-head h3 { margin: 0; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.carousel-controls button:hover { border-color: var(--berry); color: var(--berry); }
.carousel-controls button:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg-alt);
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

.carousel-item {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
}
.carousel-item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface-raised);
}
.carousel-item figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.service-card .price { font-family: var(--font-display); font-size: 1.6rem; color: var(--berry); margin: 6px 0 10px; }

.rate-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.rate-table th, .rate-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.rate-table th { font-weight: 600; color: var(--ink-soft); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; }

/* ---------- Booking form ---------- */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .booking-layout { grid-template-columns: 1fr; } }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-copy > p { max-width: 56ch; }
.studio-image-stack { display: grid; gap: 18px; }
@media (max-width: 700px) { .about-layout { grid-template-columns: 1fr; } }

form.booking-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
.field .hint { font-size: 0.78rem; color: var(--ink-soft); margin-top: 4px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--berry);
  outline-offset: 1px;
  border-color: var(--berry);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field.error input, .field.error select { border-color: #b23b3b; }
.field .error-msg { color: #b23b3b; font-size: 0.78rem; margin-top: 4px; display: none; }
.field.error .error-msg { display: block; }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: #e5f3ea; color: #205c36; }
.form-status.fail { background: #fbe6e6; color: #7d2222; }

/* ---------- Footer ---------- */
footer.site {
  background: #050505;
  color: var(--ink-soft);
  padding: 56px 0 28px;
  margin-top: 40px;
}
footer.site h3 { color: var(--white); font-size: 1.1rem; }
footer.site a { color: var(--ink-soft); text-decoration: none; }
footer.site a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; font-size: 0.8rem; color: #9b9b9b; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-lg { margin-top: 56px; }
.bg-alt { background: var(--bg-alt); }
