/* ============================================================================
   Lydia Skin Care Centre — redesign prototype
   Art direction: blend of the two client style boards (rounded clinic cards,
   crimson hero, cream paper). Content and photography stay on this mockup.
   ========================================================================== */

:root {
  /* Colour — client brand direction: A30915 / E5E1DD / F7F3EE / FBF9F6 / F4F4F3 / 1D1A1A */
  --paper:       #FAF9F6;
  --paper-alt:   #F5EDE3;
  --paper-deep:  #E7DDD4;
  --ink:         #2C2523;
  --ink-soft:    #7A6F6F;
  --ink-faint:   #8F706C;
  --line:        #E6DCD4;
  --line-strong: #D5C8BE;
  --brand:       #A30915;
  --brand-deep:  #78060F;
  --brand-tint:  #F5E7E6;
  --on-brand:    #FBF9F6;
  --logo-bar:    #3C2219;

  /* Type — Plus Jakarta (board 1) at the lighter weights of board 2 */
  --display: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 1.75rem;
  --radius-pill: 999px;
  --shadow: 12px 12px 32px rgba(215, 205, 195, 0.55), -10px -10px 28px rgba(255, 255, 255, 0.9);
  --shadow-neo: -8px -8px 20px rgba(255, 255, 255, 0.95), 8px 8px 22px rgba(215, 205, 195, 0.45);

  /* Scale — closer to the style boards than the old condensed display */
  --t-micro: 0.6875rem;
  --t-small: 0.8125rem;
  --t-body:  1.0625rem;
  --t-lede:  clamp(1.0625rem, 0.35vw + 1rem, 1.25rem);
  --t-h3:    clamp(1.25rem, 0.6vw + 1.05rem, 1.6rem);
  --t-h2:    clamp(1.85rem, 1.6vw + 1.1rem, 2.75rem);
  --t-h1:    clamp(2.6rem, 3.2vw + 1rem, 4.35rem);

  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --rhythm: clamp(5rem, 8vw, 8rem);
  --measure: 62ch;

  /* One photo frame ratio sitewide (cards, detail heads, thumbs, page heads). */
  --media-aspect: 5 / 4;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:       #121010;
    --paper-alt:   #191615;
    --paper-deep:  #231E1D;
    --ink:         #F4EFEA;
    --ink-soft:    #B3ABA6;
    --ink-faint:   #867D78;
    --line:        #2E2825;
    --line-strong: #463D38;
    --brand:       #E4525D;
    --brand-deep:  #F2959C;
    --brand-tint:  #2A1617;
    --on-brand:    #130F0F;
    --logo-bar:    #5A392C;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper:       #121010;
  --paper-alt:   #191615;
  --paper-deep:  #231E1D;
  --ink:         #F4EFEA;
  --ink-soft:    #B3ABA6;
  --ink-faint:   #867D78;
  --line:        #2E2825;
  --line-strong: #463D38;
  --brand:       #E4525D;
  --brand-deep:  #F2959C;
  --brand-tint:  #2A1617;
  --on-brand:    #130F0F;
  --logo-bar:    #5A392C;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* A fixed full-viewport grain overlay used to live here. It painted the whole
   page out inside the Artifact viewer (its data: URI background is blocked
   there, and the mix-blend-mode overlay then covered everything), so it is
   gone. If the texture is wanted back in WordPress, apply it to a section
   background rather than to a fixed layer over the document. */

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0;
}

h3, h4 { font-weight: 600; line-height: 1.12; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: inherit; }

::selection { background: var(--brand); color: var(--on-brand); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 1px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip:focus { left: 0; }

/* ============================ Layout primitives ========================== */

.wrap {
  width: 100%;
  max-width: 82rem;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
  min-width: 0;
}

.section { padding-block: var(--rhythm); position: relative; }
.section--tight { padding-block: calc(var(--rhythm) * 0.62); }
.section--alt { background: var(--paper-alt); }

/* The numbered rail. On wide screens the section index hangs in the margin;
   below that it folds into the eyebrow line. */
.railed { position: relative; }
@media (min-width: 72rem) {
  .rail {
    position: absolute;
    left: 0;
    top: 0.3rem;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.25rem;
    font-variant-numeric: tabular-nums;
    color: var(--brand);
    letter-spacing: 0.02em;
  }
  .rail::after {
    content: "";
    display: block;
    width: 1px;
    height: 3.5rem;
    background: linear-gradient(var(--line-strong), transparent);
    margin-top: 0.9rem;
  }
}
@media (max-width: 71.99rem) { .rail { display: none; } }

.eyebrow {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lede {
  font-size: var(--t-lede);
  color: var(--ink-soft);
  max-width: min(var(--measure), 100%);
  line-height: 1.55;
}

.prose { max-width: min(var(--measure), 100%); color: var(--ink-soft); display: grid; gap: 1.15rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; color: var(--ink); }

.statement {
  font-family: var(--display);
  font-size: calc(var(--t-h3) * 1.12);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  max-width: min(26ch, 100%);
  border-left: 2px solid var(--brand);
  padding-left: 1.1rem;
}

/* ================================ Buttons ================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 1.9rem;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--on-brand);
  font-family: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 240ms ease, border-color 240ms ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn > * , .btn { position: relative; }
.btn span { position: relative; z-index: 1; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--ink); color: var(--paper); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); border-color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand);
  padding-block: 0.35rem;
  width: fit-content;
}
.textlink::after {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  transition: width 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.textlink:hover::after { width: 2.6rem; }

/* =============================== Masthead ================================ */

.masthead {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: color-mix(in srgb, var(--paper) 97%, transparent);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 5rem; }

.logo { display: block; flex: none; line-height: 0; }
.logo__mark { width: clamp(9.5rem, 14vw, 13rem); height: auto; }
.logo__mark--light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo__mark { display: none; }
  :root:not([data-theme="light"]) .logo__mark--light { display: block; }
}
:root[data-theme="dark"] .logo__mark { display: none; }
:root[data-theme="dark"] .logo__mark--light { display: block; }
/* On the ink and crimson bands the reversed artwork is the right one. */
.band .logo__mark, .foot--dark .logo__mark { display: none; }
.band .logo__mark--light, .foot--dark .logo__mark--light { display: block; }

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

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  position: relative;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }

.nav__caret {
  width: 0.4rem; height: 0.4rem; flex: none;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.12em) rotate(45deg);
  transition: transform 220ms ease;
}

/* ---------------------------- Drop-down menus --------------------------- */

.nav__group { position: relative; display: flex; align-items: center; }
.nav__toggle { display: none; }

.menu {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(23, 20, 20, 0.45);
  padding: 1rem 0 0.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1), visibility 180ms;
  z-index: 50;
}
.nav__group:hover > .menu,
.nav__group:focus-within > .menu,
.nav__group[data-open="true"] > .menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__group:hover .nav__caret,
.nav__group:focus-within .nav__caret { transform: translateY(0.05em) rotate(225deg); }

.menu--wide { min-width: min(58rem, calc(100vw - 3rem)); }
.menu__inner { display: grid; gap: 0 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline: 1.5rem; }
.menu__col { min-width: 0; }

.menu__head {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.menu__head:hover { color: var(--brand); }

.menu__list { list-style: none; margin: 0; padding: 0; display: grid; }
.menu .menu__list:not(.menu__col .menu__list) { padding-inline: 0.4rem; }
.menu__list a {
  display: block;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 2px;
}
.menu__list a:hover { background: var(--paper-alt); color: var(--brand); }

.menu__all {
  display: block;
  margin-top: 0.9rem;
  padding: 0.85rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--paper-alt);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
}
.menu__all:hover { background: var(--brand-tint); }

.masthead .btn { padding: 0.8rem 1.25rem; }

.progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px;
  background: var(--brand);
  width: 0;
  transition: width 90ms linear;
}

.nav-toggle { display: none; }

@media (max-width: 72rem) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    font: inherit;
    font-size: var(--t-small);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.65rem 0.95rem;
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.25rem var(--gutter) 1.75rem;
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
  }
  .nav[data-open="true"] { display: flex; }

  .nav > .nav__link { padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .nav__group { display: block; border-bottom: 1px solid var(--line); position: relative; }
  .nav__group > .nav__link { padding-block: 1rem; padding-right: 3rem; }
  .nav__group > .nav__link .nav__caret { display: none; }

  .nav__toggle {
    display: block;
    position: absolute;
    top: 0; right: 0;
    width: 3rem; height: 3.5rem;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--ink-soft);
  }
  .nav__toggle::before, .nav__toggle::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 0.75rem; height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 220ms ease, opacity 220ms ease;
  }
  .nav__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
  .nav__group[data-open="true"] .nav__toggle::after { opacity: 0; }

  .menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 1rem;
  }
  .nav__group[data-open="true"] > .menu { display: block; }
  .nav__group:hover > .menu, .nav__group:focus-within > .menu { display: none; }
  .nav__group[data-open="true"]:hover > .menu { display: block; }
  /* the open-state rule above out-specifies the base .menu, so undo its
     centring transform here too */
  .nav__group:hover > .menu,
  .nav__group:focus-within > .menu,
  .nav__group[data-open="true"] > .menu { transform: none; }

  .menu--wide { min-width: 0; }
  .menu__inner { grid-template-columns: 1fr; gap: 1.25rem; padding-inline: 0; }
  .menu__head { font-size: 0.9375rem; }
  .menu__list a { padding-inline: 0; }
  .menu__all { margin-top: 0.75rem; padding-inline: 0; background: transparent; border-top: 0; }

  .nav .btn { margin-top: 1.25rem; justify-content: center; }

  /* Drawer nav: full-width rows — no floating pill on current page */
  .nav .nav__link {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 0;
    padding-inline: 0;
    background: transparent;
    white-space: normal;
  }

  .nav .nav__link[aria-current="page"] {
    background: transparent;
    color: var(--brand);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--brand);
    padding-left: 0.75rem;
  }

  .nav__group > .nav__link {
    padding-right: 3rem;
  }

  .nav__group[data-open="true"] > .nav__link {
    color: var(--ink);
    font-weight: 600;
  }

  .nav__group[data-open="true"] > .nav__link[aria-current="page"] {
    color: var(--brand);
  }
}

/* ================================= Hero ================================== */

