/* ============================================================
   Neff's Majestic Hair Studio — client-branded demo site (v3)
   Brand system: lavender-plum & ivory (from the studio's real
   Facebook profile photo — genuinely sourced, retained from v2),
   plus a warm charcoal + amber pairing observed in the studio's
   real Facebook cover photo (its dark, industrial-ceilinged,
   collectibles-lined interior). Cormorant Garamond + Jost.
   This page intentionally carries ZERO Lewis Digital gold.
   ============================================================ */

:root {
  --plum: #4a2b4a;          /* primary — deep plum (verified: profile photo) */
  --plum-deep: #33203a;     /* darkest plum — header, footer, hero ink */
  --lavender: #a79ac4;      /* secondary — muted lavender (verified: profile photo) */
  --lavender-soft: #cfc6e2; /* light lavender for borders */
  --lilac: #f4f0f9;         /* soft lilac wash for alt sections */
  --ivory: #fffdfa;         /* warm ivory base (verified: profile photo bg) */
  --ink: #2b2427;           /* warm near-black for body text */
  --ink-soft: #6f626b;      /* muted text */
  --peach: #e9bc9b;         /* warm peach accent (verified: profile photo skin tones) */
  --white: #ffffff;

  /* Observed (not pixel-scripted) from the studio's real Facebook cover
     photo: a black-painted ceiling, exposed ductwork, and warm track
     spotlights over glass-front shelving. Used for ONE deliberate dark
     band, not the whole page — see README for the honesty note. */
  --charcoal: #1a1720;
  --charcoal-soft: #241f2b;
  --amber: #c98a3a;
  --amber-soft: #e9c48d;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-card: 26px;
  --shadow-soft: 0 24px 60px -28px rgba(51, 32, 58, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--plum); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2.5px solid var(--plum);
  outline-offset: 3px;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section { padding: 5.5rem 0; }

/* ---------- section intro ---------- */
.section__eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 0.9rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  color: var(--plum-deep);
  max-width: 24ch;
}

.section__lede {
  margin-top: 1rem;
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- top ribbon ---------- */
.ribbon {
  background: var(--plum-deep);
  color: #e9e2f0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.ribbon__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
}

.ribbon__phone { color: #fff; font-weight: 500; }
.ribbon__phone:hover { color: var(--lavender-soft); text-decoration: none; }

/* ---------- header ---------- */
.header {
  background: var(--ivory);
  border-bottom: 1px solid #eee6f2;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand:hover { text-decoration: none; }

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--plum-deep);
  color: var(--lilac);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  padding-bottom: 2px;
  flex: none;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--plum-deep);
  letter-spacing: 0.01em;
}
.brand__name em { font-style: italic; color: var(--plum); }
.brand__sub {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--lavender);
}

.nav { display: flex; align-items: center; gap: 1.6rem; }

.nav__link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.nav__link:hover { color: var(--plum); text-decoration: none; }

.nav__link--cta {
  background: var(--plum);
  color: #fff;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 500;
}
.nav__link--cta:hover { background: var(--plum-deep); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--plum {
  background: var(--plum);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(74, 43, 74, 0.65);
}
.btn--plum:hover { background: var(--plum-deep); color: #fff; text-decoration: none; }

.btn--ghost {
  border: 1.5px solid var(--lavender);
  color: var(--plum);
  background: transparent;
}
.btn--ghost:hover { background: var(--lilac); color: var(--plum-deep); text-decoration: none; }

.btn--big { padding: 1rem 2rem; font-size: 1.02rem; }

/* ---------- hero ---------- */
.hero {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(207, 198, 226, 0.5), transparent 60%),
    var(--ivory);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 1.1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  line-height: 1.04;
  color: var(--plum-deep);
}
.hero__title em {
  font-style: italic;
  color: var(--plum);
}

.hero__tagline {
  margin-top: 1.3rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.hero__address {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.hero__photo { position: relative; }

/* card-frame photos — a rounded "shop card" rather than a boutique arch,
   with a small halftone-dot corner nodding to the studio's real
   comic/collectibles-lined interior (see README) without reproducing
   any actual comic art. */
.card-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--lavender-soft);
  position: relative;
  border: 1px solid rgba(51, 32, 58, 0.08);
}
.card-frame::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background-color: rgba(255, 253, 250, 0.55);
  background-image: radial-gradient(circle, var(--plum-deep) 1.4px, transparent 1.6px);
  background-size: 8px 8px;
  pointer-events: none;
}
.card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__figure, .about__figure { margin: 0; }
.hero__figure figcaption, .about__figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-align: center;
}
/* the rating starburst overlaps the bottom-left of the hero photo — keep
   the caption clear by right-aligning it and giving it a matching top
   offset, instead of fighting the star's irregular shape with margin alone */
.hero__figure figcaption { margin-top: -1.6rem; text-align: right; max-width: 62%; margin-left: auto; }
@media (max-width: 560px) {
  .hero__figure figcaption { margin-top: 1.6rem; text-align: center; max-width: none; }
}

.hero__photo .card-frame {
  aspect-ratio: 4 / 5;
  max-height: 560px;
  margin-inline: auto;
}

