/* Lucie's Hair Design — black, gold, white, purple */
:root {
  --bg: #0a0a0c;
  --bg-2: #141218;
  --bg-3: #1d1923;
  --gold: #d4af5f;
  --gold-2: #f0d792;
  --gold-dim: #8f7740;
  --white: #f7f3ee;
  --muted: #b9b2bf;
  --purple: #8b4fc4;
  --purple-2: #b98ae6;
  --purple-deep: #3a1f55;
  --line: rgba(212, 175, 95, 0.25);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --script: 'Pinyon Script', 'Great Vibes', cursive;
  --flourish: 'Monsieur La Doulaise', 'Pinyon Script', cursive;   /* landing title + logo */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); }
a:hover { color: var(--white); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--gold-2); }
h3 { font-size: 1.5rem; color: var(--white); }
p { margin: 0 0 1em; }
.wrap { width: min(1150px, 100% - 32px); margin-inline: auto; }
.script { font-family: var(--script); font-weight: 400; }
.eyebrow { font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--purple-2); margin-bottom: .8em; display: block; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 12, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { font-family: var(--flourish); font-size: 2.2rem; color: var(--gold-2); text-decoration: none; line-height: 1; white-space: nowrap; }
.brand b { font-size: 3.1rem; font-weight: 400; color: var(--gold); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--white); text-decoration: none; font-size: .86rem; letter-spacing: .06em;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-2); background: rgba(212, 175, 95, .08); }
.nav-links .btn { margin-left: 6px; display: inline-flex; padding: 12px 20px; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--gold-2);
  border-radius: 10px; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .86rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  min-height: 46px;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-dim)); color: #1a1208; box-shadow: 0 8px 24px rgba(212, 175, 95, .25); }
.btn-gold:hover { color: #1a1208; box-shadow: 0 10px 30px rgba(212, 175, 95, .4); }
.btn-purple { background: linear-gradient(135deg, var(--purple-2), var(--purple)); color: #fff; }
.btn-purple:hover { color: #fff; }
.btn-ghost { background: transparent; border-color: var(--gold); color: var(--gold-2); }
.btn-ghost:hover { background: rgba(212, 175, 95, .1); color: var(--white); }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Hero (landing) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 68px);
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center;
}
.hero { overflow: visible; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 40%, rgba(139, 79, 196, .22), transparent 70%),
    radial-gradient(40% 40% at 85% 85%, rgba(212, 175, 95, .12), transparent 70%);
}
.hero-text { position: relative; z-index: 2; padding: 72px 24px 48px max(24px, calc((100vw - 1150px) / 2)); }
.hero-title { margin: 0; padding-top: .7em; color: var(--gold-2); line-height: .9; font-weight: 400; } /* no faux-bold: keep the script thin */
.hero-title .big-l {
  font-family: var(--flourish); display: inline-block;
  font-size: clamp(6.5rem, 15vw, 12.5rem); line-height: .8;
  color: var(--gold);   /* solid gold: a gradient would get sliced off at the swashes */
  text-shadow: 0 0 22px rgba(212, 175, 95, .35), 0 2px 0 rgba(0, 0, 0, .4);
  vertical-align: -.08em; margin-right: .08em;
}
.apos { margin-left: -.32em; }
.hero-title .rest { font-family: var(--flourish); font-size: clamp(3.2rem, 7vw, 5.8rem); color: var(--white); margin-left: -.05em; }
.hero-title .line2 { display: block; font-family: var(--flourish); font-size: clamp(3.2rem, 8vw, 6.2rem); color: var(--gold-2); margin-top: .05em; padding-left: .9em; line-height: 1.25; }
.hero-sub {
  margin-top: 22px; font-size: 1rem; letter-spacing: .08em; color: var(--muted); max-width: 46ch;
}
.hero-sub strong { color: var(--white); font-weight: 600; }
.flourish { width: 160px; height: 2px; margin: 26px 0; background: linear-gradient(90deg, var(--gold), var(--purple-2), transparent); }
.hero-photo { position: relative; align-self: end; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding-right: 4vw; }
.hero-photo img {
  width: min(100%, 34vw); height: auto; max-height: calc(100svh - 68px); object-fit: contain; object-position: bottom center;
  mix-blend-mode: lighten; /* photo's black melts into the page background */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to top, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to top, transparent 0, #000 16%);
  mask-composite: intersect;
}
.hero-badge {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); white-space: nowrap; z-index: 3;
  background: rgba(20, 18, 24, .85); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 18px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2);
}

/* ---------- About page hero (same layout as Home, story instead of logo) ---------- */
.hero-about .hero-text { padding-top: 32px; padding-bottom: 40px; }
.hero-about .hero-title { padding-top: .1em; }
.hero-about { align-items: start; min-height: auto; }
.hero-about .hero-photo { align-self: start; position: sticky; top: 84px; height: auto; padding-top: 24px; }
.hero-about .hero-photo img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 22%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 22%, #000 84%, transparent 100%);
  mask-composite: intersect;
}
.hero-about .about-meet { padding-left: 0; font-size: clamp(2.6rem, 5.5vw, 4.4rem); color: var(--white); margin: 0 0 .55em; }
.hero-about .hero-text p { color: var(--muted); max-width: 60ch; }
.hero-about .hero-text p b { color: var(--white); font-weight: 600; }
.hero-about .about-kicker { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--gold-2) !important; line-height: 1.4; }
.hero-about .stats { max-width: 520px; }

