/* ==========================================================================
   Skin Science Aesthetics — Master Stylesheet
   --------------------------------------------------------------------------
   Brand: quiet luxury, clinical expertise, warm authority.
   Palette proportions: 60% Warm White / 30% Taupe + Greige / 10% Soft Black + Brushed Brass.
   Type: Cardo (display, regular only) + Montserrat (300/400).
   Notes: no drop shadows, no gradients, no pure white. Brushed Brass for accents only.
   ========================================================================== */

/* ----- Tokens ----- */
:root {
  /* Palette */
  --warm-white: #f5f2ed;
  --soft-black: #2b2b2b;
  --greige: #d6cec4;
  --taupe: #b8ac9e;
  --brushed-brass: #c6a768;

  /* Type families */
  --font-display: 'Cardo', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Layout */
  --container-max: 1240px;
  --gutter-mobile: 6%;
  --gutter-desktop: clamp(2rem, 8%, 6rem);

  /* Tracking */
  --tracking-tight: 0.02em;
  --tracking-base: 0.04em;
  --tracking-wide: 0.12em;
  --tracking-wider: 0.2em;

  /* Lines */
  --rule: 1px solid var(--soft-black);
  --rule-faint: 1px solid var(--taupe);
}

/* ----- Reset / base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--warm-white);
  color: var(--soft-black);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: var(--tracking-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ----- Focus states (per technical-conventions.md §8) -----
   Visible 2px Soft Black outline on every interactive element. On the ink
   section, flip to Warm White so the outline stays visible. */
:focus-visible {
  outline: 2px solid var(--soft-black);
  outline-offset: 2px;
}

.section--ink :focus-visible {
  outline-color: var(--warm-white);
}

/* ----- Typography ----- */
.eyebrow,
.label,
.caption {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--soft-black);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--brushed-brass);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  color: var(--soft-black);
}

h1.display {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  font-weight: 400;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

p {
  font-size: 0.95rem;
  line-height: 1.75;
  letter-spacing: var(--tracking-base);
  color: var(--soft-black);
  max-width: 60ch;
}

p.lede {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.6;
  letter-spacing: var(--tracking-tight);
  max-width: 38ch;
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  p {
    font-size: 1rem;
  }
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter-mobile);
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--gutter-desktop);
  }
}

.section {
  padding: var(--space-xl) 0;
}

.section--tight {
  padding: var(--space-lg) 0;
}

.section--shaded {
  background: var(--greige);
}

/* Quiet "framed" announcement — Warm White block bordered top and bottom by Soft Black
   rules. Used for the launch offer banner so the page mood doesn't swing to ink. */
.section--bordered {
  border-top: var(--rule);
  border-bottom: var(--rule);
}

.section--ink {
  background: var(--soft-black);
  color: var(--warm-white);
}

.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink p,
.section--ink .eyebrow,
.section--ink .label {
  color: var(--warm-white);
}

.section--ink .eyebrow::before {
  background: var(--brushed-brass);
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }
}

/* ----- Rule lines (brand signature) ----- */
.rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--soft-black);
  border: 0;
  margin: var(--space-md) 0;
}

.rule--brass {
  background: var(--brushed-brass);
  width: 56px;
  height: 1px;
  margin: 0 0 var(--space-sm) 0;
}

.rule--faint {
  background: var(--taupe);
}

/* ----- Buttons / CTAs ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border: 1px solid var(--soft-black);
  background: var(--soft-black);
  color: var(--warm-white);
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  background: var(--warm-white);
  color: var(--soft-black);
}

.btn--ghost {
  background: transparent;
  color: var(--soft-black);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--soft-black);
  color: var(--warm-white);
}

.btn--on-ink {
  background: var(--warm-white);
  color: var(--soft-black);
  border-color: var(--warm-white);
}

.btn--on-ink:hover,
.btn--on-ink:focus-visible {
  background: transparent;
  color: var(--warm-white);
  border-color: var(--warm-white);
}

/* Allow buttons to wrap on narrow viewports — prevents overflow when CTA text
   is wider than the available column (e.g. "Start with a conversation"). */
@media (max-width: 540px) {
  .btn {
    white-space: normal;
    padding: 0.85rem 1.25rem;
    line-height: 1.3;
    max-width: 100%;
  }
}

