/* ==========================================================================
   Hello Gorgeous Hair Lounge — Frisco, TX
   Palette: warm bone + espresso ink + antique gold. Editorial, unhurried.
   ========================================================================== */

:root {
  --bone:    #FBF8F4;
  --sand:    #F2EBE2;
  --shell:   #E7DCCF;
  --ink:     #1F1B18;
  --ink-soft:#443C35;
  --muted:   #7E7268;
  --gold:    #A9854F;
  --gold-lt: #C9A96E;
  --line:    rgba(31,27,24,.12);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans:  "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --pad: clamp(1.25rem, 5vw, 5rem);
  --rhythm: clamp(4.5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); letter-spacing: -.01em; }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1.1em; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--rhythm); }
.section--sand { background: var(--sand); }

/* Small-caps eyebrow that sits above every section heading */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin: 0 0 1.1rem;
}

.lede { font-size: clamp(1.02rem, 1.7vw, 1.18rem); color: var(--ink-soft); max-width: 56ch; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 2.1rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--bone);
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.btn--light { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--sm { padding: .6rem 1.3rem; font-size: .66rem; letter-spacing: .16em; }

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

/* --- Header --------------------------------------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem var(--pad);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.hdr.is-stuck {
  background: rgba(251,248,244,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .7rem;
}
.hdr__mark {
  font-family: var(--serif); font-size: 1.02rem; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none; color: #fff; line-height: 1.2;
  transition: color .4s var(--ease);
}
.hdr__mark span { display: block; font-size: .58rem; letter-spacing: .34em; opacity: .8; font-family: var(--sans); }
.hdr.is-stuck .hdr__mark { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,.9); position: relative; padding-block: .25rem;
  transition: color .4s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr.is-stuck .nav a { color: var(--ink-soft); }

.hdr__cta { flex: none; }
.burger { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; z-index: 70; }
.burger span { display: block; width: 24px; height: 1.5px; background: #fff; margin: 5px 0; transition: .3s var(--ease); }
.hdr.is-stuck .burger span,
.burger.is-open span { background: var(--ink); }
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; background: var(--bone);
    flex-direction: column; justify-content: center; gap: 1.75rem;
    transform: translateX(100%); transition: transform .5s var(--ease);
  }
  .nav a { color: var(--ink); font-size: .95rem; }
  .nav.is-open { transform: none; }
  .burger { display: block; }
  .hdr__cta { display: none; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,13,.55) 0%, rgba(20,16,13,.3) 42%, rgba(20,16,13,.72) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 8rem var(--pad) 5rem; max-width: 940px; }
.hero h1 {
  font-size: clamp(2.9rem, 8.4vw, 6.4rem);
  letter-spacing: -.015em; margin-bottom: 1.4rem; text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero__sub { font-size: clamp(.95rem, 1.9vw, 1.16rem); color: rgba(255,255,255,.9); max-width: 44ch; margin-inline: auto; }
.hero__acts { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.4rem; }
.hero__loc {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.75);
}

/* --- Trust bar ------------------------------------------------------------ */
.trust { background: var(--ink); color: var(--bone); padding-block: 1.4rem; }
.trust ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 3rem;
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(251,248,244,.72);
}
.trust b { color: var(--gold-lt); font-weight: 400; }

/* --- Featured category cards ---------------------------------------------- */
.offers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 3.4rem;
}
@media (max-width: 880px) { .offers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.offer {
  position: relative; display: block; overflow: hidden;
  text-decoration: none; color: #fff; aspect-ratio: 3/4; background: var(--shell);
}
.offer img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.offer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,13,.05) 30%, rgba(20,16,13,.55) 62%, rgba(20,16,13,.88) 100%);
  transition: background .5s var(--ease);
}
.offer:hover img { transform: scale(1.06); }
.offer:hover::after { background: linear-gradient(180deg, rgba(20,16,13,.2) 20%, rgba(20,16,13,.62) 58%, rgba(20,16,13,.92) 100%); }

.offer__body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: .45rem;
}
.offer__kicker { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-lt); }
.offer__title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; }
.offer__desc { font-size: .89rem; color: rgba(255,255,255,.82); max-width: 34ch; }
.offer__link {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  margin-top: .7rem; padding-bottom: .3rem; align-self: flex-start;
  border-bottom: 1px solid rgba(255,255,255,.45); transition: border-color .4s var(--ease);
}
.offer:hover .offer__link { border-color: var(--gold-lt); }

