/* ============================================================
   My Salon Suite · Homepage concept demo
   Derived from the approved concept build snapshot in
   docs/sources/2026-08-11-demo-comps/homepage-build/.

   Token system: every color and font on the page comes from here.
   Palette values are the concept-comp values, which run slightly
   warmer and more saturated than the client's live theme tokens
   (Sleek Black #080001, Cool Seafoam #78cdd1, Golden Saffron
   #f9e3b2, Spicy Lava #f15a29). Reconcile against the official
   brand tokens before production.
   ============================================================ */

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #080808;
  --ink: #13110f;
  --ink-raised: #171411;
  --teal: #62d4d5;
  --teal-deep: #088e94;
  --orange: #f04418;
  --cream: #f4dca6;
  --line: #594a3c;
  --white: #fffaf0;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --rail: 58px;
  --gutter: 6vw;
  --container: 1280px;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.45;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; width: 100%; height: auto; object-fit: cover; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin: 0.8rem 0 1.4rem;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 99;
  background: var(--white);
  color: var(--black);
  padding: 0.75rem 1rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--teal);
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  background: #050505;
  color: var(--white);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-teal { background: var(--teal); color: #000; }
.button-cream { background: var(--cream); color: #000; }

.pin {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 0.4rem;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  vertical-align: -1px;
}

/* ---------- Brand rails ---------- */

.brand-rails {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  z-index: 12;
  display: flex;
  pointer-events: none;
}
.brand-rails i { flex: 1; }
.brand-rails i:nth-child(1) { background: var(--teal); }
.brand-rails i:nth-child(2) { background: var(--orange); }
.brand-rails i:nth-child(3) { background: var(--cream); }

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 4vw 0 calc(var(--rail) + 4vw);
  background: linear-gradient(rgba(0, 0, 0, 0.72), transparent);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--cream);
}
.logo-mark { font: 700 2.2rem/1 var(--serif); letter-spacing: -0.15em; }
.logo-name { font: 700 0.9rem/0.75 var(--serif); }

.desktop-nav { display: flex; gap: 2.5rem; font-size: 0.86rem; }
.desktop-nav a, .header-actions a { opacity: 0.9; }
.desktop-nav a:hover, .header-actions a:hover { color: var(--teal); opacity: 1; }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.86rem;
}
.menu {
  border: 0;
  background: none;
  color: var(--teal);
  padding: 0.25rem;
  cursor: pointer;
}
.menu span, .menu span::before, .menu span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}
.menu span { position: relative; }
.menu span::before, .menu span::after { content: ""; position: absolute; }
.menu span::before { top: -7px; }
.menu span::after { top: 7px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  padding: 100px 8vw 80px calc(var(--rail) + 8vw);
  background-image:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.82) 35%, rgba(5, 5, 5, 0.08) 70%),
    url("assets/hero-salon.jpg");
  background-size: cover;
  background-position: center;
}
/* The headline breaks only at its three <br> tags. "Your next chapter." is the
   longest line and needs about 7.75x the font size in width, so the copy block
   is wide enough to hold it at the largest heading size. */
.hero-copy { position: relative; max-width: 680px; }
.hero h1 { font-size: clamp(2.65rem, 5vw, 5.25rem); white-space: nowrap; }
.hero-lede { max-width: 450px; font-size: 1.12rem; margin: 0; }

/* ---------- Journey selector ---------- */