.btn .arrow {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.btn .arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--soft-black);
  border-bottom: 1px solid var(--soft-black);
  padding-bottom: 4px;
  transition: color 250ms ease, border-color 250ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--brushed-brass);
  border-color: var(--brushed-brass);
}

/* ----- Inline link inside prose -----
   For sentence-level links inside paragraphs, where .text-link's CTA styling
   (inline-flex + full-width border-bottom + arrow) is too heavy. Uses a simple
   border-bottom that sits flush with the text — one clean line, only as wide
   as the text itself (because the anchor is a regular inline element here). */
.inline-link {
  color: var(--soft-black);
  border-bottom: 1px solid var(--soft-black);
  transition: color 200ms ease, border-color 200ms ease;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--brushed-brass);
  border-color: var(--brushed-brass);
}

/* ----- Header / Navigation ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--warm-white);
  border-bottom: var(--rule-faint);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  padding: 1.25rem 0;
}

.site-header__logo {
  margin-right: auto;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo img {
  height: 36px;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: none;
}

.site-nav__list {
  display: flex;
  gap: 1.25rem;
}

.site-nav__link {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--soft-black);
  /* Vertical padding sized so the clickable area approaches the WCAG 44px
     minimum touch target — the underline still sits on the text baseline. */
  padding: 0.9rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-current {
  border-color: var(--soft-black);
}

.site-nav__cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  /* Larger padding so the bars sit inside a ~44px touch target. */
  padding: 0.85rem;
  margin-right: -0.85rem;
}

.menu-toggle__bar {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--soft-black);
  transition: transform 250ms ease, opacity 250ms ease;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--warm-white);
  z-index: 40;
  padding: 6rem var(--gutter-mobile) 4rem;
  transform: translateX(100%);
  transition: transform 350ms ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  letter-spacing: var(--tracking-tight);
  color: var(--soft-black);
  display: inline-block;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid transparent;
}

.mobile-nav__link.is-current {
  border-color: var(--brushed-brass);
}

.mobile-nav__contact {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: var(--rule-faint);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav__contact span {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  /* Soft Black for WCAG AA — Taupe on the Warm White mobile-nav background fails. */
  color: var(--soft-black);
}

.mobile-nav__contact a {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .site-header__inner {
    padding: 1.5rem 0;
  }

  .site-header__logo img {
    height: 40px;
  }

  .site-nav {
    display: block;
  }

  .site-nav__cta {
    display: inline-flex;
  }
}

/* Show the booking CTA in the header from tablet up — hamburger users on tablet
   still get a visible booking affordance without waiting for the full nav. */
@media (min-width: 768px) {
  .site-nav__cta {
    display: inline-flex;
  }
}

/* ----- Hero masthead (home) ----- */
.hero__masthead {
  text-align: center;
  padding: var(--space-md) 0 var(--space-lg);
}

.hero__wordmark {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
  height: auto;
  max-height: none;
}

.hero__masthead .rule--brass {
  margin: var(--space-md) auto 0;
}

@media (min-width: 768px) {
  .hero__masthead {
    padding: var(--space-lg) 0 var(--space-xl);
  }

  .hero__wordmark {
    max-width: 480px;
  }
}

/* ----- Page intro wordmark (inner pages) ----- */
.page-wordmark {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  max-height: none;
  margin-bottom: var(--space-sm);
}

/* ----- Hero ----- */
.hero {
  padding: var(--space-sm) 0 var(--space-xl);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Let the .display class win on font-size/line-height — the brand identity §4.2
   spec for hero is 48–72px, which the .display clamp delivers. We only keep
   text-wrap: balance here for nicer line breaks on long hero headlines. */
.hero__copy h1 {
  text-wrap: balance;
}

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--greige);
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__caption {
  position: absolute;
  left: var(--space-sm);
  bottom: var(--space-sm);
  background: var(--warm-white);
  padding: 0.5rem 0.75rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

/* Sentence-style aside under the primary CTA. The secondary action
   ("Or start a conversation") used to be a .text-link with the same
   uppercase + tracked treatment as the .btn, which made it compete at
   the same hierarchy. It's now demoted to ordinary prose: smaller body
   text, sentence case, no arrow, with the linked phrase carrying only
   the thin .inline-link underline under the words themselves. */
.hero__actions .hero__aside {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--soft-black);
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-md) 0 var(--space-xl);
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .hero--reverse .hero__media {
    order: -1;
  }
}