/* ---------- Sections ---------- */
section.block { padding: clamp(56px, 9vw, 110px) 0; }
section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); text-align: center; position: relative; }
.page-hero::after { content: ''; display: block; width: 120px; height: 2px; margin: 26px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.page-hero h1 { font-family: var(--script); font-weight: 400; font-size: clamp(3.4rem, 10vw, 6rem); color: var(--gold-2); margin: 0; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); position: relative;
}
.card h3 { margin-bottom: .35em; }
.card .icon { font-size: 1.9rem; margin-bottom: 10px; display: block; }
.card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.card li { margin-bottom: .35em; }
.card.gold-top { border-top: 3px solid var(--gold); }
.card.purple-top { border-top: 3px solid var(--purple-2); }
.tag { display: inline-block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(139, 79, 196, .2); color: var(--purple-2); margin-bottom: 10px; }
.checklist { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.checklist li { padding-left: 1.6em; position: relative; margin-bottom: .55em; break-inside: avoid; }
.checklist li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.portrait { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; max-width: 460px; margin-inline: auto; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stat { text-align: center; padding: 18px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.stat b { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--gold-2); line-height: 1.1; }
.stat span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.quote { font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--white); }
.quote::before { content: '“'; font-size: 3.5rem; line-height: .5; color: var(--gold); display: block; margin-bottom: 10px; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 8px; }
.who { color: var(--purple-2); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.sample-note {
  border: 1px dashed var(--purple-2); color: var(--purple-2); border-radius: var(--radius);
  padding: 12px 16px; font-size: .85rem; margin-bottom: 26px; text-align: center;
}

/* ---------- Forms ---------- */
form.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
input, select, textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14); background: #0f0e12; color: var(--white);
  font: 400 1rem var(--sans); letter-spacing: normal; text-transform: none; min-height: 48px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--purple-2); outline-offset: 1px; border-color: transparent; }
.form-msg { min-height: 1.4em; font-size: .95rem; }
.form-msg.ok { color: #9be3b0; }
.form-msg.err { color: #ff9a9a; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }

/* ---------- Booking calendar ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cal-head h3 { margin: 0; font-size: 1.3rem; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); color: var(--gold-2); font-size: 1.1rem; cursor: pointer; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.legend .l-open { background: rgba(212, 175, 95, .18); border: 1px solid var(--gold); }
.legend .l-busy { background: #2a2730; border: 1px solid #3a3640; }
.legend .l-pick { background: var(--purple); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.cal-day { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; min-width: 0; }
.cal-day h4 { margin: 0 0 8px; text-align: center; font: 600 .75rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.cal-day h4 span { display: block; font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0; color: var(--white); }
.slot {
  display: block; width: 100%; margin-bottom: 6px; padding: 8px 4px; border-radius: 8px; min-height: 38px;
  font: 600 .8rem var(--sans); cursor: pointer; border: 1px solid var(--gold-dim);
  background: rgba(212, 175, 95, .1); color: var(--gold-2);
}
.slot:hover { background: rgba(212, 175, 95, .25); }
.slot.busy, .slot.past { background: #1f1c24; border-color: #2c2832; color: #5c5663; cursor: not-allowed; text-decoration: line-through; }
.slot.past { text-decoration: none; opacity: .5; }
.slot.picked { background: var(--purple); border-color: var(--purple-2); color: #fff; }
.cal-empty { text-align: center; color: #6e6876; font-size: .8rem; padding: 10px 0; }
.cal-status { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
.booking-panel { margin-top: 26px; scroll-margin-top: 90px; }
[id] { scroll-margin-top: 80px; }
.picked-time { font-family: var(--serif); font-size: 1.4rem; color: var(--gold-2); }

/* ---------- Phone reveal modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .75); }
.modal.open { display: flex; }
.modal-box { width: min(460px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; }
.modal-close { position: absolute; top: 10px; right: 12px; background: none; border: none; color: var(--muted); font-size: 1.6rem; cursor: pointer; width: 44px; height: 44px; }
.phone-blur { font-family: var(--serif); font-size: 2rem; color: #4f4a55; letter-spacing: .08em; filter: blur(5px); user-select: none; text-align: center; margin: 10px 0 18px; }
.phone-shown { font-family: var(--serif); font-size: 2.2rem; color: var(--gold-2); text-align: center; margin: 10px 0 18px; }

/* ---------- QR + footer ---------- */
.qr-card { display: flex; gap: 22px; align-items: center; }
.qr-card img { width: 150px; height: 150px; background: #fff; padding: 10px; border-radius: 12px; flex: none; }
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; background: #070709; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-2); margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.copyright { margin-top: 32px; font-size: .78rem; color: #6e6876; text-align: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(10, 10, 12, .98); border-bottom: 1px solid var(--line); padding: 10px 16px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .nav-links .btn { margin: 8px 0 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 36px 16px 8px; text-align: center; }
  .hero-title .line2 { padding-left: 0; }
  .flourish { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-photo { justify-content: center; margin-top: 8px; padding-right: 0; }
  .hero-photo img { width: min(100%, 440px); max-height: 70svh; object-position: bottom center; -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 18%); mask-image: linear-gradient(to top, transparent 0%, #000 18%); }
  .hero-badge { display: none; }
  .hero-about .hero-photo { position: static; padding-top: 0; }
  .split, .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checklist { columns: 1; }
  .cal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .grid-4, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat b { font-size: 1.7rem; }
  .card { padding: 20px; }
  .qr-card { flex-direction: column; text-align: center; }
  .brand { font-size: 1.7rem; }
  .brand b { font-size: 2.2rem; }
  .btn-row .btn { flex: 1 1 100%; }
}