.journey-wrap {
  position: relative;
  z-index: 4;
  margin-top: -68px;
  padding: 0 var(--gutter) 0 calc(var(--rail) + var(--gutter));
}
.journey-grid {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.journey {
  position: relative;
  min-height: 210px;
  padding: 1.6rem;
  display: grid;
  justify-items: center;
  align-items: center;
  text-align: center;
  color: #090909;
}
.journey-pro { background: var(--teal); }
.journey-client { background: var(--orange); color: #fff; }
.journey-owner { background: var(--cream); }

.journey-icon {
  width: 55px;
  height: 55px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.journey-icon svg { width: 26px; height: 26px; }

.journey-label strong { display: block; font-size: 1.1rem; }
.journey-label span { display: block; }

.journey-cta {
  min-width: 75%;
  padding: 0.8rem 1.25rem;
  background: #050505;
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.journey-cta:hover { transform: translateY(-2px); }

/* ---------- Location finder ---------- */

.section-pad {
  padding:
    6rem
    max(var(--gutter), calc((100vw - var(--container)) / 2))
    6rem
    max(calc(var(--rail) + var(--gutter)), calc((100vw - var(--container)) / 2));
}

.locator {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6rem;
  align-items: center;
}
.locator h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.locator-copy p:last-child { margin-bottom: 0; }

.location-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
}
.location-input { position: relative; }
.location-input input {
  width: 100%;
  padding: 1rem 2.6rem 1rem 1rem;
  border: 0;
  color: var(--ink);
  background: var(--white);
}
.location-input .pin-teal {
  position: absolute;
  right: 1rem;
  top: 50%;
  margin: 0;
  color: var(--teal-deep);
  transform: translateY(-60%) rotate(-45deg);
}
.location-submit {
  border: 0;
  padding: 0 1.5rem;
  background: var(--teal);
  color: #000;
  font-weight: 700;
  cursor: pointer;
}
.location-result {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--ink);
}
.location-result > div { display: flex; flex-direction: column; }
.location-result strong { font-size: 1.25rem; }
.location-result span { opacity: 0.75; }
.location-result a { color: var(--teal); margin-top: 0.5rem; }
.mini-building {
  width: 160px;
  flex: none;
  background: url("assets/franchise-exterior.jpg") left center / cover;
}

/* ---------- Stats ---------- */

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 2rem 8vw 2rem calc(var(--rail) + 8vw);
  border-block: 1px solid var(--line);
  background: var(--ink-raised);
}
.stats p {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--line);
}
.stats p:last-child { border-right: 0; }
.stats strong { font: 700 2.6rem var(--serif); color: var(--teal); }

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.split > img { height: 100%; min-height: 500px; }
.split-professional img { order: 2; }
.split-copy {
  padding: 5rem var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.split-copy > p:not(.eyebrow) { margin-top: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1rem 0 1.6rem; }
.chips button {
  border: 1px solid var(--teal);
  border-radius: 99px;
  padding: 0.35rem 0.85rem;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.chips button:hover { background: var(--teal); color: #000; }

.benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.benefits li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.7rem;
  border-top: 2px solid var(--teal);
  font-size: 0.88rem;
}
.benefit-icon { color: var(--teal); }
.benefit-icon svg { width: 22px; height: 22px; }

/* ---------- Member stories ---------- */

.stories { position: relative; text-align: center; }
.stories h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: left;
}
.story-grid blockquote {
  margin: 0;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--ink);
  font: 1.15rem var(--serif);
  display: flex;
  flex-direction: column;
}
.story-grid blockquote p { margin: 0; }
.story-grid cite {
  display: block;
  margin-top: auto;
  padding-top: 1.5rem;
  font: 500 0.8rem var(--sans);
  color: var(--teal);
  font-style: normal;
}
.story-dots { display: none; }
.stories-link { margin: 2rem 0 0; }
.stories-link a { color: var(--teal); font-weight: 500; }

/* ---------- Franchise ---------- */

.franchise {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}
.franchise img { height: 440px; }
.franchise-copy {
  padding: 4rem var(--gutter);
  background: var(--ink-raised);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.franchise h2 { font-size: clamp(2rem, 2.9vw, 3.3rem); }
.franchise-copy p:not(.eyebrow) { margin-top: 0; }
.franchise-rails {
  position: absolute;
  inset: 0 0 0 auto;
  width: 42px;
  display: flex;
}
.franchise-rails i { flex: 1; }
.franchise-rails i:nth-child(1) { background: var(--teal); }
.franchise-rails i:nth-child(2) { background: var(--orange); }
.franchise-rails i:nth-child(3) { background: var(--cream); }

/* ---------- Closing journey bar ---------- */

.closing-journeys {
  padding: 2.5rem 8vw 3rem calc(var(--rail) + 8vw);
  text-align: center;
  background: var(--black);
}
.closing-journeys h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0 0 1.5rem;
}
.closing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
}
.closing-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: #090909;
  text-align: left;
  transition: transform 0.2s ease;
}
.closing-card:hover { transform: translateY(-2px); }
.closing-card .journey-icon { width: 42px; height: 42px; flex: none; }
.closing-card .journey-icon svg { width: 20px; height: 20px; }
.closing-label strong { display: block; font-size: 0.98rem; }
.closing-label > span { display: block; font-size: 0.85rem; }
.closing-pro { background: var(--teal); }
.closing-client { background: var(--orange); color: #fff; }
.closing-owner { background: var(--cream); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem 5vw 2.4rem calc(var(--rail) + 5vw);
}
.site-footer .logo { color: var(--ink); }
.footer-tagline {
  margin: 0;
  padding-left: 2rem;
  border-left: 1px solid rgba(89, 74, 60, 0.35);
  font: 700 1rem/1.25 var(--serif);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.8rem;
}
.footer-nav a:hover { color: var(--teal-deep); }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-legal {
  display: flex;
  gap: 1.5rem;
  padding: 0.9rem 5vw 0.9rem calc(var(--rail) + 5vw);
  border-top: 1px solid rgba(89, 74, 60, 0.25);
  font-size: 0.72rem;
}
.footer-legal p { margin: 0; }
.footer-legal nav { display: flex; gap: 1.5rem; margin-left: auto; }

.footer-demo-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 5vw 0.9rem calc(var(--rail) + 5vw);
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
}
.footer-demo-bar p { margin: 0; opacity: 0.8; }
.footer-demo-bar a {
  margin-left: auto;
  flex: none;
  color: var(--teal);
  font-weight: 700;
}

/* ---------- Mobile action bar ---------- */

.mobile-bar { display: none; }

/* ---------- Annotation triggers ---------- */