/* ----- Generic two-column editorial section ----- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}

/* Hero variant — start-aligned so the eyebrow/label in the right column lines up
   with the top edge of the portrait media instead of floating mid-image. The
   denser right column would otherwise pull the visual centre off-axis. */
.split--hero {
  align-items: start;
}

.split__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* When .flow-md is present on the same element, let it own the vertical rhythm.
   In flex containers, child margins don't collapse into `gap`, they add to it,
   which produced uneven spacing (gap + margin) in the right column of split sections. */
.split__copy.flow-md {
  gap: 0;
}

.split__media {
  aspect-ratio: 4 / 5;
  background: var(--greige);
  overflow: hidden;
}

/* Brand-aligned photo treatment — slight desaturation and a touch of warm sepia so
   stock or third-party imagery lands in the warm-neutral palette of the brand. */
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) sepia(0.04);
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .split--reverse .split__media {
    order: -1;
  }

  /* Alternate-rhythm modifier — pushes the media to the right column on desktop
     so consecutive .split sections can alternate image-left / image-right.
     Used on the about page to break up four stacked editorial splits. */
  .split--media-right .split__media {
    order: 2;
  }

  .split--narrow {
    grid-template-columns: 5fr 6fr;
  }
}

/* ----- Cards / treatment grid ----- */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  align-items: end;
}

.section-head__copy {
  max-width: 56ch;
}

@media (min-width: 768px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: var(--rule);
}

.card__media {
  aspect-ratio: 4 / 5;
  background: var(--greige);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.card:hover .card__media img {
  transform: scale(1.03);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}

/* Whole-card link wrapper for clickable cards.
   Flex column + child flex:1 so the inner .card stretches to the grid row
   height. Without this, descriptions of different lengths leave the
   .card__meta row floating mid-card instead of pinned to the bottom. */
.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card-link > .card {
  flex: 1;
}

.card-link .card__title {
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease;
  display: inline-block;
}

.card-link:hover .card__title,
.card-link:focus-visible .card__title {
  border-bottom-color: var(--soft-black);
}

/* Linked treatment titles on the overview page */
.treatment-row__title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease;
}

.treatment-row__title a:hover,
.treatment-row__title a:focus-visible {
  border-bottom-color: var(--soft-black);
}

.card__price {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--soft-black);
}

.card__meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  /* Soft Black for WCAG AA — small uppercase tracked text in Taupe on Warm White
     fails contrast. Visual hierarchy is carried by size + tracking, not colour. */
  color: var(--soft-black);
  padding-top: var(--space-sm);
  border-top: var(--rule-faint);
  margin-top: auto;
}

/* ----- Treatment list (no media) ----- */
.treatment-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.treatment-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-bottom: var(--rule-faint);
}

.treatment-row__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
}

.treatment-row__copy {
  max-width: 60ch;
}

.treatment-row__price {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.treatment-row__price-amount {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: var(--tracking-tight);
  margin-left: 0.5rem;
  text-transform: none;
}

@media (min-width: 768px) {
  .treatment-row {
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--space-lg);
    align-items: baseline;
  }

  .treatment-row__price {
    text-align: right;
  }
}

/* ----- Treatment groups ----- */
.treatment-group {
  margin-bottom: var(--space-xl);
  /* Clear the sticky site header (~77px) + sticky in-page nav (~34px) when
     scrolled to via anchor, with enough buffer for the .eyebrow above the
     group title to remain visible. On desktop the in-page nav can wrap to
     two rows of chips, so the bumped value below kicks in. */
  scroll-margin-top: 200px;
}

.treatment-group__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-bottom: var(--space-md);
  border-bottom: var(--rule);
}

.treatment-group__title {
  font-family: var(--font-display);
  /* Larger than treatment-row__title (1.4rem) so groups read as destinations, not rows */
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
}

.treatment-group__intro {
  max-width: 60ch;
  margin-top: var(--space-sm);
}

