/* ===========================================================
   HAIR PACIFIC — design tokens v2 (monochrome editorial, 2026)
   =========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;0,6..96,800;1,6..96,500;1,6..96,600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --black:      #0B0B0A;
  --ink:        #171613;
  --white:      #FFFFFF;
  --paper:      #F7F4EE;   /* warm off-white */
  --stone:      #EAE5D9;   /* warm greige section bg */
  --stone-dark: #DCD5C3;
  --grey:       #8C897F;   /* logo ring grey */
  --grey-line:  rgba(11,11,10,0.12);
  --gold:       #A9803F;   /* brass accent — CTAs, highlights */
  --gold-dim:   #C7A76B;
  --charcoal:   #221F1C;

  --display: 'Bodoni Moda', serif;
  --body: 'Manrope', sans-serif;
  --label: 'Manrope', sans-serif;

  --container: 1220px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--charcoal);
  font-family:var(--body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
.wrap{ max-width:var(--container); margin:0 auto; padding:0 32px; }

h1,h2,h3,h4{
  font-family:var(--display);
  color:var(--black);
  margin:0 0 .4em;
  line-height:1.04;
  font-weight:500;
  letter-spacing:-.01em;
}
h1{ font-size:clamp(2.6rem,6vw,5.2rem); font-weight:500; }
h2{ font-size:clamp(2rem,3.6vw,3rem); }
h3{ font-size:1.3rem; font-weight:600; }
h1 em, h2 em{ font-style:italic; font-weight:500; }
p{ margin:0 0 1em; }
.lede{ font-size:1.08rem; color:#4A473F; max-width:52ch; font-weight:400; }

.eyebrow{
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.72rem;
  font-weight:700;
  color:var(--gold);
  display:flex;
  align-items:center;
  gap:.7em;
  margin-bottom:1.1em;
}
.eyebrow::before{
  content:'';
  width:26px; height:1px;
  background:var(--gold);
  display:inline-block;
}
.eyebrow.on-dark{ color:var(--gold-dim); }
.eyebrow.on-dark::before{ background:var(--gold-dim); }

/* ---------- buttons ---------- */
.btn{
  font-family:var(--label);
  font-weight:700;
  font-size:.85rem;
  letter-spacing:.03em;
  text-transform:uppercase;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:.6em;
  padding:1em 1.9em;
  border-radius:2px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary{
  background:var(--black);
  color:var(--paper);
}
.btn-primary:hover{ background:var(--gold); color:var(--black); transform:translateY(-1px); }
.btn-ghost{
  background:transparent;
  border-color:var(--black);
  color:var(--black);
}
.btn-ghost:hover{ background:var(--black); color:var(--paper); }
.btn-on-dark{ border-color:rgba(247,244,238,.4); color:var(--paper); }
.btn-on-dark:hover{ background:var(--paper); color:var(--black); border-color:var(--paper); }
.btn-sm{ padding:.75em 1.4em; font-size:.74rem; }

/* ---------- nav ---------- */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(247,244,238,.85);
  backdrop-filter:blur(14px) saturate(1.2);
  border-bottom:1px solid var(--grey-line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 32px; max-width:var(--container); margin:0 auto;
}
.logo{
  display:flex; align-items:center; gap:.7em;
  text-decoration:none;
  color:var(--black);
}
.logo img{ height:42px; width:42px; border-radius:50%; }
.logo .wordmark{ font-family:var(--display); font-weight:600; font-size:1.02rem; letter-spacing:.02em; line-height:1.1; }
.logo .wordmark span{ display:block; font-family:var(--label); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--grey); font-weight:600; }

.nav-links{
  display:flex; gap:2.2em; list-style:none; margin:0; padding:0;
  font-family:var(--label); font-size:.78rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase;
}
.nav-links a{
  text-decoration:none; color:var(--charcoal);
  padding-bottom:4px; border-bottom:1px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.nav-links a:hover, .nav-links a.active{ color:var(--gold); border-color:var(--gold); }
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-phone{
  font-family:var(--label); font-weight:700; font-size:.82rem;
  color:var(--black); text-decoration:none; white-space:nowrap;
  letter-spacing:.02em;
}
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; color:var(--black); }

@media (max-width:940px){
  .nav-links{ display:none; }
  .nav-toggle{ display:block; }
  .nav-phone{ display:none; }
}

/* ---------- marquee ticker ---------- */
.ticker{
  background:var(--black);
  color:var(--paper);
  overflow:hidden;
  white-space:nowrap;
  border-bottom:1px solid rgba(247,244,238,.08);
}
.ticker-track{
  display:inline-flex;
  align-items:center;
  animation:hp-marquee 32s linear infinite;
  padding:13px 0;
}
.ticker-track span{
  font-family:var(--label); font-size:.72rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.14em;
  padding:0 2em;
  display:inline-flex; align-items:center; gap:2em;
  color:var(--gold-dim);
}
.ticker-track span::after{ content:'✦'; color:var(--grey); font-size:.7em; }
@keyframes hp-marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .ticker-track{ animation:none; } }

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:78vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:var(--black);
}
.hero-bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:.62;
  filter:grayscale(35%) contrast(1.05);
}
.hero-scrim{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(11,11,10,.15) 0%, rgba(11,11,10,.55) 55%, rgba(11,11,10,.94) 100%);
}
.hero-inner{
  position:relative; z-index:2;
  width:100%;
  padding:64px 32px 64px;
  max-width:var(--container); margin:0 auto;
}
.hero .eyebrow{ color:var(--gold-dim); }
.hero .eyebrow::before{ background:var(--gold-dim); }
.hero h1{ color:var(--paper); max-width:14ch; }
.hero h1 em{ color:var(--gold-dim); }
.hero .lede{ color:rgba(247,244,238,.82); }
.hero-actions{ display:flex; gap:14px; margin-top:2em; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:2.6em; margin-top:3em; flex-wrap:wrap; }
.hero-stat b{ display:block; font-family:var(--display); font-size:1.9rem; color:var(--paper); font-weight:500; }
.hero-stat span{ font-family:var(--label); font-size:.68rem; text-transform:uppercase; letter-spacing:.09em; color:var(--gold-dim); }