.module-note {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 6;
}
/* Align section-level notes with the content column, not the viewport edge. */
.section-pad .module-note {
  top: 2.2rem;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.stats .module-note { top: 50%; right: 8vw; transform: translateY(-50%); }

.hero-note { margin-top: 1.6rem; }

.journey-note {
  display: flex;
  justify-content: center;
  padding-top: 1.4rem;
}

.note-trigger {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.72);
  color: var(--teal);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.note-trigger:hover,
.note-trigger[aria-expanded="true"] {
  background: var(--teal);
  color: #050505;
  transform: scale(1.08);
}

.card-note {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 6;
  width: 26px;
  height: 26px;
  border-color: currentColor;
  background: transparent;
  color: inherit;
  font-size: 0.82rem;
}
.journey-pro .card-note:hover, .journey-owner .card-note:hover { background: #050505; color: var(--white); }
.journey-client .card-note:hover { background: #fff; color: var(--orange); }

/* ---------- Annotation dialog ---------- */

.note-dialog {
  width: min(560px, calc(100vw - 2rem));
  padding: 2.6rem 2.2rem 1.4rem;
  border: 1px solid rgba(98, 212, 213, 0.35);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  overflow: visible;
}
.note-dialog::backdrop {
  background: rgba(5, 5, 5, 0.74);
  backdrop-filter: blur(3px);
}
.note-dialog[open] { animation: note-in 0.22s ease-out; }

@keyframes note-in {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.note-rails {
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  display: flex;
}
.note-rails i { flex: 1; }
.note-rails i:nth-child(1) { background: var(--teal); }
.note-rails i:nth-child(2) { background: var(--orange); }
.note-rails i:nth-child(3) { background: var(--cream); }

.note-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.note-close:hover { background: rgba(255, 250, 240, 0.12); }

.note-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
}

.note-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin: 0.7rem 0 0.9rem;
}
.note-number {
  font: 700 2.4rem/1 var(--serif);
  color: var(--teal);
  flex: none;
}
.note-head h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.05;
}

.note-body {
  margin: 0 0 1.6rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 250, 240, 0.86);
}

.note-foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.note-nav {
  border: 0;
  background: none;
  padding: 0.4rem 0;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.note-nav:last-child { margin-left: auto; }
.note-nav:hover { color: var(--cream); }
.note-count {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.55);
}

/* ---------- Mobile ---------- */