/* ----- Treatment sub-grouping -----
   Used inside a single treatment-group when the rows naturally split into
   two clusters (e.g., Injectables → "Botulinum A" priced per unit, then
   "By consultation" priced on request). Mirrors the booklet's sub-head
   pattern so the listing reads the same way in print and on the web.
   scroll-margin-top mirrors .treatment-group so deep-links to a subhead
   (#botulinum-a, #by-consultation) clear the sticky site header + in-page nav. */
.treatment-subhead {
  padding-top: var(--space-md);
  padding-bottom: var(--space-xs);
  scroll-margin-top: 200px;
}

/* Subhead title sits between the group title (clamp 1.85–2.6rem) and the
   row title (1.4rem). It must visually outrank the rows it groups, otherwise
   "Botox" reads heavier than "Botulinum A" — a hierarchy inversion. */
.treatment-subhead__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-xs);
}

.treatment-subhead__rule {
  border: 0;
  border-top: var(--rule-faint);
  margin: 0 0 var(--space-sm) 0;
  width: 100%;
}

.treatment-subhead__desc {
  max-width: 60ch;
  font-size: 0.95rem;
  color: var(--ink-soft, var(--soft-black));
  margin-bottom: var(--space-sm);
}

/* "On request" pricing — italic display variant for non-toxin injectables
   and any other treatment where the final price is set at consultation. */
.treatment-row__price-amount--request {
  font-style: italic;
  margin-left: 0;
  text-transform: none;
}

/* Closing line for a treatment group, e.g. "Each plan is shaped — and priced
   — at consultation." Sits below the final row, before the next group. */
.treatment-group__close {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  margin-top: var(--space-md);
  max-width: 60ch;
}

/* ----- Tiered pricing -----
   Use when a treatment has more than one price point (e.g., Standard + New Client offer).
   Brass is never used as text colour (fails WCAG AA on Warm White and is forbidden by
   the brand identity). Instead, the offer tier is marked by a thin brass underline
   beside the label — accent only. */
.price-tiers {
  display: grid;
  gap: 0.65rem;
}

/* Editorial framing line that sits above .price-tiers (e.g., a launch window
   caption). Italic display serif keeps it quiet but distinct from body copy. */
.price-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--soft-black);
  margin: 0;
  max-width: none;
}

.price-tier {
  display: grid;
  gap: 0.2rem;
}

.price-tier__label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--soft-black);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.price-tier--launch .price-tier__label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--brushed-brass);
  flex-shrink: 0;
}

.price-tier__amount {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: var(--tracking-tight);
  color: var(--soft-black);
  line-height: 1.2;
}

@media (min-width: 768px) {
  /* Default: right-align the price block. This matches the listing-page rhythm
     where .price-tier sits inside the rightmost column of a treatment row and
     amounts line up flush with the right edge of the page. */
  .price-tier {
    justify-items: end;
  }

  .price-tier__label {
    justify-content: flex-end;
  }

  /* Override for hero cards on treatment detail pages — left-align so the price
     block follows the same rhythm as the eyebrow, info-block, and actions in the
     right column. The right-aligned default reads as transactional in this context. */
  .split__copy .price-tier {
    justify-items: start;
  }

  .split__copy .price-tier__label {
    justify-content: flex-start;
  }
}

/* ----- Package cards ----- */
.package {
  background: var(--warm-white);
  border: var(--rule);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.section--shaded .package {
  background: var(--warm-white);
}

.package__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
}

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

.package__includes li {
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
}

.package__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 1px;
  background: var(--brushed-brass);
}

.package__price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-top: var(--space-sm);
  border-top: var(--rule-faint);
  margin-top: auto;
}

.package__price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.package__price-saving {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  /* Soft Black for WCAG AA — Taupe on Warm White fails contrast at this size. */
  color: var(--soft-black);
}

@media (min-width: 768px) {
  .package {
    padding: var(--space-lg);
  }
}

/* ----- Quote / testimonial ----- */
.quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-lg) 0;
}

.quote__mark {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--brushed-brass);
  margin: 0 auto var(--space-md);
}

.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.4;
  letter-spacing: var(--tracking-tight);
  margin: 0 auto var(--space-md);
  max-width: 28ch;
}

.quote__cite {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  /* Soft Black by default — passes AA on Warm White and Greige. */
  color: var(--soft-black);
}

