/* Perfect Brows — coded site styles (Phase 1 build, 2026-12-06)
   Design tokens from ../../INVENTORY.md.
   Fonts: pragmatica-extended / Clarkson are Squarespace-licensed and unavailable.
   Substitutes: headings "Archivo" (extended-feel grotesque, heavy weight + wide
   letter-spacing), body "Inter" with Helvetica fallback (Clarkson stand-in). */

:root{
  --off-white:#F5F5F5;
  --near-black:#121212;
  --black:#0a0a0a;
  --panel:#1a1a1a;
  --line:#2b2b2b;
  --terracotta:#c96f4a;
  --gold:#c9a227;
  --gold-star:#f4b400;
  --gold-tint:rgba(201,162,39,.12);
  --muted:rgba(245,245,245,.72);
  --font-head:"Archivo","Helvetica Neue",Helvetica,Arial,sans-serif;
  --font-body:"Inter","Helvetica Neue",Helvetica,Arial,sans-serif;
  --bar-height:60px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html,body{overflow-x:hidden;}

body{
  margin:0;
  background:var(--near-black);
  color:var(--off-white);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  /* room for the fixed floating bar so it never covers content */
  padding-bottom:calc(var(--bar-height) + env(safe-area-inset-bottom, 0px) + 12px);
  animation:page-in .45s ease both;
}
@keyframes page-in{from{opacity:0}to{opacity:1}}

img{max-width:100%;}
a{color:var(--terracotta);}
a:focus-visible,button:focus-visible{
  outline:2px solid var(--terracotta);
  outline-offset:3px;
  border-radius:4px;
}

h1,h2,h3{
  font-family:var(--font-head);
  overflow-wrap:break-word; /* wrap at word boundaries, never mid-word */
  hyphens:none;
}

/* ---------- Header ---------- */
.site-header{
  background:var(--black);
  text-align:center;
  padding:14px 16px 10px;
}
.site-logo{
  display:inline-block;
  line-height:0;
}
.site-logo img{
  height:60px; /* live mobile logo max height */
  width:auto;
  transition:height .3s ease;
}
.site-header.is-scrolled .site-logo img{height:46px;}
@media (min-width:768px){
  .site-logo img{height:108px;} /* live desktop logo height */
  .site-header.is-scrolled .site-logo img{height:80px;}
}

/* ---------- Marquee (header only) ---------- */
.marquee{
  background:var(--black);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  overflow:hidden;
  padding:7px 0;
}
.marquee-track{
  display:flex;
  width:max-content;
  animation:marquee 26s linear infinite;
}
.marquee-track span{
  white-space:nowrap;
  font-family:var(--font-head);
  font-size:12px;
  font-weight:600;
  letter-spacing:.28em;
  color:var(--muted);
  padding-right:.5em;
}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- Hero ---------- */
.hero{
  background:var(--near-black);
  text-align:center;
  padding:42px 16px 10px;
}
.hero-headline{margin:0;}
.hero-line-1{
  display:block;
  font-size:30px;
  font-weight:800;
  letter-spacing:.14em;
  color:var(--off-white);
  line-height:1.15;
}
.hero-line-2{
  display:block;
  margin-top:10px;
  font-size:20px;
  font-weight:300;
  font-style:italic;
  letter-spacing:.02em;
  color:var(--terracotta);
  line-height:1.2;
}
@media (min-width:768px){
  .hero-line-1{font-size:44px;}
  .hero-line-2{font-size:26px;margin-top:16px;}
}
.hero-image{
  max-width:920px;
  margin:28px auto 0;
}
.hero-image img{
  display:block;
  width:100%;
  height:auto;
  border-radius:14px;
}

/* ---------- Review slider ---------- */
.reviews{padding:34px 0 6px;}
.rating-header{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  color:var(--off-white);
  text-decoration:none;
  font-size:17px;
}
.rating-header .stars{color:var(--gold-star);letter-spacing:.15em;font-size:16px;}
.rating-header .reviews-count{color:var(--muted);}
.slider-viewport{
  overflow:hidden;
  max-width:760px;
  margin:20px auto 0;
  padding:0 8px;
}
.slider-track{
  display:flex;
  list-style:none;
  margin:0;
  padding:0;
  transition:transform .55s ease;
}
.review-slide{
  flex:0 0 100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.review-card{
  display:flex;
  /* width must follow the SLIDE, not the viewport: 94vw was wider than the
     slide inside the padded section, so the card's right edge was clipped
     by the viewport on phones (Raju, Dec 6, 2026). */
  width:100%;
  max-width:680px;
  height:260px; /* phone band height per INVENTORY */
  background:#fff;
  color:#202124;
  border-radius:20px;
  padding:24px 26px;
  text-decoration:none;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}
@media (min-width:768px){
  .review-card{height:340px;padding:30px 36px;} /* ~680x340, 2:1 */
}
/* margin:auto 0 = vertical centering when content is short; collapses to 0
   (top-aligned, bottom-clipped) when a full-length review fills the card. */
.review-inner{margin:auto 0;width:100%;}
.review-top{display:flex;align-items:center;gap:12px;}
.avatar{
  flex:0 0 auto;
  width:34px;height:34px;
  border-radius:50%;
  background:var(--av,#7b1fa2);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-head);
  font-weight:700;
  font-size:16px;
}
.review-name{margin:0;font-weight:700;font-size:16px;}
.review-meta{margin:0;color:#5f6368;font-size:13px;}
.review-stars{margin:10px 0 6px;color:var(--gold-star);letter-spacing:.2em;font-size:15px;}
.review-text{margin:0;font-size:15px;line-height:1.5;}
.gold-pill{
  display:inline-block;
  margin-top:22px;
  /* 44px+ touch target and 12px minimum text (UI/UX Pro Max rules 2 and 6,
     polish pass Dec 6, 2026 — was padding 7px 16px / 10px text). */
  padding:13px 24px;
  border:1px solid var(--gold);
  border-radius:999px;
  background:var(--gold-tint);
  color:var(--gold);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  text-decoration:none;
  font-weight:600;
}

/* ---------- Sections ---------- */
.section{
  padding:46px 16px 8px;
  max-width:1080px;
  margin:0 auto;
}
.section-heading{
  text-align:center;
  font-size:23px;
  font-weight:700;
  letter-spacing:.22em;
  margin:0 0 8px;
  color:var(--off-white);
}
.section-heading::after{
  content:"";
  display:block;
  width:46px;height:2px;
  background:var(--terracotta);
  margin:12px auto 22px;
}

/* ---------- Location ---------- */
.location-grid{display:grid;gap:26px;}
@media (min-width:820px){
  .location-grid{grid-template-columns:1.15fr .85fr;align-items:start;}
}
.map-embed iframe{
  display:block;
  width:100%;
  height:320px;
  border:0;
  border-radius:12px;
}
.location-address{
  font-size:18px;
  line-height:1.5;
  margin:0 0 14px;
}
.btn-directions{
  display:inline-block;
  background:var(--terracotta);
  color:#fff;
  text-decoration:none;
  font-family:var(--font-head);
  font-weight:700;
  letter-spacing:.08em;
  font-size:14px;
  padding:12px 22px;
  border-radius:999px;
  margin:2px 0 22px;
}
.hours-table{width:100%;max-width:420px;}
.hours-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:5px 0;
  color:var(--muted);
}
.hours-row .day{color:var(--off-white);font-weight:600;}

/* ---------- Services accordion ---------- */
.services-list{max-width:760px;margin:0 auto;}
.service-item{
  background:var(--panel);
  border-radius:12px;
  margin:0 0 10px; /* tight, even spacing; NO divider lines */
  overflow:hidden;
}
.service-button{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:none;
  border:0;
  color:var(--off-white);
  font-family:var(--font-head);
  font-size:15px;
  font-weight:700;
  letter-spacing:.1em;
  text-align:left;
  padding:16px 18px;
  cursor:pointer;
}
.service-icon{
  flex:0 0 auto;
  font-size:20px;
  font-weight:300;
  color:var(--terracotta);
  transition:transform .25s ease;
}
.service-button[aria-expanded="true"] .service-icon{transform:rotate(45deg);}
.service-panel{padding:0 18px 16px;}
.service-note{margin:0;color:var(--muted);font-size:14.5px;}
.service-note a{color:var(--terracotta);}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--black);
  margin-top:56px;
  padding:44px 16px 30px;
  text-align:center;
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr; /* phone: all four columns stack, always rendered */
  gap:30px;
  max-width:1080px;
  margin:0 auto;
}
@media (min-width:900px){
  .footer-grid{grid-template-columns:repeat(4,1fr);}
}
.footer-col h2{
  font-size:13px;
  letter-spacing:.24em;
  margin:0 0 12px;
  color:var(--off-white);
}
.footer-col p{margin:0 0 10px;color:var(--muted);font-size:14.5px;}
.footer-col a{color:var(--muted);}
.footer-brand{
  font-family:var(--font-head);
  font-size:19px;
  font-weight:800;
  letter-spacing:.2em;
  color:var(--off-white) !important;
}
/* Logo moved from the header into the footer brand row, next to the
   PERFECT BROWS title (Raju, Dec 6, 2026). */
.footer-brand-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}
.footer-brand-row .footer-brand{margin:0;}
.footer-logo{height:56px;width:auto;display:block;}
.footer-col ul{list-style:none;margin:0;padding:0;}
.footer-col li{margin:0 0 8px;}
.footer-col li a{font-size:14.5px;}
.footer-bottom{
  max-width:1080px;
  margin:34px auto 0;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.footer-bottom p{margin:0 0 5px;color:var(--muted);font-size:13px;}

/* One-accent discipline: text selection uses the single terracotta accent. */
::selection{background:var(--terracotta);color:#fff;}

/* ---------- Floating Call / Text / Directions bar ---------- */
.floating-bar{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:60;
  display:flex;
  background:rgba(8,8,8,.98);
  border-top:1px solid var(--line);
  padding-bottom:env(safe-area-inset-bottom, 0px);
}
.floating-bar a{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  min-height:var(--bar-height);
  color:var(--off-white);
  text-decoration:none;
  font-size:11.5px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-family:var(--font-head);
  font-weight:600;
}
.floating-bar svg{width:21px;height:21px;fill:var(--terracotta);}

/* ---------- Policy pages ---------- */
.policy-header{
  background:var(--black);
  text-align:center;
  padding:12px 16px 8px;
}
.policy-header .site-logo img{height:52px;}
.policy-main{
  max-width:760px;
  margin:0 auto;
  padding:30px 18px 10px;
}
.policy-main h1{
  font-size:27px;
  font-weight:800;
  letter-spacing:.04em;
  line-height:1.25;
  margin:14px 0 6px;
}
.policy-main h2{
  font-size:18px;
  letter-spacing:.05em;
  margin:28px 0 8px;
  color:var(--off-white);
}
.policy-main p,.policy-main li{color:var(--muted);line-height:1.65;}
.policy-main .updated{color:var(--muted);font-size:14px;margin:0 0 10px;}
.back-home{
  display:inline-block;
  color:var(--terracotta);
  text-decoration:none;
  font-family:var(--font-head);
  font-weight:600;
  font-size:14px;
  letter-spacing:.06em;
}
.back-home.bottom{display:inline-block;margin-top:30px;}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  body{animation:none;}
  .marquee-track{animation:none;}
  .slider-track{transition:none;}
  .service-icon,.site-logo img{transition:none;}
}