@media (max-width: 820px) {
  :root { --rail: 22px; --gutter: 1.2rem; }

  .site-header { height: 72px; padding: 0 1rem 0 calc(var(--rail) + 1rem); }
  .desktop-nav { display: none; }
  .header-actions > a { font-size: 0; }
  .header-actions > a .pin { width: 15px; height: 15px; margin: 0; color: var(--teal); }

  .hero {
    min-height: 460px;
    align-items: flex-end;
    padding: 85px var(--gutter) 2rem calc(var(--rail) + var(--gutter));
    background-position: 64% center;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), #000 85%);
  }
  .hero .eyebrow { display: none; }
  /* Hold the longest line inside the viewport rather than letting it wrap. */
  .hero h1 { font-size: min(2.85rem, calc((100vw - 62px) / 8)); }
  .hero-lede { font-size: 0.95rem; max-width: 340px; }

  .journey-wrap { margin: 0; padding: 0 var(--gutter) 0 calc(var(--rail) + var(--gutter)); }
  .journey-grid { display: flex; flex-direction: column; gap: 0.7rem; padding: 1rem 0; }
  .journey {
    min-height: 92px;
    padding: 0.9rem;
    gap: 0.6rem;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    justify-items: start;
    text-align: left;
  }
  .journey-icon { width: 38px; height: 38px; }
  .journey-icon svg { width: 18px; height: 18px; }
  .journey-label strong { font-size: 0.8rem; line-height: 1.2; }
  .journey-label span { font-size: 0.7rem; white-space: nowrap; }
  .journey-cta {
    min-width: 0;
    padding: 0.55rem 0.65rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }
  .card-note { display: none; }
  .journey-note { padding-top: 0.2rem; }
  .hero-note { margin-top: 1.1rem; }

  .section-pad { padding: 4rem var(--gutter) 4rem calc(var(--rail) + var(--gutter)); }

  .locator { grid-template-columns: 1fr; gap: 1.5rem; }
  .location-form { grid-template-columns: 1fr; }
  .location-submit { padding: 1rem; }
  .location-result { grid-column: auto; }
  .mini-building { width: 110px; }

  .stats { padding: 1.5rem 1rem 1.5rem calc(var(--rail) + 1rem); gap: 0.5rem; }
  .stats strong { font-size: 1.55rem; }
  .stats span { text-align: center; font-size: 0.7rem; }
  .stats .module-note { top: 0.5rem; right: 0.5rem; transform: none; }
  .section-pad .module-note { top: 3.6rem; right: var(--gutter); }

  .split { grid-template-columns: 1fr; }
  .split > img { height: 320px; min-height: 320px; }
  .split-professional img { order: 0; }
  .split-copy { padding: 3.5rem var(--gutter) 3.5rem calc(var(--rail) + var(--gutter)); }
  .split h2 { font-size: 2.7rem; }
  .benefits { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
  .benefits li { font-size: 0.7rem; }

  .story-grid {
    grid-template-columns: repeat(3, 78%);
    gap: 0.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .story-grid::-webkit-scrollbar { display: none; }
  .story-grid blockquote { scroll-snap-align: start; padding: 1.25rem; font-size: 0.95rem; }
  .story-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 1rem; }
  .story-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 250, 240, 0.3);
  }
  .story-dots i:first-child { background: var(--teal); }

  .franchise { grid-template-columns: 1fr; }
  .franchise img { height: 280px; }
  .franchise-copy { padding: 3rem var(--gutter) 3rem calc(var(--rail) + var(--gutter)); }
  .franchise-rails { width: 26px; }

  .closing-journeys { display: none; }

  .footer-top {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 2rem 1rem 1.5rem calc(var(--rail) + 1rem);
  }
  .footer-nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
  .footer-social { margin-left: auto; }
  .footer-legal { flex-wrap: wrap; gap: 0.5rem; padding: 0.9rem 1rem 0.9rem calc(var(--rail) + 1rem); }
  .footer-legal nav { margin-left: 0; gap: 1rem; }
  .footer-demo-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1rem 5.5rem calc(var(--rail) + 1rem);
  }
  .footer-demo-bar a { margin-left: 0; }

  .mobile-bar {
    position: fixed;
    z-index: 20;
    inset: auto 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(0, 0, 0, 0.35);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #090909;
  }
  .mobile-bar .journey-icon { width: 26px; height: 26px; }
  .mobile-bar .journey-icon svg { width: 14px; height: 14px; }
  .bar-pro { background: var(--teal); }
  .bar-client { background: var(--orange); color: #fff; }
  .bar-note {
    position: absolute;
    top: -38px;
    right: 0.6rem;
    background: rgba(8, 8, 8, 0.85);
  }

  .note-dialog { padding: 2.2rem 1.4rem 1.2rem; }
  .note-head { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .note-head h2 { font-size: 1.45rem; }
}

/* ============================================================
   Location page (location.html)
   Reuses the tokens and shared chrome above. Only the location
   page's own sections are defined here. The reviews and about
   bands run on a light surface (.section-light).
   ============================================================ */

.button-orange { background: var(--orange); color: #fff; }

.stars { color: #f5c451; letter-spacing: 1px; }
.dot-open {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #37b34a;
  vertical-align: 1px;
}

/* ---------- Location hero ---------- */

.loc-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 120px 8vw 70px calc(var(--rail) + 8vw);
  background-image:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.85) 40%, rgba(5, 5, 5, 0.15) 75%),
    url("assets/hero-salon.jpg");
  background-size: cover;
  background-position: center;
}
.loc-hero-copy { position: relative; max-width: 640px; }
.loc-hero-title {
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  letter-spacing: -0.02em;
}
.loc-hero-brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.loc-hero-place {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--teal);
  line-height: 0.95;
}
.loc-hero-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--white);
}
.loc-hero-meta li { display: flex; align-items: center; }
.loc-hero-meta .pin { color: var(--teal); }
.loc-hero-meta .stars { margin-right: 0.45rem; }
.loc-hero-reviews { opacity: 0.7; margin-left: 0.35rem; }
.loc-hero-lede { max-width: 440px; font-size: 1.1rem; margin: 0; color: var(--white); }

/* ---------- Dual CTA band ---------- */

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cta-card {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 2.2rem var(--gutter);
  color: #090909;
}
.cta-card:first-of-type { padding-left: calc(var(--rail) + var(--gutter)); }
.cta-lease { background: var(--teal); }
.cta-book { background: var(--orange); color: #fff; }
.cta-icon {
  width: 58px;
  height: 58px;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cta-icon svg { width: 27px; height: 27px; }
.cta-text { flex: 1; }
.cta-text h2 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.cta-text p { margin: 0; font-size: 0.95rem; }
.cta-button { background: #050505; color: #fff; flex: none; }

/* ---------- Explore ---------- */

.explore {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.6rem;
  min-height: 440px;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-lead { grid-row: 1 / 4; }
.explore-copy h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.explore-copy > p:not(.eyebrow) { margin-top: 0; max-width: 46ch; }
.explore-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  margin-top: 1.8rem;
}
.explore-lists h3 {
  margin: 0 0 0.8rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--teal);
}
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  color: rgba(255, 250, 240, 0.88);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  background:
    linear-gradient(45deg, transparent 45%, var(--teal) 45%, var(--teal) 55%, transparent 55%) 4px 6px / 6px 4px no-repeat,
    linear-gradient(-45deg, transparent 45%, var(--teal) 45%, var(--teal) 55%, transparent 55%) 7px 6px / 5px 5px no-repeat;
}

/* ---------- Map ---------- */

.map-section {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 470px;
  background: var(--ink);
}
.map-figure { position: relative; margin: 0; overflow: hidden; }
.map-svg { width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -100%);
  background: #0d0d0d;
  border-radius: 50% 50% 50% 0;
  transform-origin: bottom;
  rotate: -45deg;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}