/* On the ink section the quote sits on Soft Black, so flip the cite to Taupe —
   it passes AA against Soft Black (~5.6:1) and reads as a quieter accent. */
.section--ink .quote__cite {
  color: var(--taupe);
}

/* ----- Pillars ----- */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.pillar {
  padding-top: var(--space-md);
  border-top: var(--rule);
}

.pillar__num {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  /* Soft Black for legibility — brass on warm white fails WCAG AA at 11px
     and is forbidden as text colour by the brand identity guide. The brass
     accent is preserved as a mark via the ::before pseudo-element. */
  color: var(--soft-black);
  margin-bottom: var(--space-xs);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.pillar__num::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--brushed-brass);
  flex-shrink: 0;
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

/* ----- Forms ----- */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  max-width: 560px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  /* Allow the flex item to shrink below its content's intrinsic min-width — without
     this, a wide <select> (e.g. with long option text) can push the field past its
     container on narrow viewports, breaking the page layout on mobile. */
  min-width: 0;
}

.field label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--soft-black);
}

.field input,
.field textarea,
.field select {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: var(--tracking-base);
  color: var(--soft-black);
  background: var(--warm-white);
  border: var(--rule);
  padding: 0.85rem 1rem;
  border-radius: 0;
  transition: border-color 250ms ease;
  /* Constrain controls to their container so long option text in <select>, or any
     element with a wide intrinsic content size, doesn't blow out the form on mobile. */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brushed-brass);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

@media (max-width: 540px) {
  .field--row {
    grid-template-columns: 1fr;
  }
}

.form__actions {
  margin-top: var(--space-sm);
}

.form__note {
  font-size: 0.8rem;
  color: var(--soft-black);
  margin-top: var(--space-xs);
}

/* ----- Info block ----- */
.info-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: var(--rule);
}

.info-block dt {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--soft-black);
  margin-bottom: 0;
}

