/* FloState Wellness + Aesthetics — production site stylesheet.
   Brand system: light beige / sand / cream palette with warm ink type,
   Montserrat display headings, Open Sans body, pill buttons, rounded cards. */

:root {
  --cream: #EFEBE2;       /* light cream — page bg */
  --cream-deep: #E3DCCE;  /* deeper cream — alt surfaces */
  --ink: #16120D;         /* warm near-black */
  --brand: #C7B295;       /* light beige — header, title bands, panels, buttons */
  --brand-deep: #AE9572;  /* darker beige — hovers */
  --brand-text: #806A4B;  /* deep beige for text accents on light grounds */
  --accent: #DCC49C;      /* warm sand — accents on dark grounds */
  --accent-soft: #E8D8BA; /* light sand */
  --muted: #857B6B;       /* beige-gray */
  --body: #4F463A;        /* warm brown body text */
  --card: #FFFFFF;
  --gold: #E8B84B;        /* review stars */
  --radius: 20px;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4,
.h-display, .price, .pull-quote, .stat-card .big, .nav .brand strong {
  font-family: var(--font-head);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
iframe, video { max-width: 100%; }

.micro {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  padding: 17px 32px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(22, 18, 13, 0.18); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-soft); }
.btn--brand { background: var(--brand); color: var(--ink); }
.btn--brand:hover { background: var(--brand-deep); }
.btn--ghost-dark { background: transparent; color: var(--cream); border: 1.5px solid rgba(239, 235, 226, 0.45); }
.btn--ghost-dark:hover { border-color: rgba(239, 235, 226, 0.8); box-shadow: none; }
.btn--sm { padding: 12px 24px; font-size: 14px; }

/* ── Nav — translucent warm cream bar, warm ink links ── */
.nav {
  background: var(--brand);
  display: flex;
  align-items: center;
  gap: 34px;
  height: 84px;
  padding: 0 44px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav .brand {
  margin-right: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.nav .brand strong { color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.nav .brand strong em { color: var(--brand-text); font-style: normal; }
.nav .brand .micro { color: rgba(22, 18, 13, 0.55); font-size: 10px; }
.nav a.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.15s ease;
}
.nav a.nav-link:hover { opacity: 1; }
.nav a.nav-link[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--brand-text);
}

/* ── Nav: links row + Services dropdown ── */
.nav-links { display: flex; align-items: center; gap: 34px; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  z-index: 5;
  min-width: 280px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(22, 18, 13, 0.16);
  padding: 10px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.12s ease;
}
.dropdown a:hover { background: rgba(220, 196, 156, 0.25); }
.dropdown .dropdown-all {
  margin-top: 8px;
  border-top: 1px solid #ECE5D8;
  border-radius: 0 0 10px 10px;
  padding-top: 14px;
  color: var(--brand-text);
  font-weight: 700;
}

/* ── Nav: mobile toggle (hidden ≥881px) ── */
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 70;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
body.nav-open .nav-toggle span:first-child { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav-toggle span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* ── Hero (home) — full-screen background video, brand name only ── */
.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  min-height: calc(100svh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(10, 8, 6, 0.22), rgba(10, 8, 6, 0.16) 50%, rgba(10, 8, 6, 0.26));
}

/* Background-video poster overlay. Sits on top of the (autoplay) video and is
   shown instantly, masking both the buffering wait and the browser's native
   centered play-button affordance. main.js fades it out (adds .is-playing on
   the holder) only once real frames are flowing. Keeping the video itself fully
   opaque underneath means iOS still treats it as visible and autoplays it. */
.bg-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.is-playing > .bg-poster { opacity: 0; }
.hero-brandmark { position: relative; padding: 40px 24px; }
.hero-brandmark h1 {
  color: #FFFFFF;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-indent: 0.24em; /* optically recenters the letterspaced line */
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-brandmark .hero-tag {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 12px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.hero-brandmark .hero-logo {
  width: clamp(150px, 17vw, 230px);
  height: auto;
  margin: 30px auto 0;
  opacity: 0.9;
}

/* ── Video band — portrait clip, centered at natural 9:16 ratio ── */
.video-band {
  position: relative;
  aspect-ratio: 9 / 16;
  height: min(660px, 80vh);
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(22, 18, 13, 0.16);
}
.video-band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Sections ── */
.section { padding: 92px 44px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}
.section-head h2, .h-display {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.section-head .micro { color: var(--muted); }

/* ── Service cards (home + services page) ── */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.svc-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(22, 18, 13, 0.1); }
.svc-card .svc-body { display: flex; flex-direction: column; padding: 6px 4px; }
.svc-card .price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.svc-card .price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.svc-card h3 { font-size: 19px; font-weight: 600; margin-top: 8px; line-height: 1.25; }
.svc-card .desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  margin-top: 8px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-card .svc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.svc-card .svc-foot .micro { color: var(--muted); font-size: 11px; }
.svc-card .pill-link {
  background: var(--ink);
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── Beige panel (light brand surface, warm ink text) ── */
.panel-dark {
  background: var(--brand);
  border-radius: var(--radius);
  padding: 56px;
  color: var(--ink);
}
.panel-dark .micro { color: rgba(22, 18, 13, 0.62); }
.panel-dark p { color: rgba(22, 18, 13, 0.82); }
.chip {
  background: rgba(22, 18, 13, 0.08);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
}
.chip--light { background: rgba(128, 106, 75, 0.1); color: var(--brand-text); }

/* ── Review cards ── */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.review-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-card .rev-head { display: flex; align-items: center; gap: 13px; }
.review-card .rev-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.review-card .stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; line-height: 1; }
.review-card .quote { font-size: 17px; line-height: 1.55; font-weight: 500; flex: 1; }
.review-card .micro { color: var(--muted); font-size: 11px; }
.review-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brand-text);
  text-decoration: none;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.review-cta:hover { color: var(--ink); border-color: var(--brand-text); }

/* ── Forms ── */
.field {
  background: rgba(239, 235, 226, 0.07);
  border: 1px solid rgba(239, 235, 226, 0.18);
  border-radius: 12px;
  padding: 16px 18px;
  color: var(--cream);
  font-size: 15px;
  font-family: inherit;
  width: 100%;
  resize: none;
}
.field::placeholder { color: rgba(239, 235, 226, 0.45); }
.field:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
select.field { appearance: none; }
select.field option { color: var(--ink); }
.field--light {
  background: var(--card);
  border: 1px solid #E3DCCE;
  color: var(--ink);
}
.field--light::placeholder { color: var(--muted); }
.field--light:focus { outline: 2px solid var(--brand-text); }

/* ── Footer / contact section ── */
.footer-cta { background: var(--ink); color: var(--cream); padding: 92px 44px 0; }
.footer-cta h2 { font-size: clamp(34px, 3.6vw, 50px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.footer-cta h2 .accent { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1fr 520px; gap: 80px; padding-bottom: 76px; }
.footer-info { margin-top: 36px; display: grid; gap: 10px; font-size: 16px; color: rgba(239, 235, 226, 0.8); }
.footer-info a { color: rgba(239, 235, 226, 0.8); text-decoration: none; }
.footer-info a:hover { color: var(--accent); }
.footer-bar {
  border-top: 1px solid rgba(239, 235, 226, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  font-size: 13px;
  color: rgba(239, 235, 226, 0.5);
}
.footer-bar .micro { font-size: 10px; color: rgba(239, 235, 226, 0.5); }

/* ── Page hero (inner pages) — slim light-beige title band ── */
.page-hero { background: var(--brand); padding: 34px 44px 42px; color: var(--ink); }
.page-hero .crumb { color: rgba(22, 18, 13, 0.6); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.page-hero .crumb a { color: rgba(22, 18, 13, 0.6); text-decoration: none; }
.page-hero .crumb a:hover { color: var(--ink); }
.page-hero h1 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
.page-hero h1 .accent { color: inherit; }
.page-hero .lede { color: rgba(22, 18, 13, 0.75); font-size: 16px; max-width: 640px; margin-top: 10px; }

/* ── Service detail: centered intro — small photo, readable copy, info card ── */
.svc-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(40px, 4.5vw, 76px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}
.svc-intro-copy { display: flex; flex-direction: column; }
.svc-intro-copy .media-fill { height: 280px; margin-bottom: 30px; }
.svc-intro-copy p { font-size: 17.5px; line-height: 1.8; color: #3A342B; }
.svc-intro-copy p + p { margin-top: 18px; }

/* Centered guide column (How it works) */
.svc-guide { max-width: 1120px; margin: 0 auto; }
.svc-guide .prose p { font-size: 17px; }
.info-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.info-card .price-row { display: flex; align-items: baseline; gap: 8px; }
.info-card .price-row .price { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.info-card .price-row small { font-size: 16px; font-weight: 600; color: var(--muted); }
.info-card .meta-row {
  display: flex;
  gap: 24px;
  margin-top: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ECE5D8;
}
.info-card .meta-row .meta .micro { color: var(--muted); font-size: 11px; }
.info-card .meta-row .meta strong { font-size: 16px; font-weight: 700; display: block; margin-top: 3px; }
.info-card .includes { margin: 22px 0 26px; flex: 1; }
.info-card .includes .micro { color: var(--muted); margin-bottom: 12px; display: block; }
.info-card ul.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.info-card ul.checks li { display: flex; gap: 11px; font-size: 15px; font-weight: 500; line-height: 1.45; }
.info-card ul.checks li::before { content: "✓"; color: var(--brand-text); font-weight: 700; flex: 0 0 auto; }

/* ── Price list (multi-tier pricing rows)
   markup: <ul class="price-list"><li><span>Name</span><span>$Price</span></li>…</ul> ── */
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}
.price-list li + li { border-top: 1px solid #ECE5D8; }
.price-list li > :last-child { font-weight: 700; white-space: nowrap; }
.info-card .price-list { margin: 22px 0 26px; }

/* ── Before/After slider tiles — uniform 4:5 stages, full image shown ── */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
/* Results layout: two boxy tiles per row, centered, odd tile centered solo */
.ba-grid--results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  max-width: 1160px;
  margin: 0 auto;
}
.ba-tile--center {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 18px);
}
.ba-tile { background: var(--card); border-radius: var(--radius); padding: 16px 16px 20px; }
.ba-stage {
  position: relative;
  aspect-ratio: 19 / 20;
  border-radius: 12px;
  overflow: hidden;
  /* pan-y: the browser keeps vertical page-scrolling, but hands every
     horizontal gesture to our Pointer Events handler. That's what lets the
     compare-drag start anywhere on the tile — left edge, centre line, or knob —
     while a vertical swipe over the photo still scrolls the page. */
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
/* Children must not be touch targets: iOS attaches native gestures
   (image drag-lift, callouts) to the touched element, which swallows
   the drag. With pointer-events: none everywhere, every touch targets
   the stage and the JS handler always wins. */
.ba-layer { position: absolute; inset: 0; pointer-events: none; }
.ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.ba-layer--before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 0;
  z-index: 3;
  pointer-events: none;
}
.ba-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.5px;
  width: 3px;
  background: var(--cream);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}
.ba-divider .ba-knob {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  /* Visual only — the stage handles all pointer/touch input. */
  pointer-events: none;
}
.ba-tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  pointer-events: none;
}
.ba-tag--before { left: 14px; background: rgba(22, 18, 13, 0.72); color: var(--cream); }
.ba-tag--after { right: 14px; background: rgba(220, 196, 156, 0.94); color: var(--ink); }
.ba-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 0 6px; }
.ba-caption .quote { font-size: 15px; font-weight: 500; color: var(--body); }
.ba-caption .micro { color: var(--muted); font-size: 10.5px; white-space: nowrap; }

/* ── Side effects / care cards ── */
.fx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fx-card { background: var(--card); border-radius: var(--radius); padding: 26px; }
.fx-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.fx-card p { font-size: 15px; line-height: 1.6; color: var(--body); }
.fx-note {
  max-width: 860px;
  margin: 22px auto 0;
  background: rgba(199, 178, 149, 0.18);
  border-radius: 14px;
  padding: 20px 26px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #5D4D38;
  font-weight: 500;
}

/* ── FAQ ── */
.faq { max-width: 880px; margin: 0 auto; }
.faq details {
  background: var(--card);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 28px 24px; font-size: 15px; line-height: 1.65; color: var(--body); max-width: 720px; }

/* ── About page ── */
.about-grid { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 64px; align-items: start; }
.prose p { font-size: 17px; line-height: 1.75; color: #423A2E; }
.prose p + p { margin-top: 20px; }
.pull-quote {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--brand-text);
}
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 28px 26px; }
.stat-card .big { font-size: 32px; font-weight: 700; letter-spacing: -0.025em; color: var(--brand-text); line-height: 1.1; }
.stat-card .micro { color: var(--muted); margin-top: 10px; display: block; }

/* ── Photo trio (about — three equal portrait tiles) ── */
.photo-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.photo-trio img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
}

/* ── Images & embeds ── */
.slot-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.r14 { border-radius: 14px; }
.r16 { border-radius: 16px; }
.r20 { border-radius: 20px; }
/* Service-page hero media: fixed, pleasant height — never stretches to
   match the (often much taller) info card beside it. */
.media-fill {
  position: relative;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
}
.media-fill > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Photographic service hero: show the whole frame — never crop. Landscapes
   render edge-to-edge at their natural ratio; taller portraits cap their
   height and letterbox onto a soft brand ground so nothing is cut off. */
.media-photo {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
  background: #ECE7DD;
}
.media-photo > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

/* Placeholder tile — for imagery the client hasn't supplied yet.
   Same striped treatment as the original design mockups, in brand tones. */
.ph-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(-45deg, var(--cream-deep), var(--cream-deep) 14px, rgba(199, 178, 149, 0.22) 14px, rgba(199, 178, 149, 0.22) 28px);
}
.ph-tile .micro { color: var(--muted); font-size: 10px; letter-spacing: 0.12em; text-align: center; padding: 0 14px; }

/* Logo tile — brand emblem centered on a flat near-white ground. Stands in
   for service-card preview photography on the home + services pages. */
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Dedicated tile ground — its own flat color, deliberately separate from the
     brand beige (--brand) that the nav bar and heading bands use. */
  background: #E3DCCE;
}
.logo-tile img {
  width: auto;
  height: auto;
  max-width: min(78%, 200px);
  max-height: min(78%, 200px);
  opacity: 0.92;
  transition: transform 0.25s ease;
}
.svc-card:hover .logo-tile img { transform: scale(1.05); }
.embed-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
}
.embed-card iframe { display: block; width: 100%; border: 0; }