.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--rhythm); }
.hero__lower { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); grid-template-columns: minmax(0, 1fr); align-items: start; margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.hero__lower > * { min-width: 0; }
.hero .shot--portrait { aspect-ratio: var(--media-aspect); }
@media (min-width: 64rem) { .hero__lower { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.hero__kicker {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.75rem;
}
.hero__kicker span { display: inline-flex; align-items: center; gap: 0.85rem; }
.hero__kicker span::after { content: ""; width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.hero__kicker span:last-child::after { display: none; }

.hero h1 { font-size: var(--t-h1); letter-spacing: -0.028em; max-width: min(16ch, 100%); }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--brand); }

.hero__body { display: grid; gap: 1.75rem; min-width: 0; justify-items: start; }
/* Measured in rem, not ch: this box inherits 1rem while its paragraphs are
   set at --t-lede, so a ch-based cap came out about ten characters short. */
.hero__copy { display: grid; gap: 1.5rem; max-width: min(33rem, 100%); min-width: 0; }
.hero__copy p { color: var(--ink-soft); font-size: var(--t-lede); line-height: 1.55; }
.hero .btn-row { max-width: 100%; }

/* Generative serum field — canvas drawn in site.js, softened in CSS. */
.field {
  position: relative;
  aspect-ratio: 5 / 6;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  overflow: hidden;
}
.field canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.field__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.85rem 1.1rem;
  font-size: var(--t-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================== Trust strip ============================== */

.trust { border-block: 1px solid var(--line); background: var(--paper); }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .trust__list { grid-template-columns: repeat(3, 1fr); } }
.trust__item {
  padding-block: clamp(1.6rem, 3vw, 2.5rem);
  display: grid;
  gap: 0.3rem;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
@media (min-width: 48rem) {
  .trust__item { border-bottom: 0; border-left: 1px solid var(--line); padding-inline: clamp(1.5rem, 3vw, 3rem); }
  .trust__item:first-child { border-left: 0; padding-left: 0; }
}
.trust__figure { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 3vw, 3.1rem); font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -0.01em; }
.trust__label { font-size: var(--t-small); color: var(--ink-faint); letter-spacing: 0.04em; }

/* =============================== Split grid ============================== */

.split { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
.split--align { align-items: center; }
@media (min-width: 64rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); } }
.split > * { min-width: 0; max-width: 100%; }
.split h2 { overflow-wrap: break-word; }
/* Image left, copy right on wide screens; DOM stays copy-first for mobile. */
@media (min-width: 64rem) {
  .split--reverse > :first-child { order: 2; }
  .split--reverse > :last-child { order: 1; }
}
.split h2 { font-size: var(--t-h2); }
.split__aside { display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
.split__main { display: grid; gap: 2rem; min-width: 0; }

/* ======================= Concern selector (route B) ====================== */

.concerns {
  display: grid;
  gap: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: 1fr;
}
.concerns > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 44rem) { .concerns { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .concerns { grid-template-columns: repeat(3, 1fr); } }

.concern {
  background: var(--paper);
  padding: clamp(1.6rem, 2.8vw, 2.4rem);
  display: grid;
  gap: 0.9rem;
  align-content: start;
  text-decoration: none;
  min-width: 0;
  position: relative;
  isolation: isolate;
  transition: color 300ms ease;
}
.concern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(165deg, var(--brand), var(--brand-deep));
  opacity: 0;
  transition: opacity 340ms cubic-bezier(0.22, 1, 0.36, 1);
}
.concern:hover, .concern:focus-visible { color: var(--on-brand); }
.concern:hover::before, .concern:focus-visible::before { opacity: 1; }
.concern:hover .concern__index,
.concern:hover .concern__count,
.concern:hover p,
.concern:focus-visible .concern__index,
.concern:focus-visible .concern__count,
.concern:focus-visible p { color: color-mix(in srgb, var(--on-brand) 80%, transparent); }
.concern:hover .concern__mark, .concern:focus-visible .concern__mark { color: var(--on-brand); }
.concern:hover .textlink, .concern:focus-visible .textlink { color: var(--on-brand); }

.concern__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.concern__index { font-size: var(--t-micro); letter-spacing: 0.24em; color: var(--ink-faint); font-variant-numeric: tabular-nums; transition: color 300ms ease; }
.concern__mark { width: 2.5rem; height: 2.5rem; color: var(--brand); flex: none; transition: color 300ms ease; }
.concern__mark svg { width: 100%; height: 100%; display: block; }
.concern h3 { font-size: var(--t-h3); }
.concern p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.55; transition: color 300ms ease; }
.concern__count { font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); font-variant-numeric: tabular-nums; transition: color 300ms ease; }
.concern .textlink { margin-top: 0.2rem; transition: color 300ms ease; }

/* ================================ Pillars ================================ */

.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); grid-template-columns: 1fr; }
@media (min-width: 44rem) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 76rem) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { display: grid; gap: 0.65rem; align-content: start; border-top: 1px solid var(--ink); padding-top: 1.25rem; min-width: 0; }
.pillar h3 { font-family: var(--body); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.4; }
.pillar p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.6; }

/* ============================= Numbered steps ============================ */

/* The step row is used both full-width (home) and inside a narrow column
   (about), so it sizes to its container rather than the viewport. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; container-type: inline-size; }
.step {
  display: grid;
  gap: 0.5rem 2.5rem;
  grid-template-columns: 1fr;
  padding-block: clamp(1.6rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--line); }
@container (min-width: 44rem) { .step { grid-template-columns: 3.5rem minmax(0, 15rem) minmax(24ch, 1fr); } }
.step__num { font-family: var(--display); font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; font-size: 1.7rem; line-height: 1; }
.step h3 { font-size: var(--t-h3); }
.step p { color: var(--ink-soft); font-size: 0.9375rem; min-width: 0; line-height: 1.6; }

/* ========================== Treatment directory ========================== */

.routes { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--ink); }
.route {
  font: inherit;
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: none;
  border: 0;
  color: var(--ink-faint);
  padding: 1rem 1.5rem 1rem 0;
  margin-right: 2rem;
  cursor: pointer;
  position: relative;
}
.route::after {
  content: "";
  position: absolute;
  left: 0; right: 1.5rem; bottom: -1px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.route[aria-selected="true"] { color: var(--ink); }
.route[aria-selected="true"]::after { transform: scaleX(1); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.filter {
  font: inherit;
  font-size: var(--t-small);
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.tgroup { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.tgroup__head { display: grid; gap: 0.6rem; margin-bottom: 2rem; }
.tgroup__head h2 { font-size: var(--t-h2); }
.tgroup__head p { color: var(--ink-soft); max-width: min(var(--measure), 100%); font-size: 0.9375rem; }

.tlist { display: grid; gap: 0; background: var(--paper); border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 56rem) { .tlist { grid-template-columns: repeat(2, 1fr); } }
.tlist > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.tcard {
  background: var(--paper);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
  position: relative;
  transition: background 260ms ease;
}
.tcard:hover { background: var(--paper-alt); }
.tcard__series { font-size: var(--t-micro); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); }
.tcard h3 { font-size: var(--t-h3); }
.tcard__tag { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.55; }
.tcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin-top: 0.3rem; }
.tcard__dur { font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.tcard__go { font-size: var(--t-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); margin-top: auto; padding-top: 0.9rem; }

.chip {
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--ink-faint);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.chip--brand { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }

.empty { padding: 3rem 0; color: var(--ink-faint); font-size: 0.9375rem; }

/* =========================== Treatment detail ============================ */

.crumbs { font-size: var(--t-small); color: var(--ink-faint); display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 2rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

.detail__head { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: end; padding-block: clamp(2rem, 4vw, 3.5rem) var(--rhythm); }
@media (min-width: 64rem) { .detail__head { grid-template-columns: 1.2fr 0.8fr; } }
.detail__head h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); letter-spacing: -0.025em; margin-bottom: 1.25rem; }

.detail__body { display: grid; gap: clamp(2.5rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: stretch; }
.detail__aside { min-width: 0; }
@media (min-width: 64rem) { .detail__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); } }

.dsection { border-top: 1px solid var(--line); padding-block: clamp(1.75rem, 3vw, 2.5rem); display: grid; gap: 1rem; }
.dsection:first-child { border-top: 0; padding-top: 0; }
.dsection h2 { font-size: var(--t-h3); }
.dsection p { color: var(--ink-soft); max-width: min(var(--measure), 100%); }
.dsection strong, .benefits strong { color: var(--ink); font-weight: 600; }
/* A bold run that opens a paragraph is a label in the client's document, not emphasis. */
.dsection p > strong:first-child { display: block; font-size: 0.9375rem; letter-spacing: 0.01em; margin-bottom: 0.1rem; }

.spec { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.spec__row { display: grid; grid-template-columns: 1fr; gap: 0.25rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
@media (min-width: 40rem) { .spec__row { grid-template-columns: 8rem 1fr; gap: 1.5rem; } }
.spec__key { font-size: var(--t-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); padding-top: 0.2rem; }
.spec__val { color: var(--ink); min-width: 0; font-size: 0.9375rem; }

.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; max-width: min(var(--measure), 100%); }
.benefits li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; color: var(--ink-soft); align-items: baseline; }
.benefits li::before { content: "\2014"; color: var(--brand); }

.aside-card { border: 1px solid var(--line); background: var(--paper-alt); padding: clamp(1.6rem, 3vw, 2.25rem); display: grid; gap: 1rem; align-content: start; position: sticky; top: 7rem; }
.aside-card h3 { font-size: var(--t-h3); }
.aside-card p { color: var(--ink-soft); font-size: 0.9375rem; }
@media (max-width: 63.99rem) { .aside-card { position: static; } }

/* ================================== FAQ ================================== */

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: 1.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--t-h3);
  display: grid;
  grid-template-columns: 1fr 1.5rem;
  gap: 1.25rem;
  align-items: baseline;
  transition: color 200ms ease;
}
.faq summary:hover { color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); justify-self: end; font-family: var(--body); font-size: 1.25rem; }
.faq details[open] summary::after { content: "\2013"; }
.faq__body { display: grid; gap: 0.9rem; color: var(--ink-soft); padding-bottom: 1.75rem; max-width: min(var(--measure), 100%); }
h2.faq__group { font-size: var(--t-micro); letter-spacing: 0.26em; text-transform: uppercase; color: var(--brand); margin-block: 3rem 1rem; }
.faq__group:first-of-type { margin-top: 0; }