.hero-inner-simple{
  padding:120px 32px 72px;
}

/* ---------- sections ---------- */
section{ padding:110px 0; }
.section-tight{ padding:80px 0; }
.section-stone{ background:var(--stone); }
.section-black{ background:var(--black); color:var(--paper); }
.section-black h2, .section-black h3{ color:var(--paper); }
.section-head{ max-width:640px; margin-bottom:60px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
hr.rule{ border:none; border-top:1px solid var(--grey-line); margin:0; }
.section-black hr.rule{ border-top-color:rgba(247,244,238,.14); }

/* ---------- bento grid ---------- */
.bento{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  grid-auto-rows:160px;
  gap:16px;
}
.bento .b-photo{ overflow:hidden; position:relative; border-radius:2px; }
.bento .b-photo img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.bento .b-photo:hover img{ transform:scale(1.05); }
.bento .b-text{
  background:var(--black); color:var(--paper);
  padding:28px; display:flex; flex-direction:column; justify-content:center;
  border-radius:2px;
}
.bento .b-text h3{ color:var(--paper); font-size:1.5rem; }
.bento .b-stat{
  background:var(--stone-dark); padding:28px;
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
  border-radius:2px;
}
.bento .b-stat b{ font-family:var(--display); font-size:2.4rem; font-weight:500; color:var(--black); display:block; }
.bento .b-stat span{ font-family:var(--label); font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; color:#5c5949; }

@media (max-width:900px){
  .bento{ grid-template-columns:repeat(2,1fr); grid-auto-rows:220px; }
}

/* ---------- cards / grids ---------- */
.grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:var(--white);
  border:1px solid var(--grey-line);
  padding:30px;
  border-radius:2px;
}

.num-badge{
  font-family:var(--display);
  font-size:.85rem;
  color:var(--gold);
  border:1px solid var(--gold);
  width:32px; height:32px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  margin-bottom:16px;
}

/* ---------- testimonials ---------- */
.testi{ border-top:1px solid var(--grey-line); padding-top:22px; }
.testi .stars{ color:var(--gold); font-size:.85rem; letter-spacing:.15em; margin-bottom:.9em; }
.testi p{ font-family:var(--display); font-style:italic; font-size:1.18rem; color:var(--black); line-height:1.45; font-weight:500; }
.testi cite{ font-style:normal; font-family:var(--label); font-size:.72rem; text-transform:uppercase; letter-spacing:.07em; color:var(--grey); }

/* ---------- team ---------- */
.team-card{ text-align:center; }
.team-photo{
  aspect-ratio:1; border-radius:50%; overflow:hidden; width:110px; margin:0 auto 18px;
  border:1px solid var(--grey-line);
}
.team-photo img{ width:100%; height:100%; object-fit:cover; }

/* ---------- gallery grid ---------- */
.masonry{ columns:3 280px; column-gap:16px; }
.masonry img{ width:100%; margin-bottom:16px; border-radius:2px; break-inside:avoid; }
@media (max-width:700px){ .masonry{ columns:2 200px; } }

/* ---------- footer ---------- */
footer{
  background:var(--black);
  color:rgba(247,244,238,.65);
  padding:70px 0 30px;
}
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:50px; }
footer h4{ color:var(--paper); font-family:var(--label); font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; margin-bottom:1.2em; font-weight:700; }
footer .logo{ color:var(--paper); }
footer .logo .wordmark span{ color:var(--grey); }
footer ul{ list-style:none; margin:0; padding:0; }
footer li{ margin-bottom:.75em; font-size:.88rem; }
footer a{ text-decoration:none; color:inherit; }
footer a:hover{ color:var(--gold-dim); }
.foot-bottom{
  border-top:1px solid rgba(247,244,238,.12);
  padding-top:26px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-family:var(--label); font-size:.72rem; letter-spacing:.04em;
  color:rgba(247,244,238,.42);
}
@media (max-width:800px){ .foot-grid{ grid-template-columns:1fr 1fr; } }

