/* =========================================================
   ALL Smoke & Mirrors Hair Studio — shared stylesheet
   Theme: Dark & Glam (charcoal/black + champagne gold)
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --black: #0b0b0d;
  --ink: #121216;
  --ink-2: #1a1a1f;
  --charcoal: #222228;
  --line: rgba(214, 187, 128, 0.18);
  --gold: #d6bb80;
  --gold-bright: #e7d3a1;
  --gold-deep: #b7965a;
  --cream: #f4efe6;
  --muted: #a9a49a;
  --white: #ffffff;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p { color: var(--cream); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

.script {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 400;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 10vw, 130px) 0; position: relative; }
.center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 70px); text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

.divider {
  width: 60px; height: 1px; margin: 22px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.divider.left { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 34px; border-radius: var(--radius);
  cursor: pointer; border: 1px solid var(--gold);
  transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.btn-solid { background: var(--gold); color: var(--black); }
.btn-solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(214,187,128,0.24); }
.btn-ghost { background: transparent; color: var(--gold-bright); }
.btn-ghost:hover { background: rgba(214,187,128,0.1); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.center { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  padding: 22px 0; border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 13, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .b-main { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); letter-spacing: 0.04em; }
.brand .b-sub { font-family: var(--sans); font-size: 0.56rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream);
  font-weight: 400; position: relative; padding: 4px 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-bright); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { margin-left: 8px; }
.nav-cta.btn { padding: 12px 24px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 34px; height: 26px; position: relative; z-index: 110; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--gold-bright); transition: all 0.35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 12px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  padding-top: 120px; padding-bottom: 80px;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(214,187,128,0.14), transparent 60%),
    linear-gradient(180deg, #101014 0%, #0b0b0d 55%, #08080a 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(231,211,161,0.5), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(231,211,161,0.35), transparent),
    radial-gradient(1.5px 1.5px at 85% 25%, rgba(231,211,161,0.4), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(231,211,161,0.3), transparent),
    radial-gradient(1px 1px at 55% 15%, rgba(231,211,161,0.3), transparent);
  opacity: 0.7; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 860px; margin: 0 auto; }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 { margin-bottom: 8px; }
.hero h1 .script { display: block; font-size: 1.05em; margin-top: -0.1em; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); max-width: 560px; margin: 26px auto 40px; font-weight: 300; }
.hero-meta { margin-top: 46px; display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta .dot { color: var(--gold); }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  padding: clamp(140px, 20vw, 220px) 0 clamp(60px, 8vw, 90px);
  text-align: center; position: relative;
  background:
    radial-gradient(110% 120% at 50% 0%, rgba(214,187,128,0.13), transparent 55%),
    linear-gradient(180deg, #101014, #0b0b0d);
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-banner p { color: var(--muted); margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
.crumb { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--gold); }

/* ---------- Feature / highlight cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 34px; transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(214,187,128,0.4); box-shadow: var(--shadow); }
.card .icon { font-size: 1.7rem; color: var(--gold); margin-bottom: 18px; display: block; }
.card h3 { margin-bottom: 12px; color: var(--cream); }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Split / about intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.split-media .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.split-body .eyebrow { margin-bottom: 16px; }
.split-body h2 { margin-bottom: 20px; }
.split-body p { color: var(--muted); margin-bottom: 18px; }
.split-body .btn { margin-top: 14px; }

/* ---------- Image placeholders ---------- */
.ph {
  background:
    repeating-linear-gradient(45deg, rgba(214,187,128,0.04) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #17171c, #0e0e11);
  color: var(--muted); font-family: var(--sans); font-size: 0.72rem;
  letter-spacing: 0.24em; text-transform: uppercase; text-align: center;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.ph small { display: block; font-size: 0.62rem; color: rgba(169,164,154,0.6); margin-top: 8px; letter-spacing: 0.14em; }

/* ---------- Services / pricing ---------- */
.price-block { margin-bottom: 56px; }
.price-block > .cat-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.price-block .cat-head h3 { color: var(--gold-bright); white-space: nowrap; }
.price-block .cat-head .rule { flex: 1; height: 1px; background: var(--line); }
.price-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.price-list { display: grid; gap: 4px; }
.price-item {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.price-item .pi-name { font-family: var(--serif); font-size: 1.28rem; color: var(--cream); }
.price-item .pi-desc { color: var(--muted); font-size: 0.9rem; margin-top: 3px; font-family: var(--sans); }
.price-item .pi-price { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-bright); white-space: nowrap; }
.price-item .pi-lead::before { content: 'from '; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-photo { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 22px; position: relative; }
.team-photo .ph { position: absolute; inset: 0; }
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--gold); font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 14px; }
.team-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testi { background: linear-gradient(180deg, #0d0d10, #08080a); }
.testi-card {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 32px;
  position: relative;
}
.testi-card .quote-mark { font-family: var(--serif); font-size: 3.6rem; color: rgba(214,187,128,0.28); line-height: 0.6; height: 26px; }
.testi-card .stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 16px; font-size: 0.9rem; }
.testi-card p { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--cream); margin-bottom: 20px; line-height: 1.5; }
.testi-card .who { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid .g-item { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; transition: transform 0.4s var(--ease); }
.gallery-grid .g-item:hover { transform: scale(1.015); border-color: rgba(214,187,128,0.45); }
.gallery-grid .g-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-grid .ph { position: absolute; inset: 0; }

/* ---------- Contact / info ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.info-list { display: grid; gap: 28px; }
.info-row { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.info-row .i-ico { color: var(--gold); font-size: 1.2rem; margin-top: 3px; flex-shrink: 0; width: 24px; text-align: center; }
.info-row h4 { font-family: var(--sans); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.info-row p, .info-row a { color: var(--cream); font-size: 1.02rem; }
.info-row a:hover { color: var(--gold-bright); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.98rem; }
.hours-table td:first-child { color: var(--muted); }
.hours-table td:last-child { text-align: right; color: var(--cream); }
.hours-table tr.today td { color: var(--gold-bright); }
.hours-table tr.today td:first-child { color: var(--gold-bright); }
.closed { color: var(--muted); font-style: italic; }

/* ---------- Form ---------- */
.form-card { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(0,0,0,0.35); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 15px; color: var(--cream);
  font-family: var(--sans); font-size: 0.98rem; font-weight: 300; transition: border-color 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(0,0,0,0.5); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d6bb80' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: #16161a; }
.form-note { color: var(--muted); font-size: 0.82rem; margin-top: 6px; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius); font-size: 0.92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(214,187,128,0.12); border: 1px solid var(--gold); color: var(--gold-bright); }
.form-status.err { background: rgba(200,80,80,0.12); border: 1px solid rgba(200,80,80,0.5); color: #e7a3a3; }

/* ---------- Map ---------- */
.map-embed { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.4) contrast(1.05) brightness(0.85); border-radius: var(--radius); }
.map-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 340px; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background:
    radial-gradient(90% 140% at 50% 0%, rgba(214,187,128,0.16), transparent 60%),
    linear-gradient(180deg, #0e0e12, #0a0a0c);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
.site-footer { background: #060608; border-top: 1px solid var(--line); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-grid .brand .b-main { font-size: 1.7rem; }
.footer-brand p { color: var(--muted); margin-top: 18px; max-width: 320px; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col p { color: var(--muted); font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }
.socials { display: flex; gap: 14px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.85rem; transition: all 0.35s var(--ease); letter-spacing: 0; }
.socials a:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ---------- Utilities ---------- */
.mt-s { margin-top: 22px; } .mt-m { margin-top: 40px; } .mb-0 { margin-bottom: 0; }
.gold { color: var(--gold-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { min-height: 320px; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 0; background: rgba(8,8,10,0.97); backdrop-filter: blur(10px);
    flex-direction: column; justify-content: center; gap: 30px;
    transform: translateX(100%); transition: transform 0.5s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-item.tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 14px; flex-direction: column; }
  .price-item { grid-template-columns: 1fr; }
  .price-item .pi-price { margin-top: 4px; }
}