.map-pin-mark {
  rotate: 45deg;
  font: 700 1.25rem/1 var(--serif);
  letter-spacing: -0.1em;
  color: var(--cream);
}
.map-card {
  padding: 2.6rem var(--gutter) 2.6rem 2.6rem;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: center;
}
.map-card h2 { margin: 0; font-size: 1.7rem; }
.map-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; font-size: 0.9rem; }
.map-facts li { display: flex; align-items: flex-start; gap: 0.7rem; }
.map-facts a { color: var(--teal); }
.map-ico { flex: none; width: 18px; color: var(--teal); display: inline-flex; }
.map-ico svg { width: 18px; height: 18px; }
.map-ico.pin { color: var(--teal); margin-top: 2px; }
.map-block h3 {
  margin: 0 0 0.5rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--teal);
}
.map-block p { margin: 0; font-size: 0.88rem; color: rgba(255, 250, 240, 0.8); }
.hours { margin: 0; display: grid; gap: 0.3rem; font-size: 0.88rem; }
.hours div { display: flex; justify-content: space-between; gap: 1.5rem; max-width: 320px; }
.hours dt { color: rgba(255, 250, 240, 0.7); margin: 0; }
.hours dd { margin: 0; }
.map-directions { margin-top: 0.4rem; }

/* ---------- Find your professional ---------- */

.pros { position: relative; }
.pros h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.pro-search {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 1.4rem 0 2rem;
}
.pro-search-field { position: relative; flex: 1 1 260px; min-width: 220px; }
.pro-search-field input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.7rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.pro-search-ico {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--teal-deep);
}
.pro-search-ico svg { width: 18px; height: 18px; }
.pro-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  border: 1px solid var(--teal);
  border-radius: 99px;
  padding: 0.4rem 0.9rem;
  background: transparent;
  color: var(--white);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.chip:hover { background: var(--teal); color: #000; }
.chip.is-active { background: var(--teal); color: #000; }
.chip-more { border-color: var(--line); color: rgba(255, 250, 240, 0.75); }
.chip-more:hover { background: var(--ink-raised); color: var(--white); }

.rail-wrap { position: relative; }
.pro-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.pro-rail::-webkit-scrollbar { display: none; }
.pro-card {
  position: relative;
  flex: 0 0 clamp(200px, 19%, 240px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  border: 1px solid var(--line);
}
.pro-photo { position: relative; aspect-ratio: 1 / 1; }
.pro-photo img { width: 100%; height: 100%; object-fit: cover; }
.pro-fav {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.6);
  color: var(--white);
  cursor: pointer;
}
.pro-fav svg { width: 17px; height: 17px; }
.pro-fav:hover { color: var(--orange); }
.pro-body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.pro-body h3 { margin: 0; font-family: var(--sans); font-size: 1rem; color: var(--white); }
.pro-role { margin: 0.15rem 0 0.5rem; font-size: 0.8rem; color: rgba(255, 250, 240, 0.65); }
.pro-rating { margin: 0 0 0.9rem; font-size: 0.85rem; color: var(--white); }
.pro-rating .stars { font-size: 0.95rem; }
.pro-count { color: rgba(255, 250, 240, 0.6); }
.pro-book, .pro-profile {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  padding: 0.6rem;
  font-size: 0.82rem;
}
.pro-profile { background: #050505; color: #fff; border: 1px solid var(--line); }
.pro-profile:hover { border-color: var(--teal); }

.rail-nav {
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: #050505;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  z-index: 3;
}
.rail-nav:hover { filter: brightness(1.05); }
.rail-prev { right: auto; left: -6px; }

/* ---------- Light bands (reviews, about) ---------- */

.section-light { background: var(--white); color: var(--ink); }
.section-light h2 { color: var(--ink); }
.section-light .eyebrow { color: var(--teal-deep); }

.reviews { position: relative; }
.reviews h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.review-rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.review-rail::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 clamp(260px, 31%, 360px);
  scroll-snap-align: start;
  margin: 0;
  padding: 1.6rem;
  background: #fffdf8;
  border: 1px solid rgba(89, 74, 60, 0.18);
  display: flex;
  flex-direction: column;
}
.review-card .stars { font-size: 0.95rem; }
.review-card p {
  flex: 1;
  margin: 0.7rem 0 1.2rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
}
.review-card cite { font-style: normal; font-weight: 600; font-size: 0.82rem; color: var(--teal-deep); }
.review-dots { display: none; }

.about { position: relative; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: start; }
.about-copy h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.about-copy > p:not(.eyebrow) { margin-top: 0; color: rgba(19, 17, 15, 0.82); }
.about-image { margin-top: 1.5rem; height: 220px; object-fit: cover; width: 100%; }
.faq { padding-top: 0.4rem; }
.faq details { border-bottom: 1px solid rgba(89, 74, 60, 0.25); padding: 0.95rem 0; }
.faq details:first-of-type { border-top: 1px solid rgba(89, 74, 60, 0.25); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-deep); font-size: 1.35rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0.7rem 0 0; font-size: 0.92rem; color: rgba(19, 17, 15, 0.78); }

/* ---------- Final CTA ---------- */

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem 8vw 2.2rem calc(var(--rail) + 8vw);
  background: var(--ink-raised);
  border-top: 1px solid var(--line);
}
.final-cta h2 { margin: 0; color: var(--cream); font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.final-cta-actions { display: flex; gap: 1rem; flex: none; }

/* ---------- Location page mobile ---------- */

@media (max-width: 820px) {
  .loc-hero {
    min-height: 480px;
    align-items: flex-end;
    padding: 90px var(--gutter) 2.2rem calc(var(--rail) + var(--gutter));
    background-position: 60% center;
  }
  .loc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), #000 92%);
  }
  .loc-hero-copy { position: relative; }
  .loc-hero-lede { font-size: 0.95rem; }

  .cta-band { grid-template-columns: 1fr; }
  .cta-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "icon text" "btn btn";
    align-items: center;
    gap: 0.9rem 1rem;
    padding: 1.5rem var(--gutter) 1.5rem calc(var(--rail) + var(--gutter));
  }
  .cta-card:first-of-type { padding-left: calc(var(--rail) + var(--gutter)); }
  .cta-icon { grid-area: icon; }
  .cta-text { grid-area: text; min-width: 0; }
  .cta-text h2 { font-size: 1.3rem; }
  .cta-button { grid-area: btn; width: 100%; justify-content: center; }

  .explore { grid-template-columns: 1fr; gap: 2rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 150px; min-height: 0; }
  .gallery-lead { grid-column: 1 / -1; grid-row: auto; height: 220px; }
  .explore-lists { grid-template-columns: 1fr; gap: 1.4rem; }

  .map-section { grid-template-columns: 1fr; min-height: 0; }
  .map-figure { height: 260px; }
  .map-card { padding: 2.2rem var(--gutter) 2.2rem calc(var(--rail) + var(--gutter)); }

  .pro-search { margin: 1.2rem 0 1.4rem; }
  .pro-card { flex-basis: 70%; }
  .rail-nav { display: none; }

  .review-card { flex-basis: 82%; }
  .review-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
  }
  .review-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(89, 74, 60, 0.3);
  }
  .review-dots i:first-child { background: var(--teal-deep); }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { height: 200px; }

  .final-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 2rem var(--gutter) 6rem calc(var(--rail) + var(--gutter));
  }
  .final-cta-actions { width: 100%; }
  .final-cta-actions .button { flex: 1; justify-content: center; }
}