.info-block dd {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.info-block dd a {
  border-bottom: 1px solid var(--soft-black);
  padding-bottom: 2px;
}

/* ----- Map ----- */
.map {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--greige);
  filter: grayscale(20%) sepia(8%);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ----- Floating WhatsApp button ----- */
.float-whatsapp {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--soft-black);
  color: var(--warm-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  transition: transform 250ms ease, background-color 250ms ease;
  border: 1px solid var(--soft-black);
}

.float-whatsapp:hover,
.float-whatsapp:focus-visible {
  transform: translateY(-2px);
  background: var(--brushed-brass);
  border-color: var(--brushed-brass);
}

.float-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.float-whatsapp__label {
  position: absolute;
  right: calc(100% + 0.75rem);
  background: var(--soft-black);
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  white-space: nowrap;
  border: 1px solid var(--brushed-brass);
  cursor: pointer;
  /* Hidden by default on every viewport. JS toggles .is-pill-visible on the
     FAB when the user scrolls up; hover/focus also reveals the pill as a
     redundant affordance. pointer-events:none keeps the hidden pill from
     blocking the page beneath it; it switches back to auto when visible so
     clicks land on the underlying anchor. */
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 420ms ease, transform 420ms ease,
              background-color 250ms ease, border-color 250ms ease;
}

.float-whatsapp.is-pill-visible .float-whatsapp__label,
.float-whatsapp:hover .float-whatsapp__label,
.float-whatsapp:focus-visible .float-whatsapp__label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* On hover/focus, the button turns brass — flip the pill so it stays legible. */
.float-whatsapp:hover .float-whatsapp__label,
.float-whatsapp:focus-visible .float-whatsapp__label {
  background: var(--warm-white);
  color: var(--soft-black);
  border-color: var(--soft-black);
}

@media (min-width: 768px) {
  .float-whatsapp {
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
  }

  .float-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-whatsapp__label {
    transition: none;
  }
}

/* ----- Footer ----- */
.site-footer {
  background: var(--soft-black);
  color: var(--warm-white);
  padding: var(--space-xl) 0 var(--space-md);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.site-footer__brand img {
  height: 56px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
  filter: invert(1) brightness(1.05);
}

.site-footer h4,
.site-footer .label {
  color: var(--warm-white);
  margin-bottom: var(--space-sm);
}

.site-footer p,
.site-footer a {
  color: var(--warm-white);
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer a {
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  border-color: var(--brushed-brass);
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__nav a {
  display: inline-block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
}

.site-footer__base {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(245, 242, 237, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--taupe);
}

.site-footer__social {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--warm-white);
}

.site-footer__social a {
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--warm-white);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-footer__social .icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  flex-shrink: 0;
}

.site-footer__social span[aria-hidden] {
  color: var(--taupe);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-md);
  }

  .site-footer__base {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ----- Page intro (sub-page hero) ----- */
.page-intro {
  padding: var(--space-lg) 0 var(--space-md);
  border-bottom: var(--rule-faint);
}

.page-intro__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

/* Mirrors h1.display so interior pages (treatment detail in particular) carry
   the same hero gravity as the home page. */
.page-intro h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  .page-intro {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .page-intro__inner {
    grid-template-columns: 5fr 6fr;
    gap: var(--space-xl);
    align-items: end;
  }
}

/* Tighten the top of the section that follows page-intro on mobile so the hero
   region doesn't stretch across three screen-heights before the first CTA. */
@media (max-width: 767px) {
  .page-intro + .section--hero-follow {
    padding-top: var(--space-lg);
  }
}

/* Hero split — on mobile only, push the info-block below the actions so the
   primary CTA enters the visitor's attention before the longer facts list.
   The extra margin-top on .actions adds a deliberate breath between the trust
   line and the CTA so two brass moments don't read as a single cluster. */
@media (max-width: 767px) {
  .split--hero .split__copy .info-block {
    order: 2;
  }

  .split--hero .split__copy .actions {
    margin-top: var(--space-lg);
  }
}

/* ----- Utility ----- */
.flow > * + * {
  margin-top: var(--space-sm);
}

.flow-md > * + * {
  margin-top: var(--space-md);
}

.center {
  text-align: center;
}

.muted {
  color: var(--taupe);
}

/* Taupe-on-greige fails WCAG AA and is not an approved brand pairing.
   On shaded sections, render muted text in Soft Black so it stays legible. */
.section--shaded .muted {
  color: var(--soft-black);
}

.brass {
  color: var(--brushed-brass);
}

.no-wrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -1000px;
  top: -1000px;
  background: var(--soft-black);
  color: var(--warm-white);
  padding: 0.75rem 1rem;
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ----- Body lock when mobile menu open ----- */
body.menu-open {
  overflow: hidden;
}

/* ----- In-page anchor nav (treatments page) -----
   Sticky horizontal chip-row that sits below the site header on scroll. Lets visitors
   jump between treatment groups without scrolling 40+ rows of menu. Horizontal scroll
   on narrow viewports; wraps to multi-line on desktop. */
.in-page-nav {
  position: sticky;
  /* Roughly the height of the sticky site-header at this breakpoint */
  top: 77px;
  z-index: 30;
  background: var(--warm-white);
  border-bottom: var(--rule-faint);
  padding: 0.65rem 0;
}

.in-page-nav__list {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.in-page-nav__list::-webkit-scrollbar {
  display: none;
}

.in-page-nav__link {
  /* inline-block so vertical padding + border-bottom expand the link's
     layout box. As `display: inline`, the underline is visually painted
     but extends below the parent's line box and gets clipped by
     overflow-x: auto on narrow viewports. */
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--soft-black);
  white-space: nowrap;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease, color 250ms ease;
}

.in-page-nav__link:hover,
.in-page-nav__link:focus-visible,
.in-page-nav__link.is-active {
  border-color: var(--soft-black);
}

/* ----- In-page nav, ink variant -----
   Optional dark surface for the in-page nav. Mirrors `.section--ink`'s
   palette inversion: soft-black background, warm-white text and underline.
   Toggle by adding/removing `in-page-nav--ink` on the <nav> element. */
.in-page-nav--ink {
  background: var(--soft-black);
}

.in-page-nav--ink .in-page-nav__link {
  color: var(--warm-white);
}

.in-page-nav--ink .in-page-nav__link:hover,
.in-page-nav--ink .in-page-nav__link:focus-visible,
.in-page-nav--ink .in-page-nav__link.is-active {
  border-color: var(--warm-white);
}

.in-page-nav--ink :focus-visible {
  outline-color: var(--warm-white);
}

@media (min-width: 1024px) {
  .in-page-nav {
    top: 89px;
    padding: 0.85rem 0;
  }

  .in-page-nav__list {
    overflow-x: visible;
    flex-wrap: wrap;
    gap: 1.75rem;
    row-gap: 0.4rem;
  }

  /* Desktop site-header is taller (~89px), and the in-page nav can wrap
     to two rows of chips. Bump the anchor offset so the .eyebrow above
     the group title still clears the sticky chrome with breathing room. */
  .treatment-group,
  .treatment-subhead {
    scroll-margin-top: 230px;
  }
}

/* ----- Announcement block -----
   Used inside .section--bordered for the launch offer. Quiet, structured, intentional. */
.announcement {
  display: grid;
  gap: var(--space-sm);
  max-width: 60ch;
}

.announcement h2 {
  max-width: 24ch;
}

.announcement p {
  max-width: 50ch;
}

/* ----- CTA block -----
   A small centred call to action with optional brass rule mark. Replaces the misuse of
   the .quote component on closing CTAs (the quote mark was reading as a citation cue). */
.cta-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-block__mark {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--brushed-brass);
  margin: 0 auto var(--space-md);
}

.cta-block__text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.4;
  letter-spacing: var(--tracking-tight);
  margin: 0 auto var(--space-md);
  max-width: 28ch;
}