/* FAQ: sticky section index only on wide screens; on phones it overlapped accordion text. */
.faq-layout .split__aside {
  position: sticky;
  top: 7rem;
  align-self: start;
  background: var(--paper);
  z-index: 2;
}
@media (max-width: 63.99rem) {
  .faq-layout .split__aside {
    position: static;
    z-index: auto;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0.5rem;
  }
}

/* =============================== Locations =============================== */

.locations { display: grid; gap: 0; background: var(--paper); border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: 1fr; }
.locations > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 56rem) { .locations { grid-template-columns: repeat(2, 1fr); } }
.location { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.5rem); display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
.location h3 { font-size: var(--t-h2); }
.location dl { margin: 0; display: grid; gap: 0.85rem; }
.location dt { font-size: var(--t-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.location dd { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.55; }
.map {
  aspect-ratio: 16 / 10;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  max-width: 100%;
  overflow: hidden;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ================================= Bands ================================= */

.band { background: var(--ink); color: var(--paper); }
.band h2 { font-size: var(--t-h2); color: inherit; }
.band .lede, .band p { color: color-mix(in srgb, currentColor 68%, transparent); }
.band .eyebrow { color: var(--brand-deep); }
.band .btn { background: var(--brand); border-color: var(--brand); color: #FBF9F6; }
.band .btn::before { background: #FBF9F6; }
.band .btn:hover { color: var(--ink); border-color: #FBF9F6; }
.band .btn--ghost { background: transparent; border-color: color-mix(in srgb, currentColor 35%, transparent); color: inherit; }
.band .btn--ghost:hover { color: var(--ink); }

/* The one loud moment on the site. */
.band--brand { background: var(--brand); color: #FBF9F6; }
.band--brand .eyebrow { color: color-mix(in srgb, #FBF9F6 72%, transparent); }
.band--brand .rail { color: color-mix(in srgb, #FBF9F6 72%, transparent); }
.band--brand .rail::after { background: linear-gradient(color-mix(in srgb, #FBF9F6 45%, transparent), transparent); }
.band--brand h2, .band--brand h3 { color: inherit; }
.band--brand p { color: color-mix(in srgb, #FBF9F6 76%, transparent); }
.band--brand .statement { color: #FBF9F6; border-left-color: color-mix(in srgb, #FBF9F6 55%, transparent); }
.band .statement { border-left-color: color-mix(in srgb, currentColor 45%, transparent); }
/* .prose em pins itself to --ink, which disappears on a coloured ground. */
.band .prose em, .band .prose strong { color: inherit; }
.band--brand .prose em, .band--brand .prose strong { color: #FBF9F6; }
.band--brand .pillar { border-top-color: color-mix(in srgb, #FBF9F6 45%, transparent); }
.band--brand .btn { background: #FBF9F6; border-color: #FBF9F6; color: var(--brand); }
.band--brand .btn::before { background: var(--ink); }
.band--brand .btn:hover { color: #FBF9F6; border-color: var(--ink); }

/* ================================ Footer ================================= */

.foot { border-top: 1px solid var(--line); padding-block: var(--rhythm) 2.5rem; }
.foot__grid { display: grid; gap: 2.75rem; grid-template-columns: 1fr; }
@media (min-width: 56rem) { .foot__grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); } }
.foot h4 { font-size: var(--t-micro); letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--body); font-weight: 600; color: var(--ink-faint); margin-bottom: 1.1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.foot a { text-decoration: none; color: var(--ink-soft); font-size: 0.9375rem; }
.foot a:hover { color: var(--brand); }
.foot__intro { display: grid; gap: 1.25rem; max-width: min(34ch, 100%); }
.foot__intro p { color: var(--ink-soft); font-size: 0.9375rem; }
.foot__legal { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: var(--t-small); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }

/* =========================== Prototype chrome ============================ */

.proto {
  background: #1D1A1A;
  color: rgba(251, 249, 246, 0.68);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.proto .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: space-between; padding-block: 0.7rem; }
.proto strong { color: #FBF9F6; font-weight: 500; }
.proto a { color: #E4525D; text-decoration: none; }
.proto a:hover { text-decoration: underline; }

/* ============================ Motion, at rest ============================ */
/* Content is complete and readable before any of this runs; JS only adds the
   finishing movement, and only when the viewer has not asked us not to. */

/* Movement only, never opacity: if a transition is interrupted or never runs,
   the text is still fully readable. */
.js [data-reveal] { transform: translateY(12px); }
.js [data-reveal].is-in { transform: none; transition: transform 540ms cubic-bezier(0.22, 1, 0.36, 1); }
.js [data-reveal][data-reveal-delay="1"].is-in { transition-delay: 60ms; }
.js [data-reveal][data-reveal-delay="2"].is-in { transition-delay: 120ms; }
.js [data-reveal][data-reveal-delay="3"].is-in { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ----------------- About: the client's own two short lists ---------------- */

.detail-list { list-style: none; margin: 0; padding: 0; display: grid; }
.detail-list li {
  font-family: var(--display);
  font-size: var(--t-h3);
  line-height: 1.25;
  border-top: 1px solid var(--line);
  padding-block: 1.1rem;
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  counter-increment: detail;
}
.detail-list { counter-reset: detail; }
.detail-list li:last-child { border-bottom: 1px solid var(--line); }
.detail-list li::before {
  content: counter(detail, decimal-leading-zero);
  font-family: var(--body);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.feel { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 44rem) { .feel { grid-template-columns: repeat(3, 1fr); } }
.feel li {
  font-family: var(--display);
  font-size: var(--t-h3);
  line-height: 1.2;
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
  padding-right: 1rem;
  min-width: 0;
}

@media (max-width: 43.99rem) {
  .feel {
    border-top: 1px solid var(--ink);
    padding-top: 1rem;
    gap: 0.65rem;
  }
  .feel li {
    border-top: none;
    padding-top: 0;
    padding-right: 0;
  }
}

/* ------------- Prototype only: copy we drafted, not the client's ---------- */
/* Removed with the attribute when this becomes the WordPress theme. */

/* Underline the words themselves: a ::after rule collided with the arrow rule
   on .textlink, and this marks exactly the text that is ours. */
[data-draft] {
  text-decoration: underline dashed color-mix(in srgb, var(--brand) 55%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}
.draft-key {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 249, 246, 0.68);
}
.draft-key::before {
  content: "";
  width: 1.6rem;
  border-bottom: 1px dashed #E4525D;
}

/* -------------------------- Photography ---------------------------------- */
/* All images are the client's own, pulled from the current live site. */

.shot { margin: 0; position: relative; overflow: hidden; background: var(--paper-deep); min-width: 0; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot--portrait { aspect-ratio: var(--media-aspect); }
.shot--landscape { aspect-ratio: var(--media-aspect); }
.shot--wide { aspect-ratio: 16 / 9; }
.shot--panel { aspect-ratio: 3 / 2; }

.shot figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.8rem 1.1rem;
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FBF9F6;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

/* A full-width image used as a section break. */
.band-shot { position: relative; }
.band-shot img { width: 100%; display: block; aspect-ratio: 21 / 9; max-height: 32rem; object-fit: cover; }
@media (max-width: 48rem) { .band-shot img { aspect-ratio: 3 / 2; } }

/* Text on one side, picture on the other, inside a coloured band. */
.media-split { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 64rem) { .media-split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); } }
.media-split > * { min-width: 0; }

/* ---------------------------- Reviews & E-E-A-T -------------------------- */

.proof { display: grid; gap: 1px; background: var(--paper); border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .proof { grid-template-columns: repeat(2, 1fr); } }
.proof > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(1.4rem, 2.6vw, 2rem); display: grid; gap: 0.3rem; align-content: center; min-width: 0; }
.proof__figure { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 2.8vw, 2.9rem); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.proof__label { font-size: 0.9375rem; color: var(--ink-soft); }
.proof__src { font-size: var(--t-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }

.stars { display: inline-flex; gap: 0.12rem; color: var(--brand); line-height: 1; }
.stars svg { width: 0.95rem; height: 0.95rem; display: block; }

.reviews { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 64rem) { .reviews { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); } }

.review-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: start;
  background: transparent;
  border: 0;
}
@media (min-width: 52rem) {
  .review-list {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

.review {
  background: var(--paper);
  box-shadow: var(--shadow-neo);
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  height: 100%;
}
.review blockquote { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.6; }
.review footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.15rem;
}
.review--cta {
  background: #FAF9F6;
}
.review--cta .review__lead {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--t-h3);
  line-height: 1.15;
  color: var(--brand);
}
.review--cta blockquote { font-size: 0.9375rem; }
.review__name { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.review__meta { font-size: var(--t-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

/* A video testimonial. One is the feature; a row of them when more arrive. */
.video-card {
  position: relative;
  display: block;
  aspect-ratio: var(--media-aspect);
  overflow: hidden;
  background: var(--paper-deep);
  text-decoration: none;
  min-width: 0;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1); }
.video-card:hover img { transform: scale(1.03); }
.video-card__play {
  position: absolute;
  /* centred on the play mark already baked into this stand-in frame, so the
     two do not sit side by side; a clean poster will want 50%/50% */
  top: 52.4%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(4.25rem, 8.5vw, 5.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.07); }
.video-card__play::after {
  content: "";
  width: 0; height: 0;
  margin-left: 0.22em;
  border-left: 0.95rem solid #FBF9F6;
  border-top: 0.58rem solid transparent;
  border-bottom: 0.58rem solid transparent;
}
.video-card__cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.5rem 1.2rem 1.1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #FBF9F6;
  display: grid;
  gap: 0.2rem;
}
.video-card__name { font-weight: 600; font-size: 0.9375rem; }
.video-card__meta { font-size: var(--t-micro); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(251, 249, 246, 0.72); }

/* A treatment card that leads with its photograph. */
.tcard--shot { padding: 0; overflow: hidden; }
.tcard--shot > :not(.tcard__img) { padding-inline: clamp(1.5rem, 2.6vw, 2.1rem); }
.tcard--shot > .tcard__series { padding-top: clamp(1.1rem, 2vw, 1.4rem); }
.tcard--shot > .tcard__go { padding-bottom: clamp(1.5rem, 2.6vw, 2.1rem); }
.tcard__img { display: block; aspect-ratio: var(--media-aspect); overflow: hidden; background: var(--paper-deep); margin-bottom: 1.1rem; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; display: block; transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.tcard--shot:hover .tcard__img img { transform: scale(1.015); }

.shot figcaption[data-draft] {
  position: static;
  background: var(--brand-tint);
  color: var(--brand);
  padding: 0.6rem 0.9rem;
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.shot:has(figcaption[data-draft]) { aspect-ratio: auto; }
.shot:has(figcaption[data-draft]) img { aspect-ratio: 3 / 2; }

/* ===================== Style blend (lsc1 + lsc2) ===================== */

.btn,
.nav-toggle,
.filter {
  border-radius: var(--radius-pill);
}
.btn::before { display: none; }
.btn:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: var(--on-brand);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.eyebrow {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.2em;
}
.eyebrow::before { display: none !important; }
.band .eyebrow,
.band--brand .eyebrow { background: transparent; }

.shot,
.tcard,
.video-card,
.aside-card,
.review,
.location,
.pillar,
.concern,
.step,
.home-card,
.faq details {
  border-radius: 1.75rem;
}
.shot { border-radius: 1.75rem; box-shadow: var(--shadow); }

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 92vh;
  background: linear-gradient(105deg, #A30915 0%, #79000a 42%, #4A0A10 100%);
  color: #FBF9F6;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.hero__media {
  position: absolute;
  inset: 0 0 0 34%;
  pointer-events: none;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 36%);
  mask-image: linear-gradient(to right, transparent 0%, #000 36%);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #4A0A10 0%, transparent 32%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1,
.hero__copy,
.hero .btn-row,
.hero__glass { max-width: 38rem; }
.hero h1,
.hero h1 em { color: #FBF9F6; font-weight: 500; }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero__kicker { color: rgba(251, 249, 246, 0.82); }
.hero__copy { margin-top: 1.5rem; }
.hero__copy p { color: rgba(251, 249, 246, 0.9); font-weight: 400; }
.hero .btn-row { margin-top: 1.75rem; }
.hero .btn {
  background: #FBF9F6;
  border-color: #FBF9F6;
  color: var(--brand);
}
.hero .btn:hover { background: #fff; border-color: #fff; color: var(--brand-deep); }
.hero .btn--ghost {
  background: transparent;
  color: #FBF9F6;
  border-color: rgba(251, 249, 246, 0.45);
}
.hero .btn--ghost:hover { background: rgba(251, 249, 246, 0.12); color: #FBF9F6; border-color: #FBF9F6; }
.hero__glass {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 2.25rem;
  padding: 0.95rem 1.2rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}
.hero__glass span { font-size: 0.95rem; font-weight: 500; }
@media (max-width: 63.99rem) {
  .hero {
    display: flex;
    align-items: flex-end;
    min-height: 100svh;
    padding-top: 6.5rem;
    padding-bottom: 2.25rem;
  }
  .hero__media {
    position: absolute;
    inset: 0;
    height: auto;
    margin: 0;
  }
  .hero__media img {
    object-position: center 18%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 42%);
    mask-image: linear-gradient(to top, transparent 0%, #000 42%);
  }
  .hero__media::after {
    background:
      linear-gradient(to top, #4A0A10 0%, rgba(74, 10, 16, 0.72) 38%, rgba(163, 9, 21, 0.35) 100%);
  }
  .hero h1,
  .hero__copy,
  .hero .btn-row,
  .hero__glass { max-width: none; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn { width: 100%; }
  .hero__glass {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .trust { padding-top: 2.75rem; }
  .home-pillars .split,
  .home-pillars h2 { text-align: left; margin-inline: 0; }
}

.home-approach .shot--portrait { border-radius: 1.75rem; aspect-ratio: var(--media-aspect); }
.home-pillars { background: #F5EDE3; }
.home-pillars .page-intro { margin-bottom: 2.5rem; }
.home-pillars h2 { max-width: 22em; }
.pillars { counter-reset: pillar; }
.pillar { counter-increment: pillar; }
.pillar::before {
  content: counter(pillar, decimal-leading-zero);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.steps { gap: 1rem; }
.step {
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.35rem 1.25rem;
}
.step:last-child { border: 0; }
.step__num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #FBF9F6;
  font-size: 0.85rem;
}

@media (min-width: 72rem) {
  .rail { display: none; }
}

.concerns {
  gap: 1rem;
  background: transparent;
  border: 0;
}
.concerns > * { border: 0; }
.concern {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.concern::before { display: none; }
.concern:hover,
.concern:focus-visible { color: inherit; transform: translateY(-4px); }
.concern:hover p,
.concern:focus-visible p { color: var(--ink-soft); }
.concern:hover .concern__index,
.concern:hover .concern__count,
.concern:focus-visible .concern__index,
.concern:focus-visible .concern__count { color: var(--ink-faint); }
.concern:hover .concern__mark,
.concern:focus-visible .concern__mark,
.concern:hover .textlink,
.concern:focus-visible .textlink { color: var(--brand); }

.pillars { gap: 1rem; }
.pillar {
  border-top: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: var(--shadow);
}
.band--brand .pillar { background: rgba(251, 249, 246, 0.12); border-top: 0; }

.tlist {
  gap: 1rem;
  background: transparent;
  border: 0;
}
.tlist > * { border: 0; }
.tcard {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.tcard:hover { background: #fff; transform: translateY(-3px); }

.statement {
  border-left: 0;
  padding-left: 0;
  font-style: italic;
  font-weight: 500;
}

/* Sitewide surface from the two style boards — not only the home hero. */

.masthead {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 0;
  box-shadow: 0 1px 8px rgba(42, 10, 14, 0.05);
}
.progress { display: none; }
.nav__link {
  letter-spacing: 0.08em;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
}
.nav__link::after { display: none; }
.nav__link[aria-current="page"] {
  background: var(--paper-alt);
  color: var(--ink);
}
.btn { letter-spacing: 0.08em; font-weight: 600; }

.section--alt,
.home-pillars { background: #F5EDE3; }

.section--tight .split { align-items: center; }

.band-shot {
  max-width: 82rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.band-shot img {
  border-radius: 1.75rem;
  max-height: 28rem;
}

.shot,
.tcard,
.concern,
.pillar,
.review,
.location,
.aside-card,
.video-card,
.step {
  border-radius: 1.75rem;
}

.trust {
  border: 0;
  background: transparent;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}
.trust__list { gap: 1rem; }
.trust__item {
  border: 0;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.4rem 1.3rem;
}
@media (min-width: 48rem) {
  .trust__item { border-left: 0; padding-inline: 1.4rem; }
  .trust__item:first-child { padding-left: 1.4rem; }
}

.faq { border-top: 0; }
.faq details {
  border: 0;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 0.75rem;
  padding-inline: 1.25rem;
}

.locations {
  gap: 1rem;
  background: transparent;
  border: 0;
}
.locations > * { border: 0; }
.location {
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.home-consult {
  background: #4A0A10;
  color: #FBF9F6;
}
.home-consult .eyebrow { background: transparent; color: #ffdad6; }
.home-consult h2,
.home-consult .lede { color: #FBF9F6; }
.home-consult .btn {
  background: #FBF9F6;
  border-color: #FBF9F6;
  color: var(--brand);
}
.home-scan { position: relative; border-radius: 1.75rem; aspect-ratio: var(--media-aspect); }
.home-scan__frame {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 1.25rem;
  pointer-events: none;
}
.home-consult .steps {
  margin-top: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 64rem) {
  .home-consult .steps { grid-template-columns: repeat(4, 1fr); }
}
.home-consult .step {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: #FBF9F6;
}
.home-consult .step h3,
.home-consult .step p { color: inherit; }
.home-consult .step__num {
  width: auto;
  height: auto;
  background: transparent;
  color: #ffdad6;
  justify-content: start;
}

.home-strength__intro,
.home-strength .statement,
.home-strength .btn-row {
  text-align: center;
  margin-inline: auto;
}
.home-strength__intro { max-width: 40rem; margin-bottom: 2.5rem; }
.home-strength .eyebrow { margin-inline: auto; }
.home-strength .statement { margin-top: 2.5rem; }
.home-strength .btn-row { justify-content: center; margin-top: 1.25rem; }
.home-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 64rem) {
  .home-cards { grid-template-columns: repeat(3, 1fr); }
}
.home-card {
  background: #fff;
  border-radius: 1.75rem;
  padding: 0.85rem;
  box-shadow: var(--shadow);
}
.home-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 1.25rem;
}
.home-card h3 { margin: 1rem 0.4rem 0.35rem; font-size: 1.2rem; }
.home-card p { margin: 0 0.4rem 0.8rem; color: var(--ink-soft); }

.home-about__photo { position: relative; border-radius: 1.75rem; }
.home-about__badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--brand);
  font-weight: 650;
  box-shadow: var(--shadow);
}

.home-cta {
  background: var(--brand);
  color: #FBF9F6;
  text-align: center;
}
.home-cta h2,
.home-cta p { color: #FBF9F6; max-width: 36rem; margin-inline: auto; }
.home-cta p { margin-top: 1rem; }
.home-cta .btn-row { justify-content: center; margin-top: 1.75rem; }
.home-cta .btn {
  background: #FBF9F6;
  border-color: #FBF9F6;
  color: var(--brand);
}
.home-cta .btn--ghost {
  background: transparent;
  color: #FBF9F6;
  border-color: rgba(251, 249, 246, 0.45);
}
.home-cta .btn--ghost:hover {
  background: rgba(251, 249, 246, 0.12);
  color: #FBF9F6;
  border-color: #FBF9F6;
}
.home-cta .split { display: block; text-align: center; }
.home-cta .eyebrow {
  margin-inline: auto;
  background: transparent;
  color: #ffdad6;
}
.home-cta .lede { margin-top: 1rem; }

/* Inner pages use the same header, cards and closing band as the home page. */

.page-hero {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem);
}
.page-hero h1,
.page-hero h1 em { color: var(--ink); font-weight: 500; max-width: 16ch; }
.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--brand); }
.page-hero .hero__kicker { color: var(--ink-soft); margin-top: 1.25rem; }
.page-hero .hero__copy p { color: var(--ink-soft); }
.page-hero .hero__lower {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: 1.75rem;
}
@media (min-width: 64rem) {
  .page-hero .hero__lower { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}
.page-hero .shot { border-radius: 1.75rem; overflow: hidden; }
.page-hero .btn-row { margin-top: 0.5rem; }

.page-head { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  max-width: 14em;
  margin-top: 0.35rem;
}
.page-head .lede,
.page-head .prose { margin-top: 1.15rem; }
.page-head .btn-row { margin-top: 1.5rem; }
.page-head .shot--portrait {
  border-radius: 1.75rem;
  aspect-ratio: var(--media-aspect);
  overflow: hidden;
}
.page-head .shot--portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }

.section.page-head {
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem) clamp(2.75rem, 5vw, 4.25rem);
}
.page-head .crumbs { padding-top: 0; }

.page-intro { max-width: 48rem; margin-bottom: 2.5rem; }
.page-intro h1,
.page-intro h2 {
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.page-intro h2 { font-size: var(--t-h2); margin-top: 0.35rem; }
.page-intro .lede { margin-top: 1rem; max-width: 40rem; }
.page-intro--center {
  text-align: center;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.page-intro--center .eyebrow,
.page-intro--center h1,
.page-intro--center h2,
.page-intro--center .lede { margin-inline: auto; text-align: center; }

.section--alt .shot--wide,
.section .shot--wide {
  max-width: 56rem;
  margin-inline: auto;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.section--alt .shot--wide + .page-copy,
.section--alt .page-copy { text-align: center; }

.page-intro--center + .prose {
  text-align: center;
  margin-inline: auto;
}
.page-intro--center + .prose + .shot--wide,
.page-intro--center ~ .shot--wide { margin-top: 2rem; }
.page-copy { max-width: 40rem; margin: 2rem auto 0; }
.page-stack { display: grid; gap: 1rem; max-width: 52rem; margin-inline: auto; }
.page-stack .statement,
.page-stack .video-card {
  background: #fff;
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
}
.page-stack .statement {
  border-left: 0;
  padding-left: 1.4rem;
  max-width: none;
  font-size: calc(var(--t-h3) * 1.05);
}
.page-stack .video-card { padding: 0.6rem; overflow: hidden; }
.home-consult .statement { color: #FBF9F6; }
.pillars:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
@media (min-width: 44rem) {
  .pillars:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
}

.rail { display: none; }

.band--brand {
  background: #4A0A10;
  color: #FBF9F6;
}
.band--brand .eyebrow { background: transparent; color: #ffdad6; }
.band--brand h2,
.band--brand .lede,
.band--brand p,
.band--brand .statement { color: #FBF9F6; }
.band--brand .shot { border-radius: 1.75rem; }

.detail-list { gap: 0.75rem; }
.detail-list li {
  border: 0;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
}
.detail-list li:last-child { border: 0; }
.detail-list li::before {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  font-weight: 700;
}
.detail-list { }
.detail-list li { grid-template-columns: 2.75rem 1fr; align-items: center; }

.feel-lead {
  margin-top: 1.5rem;
  max-width: min(28rem, 100%);
  border-left: 0;
  padding-left: 0;
  font-size: 1.125rem;
}
.feel--promises {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: none;
}
.team-archive-shot {
  max-width: none;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.dsection {
  border: 0;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
  margin-bottom: 0.75rem;
}
.spec {
  border: 0;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 0.35rem 1.15rem;
}
.spec__row:last-child { border-bottom: 0; }
.aside-card {
  border: 0;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-layout .split__aside {
  background: #fff;
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
}
h2.faq__group {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.2em;
}
.home-consult .prose,
.home-consult .prose p { color: rgba(251, 249, 246, 0.88); }
.home-consult .statement {
  border-left: 0;
  padding-left: 0;
  max-width: none;
  color: #FBF9F6;
}
.wrap.page-head { padding-bottom: clamp(2rem, 4vw, 3rem); }
.wrap.page-head .detail__head h1 { font-weight: 400; }
.note,
.cover-card {
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.filter[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #FBF9F6;
}

/* ===== Fused style boards — sitewide (all 11 pages) ===== */

.pillar,
.concern,
.tcard,
.faq details,
.aside-card,
.location,
.trust__item,
.cover-card,
.note,
.dsection,
.spec,
.home-card {
  background: var(--paper);
  box-shadow: var(--shadow-neo);
}
.home-pillars .pillar,
.section--alt .pillar { background: #FAF9F6; }
.pillar:hover,
.concern:hover,
.tcard:hover { box-shadow: -10px -10px 24px rgba(255, 255, 255, 0.98), 10px 10px 26px rgba(215, 205, 195, 0.55); }

h2 { font-weight: 400; }
h2 .muted,
.split__aside h2 + .lede { color: var(--ink-soft); }

main > .section.page-head,
main > .wrap.page-head {
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem) clamp(2.5rem, 5vw, 4rem);
}
main > .wrap.page-head {
  width: 100%;
  max-width: 82rem;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}

.page-head .detail__head {
  padding-block: 1.5rem 0;
  align-items: center;
}
.page-head .detail__head h1 {
  font-weight: 400;
  font-size: clamp(2rem, 2.8vw + 1rem, 3.25rem);
}
.page-head .detail__head .shot--panel {
  aspect-ratio: var(--media-aspect);
  border-radius: 1.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}
.page-head .detail__head .shot--panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main > .wrap.page-head + .wrap,
main > .section.page-head + .wrap {
  padding-top: 0;
}
main .section--related {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
main .section--related h2 {
  font-size: var(--t-h3);
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.5rem;
}

.band:not(.band--brand) {
  background: #4A0A10;
  color: #FBF9F6;
}
.band:not(.band--brand) h2,
.band:not(.band--brand) .lede,
.band:not(.band--brand) p { color: #FBF9F6; }
.band:not(.band--brand) .eyebrow { color: #ffdad6; }
.band:not(.band--brand) .btn {
  background: #FBF9F6;
  border-color: #FBF9F6;
  color: var(--brand);
}

.split:not(.split--align) .split__aside h2 { font-weight: 400; }

.cover-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
  background: transparent;
  border: 0;
}
@media (min-width: 44rem) { .cover-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .cover-grid { grid-template-columns: repeat(3, 1fr); } }
.cover-grid > * { border: 0; }
.cover-card {
  border-radius: 1.75rem;
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  text-decoration: none;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.cover-card:hover {
  transform: translateY(-3px);
  background: var(--paper);
}
.notes .note {
  border-top: 0;
  padding: 1.35rem 1.4rem;
  border-radius: 1.75rem;
}

/* ===== Sitewide layout unification (v8) ===== */

.section-head {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.section-head h1,
.section-head h2 {
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-head h2 { font-size: var(--t-h2); margin-top: 0.35rem; }
.section-head .lede { margin-top: 1rem; max-width: 40rem; }

.section--alt .page-copy,
.section--alt .prose.page-copy {
  text-align: left;
  margin-inline: 0;
  max-width: min(var(--measure), 100%);
}
.section--alt .shot--wide {
  margin-inline: 0;
  max-width: none;
}

.page-head .detail__head {
  padding-block: 0;
  align-items: center;
  align-content: center;
}
.page-head .detail__head.split {
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}
@media (min-width: 64rem) {
  .page-head .detail__head.split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  }
}
.page-head .detail__head h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  max-width: 14em;
}
.page-head .detail__head .lede { margin-top: 1.15rem; }
.page-head .detail__head .spec {
  margin-top: 1.5rem;
  border-top: 0;
}
.page-head .detail__head .shot--portrait,
.page-head .detail__head .shot--panel {
  aspect-ratio: var(--media-aspect);
  border-radius: 1.75rem;
  overflow: hidden;
  margin-bottom: 0;
}

/* Detail + library image frames: one fixed ratio, always edge-to-edge (no letterboxing). */
[data-treatment-page] .page-head .detail__head .shot--portrait,
[data-concern-page] .page-head .shot--portrait,
[data-product-page] .page-head .detail__head .shot--portrait,
[data-treatments-index] .page-head .detail__head .shot--portrait,
[data-concerns-index] .page-head .detail__head .shot--portrait,
[data-products-index] .page-head .detail__head .shot--portrait,
[data-about-page] .page-head .detail__head .shot--portrait,
[data-faq-page] .page-head .detail__head .shot--portrait,
[data-blog-page] .page-head .detail__head .shot--portrait,
[data-contact-page] .page-head .detail__head .shot--portrait,
.tcard__img,
.concern__thumb {
  background: var(--paper-deep);
}

[data-treatment-page] .page-head .detail__head .shot--portrait img,
[data-concern-page] .page-head .shot--portrait img,
[data-product-page] .page-head .detail__head .shot--portrait img,
[data-about-page] .page-head .detail__head .shot--portrait img,
[data-faq-page] .page-head .detail__head .shot--portrait img,
[data-blog-page] .page-head .detail__head .shot--portrait img,
[data-contact-page] .page-head .detail__head .shot--portrait img,
.tcard__img img {
  object-fit: cover;
  object-position: center 36%;
}

.concerns {
  gap: 1rem;
  border: 0;
  background: transparent;
}
.concerns > * {
  border: 0;
  border-radius: 1.75rem;
}

.locations {
  gap: 1rem;
  border: 0;
  background: transparent;
}
.locations > * {
  border: 0;
  border-radius: 1.75rem;
}

.feel.feel--promises {
  border-top: 0;
  padding-top: 0;
  gap: 1rem;
}
@media (min-width: 44rem) {
  .feel.feel--promises { grid-template-columns: repeat(3, 1fr); }
}
.feel.feel--promises li {
  border-top: 0;
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  border-radius: 1.75rem;
  background: var(--paper);
  box-shadow: var(--shadow-neo);
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.25;
}

main .section--related h2 {
  text-align: left;
  font-size: var(--t-h2);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

/* Peach band after page head: inset content from the section edge (was padding-top:0 — cards/filters stuck flush). */
main > .section.page-head + .section.section--alt {
  padding-top: clamp(2.75rem, 5vw, 4.25rem);
}

/* Stacked wraps in one section (e.g. home concerns intro + grid). */
.section > .wrap + .wrap {
  padding-top: clamp(2.25rem, 4.5vw, 3.5rem);
}

main > .section.page-head + .wrap {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* About — origin block: same rhythm as page-head (copy left, 4:5 portrait right) */
.story-block .story-year {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-top: 0.35rem;
}
.story-block .prose {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: min(var(--measure), 100%);
}
.story-block .prose p + p { margin-top: 1rem; }
.story-block .shot--portrait {
  border-radius: 1.75rem;
  aspect-ratio: var(--media-aspect);
  overflow: hidden;
}
.story-block .shot--portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-block .shot figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(26, 26, 26, 0.72);
  border-radius: 0.35rem;
}
.story-block .shot { position: relative; }
.feel--promises { margin-top: clamp(2rem, 4vw, 3rem); }
.team-archive-shot { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ===== Mobile layout (v17) ===== */

html { overflow-x: clip; }

main {
  overflow-x: clip;
  max-width: 100%;
}

h1, h2, h3, h4, .location h3 {
  overflow-wrap: break-word;
  hyphens: auto;
}

.locations,
.location,
.reviews,
.review-list,
.concerns,
.shot,
.video-card {
  max-width: 100%;
}

.location {
  overflow: hidden;
}

@media (max-width: 47.99rem) {
  :root {
    --gutter: 1.25rem;
    --rhythm: clamp(3.25rem, 9vw, 5rem);
  }

  .section { padding-block: var(--rhythm); }

  .masthead__inner {
    padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
  }

  .location h3 {
    font-size: clamp(1.35rem, 5.2vw, 1.85rem);
    line-height: 1.15;
  }

  .split h2 { font-size: clamp(1.65rem, 6.2vw, 2.15rem); }

  .eyebrow {
    letter-spacing: 0.18em;
    flex-wrap: wrap;
  }

  .locations { gap: 1rem; }

  .location { padding: 1.35rem 1.25rem; }

  .reviews { gap: 1.25rem; }

  .review-list { gap: 0.85rem; }

  .home-about .split { gap: 2rem; }

  .textlink { letter-spacing: 0.1em; }
}

/* ===== Client polish: hero, homepage breathing room, gentler crops (v19) ===== */

.prose--tight { gap: 1rem; }

.hero__media img[src*="hero-consultation"] {
  object-position: 56% 72%;
}

@media (min-width: 64rem) {
  main.home .hero {
    min-height: clamp(38rem, 92vh, 50rem);
    padding-top: clamp(5.25rem, 7vw, 6.75rem);
  }

  main.home .hero__media img[src*="hero-consultation"] {
    object-position: 54% 78%;
  }

  main.home .hero__media::after {
    background: linear-gradient(to top, rgba(58, 8, 16, 0.72) 0%, rgba(74, 10, 16, 0.28) 24%, transparent 48%);
  }
}

@media (max-width: 63.99rem) {
  .hero { min-height: 88svh; }

  .hero__media img[src*="hero-consultation"] {
    object-position: 50% 68%;
  }

  .home-approach .split > .shot {
    order: -1;
    margin-bottom: 0.25rem;
  }

  .home-approach .split__aside { order: 0; }

  main.home > .section {
    padding-block: clamp(4rem, 11vw, 5.75rem);
  }

  main.home > .section.section--alt {
    padding-block: clamp(4.25rem, 12vw, 6rem);
  }

  main.home .concerns { gap: 0.85rem; }

  main.home .concern p {
    font-size: 0.9375rem;
    line-height: 1.62;
  }
}

@media (min-width: 64rem) {
  main.home .home-approach .split {
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

.page-head .detail__head .shot--portrait img,
.story-block .shot--portrait img {
  object-position: center 32%;
}

.concern__thumb {
  display: block;
  aspect-ratio: var(--media-aspect);
  border-radius: 1.15rem;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--paper-deep);
}

.concern__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

.concern--has-thumb .concern__mark {
  width: 2rem;
  height: 2rem;
}

@media (min-width: 68rem) {
  .concern--has-thumb {
    grid-template-rows: auto auto 1fr;
  }
}

/* ===== Shona pass: typography & spacing only (v22) — do not edit copy in HTML ===== */

.prose {
  gap: 1.3rem;
  line-height: 1.62;
}

.lede {
  line-height: 1.62;
  max-width: min(58ch, 100%);
}

.concern {
  gap: 1.05rem;
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
}

.concern h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.concern p {
  line-height: 1.62;
  max-width: 58ch;
}

.concern .textlink {
  margin-top: 0.5rem;
}

.hero__copy {
  gap: 1.35rem;
  max-width: min(32rem, 100%);
}

.hero__copy p {
  line-height: 1.62;
  max-width: 56ch;
}

.hero h1 {
  max-width: min(14ch, 100%);
  margin-bottom: 0.15rem;
}

.hero .btn-row {
  margin-top: 1.85rem;
}

.hero__glass {
  margin-top: 2rem;
}

main.home .home-approach .split__aside h2 {
  margin-bottom: clamp(1.15rem, 2.5vw, 1.5rem);
}

main.home .home-approach .prose {
  gap: 1.35rem;
}

main.home .home-approach .statement {
  margin-top: clamp(1.75rem, 3.5vw, 2.25rem);
}

main.home .home-approach .textlink {
  margin-top: 1.35rem;
}

main.home #concerns .split.split--align {
  margin-bottom: clamp(2.75rem, 5vw, 4rem) !important;
}

main.home #concerns .lede {
  max-width: min(52ch, 100%);
}

main.home > .section {
  padding-block: clamp(4.5rem, 9vw, 7rem);
}

main.home > .trust {
  padding-block: clamp(2.5rem, 5vw, 3.25rem);
}

.page-head .lede,
.page-head .prose {
  line-height: 1.62;
}

.page-head h1 {
  line-height: 1.08;
  margin-bottom: 0.2rem;
}

.detail__body .prose,
.dsection p {
  line-height: 1.62;
}

.dsection p + p {
  margin-top: 1rem;
}

@media (max-width: 63.99rem) {
  main.home .split h2 {
    margin-bottom: 1rem;
  }
}

/* ===== v23: 字眼呈现 / 文字排版 only (HTML copy frozen) ===== */

.hero .hero__kicker {
  letter-spacing: 0.14em;
  line-height: 1.5;
  margin-bottom: clamp(1rem, 2.8vw, 1.4rem);
  gap: 0.45rem 0.7rem;
}

.hero .hero__kicker span {
  text-wrap: balance;
}

.hero h1 {
  line-height: 1.05;
  letter-spacing: -0.034em;
  margin-bottom: clamp(0.65rem, 2vw, 0.95rem);
  text-wrap: balance;
}

.hero .hero__copy {
  margin-top: clamp(0.85rem, 2.2vw, 1.25rem);
  gap: clamp(1.15rem, 3.2vw, 1.5rem);
  max-width: min(36rem, 100%);
}

.hero .hero__copy p {
  line-height: 1.68;
  font-size: clamp(1.02rem, 0.4vw + 0.96rem, 1.125rem);
  max-width: 44ch;
  text-wrap: pretty;
  hanging-punctuation: first last;
}

.hero .btn {
  letter-spacing: 0.1em;
  line-height: 1.35;
  font-size: 0.78rem;
  padding: 0.95rem 1.5rem;
}

.hero .btn--ghost {
  letter-spacing: 0.1em;
}

.hero .hero__glass {
  gap: 0.5rem 1rem;
  line-height: 1.45;
}

.hero .hero__glass span {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-wrap: balance;
  max-width: 28ch;
}

.eyebrow {
  line-height: 1.45;
  letter-spacing: 0.18em;
  text-wrap: balance;
  max-width: 36ch;
}

.split__aside > .eyebrow + h2,
.split__main > .eyebrow + h2,
.section-head .eyebrow + h2 {
  margin-top: 0;
}

.split__aside h2,
.split__main h2,
.section-head h2 {
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 22em;
}

.statement {
  line-height: 1.35;
  max-width: min(30ch, 100%);
}

.trust__figure {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.trust__label {
  line-height: 1.45;
  max-width: 18ch;
  text-wrap: pretty;
}

.concern p {
  text-wrap: pretty;
  max-width: 52ch;
}

.concern h3 {
  text-wrap: balance;
}

.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-head .lede {
  margin-top: 0.85rem;
}

.pillar h3,
.pillar p {
  line-height: 1.45;
  text-wrap: pretty;
}

.pillar p {
  max-width: 42ch;
}

.home-pillars .statement,
.home-strength .statement {
  max-width: min(32ch, 100%);
  line-height: 1.35;
}

.page-head .detail__head h1 {
  text-wrap: balance;
  max-width: 18em;
}

.dsection h2 {
  line-height: 1.15;
  letter-spacing: -0.028em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

@media (max-width: 63.99rem) {
  .hero .hero__kicker {
    letter-spacing: 0.11em;
    font-size: 0.625rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 9.5vw, 3.1rem);
    max-width: 12ch;
  }

  .hero .hero__copy p {
    max-width: 40ch;
  }

  .hero .btn-row {
    gap: 0.65rem;
    margin-top: 1.65rem;
  }

  .eyebrow {
    letter-spacing: 0.16em;
    margin-bottom: 0.65rem;
  }

  .split h2 {
    font-size: clamp(1.7rem, 6.5vw, 2.15rem);
    max-width: none;
  }

  .concern p {
    max-width: none;
    font-size: 0.9375rem;
    line-height: 1.65;
  }
}

@media (min-width: 64rem) {
  .hero h1 {
    font-size: clamp(2.85rem, 3.5vw + 1rem, 4.1rem);
    max-width: 13ch;
  }

  .hero .hero__copy p {
    max-width: 46ch;
  }
}

/* ===== v31: detail page-head layout + 字眼呈现 (copy unchanged) ===== */

.detail__head--stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.15rem, 3.2vw, 1.75rem);
  padding-block: 0;
  align-items: stretch;
}

.detail__head__aside {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.4vw, 1.3rem);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.detail__head__intro {
  max-width: 100%;
  min-width: 0;
}

.page-head .detail__head--stack {
  min-width: 0;
}

.page-head .crumbs {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.detail__head__intro {
  min-width: 0;
}

.detail__head--stack > .shot--portrait {
  margin: 0;
  width: 100%;
}

.detail__head__spec,
.detail__head__meta {
  margin: 0;
  width: 100%;
  min-width: 0;
}

.detail__head__top {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.8vw, 1rem);
  min-width: 0;
  flex: 0 0 auto;
}

.detail__head__aside .crumbs {
  padding-top: 0;
  margin: 0;
}

@media (max-width: 63.99rem) {
  .detail__head__aside {
    display: contents;
  }

  .detail__head__top {
    display: contents;
  }

  .detail__head__aside .crumbs {
    order: 0;
  }

  .detail__head__intro {
    order: 1;
    padding-top: 0;
  }

  .detail__head--stack > .shot--portrait {
    order: 2;
  }

  .detail__head__spec,
  .detail__head__meta {
    order: 3;
  }

  /* Breadcrumbs + copy left-aligned (not centered by .detail__head { align-items: center }) */
  .page-head .detail__head.detail__head--stack,
  .page-head .detail__head.detail__head--stack.split {
    align-items: stretch;
    text-align: left;
  }

  .page-head .detail__head--stack .crumbs,
  .page-head .detail__head.detail__head--stack .crumbs {
    justify-content: flex-start;
    align-self: stretch;
    width: 100%;
    text-align: left;
  }

  .page-head .detail__head--stack .detail__head__intro,
  .page-head .detail__head--stack .detail__head__top {
    align-self: stretch;
    text-align: left;
  }
}

@media (min-width: 64rem) {
  .page-head .detail__head.detail__head--stack {
    align-items: stretch;
    align-content: start;
  }

  [data-treatment-page] main > .section.page-head,
  [data-product-page] main > .section.page-head,
  [data-concern-page] main > .section.page-head,
  [data-treatments-index] main > .section.page-head,
  [data-concerns-index] main > .section.page-head,
  [data-products-index] main > .section.page-head,
  [data-about-page] main > .section.page-head,
  [data-faq-page] main > .section.page-head,
[data-blog-page] main > .section.page-head,
  [data-contact-page] main > .section.page-head {
    padding-top: clamp(1.5rem, 2.8vw, 2.35rem);
  }

  .page-head .detail__head__aside {
    padding-inline-end: clamp(1.5rem, 3.5vw, 3rem);
    box-sizing: border-box;
  }

  .detail__head__aside {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    min-height: 100%;
    height: 100%;
  }

  .detail__head__intro {
    padding-top: 0;
    flex: 0 0 auto;
  }

  .detail__head__aside > .detail__head__spec,
  .detail__head__aside > .detail__head__meta {
    margin-top: 0;
    flex: 0 0 auto;
  }

  .detail__head--stack > .shot--portrait {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    aspect-ratio: unset;
    overflow: hidden;
  }

  .detail__head--stack > .shot--portrait img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center 36%;
  }
}

[data-treatment-page] .page-head .detail__head--stack h1,
[data-product-page] .page-head .detail__head--stack h1,
[data-concern-page] .page-head .detail__head--stack h1,
[data-treatments-index] .page-head .detail__head--stack h1,
[data-concerns-index] .page-head .detail__head--stack h1,
[data-products-index] .page-head .detail__head--stack h1,
[data-about-page] .page-head .detail__head--stack h1,
[data-faq-page] .page-head .detail__head--stack h1,
[data-blog-page] .page-head .detail__head--stack h1,
[data-contact-page] .page-head .detail__head--stack h1 {
  font-size: clamp(1.7rem, 4vw + 0.55rem, 2.75rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.026em;
  max-width: 100%;
  text-wrap: pretty;
  overflow-wrap: break-word;
  margin-bottom: 0;
}

/* Title + lede only — push below eyebrow; spec / image 1:1 unchanged */
[data-treatment-page] .detail__head__intro > h1,
[data-product-page] .detail__head__intro > h1,
[data-concern-page] .detail__head__intro > h1,
[data-treatments-index] .detail__head__intro > h1,
[data-concerns-index] .detail__head__intro > h1,
[data-products-index] .detail__head__intro > h1 {
  margin-top: clamp(2.25rem, 5.5vw, 3.75rem);
}

[data-treatments-index] .detail__head__intro > h1,
[data-concerns-index] .detail__head__intro > h1,
[data-products-index] .page-head .detail__head--stack .detail__head__intro > h1 {
  margin-top: 0;
}

[data-about-page] .detail__head__intro > h1,
[data-faq-page] .detail__head__intro > h1,
[data-blog-page] .detail__head__intro > h1,
[data-contact-page] .detail__head__intro > h1 {
  margin-top: 0;
}

[data-treatment-page] .detail__head__intro > h1,
[data-product-page] .detail__head__intro > h1,
[data-concern-page] .detail__head__intro > h1 {
  margin-top: 0;
}

[data-treatment-page] .page-head .detail__head--stack .eyebrow,
[data-product-page] .page-head .detail__head--stack .eyebrow,
[data-concern-page] .page-head .detail__head--stack .eyebrow,
[data-treatments-index] .page-head .detail__head--stack .eyebrow,
[data-concerns-index] .page-head .detail__head--stack .eyebrow,
[data-products-index] .page-head .detail__head--stack .eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.09em;
  line-height: 1.55;
  text-wrap: pretty;
  max-width: 100%;
  margin-bottom: 0.65rem;
  overflow-wrap: anywhere;
}

[data-treatment-page] .page-head .detail__head--stack .detail__head__intro > .lede,
[data-product-page] .page-head .detail__head--stack .detail__head__intro > .lede,
[data-concern-page] .page-head .detail__head--stack .detail__head__intro > .lede,
[data-treatments-index] .page-head .detail__head--stack .detail__head__intro > .lede,
[data-concerns-index] .page-head .detail__head--stack .detail__head__intro > .lede,
[data-products-index] .page-head .detail__head--stack .detail__head__intro > .lede,
[data-about-page] .page-head .detail__head--stack .detail__head__intro > .lede,
[data-faq-page] .page-head .detail__head--stack .detail__head__intro > .lede,
[data-blog-page] .page-head .detail__head--stack .detail__head__intro > .lede,
[data-contact-page] .page-head .detail__head--stack .detail__head__intro > .lede {
  margin-top: 0.75rem;
  font-size: clamp(0.98rem, 0.3vw + 0.94rem, 1.0625rem);
  line-height: 1.58;
  max-width: 100%;
  overflow-wrap: break-word;
}

[data-about-page] .page-head .detail__head--stack .detail__head__intro > .prose {
  margin-top: 0.75rem;
  font-size: clamp(0.98rem, 0.3vw + 0.94rem, 1.0625rem);
  line-height: 1.58;
  max-width: 100%;
}

[data-contact-page] .page-head .detail__head--stack .detail__head__intro > .btn-row {
  margin-top: 1.25rem;
}


@media (max-width: 63.99rem) {
  [data-treatment-page] main > .section.page-head,
  [data-product-page] main > .section.page-head,
  [data-concern-page] main > .section.page-head,
  [data-treatments-index] main > .section.page-head,
  [data-concerns-index] main > .section.page-head,
  [data-products-index] main > .section.page-head,
  [data-about-page] main > .section.page-head,
  [data-faq-page] main > .section.page-head,
[data-blog-page] main > .section.page-head,
  [data-contact-page] main > .section.page-head {
    padding-block: clamp(1.5rem, 4vw, 2.25rem) clamp(2rem, 5vw, 2.75rem);
  }

  [data-treatment-page] .page-head .detail__head--stack h1,
  [data-product-page] .page-head .detail__head--stack h1,
  [data-concern-page] .page-head .detail__head--stack h1,
  [data-about-page] .page-head .detail__head--stack h1,
  [data-faq-page] .page-head .detail__head--stack h1,
[data-blog-page] .page-head .detail__head--stack h1,
  [data-contact-page] .page-head .detail__head--stack h1 {
    font-size: clamp(1.55rem, 5.8vw + 0.35rem, 2.05rem);
    line-height: 1.16;
  }

  [data-treatment-page] .page-head .detail__head--stack .lede,
  [data-product-page] .page-head .detail__head--stack .lede,
  [data-concern-page] .page-head .detail__head--stack .lede,
  [data-about-page] .page-head .detail__head--stack .lede,
  [data-faq-page] .page-head .detail__head--stack .lede,
[data-blog-page] .page-head .detail__head--stack .lede,
  [data-contact-page] .page-head .detail__head--stack .lede {
    max-width: none;
  }
}

/* ===== v33: desktop detail — larger hero, top-aligned with copy ===== */

@media (min-width: 64rem) {
  [data-treatment-page] .page-head .detail__head--stack > .shot--portrait,
  [data-product-page] .page-head .detail__head--stack > .shot--portrait,
  [data-concern-page] .page-head .detail__head--stack > .shot--portrait,
  [data-treatments-index] .page-head .detail__head--stack > .shot--portrait,
  [data-concerns-index] .page-head .detail__head--stack > .shot--portrait,
  [data-products-index] .page-head .detail__head--stack > .shot--portrait,
  [data-about-page] .page-head .detail__head--stack > .shot--portrait,
  [data-faq-page] .page-head .detail__head--stack > .shot--portrait,
[data-blog-page] .page-head .detail__head--stack > .shot--portrait,
  [data-contact-page] .page-head .detail__head--stack > .shot--portrait {
    border-radius: 1.85rem;
    box-shadow: var(--shadow-neo);
  }

  [data-treatment-page] .detail__head--stack .detail__head__intro,
  [data-product-page] .detail__head--stack .detail__head__intro,
  [data-concern-page] .detail__head--stack .detail__head__intro,
  [data-about-page] .detail__head--stack .detail__head__intro,
  [data-faq-page] .detail__head--stack .detail__head__intro,
[data-blog-page] .detail__head--stack .detail__head__intro,
  [data-contact-page] .detail__head--stack .detail__head__intro {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  [data-treatment-page] .detail__head--stack .detail__head__spec,
  [data-product-page] .detail__head--stack .detail__head__spec {
    align-self: stretch;
  }
}

/* ===== v32: detail spec card — readable rows, chip row wraps cleanly ===== */

.detail__head__spec {
  padding: 0;
  overflow: hidden;
  border-radius: 1.35rem;
}

.detail__head__spec .spec__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  align-items: start;
}

.detail__head__spec .spec__row:last-child {
  border-bottom: 0;
}

.detail__head__spec .spec__key {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.35;
  padding-top: 0;
}

.detail__head__spec .spec__val {
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.58;
  min-width: 0;
}

.detail__head__spec .spec__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.detail__head__spec .spec__chips .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.42rem 0.8rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  text-decoration: none;
  max-width: 100%;
  border-color: color-mix(in srgb, var(--line-strong) 75%, var(--brand-tint));
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--paper) 92%, var(--brand-tint));
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.detail__head__spec .spec__chips .chip:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-tint);
}

@media (min-width: 36rem) {
  .detail__head__spec .spec__row {
    grid-template-columns: 6.75rem minmax(0, 1fr);
    column-gap: 1.25rem;
    row-gap: 0.35rem;
    padding: 0.95rem 1.35rem;
  }

  .detail__head__spec .spec__key {
    padding-top: 0.15rem;
  }
}

/* v37 + v50: one grid for all page-head stacks (detail + list index) */
@media (min-width: 64rem) {
  .page-head .detail__head.detail__head--stack.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    grid-template-rows: minmax(clamp(22rem, 42vw, 36rem), auto);
    column-gap: clamp(3rem, 5.25vw, 5.5rem);
    align-items: stretch;
    align-content: start;
    gap: 0;
    padding-top: 0;
  }
}

.detail__head__spec--rhythm {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.detail__head__spec--rhythm .spec__row {
  border-bottom-color: transparent;
}

.detail__head__meta--rhythm {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  margin: 0;
}

@media (max-width: 63.99rem) {
  .detail__head__spec--rhythm,
  .detail__head__meta--rhythm {
    display: none;
  }
}

/* Short page-head copy: crumbs stay top; title + body vertically centred in the column */
@media (min-width: 64rem) {
  :is(
    [data-about-page],
    [data-faq-page],
[data-blog-page],
    [data-contact-page],
    [data-concern-page],
    [data-treatments-index],
    [data-concerns-index],
    [data-products-index]
  ) .page-head .detail__head__aside {
    justify-content: flex-start;
  }

  :is(
    [data-about-page],
    [data-faq-page],
[data-blog-page],
    [data-contact-page],
    [data-concern-page],
    [data-treatments-index],
    [data-concerns-index],
    [data-products-index]
  ) .page-head .detail__head__top {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
  }

  :is(
    [data-about-page],
    [data-faq-page],
[data-blog-page],
    [data-contact-page],
    [data-concern-page],
    [data-treatments-index],
    [data-concerns-index],
    [data-products-index]
  ) .page-head .detail__head__intro {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
  }

  :is(
    [data-about-page],
    [data-faq-page],
[data-blog-page],
    [data-contact-page],
    [data-concern-page],
    [data-treatments-index],
    [data-concerns-index],
    [data-products-index]
  ) .page-head .detail__head__meta--rhythm,
  :is(
    [data-about-page],
    [data-faq-page],
[data-blog-page],
    [data-contact-page],
    [data-concern-page],
    [data-treatments-index],
    [data-concerns-index],
    [data-products-index]
  ) .page-head .detail__head__spec--rhythm {
    display: none;
  }
}

/* v51: page-head copy measure — keep lines off the hero image */
@media (min-width: 64rem) {
  .page-head .detail__head--stack .detail__head__intro {
    max-width: min(38ch, 100%);
  }

  .page-head .detail__head--stack h1 {
    max-width: min(15em, 100%);
    text-wrap: balance;
  }

  .page-head .detail__head--stack .detail__head__intro > .lede,
  .page-head .detail__head--stack .detail__head__intro > .prose {
    max-width: min(42ch, 100%);
    line-height: 1.62;
  }
}

/* ===== v39: detail body (treatment + product) — cleaner cards, range list ===== */

.detail__body [data-t-sections],
.detail__body [data-p-sections] {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  min-width: 0;
}

.detail__body .dsection {
  border-top: 0;
  margin-bottom: 0;
  padding: clamp(1.45rem, 2.8vw, 2rem) clamp(1.35rem, 2.6vw, 1.9rem);
  border-radius: 1.35rem;
}

.detail__body .dsection:first-child {
  padding-top: clamp(1.45rem, 2.8vw, 2rem);
}

.detail__body .dsection h2 {
  font-size: clamp(1.2rem, 1.2vw + 0.95rem, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 1.18;
  margin: 0 0 0.65rem;
  text-wrap: balance;
}

.detail__body .dsection p {
  font-size: clamp(0.94rem, 0.2vw + 0.9rem, 1rem);
  line-height: 1.66;
  max-width: min(58ch, 100%);
}

.detail__body .benefits {
  margin-top: 0.35rem;
  gap: 0.65rem;
}

.detail__body .benefits li {
  font-size: clamp(0.94rem, 0.2vw + 0.9rem, 1rem);
  line-height: 1.58;
}

.product-range {
  display: grid;
  gap: 0;
  margin-top: 0.15rem;
}

.product-range__item {
  padding-block: 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 92%, transparent);
}

.product-range__item:first-child {
  padding-top: 0.5rem;
  border-top: 0;
}

.product-range__item h3 {
  margin: 0;
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.product-range__item p {
  margin: 0.5rem 0 0;
  max-width: min(58ch, 100%);
}

.detail__body .aside-card {
  padding: clamp(1.5rem, 2.8vw, 2rem);
  gap: 0.9rem;
  border-radius: 1.35rem;
}

.detail__body .aside-card h3 {
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (min-width: 64rem) {
  .detail__body {
    gap: clamp(2rem, 3.5vw, 3.25rem);
    align-items: start;
  }

  main > .section.section--alt:has(.detail__body) {
    padding-top: clamp(2.25rem, 4vw, 3.25rem);
  }
}

/* v52–v54: mobile home hero — height hugs copy (no full-viewport empty band) */
@media (max-width: 63.99rem) {
  main.home .hero {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: auto;
    padding-top: clamp(4.65rem, 11vw, 5.35rem);
    padding-bottom: clamp(2rem, 6vw, 2.65rem);
  }

  main.home > .trust {
    padding-top: clamp(1.75rem, 4vw, 2.35rem);
  }

  main.home .hero .wrap {
    margin-top: clamp(0.35rem, 2vw, 0.85rem);
    padding-inline: max(1.4rem, env(safe-area-inset-left, 0px)) max(1.4rem, env(safe-area-inset-right, 0px));
  }

  main.home .hero__media img[src*="hero-consultation"] {
    object-position: 48% 62%;
  }

  main.home .hero__media img {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.4) 32%, #000 55%);
    mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.4) 32%, #000 55%);
  }

  main.home .hero__media::after {
    background: linear-gradient(
      to top,
      #3a0810 0%,
      rgba(58, 8, 16, 0.96) 40%,
      rgba(74, 10, 16, 0.78) 55%,
      rgba(120, 8, 14, 0.4) 75%,
      transparent 100%
    );
  }

  main.home .hero .hero__kicker {
    margin-bottom: 1.2rem;
    line-height: 1.58;
    letter-spacing: 0.1em;
  }

  main.home .hero h1 {
    font-size: clamp(2.1rem, 7.8vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.028em;
    max-width: min(11em, 100%);
    margin-bottom: 1rem;
  }

  main.home .hero .hero__copy {
    margin-top: 1.2rem;
    gap: 1.3rem;
    max-width: 100%;
  }

  main.home .hero .hero__copy p {
    font-size: 1rem;
    line-height: 1.72;
    max-width: none;
  }

  main.home .hero .btn-row {
    gap: 0.85rem;
    margin-top: 2rem;
  }
}

/* Blog index + single post (prototype) */

[data-blog-index] .page-head .detail__head__intro > .eyebrow {
  margin-bottom: 0.65rem;
}
[data-blog-index] .page-head .detail__head__intro > h1 em {
  font-style: italic;
  color: var(--brand);
}

.blog-feature {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  text-decoration: none;
  color: inherit;
  align-items: stretch;
}
@media (min-width: 64rem) {
  .blog-feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
  }
}
.blog-feature__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-feature:hover .blog-feature__media img {
  transform: scale(1.02);
}
.blog-feature__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(0.25rem, 1vw, 0.5rem) 0;
}
.blog-feature__body h2 {
  font-size: clamp(1.45rem, 2.2vw + 0.5rem, 2rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.blog-feature__dek {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36rem;
}
.blog-feature__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.blog-feature .tcard__go {
  padding-top: 0.5rem;
}

.blog-index__head,
.blog-related__head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.blog-index__head h2,
.blog-related__head h2 {
  font-size: var(--t-h2);
  margin-top: 0.35rem;
}

.blog-grid {
  margin-top: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 72rem) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.blog-grid .tcard h3 {
  font-size: clamp(1.05rem, 0.35vw + 1rem, 1.2rem);
  line-height: 1.28;
}
.blog-grid--compact .tcard__tag {
  display: none;
}
.tcard__date {
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.blog-article-hero__meta time {
  font-variant-numeric: tabular-nums;
}
/* Blog cards: no fake topic labels — DB has a single category only */
[data-blog-index] .blog-grid .tcard__series,
[data-blog-article] .blog-grid .tcard__series {
  display: none;
}

.blog-pagination {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.blog-pagination__label {
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.blog-pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-pagination__link,
.blog-pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
}
.blog-pagination__link {
  background: #fff;
  box-shadow: var(--shadow);
}
.blog-pagination__link:hover {
  color: var(--brand);
}
.blog-pagination__current {
  background: var(--brand);
  color: #fff;
}
.blog-pagination__gap {
  padding-inline: 0.25rem;
  color: var(--ink-faint);
}
.blog-pagination__next {
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-inline: 1rem;
}

/* Single article */
[data-blog-article] .blog-article-hero {
  padding-top: clamp(1.25rem, 2.8vw, 2.35rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
[data-blog-article] .blog-article-hero .crumbs {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
[data-blog-article] .blog-article-hero__head {
  max-width: none;
  width: 100%;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.blog-article-hero__head h1 {
  font-size: clamp(1.75rem, 3.8vw + 0.45rem, 2.65rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.028em;
  text-wrap: pretty;
  margin-top: 0.5rem;
}
.blog-article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin-top: 1rem;
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
[data-blog-article] .blog-article-hero__media {
  margin: 0;
  max-width: none;
  width: 100%;
}

[data-blog-article] .blog-article__content {
  width: 100%;
  max-width: none;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}
[data-blog-article] .blog-article__content .prose {
  max-width: none;
  width: 100%;
  font-size: clamp(1.02rem, 0.25vw + 0.98rem, 1.125rem);
  line-height: 1.74;
  color: var(--ink-soft);
}
[data-blog-article] .prose h2 {
  font-size: clamp(1.35rem, 2vw + 0.5rem, 1.75rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}
[data-blog-article] .prose h2:first-child {
  margin-top: 0;
}
[data-blog-article] .prose h3 {
  font-size: clamp(1.15rem, 1.2vw + 0.5rem, 1.35rem);
  font-weight: 600;
  color: var(--ink);
  margin-top: 1.5rem;
}
[data-blog-article] .prose ul,
[data-blog-article] .prose ol {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.65rem;
}
[data-blog-article] .prose li {
  line-height: 1.65;
}
[data-blog-article] .prose a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
[data-blog-article] .prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}
[data-blog-article] .prose td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  vertical-align: top;
}
[data-blog-article] .prose td p {
  margin: 0;
}
[data-blog-article] .prose tr:first-child td {
  background: var(--paper-alt);
  font-weight: 600;
  color: var(--ink);
}
[data-blog-article] .blog-article__back {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  width: 100%;
  max-width: none;
}

.blog-related {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