/* ============================================================
   Professional finder (professionals.html) and
   Professional profile (profile.html)
   Reuse the shared tokens and chrome above. Both pages keep the
   demo's square-edged, dark-first aesthetic. The finder body and
   the profile content panels sit on the light surface to match
   the comps, while photos and pro cards stay dark.
   ============================================================ */

/* ---------- Professional finder hero ---------- */

.pf-hero {
  position: relative;
  padding: 120px 8vw 3rem calc(var(--rail) + 8vw);
  background: var(--ink-raised);
  border-bottom: 1px solid var(--line);
}
.pf-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  color: var(--cream);
}
.pf-hero-accent { font-style: italic; color: var(--orange); }
.pf-hero-sub {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 250, 240, 0.7);
}

/* ---------- Finder body (light surface) ---------- */

.pf { position: relative; }
.pf .eyebrow { color: var(--teal-deep); }
.pf-step { position: relative; }
.pf-step + .pf-step { margin-top: 2.6rem; }
.pf-step-badge {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.75rem;
  background: var(--teal);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pf-step > h2 {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pf-step > h2 em { font-style: italic; color: var(--teal-deep); }

/* inline note trigger appended to a module heading */
.pf-note {
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  margin-left: 0.55rem;
  width: 26px;
  height: 26px;
  font-size: 0.82rem;
  translate: 0 -2px;
}

/* location search row */
.pf-locate {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: stretch;
}
.pf-locate-field { position: relative; flex: 1 1 340px; min-width: 220px; }
.pf-locate-field input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.7rem;
  border: 1px solid rgba(89, 74, 60, 0.3);
  background: #fff;
  color: var(--ink);
}
.pf-locate-ico {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--teal-deep);
}
.pf-locate-ico svg { width: 18px; height: 18px; }
.pf-locate-submit {
  border: 0;
  padding: 0 1.2rem;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.pf-locate-submit svg { width: 19px; height: 19px; }
.pf-use-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(89, 74, 60, 0.3);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}
.pf-use-loc svg { width: 16px; height: 16px; color: var(--teal-deep); }

/* selected location card */
.pf-selected {
  position: relative;
  display: flex;
  gap: 1.4rem;
  margin-top: 1.2rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(89, 74, 60, 0.25);
}
.pf-selected-thumb {
  flex: none;
  width: 190px;
  align-self: stretch;
  min-height: 130px;
  background: url("assets/franchise-exterior.jpg") center / cover;
}
.pf-selected-body { display: flex; flex-direction: column; }
.pf-selected-body .pf-selected-eyebrow {
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.pf-selected-name {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pf-selected-addr { margin: 0; font-size: 0.9rem; color: rgba(19, 17, 15, 0.72); }
.pf-selected-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.3rem;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--ink);
}
.pf-selected-meta .teal { color: var(--teal-deep); font-weight: 600; }
.pf-selected-meta .dot-open { vertical-align: 0; }
.pf-selected-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.4rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}
.pf-selected-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal-deep);
  font-weight: 600;
}
.pf-selected-actions a:hover { color: var(--orange); }
.pf-selected-actions svg { width: 15px; height: 15px; }
.pf-change { display: inline-flex; align-items: center; }