/* ===========================================================
   FLOATING WIDGET — click-to-call + live chat (v2 monochrome)
   =========================================================== */
.hp-widget-stack{
  position:fixed; right:22px; bottom:22px; z-index:200;
  display:flex; flex-direction:column; align-items:flex-end; gap:12px;
}
.hp-call-pill{
  display:flex; align-items:center; gap:10px;
  background:var(--black); color:var(--paper);
  font-family:var(--label); font-weight:700; font-size:.8rem;
  text-transform:uppercase; letter-spacing:.04em;
  text-decoration:none;
  padding:15px 22px 15px 17px;
  border-radius:999px;
  box-shadow:0 10px 30px -8px rgba(11,11,10,.5), 0 2px 6px rgba(0,0,0,.15);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.hp-call-pill:hover{ transform:translateY(-2px); background:var(--gold); color:var(--black); }
.hp-call-pill .pulse-dot{
  width:8px; height:8px; border-radius:50%; background:var(--gold-dim);
  box-shadow:0 0 0 0 rgba(199,167,107,.7);
  animation:hp-pulse 1.8s infinite;
}
@keyframes hp-pulse{
  0%{ box-shadow:0 0 0 0 rgba(199,167,107,.55); }
  70%{ box-shadow:0 0 0 8px rgba(199,167,107,0); }
  100%{ box-shadow:0 0 0 0 rgba(199,167,107,0); }
}

.hp-chat-btn{
  width:58px; height:58px; border-radius:50%;
  background:var(--gold); color:var(--black);
  display:flex; align-items:center; justify-content:center;
  border:none; cursor:pointer;
  box-shadow:0 10px 26px -6px rgba(11,11,10,.4);
  transition:transform .18s ease, background .18s ease;
}
.hp-chat-btn:hover{ transform:translateY(-2px) scale(1.03); background:var(--black); color:var(--gold-dim); }
.hp-chat-btn svg{ width:24px; height:24px; }

.hp-chat-panel{
  position:fixed; right:22px; bottom:96px; z-index:210;
  width:340px; max-width:calc(100vw - 44px);
  background:var(--paper);
  border-radius:6px;
  box-shadow:0 24px 60px -12px rgba(11,11,10,.45);
  overflow:hidden;
  display:none;
  flex-direction:column;
  border:1px solid var(--grey-line);
}
.hp-chat-panel.open{ display:flex; animation:hp-rise .22s ease; }
@keyframes hp-rise{ from{ opacity:0; transform:translateY(12px);} to{ opacity:1; transform:translateY(0);} }

.hp-chat-head{
  background:var(--black); color:var(--paper);
  padding:16px 18px;
  display:flex; align-items:center; gap:12px;
}
.hp-chat-head .avatar{
  width:36px; height:36px; border-radius:50%;
  overflow:hidden; border:1px solid rgba(247,244,238,.3);
}
.hp-chat-head .avatar img{ width:100%; height:100%; object-fit:cover; }
.hp-chat-head .who b{ display:block; font-family:var(--label); font-size:.85rem; font-weight:700; }
.hp-chat-head .who span{ font-size:.7rem; color:var(--gold-dim); }
.hp-chat-close{ margin-left:auto; background:none; border:none; color:var(--paper); opacity:.7; cursor:pointer; font-size:1.1rem; }

.hp-chat-body{
  padding:16px 18px; display:flex; flex-direction:column; gap:10px;
  max-height:280px; overflow-y:auto;
  background:var(--paper);
}
.hp-msg{
  font-size:.86rem; line-height:1.45;
  padding:10px 13px; border-radius:10px;
  max-width:85%;
}
.hp-msg.bot{ background:var(--stone); color:var(--charcoal); border-bottom-left-radius:3px; align-self:flex-start; }
.hp-msg.me{ background:var(--black); color:var(--paper); border-bottom-right-radius:3px; align-self:flex-end; }

.hp-chat-quick{ padding:0 18px 14px; display:flex; flex-wrap:wrap; gap:8px; }
.hp-chip{
  font-family:var(--label); font-size:.72rem; font-weight:700;
  border:1px solid var(--grey-line); background:var(--white);
  padding:.5em .9em; border-radius:999px; cursor:pointer;
  transition:background .15s ease, color .15s ease;
}
.hp-chip:hover{ background:var(--gold); color:var(--black); border-color:var(--gold); }

.hp-chat-foot{ border-top:1px solid var(--grey-line); padding:12px 14px; display:flex; gap:8px; }
.hp-chat-foot input{
  flex:1; border:1px solid var(--grey-line); border-radius:999px;
  padding:.65em 1em; font-family:var(--body); font-size:.85rem;
  outline:none;
}
.hp-chat-foot input:focus{ border-color:var(--gold); }
.hp-chat-foot button{
  background:var(--black); color:var(--paper); border:none;
  width:38px; height:38px; border-radius:50%; cursor:pointer;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}

@media (max-width:600px){
  .hp-widget-stack{ right:14px; bottom:14px; }
  .hp-chat-panel{ right:14px; bottom:88px; width:calc(100vw - 28px); }
  .hp-call-pill span.full{ display:none; }
}