.cta-block__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

/* When the cta-block carries a supporting paragraph, centre it within the
   block and keep the line length comfortable. */
.cta-block p {
  margin-left: auto;
  margin-right: auto;
  max-width: 50ch;
}

/* ----- Inline-link spacing utility -----
   Used after treatment-row__copy to space the trailing "Read more" link(s) consistently.
   Flex layout lets a single CTA sit naturally and pairs of CTAs (e.g. cross-references
   to two sibling sections) sit side-by-side with gap, wrapping on narrow viewports. */
.row-link {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
}

/* ----- Action button group -----
   Horizontal cluster of CTAs (typically a primary .btn + a .text-link) that wraps
   on narrow viewports. Replaces inline flex/gap styles previously used on
   treatment pages. */
.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.actions--center {
  justify-content: center;
  margin-top: var(--space-md);
}

/* In hero cards (.split__copy), the right column is too narrow for primary + secondary
   CTAs side by side without wrapping awkwardly. Stack them deliberately and indent the
   secondary .text-link by the button's left padding so its label aligns with the
   button's label. The 1.75rem / 1.25rem values mirror .btn padding at each breakpoint. */
.split__copy .actions {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.split__copy .actions .text-link {
  margin-left: 1.75rem;
}

@media (max-width: 540px) {
  .split__copy .actions .text-link {
    margin-left: 1.25rem;
  }
}

/* ----- Inline emphasis link -----
   Used inside prose where a link should carry a quiet underline without becoming
   a full .text-link CTA. Examples: cross-references inside frequency or pricing
   copy on treatment pages. */
.inline-link {
  border-bottom: 1px solid var(--soft-black);
  padding-bottom: 1px;
}

/* ----- Note / aside block -----
   Quiet centred narrow column for suitability notes, contraindication
   reassurances, and similar blocks where the .quote component would over-signal
   "this is a citation". Visually similar to .cta-block but with eyebrow +
   heading + body in place of mark + display text + actions.

   Works on both warm-white and ink (Soft Black) sections. On ink, the existing
   .section--ink cascade flips text colour to warm-white and keeps the brass
   eyebrow dash visible; the brass rule below the heading stays brass on dark.
   Use inside a .section--ink section for trust/positioning moments
   (e.g. Suitability statements) where the visual seriousness matches the
   content. */
.note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.note h2 {
  max-width: 26ch;
  margin: var(--space-sm) auto;
}

.note .rule--brass {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
}

.note p {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Back link -----
   Sits above the .page-intro eyebrow on deep pages (treatment detail) so a
   visitor has a one-click return to the parent index without reaching for the
   site nav. The arrow is built from a 1px line + a rotated chevron. */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--soft-black);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 250ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: var(--soft-black);
}

.back-link__arrow {
  display: inline-block;
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.back-link__arrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ----- Print ----- */
@media print {
  .site-header,
  .site-footer,
  .float-whatsapp,
  .menu-toggle,
  .mobile-nav,
  .in-page-nav {
    display: none;
  }
}