/* service search and filters */
.pf-service { position: relative; }
.pf-service-field {
  position: relative;
  max-width: 640px;
  margin-bottom: 1.1rem;
}
.pf-service-field input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.7rem;
  border: 1px solid rgba(89, 74, 60, 0.3);
  background: #fff;
  color: var(--ink);
}
.pf-service-ico {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--teal-deep);
}
.pf-service-ico svg { width: 18px; height: 18px; }
.pf-filters-row { position: relative; }
.pf .pro-filters { margin-bottom: 1.1rem; }
.pf .chip { color: var(--ink); }
.pf .chip:hover, .pf .chip.is-active { color: #000; }
.pf .chip-more { color: rgba(19, 17, 15, 0.7); border-color: rgba(89, 74, 60, 0.4); }
.pf .chip-more:hover { background: var(--ink-raised); color: var(--white); }
.pf-selects { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.pf-field { display: flex; flex-direction: column; gap: 0.35rem; }
.pf-field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(19, 17, 15, 0.6);
}
.pf-field select {
  min-width: 200px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(89, 74, 60, 0.3);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

/* results grid */
.pf-results { position: relative; margin-top: 2.8rem; }
.pf-results-head {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pf-grid .pro-card { flex: initial; }
.pro-photo-link { display: block; }
.pro-avail { margin: 0 0 0.9rem; font-size: 0.8rem; color: rgba(255, 250, 240, 0.72); }
.pro-avail strong { color: var(--teal); font-weight: 600; }
.pro-unavail { margin: 0 0 0.9rem; font-size: 0.8rem; color: rgba(255, 250, 240, 0.5); }
.pro-actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.pro-actions .button {
  margin-top: 0;
  width: 100%;
  justify-content: center;
  padding: 0.6rem;
  font-size: 0.82rem;
}
.pro-contact { background: #050505; color: #fff; border: 1px solid var(--line); }
.pro-contact:hover { border-color: var(--teal); }
.pf-loadmore { display: flex; justify-content: center; margin-top: 1.8rem; }
.pf-loadmore button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(89, 74, 60, 0.35);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}
.pf-loadmore svg { width: 14px; height: 14px; }
.pf-hidden { display: none; }

/* ============================================================
   Professional profile (profile.html)
   Dark page with light content panels.
   ============================================================ */

.pp {
  position: relative;
  padding: 110px 8vw 0 calc(var(--rail) + 8vw);
}
.pp [id], .pp.section-anchor { scroll-margin-top: 110px; }
.pp-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  color: rgba(255, 250, 240, 0.75);
  font-size: 0.85rem;
  font-weight: 600;
}
.pp-back:hover { color: var(--teal); }

.pp-header {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr minmax(160px, 220px);
  gap: 2rem;
  align-items: start;
}
.pp-photo { position: relative; aspect-ratio: 4 / 5; }
.pp-photo img { width: 100%; height: 100%; object-fit: cover; }

.pp-main { min-width: 0; }
.pp-main h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  color: var(--cream);
}
.pp-role {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: var(--teal);
}
.pp-based { margin: 0 0 1.1rem; font-size: 0.9rem; color: rgba(255, 250, 240, 0.7); }
.pp-bio { max-width: 46ch; margin: 0 0 1.2rem; color: rgba(255, 250, 240, 0.86); }
.pp-creds { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 0.55rem; }
.pp-creds li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; }
.pp-creds .pp-cred-ico { flex: none; width: 20px; height: 20px; color: var(--teal); }
.pp-creds svg { width: 20px; height: 20px; }
.pp-actions { display: flex; align-items: center; gap: 0.7rem; }
.pp-actions .button-orange { padding: 0.85rem 1.6rem; }
.pp-save {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.pp-save:hover { border-color: var(--teal); color: var(--orange); }
.pp-save svg { width: 20px; height: 20px; }

.pp-portfolio { display: grid; gap: 0.7rem; }
.pp-portfolio-thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.pp-portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-portfolio .button {
  width: 100%;
  justify-content: center;
  padding: 0.55rem;
  font-size: 0.8rem;
  background: #050505;
  border: 1px solid var(--line);
}
.pp-portfolio .button:hover { border-color: var(--teal); }

.pp-tabs {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 1.8rem;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.pp-tabs::-webkit-scrollbar { display: none; }
.pp-tab {
  padding: 0.9rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 250, 240, 0.7);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.pp-tab:hover { color: var(--white); }
.pp-tab.is-active { color: var(--teal); border-bottom-color: var(--teal); }
.pp-tabs .pf-note { margin-left: auto; }

.pp-panel {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(89, 74, 60, 0.18);
  padding: 1.8rem;
  margin-top: 1.6rem;
}
.pp-panel h2, .pp-panel h3 { color: var(--ink); }

.pp-info { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 2.2rem; }
.pp-info-col + .pp-info-col { border-left: 1px solid rgba(89, 74, 60, 0.18); padding-left: 2.2rem; }
.pp-info h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.pp-info p { margin: 0 0 1rem; font-size: 0.92rem; color: rgba(19, 17, 15, 0.8); }
.pp-signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--teal-deep);
}
.pp-menu { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.65rem; }
.pp-menu li { display: grid; grid-template-columns: 1fr auto auto; gap: 0.6rem 1rem; align-items: baseline; }
.pp-menu-name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.pp-menu-price { font-size: 0.9rem; color: var(--ink); }
.pp-menu-dur { font-size: 0.82rem; color: rgba(19, 17, 15, 0.55); min-width: 3.5rem; text-align: right; }
.pp-avail { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.7rem; }
.pp-avail li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; }
.pp-avail .day { color: rgba(19, 17, 15, 0.8); }
.pp-avail .time { font-weight: 600; color: var(--ink); }
.pp-link { color: var(--teal-deep); font-weight: 600; font-size: 0.88rem; }
.pp-link:hover { color: var(--orange); }