/* ── Utility grids (use instead of inline grid styles) ── */
.g-440-1fr { display: grid; grid-template-columns: 440px 1fr; gap: 22px; align-items: stretch; }
.g-1fr-12fr { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: stretch; }
.g-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.footer-grid--tight { grid-template-columns: 1fr auto; align-items: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── Service pages: numbered prep queue (Before your appointment) ── */
.step-flow { max-width: 860px; margin: 0 auto; counter-reset: step; display: grid; }
.step-flow .fx-card {
  background: none;
  border-radius: 0;
  padding: 0 0 32px 72px;
  position: relative;
  counter-increment: step;
}
.step-flow .fx-card::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -4px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-flow .fx-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 48px;
  bottom: 4px;
  width: 2px;
  background: rgba(199, 178, 149, 0.6);
}
.step-flow .fx-card:last-child { padding-bottom: 0; }
.step-flow h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.step-flow p { font-size: 16px; line-height: 1.65; color: var(--body); }

/* ── Service pages: care checklist (During / After) ── */
.care-list {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 36px;
  display: grid;
}
.care-list .fx-card {
  background: none;
  border-radius: 0;
  padding: 22px 0 22px 40px;
  position: relative;
}
.care-list .fx-card + .fx-card { border-top: 1px solid #EFE9DC; }
.care-list .fx-card::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 21px;
  color: var(--brand-text);
  font-size: 18px;
  font-weight: 800;
}
.care-list h4 { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.care-list p { font-size: 15.5px; line-height: 1.6; color: var(--body); }

/* ── Service pages: provider-contact alert ── */
.alert-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card);
  border-left: 5px solid #B4543E;
  border-radius: 14px;
  padding: 30px 34px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(22, 18, 13, 0.07);
}
.alert-card ul {
  margin: 14px 0;
  padding-left: 22px;
  display: grid;
  gap: 7px;
  font-size: 15.5px;
  font-weight: 400;
  color: var(--body);
}
.alert-card li::marker { color: #B4543E; }

/* ── Service pages: treatment guide lead ── */
.guide-lead {
  font-size: 19px;
  line-height: 1.75;
  color: #3A342B;
  max-width: 860px;
  margin: 0 auto 34px;
}

/* ── About page: centered uppercase section titles ── */
.sec-title {
  text-align: center;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 44px;
}

/* ── About page: full-bleed photo band (Who we are) ── */
.band-photo { position: relative; padding: clamp(84px, 10vw, 132px) 44px; overflow: hidden; }
.band-photo .band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}
.band-photo .band-veil { position: absolute; inset: 0; background: rgba(14, 11, 8, 0.48); }
.band-photo .band-inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.band-photo .sec-title { color: #FFFFFF; }
.band-photo p { font-size: 18px; line-height: 1.85; color: rgba(255, 255, 255, 0.94); }
.band-photo p + p { margin-top: 18px; }

/* ── About page: readable centered measure + split layouts ── */
.about-prose { max-width: 880px; margin: 0 auto; }
.about-prose p { font-size: 18px; line-height: 1.85; color: #3A342B; }
.about-prose p + p { margin-top: 20px; }
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.about-split .split-img { border-radius: 20px; overflow: hidden; }
.about-split .split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Misc ── */
.center { text-align: center; }

/* ────────────────────────────────────────────────────────────────────
   RESPONSIVE LAYER — desktop (≥1101px) is untouched by everything below
   ──────────────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .svc-intro-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Cards stack internally (image on top) so the 2-up grid stays readable */
  .svc-card { grid-template-columns: minmax(0, 1fr); }
  .svc-card .slot-img { height: 220px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  /* — Nav collapses behind the toggle into a full-screen cream overlay — */
  .nav { padding: 0 24px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 60;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    padding: 108px 28px 48px;
    background: var(--brand);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  body.nav-open .nav-links { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav-links .nav-link {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    opacity: 1;
  }
  .nav-item { height: auto; flex-direction: column; align-items: flex-start; }
  /* Dropdown renders inline in the overlay, but is interactive ONLY while the
     menu is open. Gating visibility + pointer-events on body.nav-open is
     essential: without it the transparent service links stay hit-testable on
     the fixed, full-screen overlay and silently swallow taps and scrolls on
     the page beneath — sending you to service pages and blocking the slider. */
  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    background: transparent;
    box-shadow: none;
    padding: 10px 0 0 16px;
    display: grid;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  body.nav-open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  /* Touch fires a sticky :hover / :focus-within on the Services item; the
     desktop flyout rule would then translate the inline dropdown left by half
     its width, sliding it half off-screen with a stray animation. Pin it. */
  .nav-item.has-dropdown:hover .dropdown,
  .nav-item.has-dropdown:focus-within .dropdown {
    transform: none;
  }
  .dropdown a {
    color: rgba(22, 18, 13, 0.72);
    padding: 5px 0;
    white-space: normal;
    border-radius: 0;
  }
  .dropdown a:hover { background: transparent; color: var(--ink); }
  .dropdown .dropdown-all {
    margin-top: 8px;
    border-top-color: rgba(22, 18, 13, 0.16);
    padding-top: 12px;
    color: var(--brand-text);
  }

  /* — Section rhythm tightens — */
  .section { padding: 64px 24px; }
  .page-hero { padding: 28px 24px 36px; }
  .footer-cta { padding: 64px 24px 0; }
  .panel-dark { padding: 36px 28px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* — Hero: video still fills the first screen — */
  .hero { min-height: calc(100svh - 84px); }

  /* — Grids collapse — */
  .svc-grid, .review-grid, .fx-grid, .ba-grid, .ba-grid--results, .photo-trio, .about-split { grid-template-columns: minmax(0, 1fr); }
  .ba-tile--center { width: 100%; }
  .g-2col, .g-440-1fr, .g-1fr-12fr { grid-template-columns: minmax(0, 1fr); }
  .g-2col { gap: 28px; }
  .band-photo { padding: 64px 24px; }
  .care-list { padding: 6px 24px; }
  .step-flow .fx-card { padding-left: 62px; }
  .video-band { height: auto; width: min(100%, 360px); }

  /* — Media fills shrink once columns stack — */
  .media-fill { height: 320px; }

  /* — Info card guards — */
  .info-card .meta-row { flex-wrap: wrap; gap: 14px 24px; }
  .info-card .price-row .price { font-size: clamp(38px, 10vw, 52px); }
}

@media (max-width: 560px) {
  .nav-book { display: none; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
}