/* --- About ---------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__media::after {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 62%; height: 46%;
  border: 1px solid var(--gold); z-index: -1;
}
.about h2 { margin-bottom: 1.5rem; }
.about__sig { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold); margin-top: .5rem; }
.about__stats { display: flex; gap: 2.5rem; margin: 2.2rem 0; flex-wrap: wrap; }
.about__stats b { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.about__stats span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* --- Services ------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.4rem 0 3.2rem; }
.filters button {
  font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .62rem 1.35rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  transition: .35s var(--ease);
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bone); }

.svc-group { margin-bottom: 4.2rem; }
.svc-group:last-of-type { margin-bottom: 0; }
.svc-group[hidden] { display: none; }
.svc-group__top { border-top: 1px solid var(--ink); padding-top: 1.4rem; margin-bottom: 1.4rem; }
.svc-group__top h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.svc-group__top p { color: var(--muted); font-size: .93rem; margin: .5rem 0 0; max-width: 62ch; }

.svc-list { list-style: none; margin: 0; padding: 0; }
.svc {
  display: grid; grid-template-columns: 1fr auto auto auto;
  align-items: baseline; gap: .4rem 1.6rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.svc__book {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); white-space: nowrap;
  padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  transition: .3s var(--ease);
}
.svc:hover .svc__book { border-color: var(--gold); color: var(--gold); }
.svc__book:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.svc__name { font-size: 1.06rem; color: var(--ink); }
.svc__note { display: block; font-size: .84rem; color: var(--muted); margin-top: .2rem; max-width: 54ch; }
.svc__meta { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.svc__price { font-family: var(--serif); font-size: 1.5rem; white-space: nowrap; }
.svc__price sup { font-size: .62em; color: var(--gold); top: -.6em; }
@media (max-width: 620px) {
  .svc { grid-template-columns: 1fr auto; }
  .svc__name { grid-column: 1 / -1; }
  .svc__meta { grid-column: 1; }
  .svc__price { grid-column: 2; grid-row: 2; }
  .svc__book { grid-column: 1 / -1; justify-self: start; margin-top: .5rem; }
}

.svc-foot {
  margin-top: 3rem; padding: 2rem; border: 1px solid var(--line); background: var(--bone);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.svc-foot p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 52ch; }

/* --- Gallery -------------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; }
.tile {
  position: relative; margin: 0; overflow: hidden; background: var(--shell);
  border: 0; padding: 0; cursor: zoom-in; aspect-ratio: 4/5;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: ""; position: absolute; inset: 0; background: rgba(31,27,24,.16);
  opacity: 0; transition: opacity .5s var(--ease); pointer-events: none;
}
.tile:hover::after { opacity: 1; }
.tile[hidden] { display: none; }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 90; display: none;
  place-items: center; background: rgba(18,15,13,.94); padding: 4vmin;
}
.lb.is-open { display: grid; }
.lb img { max-width: min(92vw, 860px); max-height: 88vh; width: auto; object-fit: contain; }
.lb__x, .lb__nav {
  position: absolute; background: none; border: 0; color: rgba(255,255,255,.85);
  font-size: 2rem; line-height: 1; cursor: pointer; padding: .8rem; transition: color .3s;
}
.lb__x:hover, .lb__nav:hover { color: #fff; }
.lb__x { top: 1rem; right: 1.5rem; }
.lb__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb__count {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .24em; color: rgba(255,255,255,.6);
}

/* --- Reviews -------------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.review { background: var(--bone); padding: 2.2rem 2rem; border: 1px solid var(--line); display: flex; flex-direction: column; }
.review__stars { color: var(--gold); letter-spacing: .22em; font-size: .82rem; margin-bottom: 1rem; }
.review p { font-family: var(--serif); font-size: 1.18rem; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.review cite { font-style: normal; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* --- Visit ---------------------------------------------------------------- */
.visit { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
.hours { list-style: none; margin: 1.5rem 0 0; padding: 0; max-width: 420px; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.hours li span:first-child { letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; color: var(--muted); }
.hours li.is-closed span:last-child { color: var(--muted); }
.info-block { margin-bottom: 2.2rem; }
.info-block h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem; font-weight: 400; }
.info-block a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.info-block a:hover { border-color: var(--gold); }
.policy { font-size: .88rem; color: var(--muted); }

/* --- Contact form --------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { display: flex; flex-direction: column; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.field label span { text-transform: none; letter-spacing: .04em; opacity: .7; }
.field input, .field textarea {
  font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--ink);
  background: var(--bone); border: 1px solid var(--line); border-radius: 0;
  padding: .85rem 1rem; width: 100%; resize: vertical;
  transition: border-color .3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field.is-bad input, .field.is-bad textarea { border-color: #A6462F; }
.field__err { font-size: .8rem; color: #A6462F; margin: 0; min-height: 0; }
.field__err:empty { display: none; }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form .btn { align-self: flex-start; }
.form__status { font-size: .9rem; margin: 0; min-height: 1.2em; }
.form__status.is-ok { color: var(--gold); }
.form__status.is-bad { color: #A6462F; }
button[disabled] { opacity: .55; pointer-events: none; }

/* Visually-hidden text for screen readers */
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ext { font-size: .8em; opacity: .6; }

/* --- CTA band ------------------------------------------------------------- */
.cta { position: relative; text-align: center; color: #fff; padding-block: clamp(5rem, 11vw, 9rem); overflow: hidden; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(20,16,13,.62); }
.cta > .wrap { position: relative; z-index: 2; }
.cta h2 { margin-bottom: 1.2rem; }
.cta p { color: rgba(255,255,255,.82); max-width: 46ch; margin-inline: auto; }

/* --- Footer --------------------------------------------------------------- */
.ftr { background: var(--ink); color: rgba(251,248,244,.62); padding-block: 4rem 2rem; font-size: .85rem; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 760px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-lt); margin: 0 0 1rem; font-weight: 400; }
.ftr__mark { font-family: var(--serif); font-size: 1.5rem; color: var(--bone); letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: .55rem; }
.ftr a { text-decoration: none; transition: color .3s; }
.ftr a:hover { color: var(--gold-lt); }
.ftr__base { border-top: 1px solid rgba(251,248,244,.14); padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .74rem; }

/* Mobile sticky book bar */
.bookbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(251,248,244,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.bookbar .btn { width: 100%; }
@media (max-width: 900px) { .bookbar { display: block; } .ftr { padding-bottom: 6rem; } }

/* --- Scroll reveal -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