.pp-based-panel { display: grid; grid-template-columns: 0.95fr 1fr 1.1fr; gap: 2rem; align-items: start; }
.pp-based-info h2 { margin: 0 0 0.8rem; font-family: var(--serif); font-size: 1.4rem; letter-spacing: -0.01em; }
.pp-based-info address { font-style: normal; font-size: 0.9rem; color: rgba(19, 17, 15, 0.78); line-height: 1.6; }
.pp-based-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin: 0.7rem 0 1rem; font-size: 0.85rem; }
.pp-based-meta .teal { color: var(--teal-deep); font-weight: 600; }
.pp-based-btns { display: flex; flex-direction: column; gap: 0.6rem; max-width: 260px; }
.pp-based-btns .button {
  justify-content: center;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  background: transparent;
  color: var(--teal-deep);
  border: 1px solid rgba(8, 142, 148, 0.5);
}
.pp-based-btns .button:hover { background: rgba(8, 142, 148, 0.08); }
.pp-based-img {
  aspect-ratio: 4 / 3;
  background: url("assets/hero-salon.jpg") center / cover;
}
.pp-reviews-score { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.pp-reviews-score strong { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }
.pp-reviews-score .stars { font-size: 1rem; }
.pp-reviews-score a { color: var(--teal-deep); font-weight: 600; font-size: 0.85rem; }
.pp-review { margin: 0 0 1rem; }
.pp-review p { margin: 0 0 0.3rem; font-family: var(--serif); font-size: 0.98rem; color: var(--ink); }
.pp-review cite { font-style: normal; font-size: 0.82rem; color: rgba(19, 17, 15, 0.6); }

.pp-fallback {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 2.6rem;
  padding: 1.3rem 1.6rem;
  border: 1px dashed var(--line);
  background: var(--ink);
}
.pp-fallback-who { display: flex; align-items: center; gap: 1rem; flex: 1 1 260px; }
.pp-fallback-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; }
.pp-fallback-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pp-fallback-text strong { display: block; font-size: 0.95rem; color: var(--white); }
.pp-fallback-text span { font-size: 0.82rem; color: rgba(255, 250, 240, 0.6); }
.pp-fallback-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-left: auto; }
.pp-fallback-actions .button {
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  line-height: 1.15;
}
.pp-fallback-actions .button:hover { border-color: var(--teal); }
.pp-fallback-actions .button svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
.pp-fallback-actions .button span { display: block; }
.pp-fallback-actions .button small { display: block; font-size: 0.72rem; font-weight: 400; opacity: 0.7; }

/* ---------- Professional pages mobile ---------- */

@media (max-width: 820px) {
  .pf-hero { padding: 90px var(--gutter) 2rem calc(var(--rail) + var(--gutter)); }
  .pf .card-note, .pf .pf-note-detail { display: none; }
  .pf-selected { flex-direction: column; }
  .pf-selected-thumb { width: 100%; height: 150px; min-height: 0; }
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .pf-field select { min-width: 0; }
  .pf-field { flex: 1 1 45%; }

  .pp { padding: 88px var(--gutter) 0 calc(var(--rail) + var(--gutter)); }
  .pp-header { grid-template-columns: 1fr; gap: 1.4rem; }
  .pp-photo { max-width: 320px; aspect-ratio: 1 / 1; }
  .pp-portfolio { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .pp-portfolio .button { grid-column: 1 / -1; }
  .pp-tabs .pf-note { display: none; }
  .pp-info { grid-template-columns: 1fr; gap: 1.6rem; }
  .pp-info-col + .pp-info-col { border-left: 0; padding-left: 0; border-top: 1px solid rgba(89, 74, 60, 0.18); padding-top: 1.6rem; }
  .pp-based-panel { grid-template-columns: 1fr; gap: 1.4rem; }
  .pp-based-btns { max-width: none; }
  .pp-fallback-actions { margin-left: 0; width: 100%; }
  .pp-fallback-actions .button { flex: 1; justify-content: center; }
}

/* ---------- Motion and print ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .brand-rails, .mobile-bar, .note-trigger, .note-dialog, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: 0; }
}