/* rating starburst badge — an original 8-point sunburst outline (a
   generic, non-comic-specific device) nodding to the studio's real
   pop-culture-collectibles interior, carrying the real verified rating */
.rating-burst {
  position: absolute;
  bottom: -1.4rem;
  left: -1.2rem;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  text-align: center;
}
.rating-burst__spark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--amber);
  filter: drop-shadow(0 10px 20px rgba(201, 138, 58, 0.4));
}
.rating-burst__score {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--plum-deep);
  line-height: 1;
  margin-top: -0.6rem;
}
.rating-burst__label {
  position: relative;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--plum-deep);
  line-height: 1.15;
}

/* ---------- verified highlights strip ---------- */
.highlights {
  background: var(--charcoal);
  background-image: radial-gradient(circle, rgba(233, 196, 141, 0.12) 1px, transparent 1.4px);
  background-size: 16px 16px;
  padding: 2.6rem 0;
}

.highlights__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 1.1rem;
  text-align: center;
}

.highlights__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 0.9rem;
}

.highlight-chip {
  font-size: 0.88rem;
  font-weight: 400;
  color: #f2ecf7;
  background: var(--charcoal-soft);
  border: 1px solid rgba(233, 196, 141, 0.3);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}

/* ---------- services (card grid, no numbering — this isn't a sequence) ---------- */
.services { background: var(--white); }

.services .section__title { max-width: 30ch; }

.services__grid {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-card {
  padding: 1.7rem 1.6rem;
  border: 1px solid #eee6f2;
  border-radius: 18px;
  background: var(--lilac);
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 22px;
  height: 22px;
  background-image: radial-gradient(circle, var(--lavender) 1.5px, transparent 1.7px);
  background-size: 7px 7px;
  opacity: 0.7;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--plum-deep);
  line-height: 1.2;
  padding-right: 1.6rem;
}

.service-card__text {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.services__note {
  margin-top: 2.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 72ch;
}

/* ---------- find us & hours ---------- */
.about { background: var(--lilac); }

.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.about__photo .card-frame {
  aspect-ratio: 4 / 5;
  max-height: 560px;
}

.about__blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.1rem;
}

.about__block {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 14px 34px -26px rgba(51, 32, 58, 0.4);
  border: 1px solid #eee6f2;
}

.about__heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 0.55rem;
}

.about__text { font-size: 0.98rem; margin-bottom: 0.5rem; }
.about__text--big { font-size: 1.12rem; font-weight: 500; color: var(--plum-deep); }
.about__text--muted { color: var(--ink-soft); font-size: 0.86rem; margin-top: 0.7rem; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.32rem 0;
  border-bottom: 1px solid #f0e9f4;
}
.hours-table th {
  font-weight: 500;
  color: var(--plum);
  width: 3.4rem;
}
.hours-table td { color: var(--ink); }
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: none; }

.about__note {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- reviews ---------- */
.reviews { background: var(--white); }

.reviews__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.reviews__score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 7vw, 5.6rem);
  line-height: 1;
  color: var(--plum);
}

.reviews__score-label {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.reviews__source {
  margin: 0.9rem 0 1.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.reviews__placeholder {
  background: var(--lilac);
  border-radius: 24px;
  padding: 2.6rem 2.8rem;
}

.reviews__coming {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--plum);
}

/* ---------- contact CTA ---------- */
.contact {
  background:
    radial-gradient(900px 380px at 12% 0%, rgba(207, 198, 226, 0.45), transparent 60%),
    var(--ivory);
  text-align: center;
}

.contact__inner { max-width: 640px; }

.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--plum-deep);
}

.contact__text {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.contact__directions { margin-top: 1.5rem; font-size: 0.92rem; }

/* ---------- footer ---------- */
.footer {
  background: var(--plum-deep);
  color: #cfc4d6;
  padding: 2.2rem 0;
  font-size: 0.86rem;
}

.footer__inner { display: flex; flex-direction: column; gap: 0.4rem; }

.footer a { color: #e9e2f0; }
.footer a:hover { color: #fff; text-decoration: none; }

.footer__credit { font-size: 0.78rem; color: #a597ad; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero__grid,
  .about__grid,
  .reviews__inner { grid-template-columns: 1fr; gap: 2.2rem; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }

  .hero { padding: 3rem 0 3.6rem; }
  .section { padding: 3.6rem 0; }

  .nav { gap: 0.9rem; }
  .nav__link { font-size: 0.82rem; }
  .nav__link--cta { padding: 0.45rem 0.85rem; }

  .about__blocks { grid-template-columns: 1fr; }
  .hero__photo .card-frame { max-height: 420px; }
  .rating-burst { width: 104px; height: 104px; left: -0.8rem; bottom: -1rem; }
  .rating-burst__score { font-size: 1.55rem; }
}

@media (max-width: 560px) {
  .header__inner { flex-direction: column; gap: 0.6rem; padding: 0.9rem 0; }
  .services__grid { grid-template-columns: 1fr; }
  .ribbon__inner { flex-direction: column; gap: 0.1rem; padding: 0.55rem 0; text-align: center; }
  .rating-burst { position: relative; left: auto; bottom: auto; margin: 1.2rem auto 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
