/* Generated by scripts/build-theme.py. Edit assets/src/css. */
/* DESIGN SOURCE OF TRUTH
 * Components own layout; only this file owns font sizes and literal colors.
 * Fluid type replaces viewport-specific font overrides. No runtime framework.
 */
:root {
  /* Brand and semantic surfaces. */
  --patella: #f0efeb;
  --tissue: #774e42;
  --rehab: #444a4d;
  --vein: #becdd5;
  --bone: #ece7da;
  --skin: #c4a692;
  --ink: #303637;
  --text-muted: #7f807b;
  --text-on-dark-subtle: #e3e2dc;
  --surface-hero: #382e28;
  --surface-header: rgba(240, 239, 235, .09);
  --surface-header-solid: rgba(240, 239, 235, .96);
  --surface-caption: rgba(240, 239, 235, .88);
  --surface-light-glass: rgba(240, 239, 235, .9);
  --surface-preview: rgba(48, 54, 55, .9);
  --surface-dialog-backdrop: rgba(32, 40, 39, .66);
  --line: rgba(68, 74, 77, .2);
  --line-soft: rgba(68, 74, 77, .1);
  --line-strong: rgba(68, 74, 77, .28);
  --line-on-dark: rgba(240, 239, 235, .4);
  --line-on-dark-strong: rgba(240, 239, 235, .5);
  --line-on-dark-subtle: rgba(240, 239, 235, .25);
  --line-header: rgba(240, 239, 235, .18);
  --pattern-stroke: rgba(240, 239, 235, .11);
  --shadow-header: 0 5px 32px rgba(0, 0, 0, .03);
  --shadow-floating: 0 3px 20px rgba(0, 0, 0, .13);
  --hero-overlay: linear-gradient(90deg, rgba(24, 28, 28, .87), rgba(24, 28, 28, .7) 30%, rgba(24, 28, 28, .13) 68%, rgba(24, 28, 28, .04)), linear-gradient(0deg, rgba(20, 25, 25, .34), transparent 40%);
  --hero-overlay-tablet: linear-gradient(90deg, rgba(24, 28, 28, .85), rgba(24, 28, 28, .43) 65%, rgba(24, 28, 28, .1)), linear-gradient(0deg, rgba(24, 28, 28, .38), transparent 50%);
  --hero-overlay-mobile: linear-gradient(0deg, rgba(32, 40, 39, .94), rgba(32, 40, 39, .77) 26%, rgba(32, 40, 39, .3) 68%, rgba(32, 40, 39, .4));

  /* Type roles: large statements, restrained UI/card/prose headings. */
  --font-body: Inter, Arial, sans-serif;
  --title-error-code: clamp(5rem, 10vw, 10rem);
  --text-label: .75rem;
  --text-small: .875rem;
  --text-control: .9375rem;
  --text-card: .9375rem;
  --text-base: 1rem;
  --text-medium: 1.0625rem;
  --text-body: clamp(1.0625rem, .98rem + .3vw, 1.1875rem);
  --text-lead: clamp(1.125rem, 1rem + .4vw, 1.375rem);
  --text-nav: clamp(.875rem, .75rem + .3vw, 1rem);
  --text-footer: clamp(1rem, .9rem + .25vw, 1.125rem);
  --text-icon: 1.5rem;
  --text-quote: 4rem;
  --title-hero: clamp(2.25rem, 7vw, 6.5rem);
  --title-statement: clamp(2rem, 4vw, 4.25rem);
  --title-closing: clamp(2.25rem, 5vw, 4.5rem);
  --title-page: clamp(2.375rem, 4.5vw, 4rem);
  --title-article: clamp(2.125rem, 1.4rem + 3vw, 4rem);
  --title-section: clamp(2rem, 1.5rem + 2.5vw, 3.75rem);
  --title-card: clamp(1.375rem, 1.2rem + .4vw, 1.625rem);
  --title-prose: clamp(1.5rem, 1.15rem + 1vw, 2rem);
  --title-subsection: clamp(1.25rem, 1rem + .7vw, 1.625rem);
  --title-entity: clamp(2.25rem, 4.5vw, 4rem);
  --title-treatment: var(--title-card);
  --title-booking: var(--title-prose);
  --title-mobile-nav: clamp(1.625rem, 7vw, 2.75rem);
  --brand-wordmark: clamp(5.75rem, 31.5vw, 31.875rem);
  --leading-body: 1.8;
  --leading-heading: 1.12;
  --leading-content-heading: 1.15;
  --tracking-heading: -.045em;

  /* Shared rhythm and reading measures. Media-query breakpoints stay explicit. */
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-section: clamp(4rem, 7vw, 7rem);
  --gutter: clamp(22px, 2.5vw, 64px);
  --max: 1600px;
  --width-reading: 740px;
  --width-article-heading: 880px;
  --width-article-media: 1120px;
  --radius-card: 18px;
  --radius-media: 24px;
  --header-clearance: 120px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --button-ease: cubic-bezier(.625, .05, 0, 1);
  --button-duration: .6s;
  --button-swap-early: .11s;
  --button-swap-late: .3s;
}

@font-face {
  font-family: Inter;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--patella);
  color: var(--rehab);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

button,input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  color: inherit;
}

button:disabled {
  cursor: default;
}

h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2,h3 {
  font-weight: 600;
  letter-spacing: -.055em;
}

p {
  line-height: 1.65;
}

h2 {
  font-size: var(--title-section);
  line-height: 1.07;
}

h3 {
  font-size: var(--title-card);
  line-height: 1.16;
}

svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid var(--skin);
  outline-offset: 6px;
}

.shell {
  width: min(100% - var(--gutter)*2,var(--max));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--patella);
  padding: 16px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.pill {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 600;
  line-height: 1.2;
}

.pill-light {
  border-color: var(--line-on-dark);
  color: var(--patella);
}

.eyebrow {
  font-size: var(--text-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bone);
  display: inline-block;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: var(--text-control);
  font-weight: 600;
  padding-block: 10px;
  border-bottom: 1px solid var(--rehab);
}

.text-link svg {
  width: 20px;
}

.light-link {
  border-color: var(--line-on-dark-strong);
}

.muted {
  color: var(--text-muted);
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: var(--gutter);
  right: var(--gutter);
  height: 82px;
  padding: 9px 22px 9px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--patella);
  background: var(--surface-header);
  border: 1px solid var(--line-header);
  border-radius: 18px;
  isolation: isolate;
  overflow: hidden;
  background-clip: padding-box;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  transition: background .25s,color .25s,box-shadow .25s;
}

.site-header .brand {
  width: 100px;
  position: relative;
  flex-shrink: 0;
}

.brand img {
  width: 100%;
  height: 53px;
  object-fit: contain;
}

.brand-dark {
  display: none;
}

.site-header.is-scrolled {
  background: var(--surface-header-solid);
  color: var(--rehab);
  border-color: var(--line-soft);
  box-shadow: var(--shadow-header);
}

.site-header.is-scrolled .brand-light {
  display: none;
}

.site-header.is-scrolled .brand-dark {
  display: block;
}

.desktop-nav {
  display: flex;
  gap: clamp(18px,2.2vw,38px);
  align-items: center;
}

.desktop-nav a {
  font-size: var(--text-nav);
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  padding-block: 10px;
}

.desktop-nav a:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
  background: currentColor;
}

.desktop-nav a:hover:after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s;
}

.menu-toggle[aria-expanded=true] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.menu-toggle[aria-expanded=true] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bone);
  color: var(--tissue);
  z-index: 25;
  padding: 120px var(--gutter) max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu-inner {
  width: 100%;
  max-width: 640px;
  min-height: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.mobile-menu-label {
  margin: 0 0 var(--space-2);
  color: var(--rehab);
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mobile-menu-links { border-top: 1px solid var(--line); }

.mobile-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 72px;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--line);
  font-size: var(--title-mobile-nav);
  letter-spacing: -.04em;
  font-weight: 500;
}

.mobile-menu-links svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--rehab);
  transition: transform .2s;
}

.mobile-menu-links a:hover svg { transform: translate(2px, -2px); }

.mobile-menu-bottom { margin-top: auto; }

.mobile-menu-booking {
  display: grid;
  justify-items: start;
  gap: var(--space-1);
  padding: var(--space-3);
  border-radius: var(--radius-card);
  background: var(--patella);
  color: var(--rehab);
}

.mobile-menu-booking p { margin: 0; font-size: var(--title-subsection); font-weight: 600; letter-spacing: -.03em; }
.mobile-menu-booking > span { font-size: var(--text-small); line-height: 1.6; }
.mobile-menu-booking .button { margin-top: var(--space-1); }

@media (min-width: 641px) {
  .mobile-menu-links a { min-height: 88px; }
}

.menu-open .site-header {
  background: var(--patella);
  color: var(--rehab);
}

.menu-open .brand-light {
  display: none;
}

.menu-open .brand-dark {
  display: block;
}

.hero {
  min-height: 760px;
  height: 100svh;
  max-height: 1080px;
  position: relative;
  color: var(--patella);
  overflow: hidden;
  background: var(--surface-hero);
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 61%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 70px;
}

.hero-content .eyebrow {
  margin-bottom: 33px;
}

.hero h1 {
  font-size: var(--title-hero);
  line-height: 1.035;
  font-weight: 600;
  max-width: 1100px;
  letter-spacing: -.061em;
}

.hero h1 span {
  color: var(--skin);
}

.hero-intro {
  font-size: var(--text-lead);
  line-height: 1.6;
  margin: 29px 0 34px;
  max-width: 500px;
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-label);
  letter-spacing: .08em;
}

.hero-bottom>a {
  display: flex;
  gap: 28px;
  align-items: center;
}

.hero-bottom>a span {
  font-size: var(--text-icon);
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32%;
  height: 29%;
  background-image: radial-gradient(var(--line-on-dark-subtle) .7px,transparent .7px);
  background-size: 14px 14px;
  opacity: .6;
  mask-image: linear-gradient(0deg,black,transparent);
}

.intro {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-block: 130px 142px;
}

.intro .pill {
  margin-bottom: 35px;
}

.intro h2 {
  font-size: var(--title-statement);
  position: relative;
  z-index: 1;
}

.intro>p {
  font-size: var(--text-lead);
  max-width: 695px;
  margin: 29px auto 31px;
  text-wrap: pretty;
}

.intro-shape {
  position: absolute;
  width: 230px;
  height: auto;
  right: var(--space-6);
  top: 95px;
  opacity: .055;
  transform: rotate(28deg);
}

.method {
  background: var(--rehab);
  color: var(--patella);
}

.section-heading .pill {
  margin-bottom: 24px;
}

.section-heading p {
  font-size: var(--text-base);
  max-width: 430px;
}

.section-heading.centered {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading.centered p {
  margin: 22px auto 0;
}

.method .section-heading.centered {
  margin-bottom: 62px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}

.method-photo {
  aspect-ratio: 1/1.04;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bone);
}

.method-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .6s;
}

.method-card:hover .method-photo img {
  transform: scale(1.035);
}

.step-number {
  position: absolute;
  top: 18px;
  left: 18px;
  border: 1px solid var(--line);
  background: var(--surface-light-glass);
  border-radius: 50%;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  font-size: var(--text-label);
  color: var(--rehab);
}

.method-card h3 {
  margin: 25px 0 13px;
  font-weight: 500;
}

.method-card>p {
  max-width: 355px;
  font-size: var(--text-base);
  color: var(--text-on-dark-subtle);
  line-height: 1.7;
}

.method-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-on-dark-subtle);
  margin-top: 55px;
  padding-top: 26px;
  font-size: var(--text-label);
  color: var(--bone);
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 60px;
}

.split-heading>p,.split-heading>div:last-child:not(:first-child) {
  max-width: 405px;
}

.split-heading .text-link {
  margin-top: 18px;
}

.treatment-layout {
  display: grid;
  grid-template-columns: 1fr 1.14fr;
  gap: 6.7vw;
  align-items: stretch;
}

.treatment-photo {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 550px;
}

.treatment-photo>img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 40% center;
}

.photo-tag {
  position: absolute;
  bottom: 23px;
  left: 22px;
  right: 22px;
  padding: 13px 18px;
  background: var(--surface-caption);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  text-align: center;
  font-size: var(--text-base);
  color: var(--tissue);
}

.treatment-list {
  border-top: 1px solid var(--line);
}

.treatment-item {
  padding: 31px 0;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 30px 1fr 28px;
  gap: 17px;
  align-items: start;
}

.treatment-index {
  font-size: var(--text-label);
  margin-top: 9px;
  color: var(--tissue);
}

.treatment-item strong {
  font-size: var(--title-card);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.045em;
  display: block;
  color: var(--tissue);
}

.treatment-description {
  display: block;
  margin-top: 16px;
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 380px;
}

.treatment-item>svg {
  margin-top: 4px;
  transition: transform .2s;
}

.treatment-item:hover>svg {
  transform: translate(3px,-3px);
}

.more-treatments summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding-block: 26px;
  font-size: var(--text-body);
  font-weight: 500;
}

.more-treatments summary::-webkit-details-marker {
  display: none;
}

.more-treatments summary>span {
  font-size: var(--text-icon);
}

.more-treatments[open] summary>span {
  transform: rotate(45deg);
}

.more-treatment-list {
  border-top: 1px solid var(--line);
}

.more-treatment-list button {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  width: 100%;
  text-align: left;
  font-size: var(--text-small);
}

.more-treatment-list svg {
  width: 19px;
}

.team {
  background: var(--bone);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.person-image {
  position: relative;
  aspect-ratio: 1/1.1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--skin);
  width: 100%;
  object-fit: cover;
}

.person-image>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-placeholder {
  display: grid;
  place-items: center;
}

.person-placeholder>img {
  width: 50%;
  height: auto;
  opacity: .45;
}

.person-card h3 {
  margin: 23px 0 8px;
  font-size: var(--title-card);
  font-weight: 500;
  letter-spacing: -.035em;
}

.person-card>p {
  font-size: var(--text-card);
}

.demo-badge {
  position: absolute;
  bottom: 13px;
  left: 14px;
  background: var(--surface-light-glass);
  padding: 6px 10px;
  border-radius: 20px;
  font-size: var(--text-label);
}

.clinic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 660px;
}

.clinic-picture {
  position: relative;
  min-height: 660px;
  overflow: hidden;
}

.clinic-picture>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
}

.image-caption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  background: var(--surface-caption);
  padding: 7px 12px;
  border-radius: 20px;
  font-size: var(--text-label);
}

.clinic-copy {
  padding: clamp(45px,6vw,105px);
  background: var(--tissue);
  color: var(--patella);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.clinic-copy h2 {
  margin-top: 27px;
  font-size: var(--title-section);
}

.clinic-copy p {
  margin: 27px 0 32px;
  font-size: var(--text-base);
  max-width: 405px;
  position: relative;
  z-index: 1;
}

.clinic-shape {
  position: absolute;
  bottom: -90px;
  right: -55px;
  width: 320px;
  opacity: .15;
  filter: brightness(2.3);
  transform: rotate(25deg);
}

.reviews .section-heading {
  margin-bottom: 45px;
}

.reviews .section-heading p.demo-note {
  font-size: var(--text-label);
  max-width: none;
  color: var(--rehab);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

.review {
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.quote-mark {
  font-size: var(--text-quote);
  font-weight: 500;
  line-height: 1;
  color: var(--tissue);
  height: 54px;
}

.review blockquote {
  margin: 0 0 34px;
  font-size: var(--text-body);
  line-height: 1.6;
  letter-spacing: -.02em;
  flex: 1;
}

.review figcaption {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: var(--text-small);
}

.review-dot {
  width: 25px;
  height: 25px;
  display: block;
  border-radius: 50%;
  background: var(--vein);
}

.knowledge {
  background: var(--vein);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.article-card>img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 17px;
  margin-bottom: 21px;
}

.article-card:last-child>img {
  object-position: center 65%;
}

.article-category {
  font-size: var(--text-label);
  letter-spacing: .065em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: var(--title-card);
  font-weight: 500;
  letter-spacing: -.035em;
  margin-bottom: 20px;
}

.article-soon {
  font-size: var(--text-label);
  border-top: 1px solid var(--line-strong);
  padding-top: 12px;
  display: block;
}

.closing {
  position: relative;
  overflow: hidden;
  background: var(--tissue);
  color: var(--patella);
  text-align: center;
  padding-block: 106px 118px;
}

.closing .shell {
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-size: var(--title-closing);
  margin: 29px 0 22px;
  letter-spacing: -.06em;
}

.closing p {
  font-size: var(--text-base);
  margin-bottom: 30px;
}

.closing-lines {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 100% 100%,transparent 49%,var(--pattern-stroke) 49.15%,transparent 49.3%,transparent 59%,var(--pattern-stroke) 59.15%,transparent 59.3%,transparent 69%,var(--pattern-stroke) 69.15%,transparent 69.3%);
  opacity: .8;
}

.site-footer {
  padding: 65px 0 22px;
  background: var(--patella);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-top img {
  width: 115px;
  height: auto;
}

.footer-top>p {
  font-size: var(--text-small);
  padding-top: 8px;
}

.footer-top nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 25px;
  padding-top: 8px;
  font-size: var(--text-footer);
}

.footer-top-link {
  font-size: var(--text-control);
  padding-top: 9px;
}

.footer-wordmark {
  font-size: var(--brand-wordmark);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.07em;
  color: var(--tissue);
  margin-top: 60px;
  padding-bottom: 30px;
  position: relative;
}

.footer-wordmark>span {
  font-size: var(--text-icon);
  font-weight: 400;
  letter-spacing: 0;
  position: absolute;
  right: 0;
  top: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  font-size: var(--text-small);
}

.footer-location { justify-self: end; }
.footer-privacy { grid-column: 1 / -1; justify-self: end; }

.plain-button {
  background: none;
  border: 0;
  padding: 0;
  font-size: var(--text-small);
}

.preview-indicator {
  position: fixed;
  bottom: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 40;
  border: 1px solid var(--line-on-dark-subtle);
  border-radius: 50px;
  background: var(--surface-preview);
  color: var(--patella);
  font-size: var(--text-label);
  padding: 8px 10px 8px 13px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-floating);
}

.preview-indicator>span {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--vein);
}

.preview-indicator button {
  background: none;
  border: 0;
  color: inherit;
  width: 22px;
  height: 22px;
  padding: 0;
  font-size: var(--text-icon);
}

.info-dialog {
  max-width: 560px;
  width: calc(100% - 40px);
  border: 0;
  background: var(--patella);
  color: var(--rehab);
  border-radius: 22px;
  padding: 50px 40px;
}

.info-dialog::backdrop {
  background: var(--surface-dialog-backdrop);
  backdrop-filter: blur(8px);
}

.info-dialog h2 {
  font-size: var(--title-prose);
  margin: 28px 0 22px;
}

.info-dialog p {
  font-size: var(--text-base);
  margin-bottom: 28px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 0;
  background: none;
  font-size: var(--text-icon);
}

.content-page {
  padding-block: 100px;
  min-height: 70svh;
}

.content-page h1 {
  font-size: var(--title-page);
  margin: 50px 0 30px;
}

.will-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s,transform .65s;
}

.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media(min-width:1700px) {
  .hero-image {
    object-position: 50% 63%;
  }
}

@media(max-width:1100px) {
  .desktop-nav {
    gap: 17px;
  }

  .site-header {
    padding-inline: 18px;
    gap: 20px;
  }

  .site-header .brand {
    width: 85px;
  }

  .hero {
    min-height: 680px;
  }

  .treatment-layout {
    gap: 5vw;
  }

  .treatment-photo {
    min-height: 510px;
  }

  .treatment-item {
    padding-block: 26px;
  }

  .split-heading {
    gap: 35px;
  }

  .split-heading>p,.split-heading>div:last-child:not(:first-child) {
    max-width: 340px;
  }

  .method-grid {
    gap: 18px;
  }

  .method-photo {
    border-radius: 18px;
  }

  .clinic,.clinic-picture {
    min-height: 590px;
  }

  .footer-top {
    gap: 24px;
  }

  .footer-top nav {
    grid-template-columns: 1fr;
  }
}

@media(max-width:900px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header {
    height: 74px;
    top: 14px;
  }

  .site-header .brand {
    width: 90px;
  }

  .hero-content {
    padding-top: 110px;
  }

  .hero-image {
    object-position: 55% 62%;
  }

  .hero-shade {
    background: var(--hero-overlay-tablet);
  }

  .intro {
    padding-block: 95px;
  }

  .split-heading {
    align-items: flex-start;
  }

  .split-heading>p,.split-heading>div:last-child:not(:first-child) {
    max-width: 290px;
  }

  .treatment-layout {
    gap: 30px;
    grid-template-columns: .9fr 1.1fr;
  }

  .treatment-item {
    grid-template-columns: 20px 1fr 20px;
    gap: 10px;
  }

  .team-grid {
    gap: 15px;
  }

  .clinic-copy {
    padding: 44px 30px;
  }

  .clinic,.clinic-picture {
    min-height: 550px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top-link {
    justify-self: start;
  }

  .footer-top nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:640px) {
  html {
    scroll-padding-top: 105px;
  }

  .site-header {
    left: 15px;
    right: 15px;
    top: 12px;
    height: 70px;
    border-radius: 14px;
    padding: 8px 12px 8px 18px;
    gap: 10px;
  }

  .site-header .brand {
    width: 77px;
  }

  .brand img {
    height: 43px;
  }

  .header-actions {
    gap: 6px;
  }

  .menu-toggle {
    width: 35px;
    padding: 5px;
  }

  .hero {
    height: 92svh;
    min-height: 690px;
    max-height: 880px;
    align-items: flex-end;
  }

  .hero-content {
    padding-top: 170px;
    padding-bottom: 127px;
  }

  .hero-image {
    object-position: 53% 53%;
  }

  .hero-shade {
    background: var(--hero-overlay-mobile);
  }

  .hero-content .eyebrow {
    letter-spacing: .1em;
    margin-bottom: 25px;
  }

  .hero h1 {
    letter-spacing: -.06em;
    line-height: 1.08;
  }

  .hero h1 span {
    color: var(--skin);
  }

  .hero-intro {
    margin: 24px 0 27px;
    line-height: 1.65;
    max-width: 300px;
  }

  .hero-bottom {
    flex-wrap: wrap;
    gap: var(--space-2);
    letter-spacing: .04em;
    bottom: 25px;
  }

  .hero-bottom>a {
    gap: 12px;
  }

  .hero-dots {
    width: 65%;
    height: 25%;
  }

  .intro {
    padding-block: 77px 83px;
  }

  .intro .pill {
    margin-bottom: 25px;
  }

  .intro h2 {
    letter-spacing: -.055em;
    line-height: 1.13;
  }

  .intro>p {
    margin: 25px auto 28px;
    max-width: 335px;
  }

  .intro-shape {
    width: 150px;
    right: var(--space-5);
    top: 40px;
  }
}

@media(max-width:640px) {
  .pill {
    padding: 7px 12px;
  }

  .section {
    padding-block: var(--space-section);
  }

  .section-heading .pill {
    margin-bottom: 21px;
  }

  .section-heading.centered {
    margin-bottom: 36px;
  }

  .method .section-heading.centered {
    margin-bottom: 37px;
  }

  .method-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .method-photo {
    aspect-ratio: 1.2;
    border-radius: 18px;
  }

  .method-card h3 {
    margin: 22px 0 10px;
  }

  .method-card>p {
    max-width: none;
  }

  .step-number {
    width: 35px;
    height: 35px;
    top: 15px;
    left: 15px;
  }

  .method-footer {
    display: block;
    margin-top: 36px;
    padding-top: 23px;
  }

  .method-footer>span {
    display: block;
    margin-bottom: 12px;
  }

  .split-heading {
    display: block;
    margin-bottom: 32px;
  }

  .split-heading>p,.split-heading>div:last-child:not(:first-child) {
    max-width: none;
    margin-top: 24px;
  }
}

@media(max-width:640px) {
  .treatment-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .treatment-photo {
    min-height: 0;
    aspect-ratio: 1.15;
  }

  .photo-tag {
    padding: 12px;
    bottom: 16px;
    left: 16px;
    right: 16px;
  }

  .treatment-item {
    padding-block: 24px;
    grid-template-columns: 23px 1fr 23px;
    gap: 12px;
  }

  .treatment-description {
    margin-top: 12px;
  }

  .more-treatments summary {
    padding-block: 22px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .person-image {
    aspect-ratio: 1.12;
  }

  .person-card h3 {
    margin-top: 19px;
  }

  .clinic {
    grid-template-columns: 1fr;
  }

  .clinic-picture {
    min-height: 0;
    aspect-ratio: 1.1;
  }

  .image-caption {
    left: 15px;
    bottom: 15px;
  }

  .clinic-copy {
    padding: 60px var(--gutter) 65px;
  }

  .clinic-copy h2 {
    margin-top: 24px;
  }

  .clinic-copy p {
    max-width: 325px;
    margin: 24px 0 28px;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .review {
    padding-top: 22px;
  }

  .review blockquote {
    margin-bottom: 22px;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .article-card>img {
    aspect-ratio: 1.5;
    margin-bottom: 18px;
  }

  .article-card h3 {
    margin-bottom: 18px;
  }

  .closing {
    padding-block: 76px 85px;
  }

  .closing h2 {
    margin: 29px 0 22px;
  }

  .closing p {
    margin-bottom: 26px;
  }
}

@media(max-width:640px) {
  .site-footer {
    padding-top: 45px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-top img {
    width: 90px;
  }

  .footer-top>p {
    line-height: 1.65;
  }

  .footer-top nav {
    gap: 14px 18px;
    grid-template-columns: 1fr;
  }

  .footer-wordmark {
    letter-spacing: -.075em;
    margin-top: 38px;
    padding-bottom: 24px;
  }

  .footer-wordmark>span {
    top: 8px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .footer-location,
  .footer-privacy { justify-self: center; }

  .preview-indicator {
    bottom: 9px;
    left: 9px;
    padding: 6px 8px 6px 10px;
  }

  .info-dialog {
    padding: 42px 25px 30px;
  }

  .will-reveal {
    transform: translateY(12px);
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*:before,*:after {
    transition: none!important;
    animation: none!important;
  }

  .will-reveal {
    opacity: 1;
    transform: none;
  }
}

.desktop-nav a {
  padding-block: 12px;
}

.desktop-nav a:after {
  display: none;
}

.desktop-nav {
  gap: clamp(21px,2.4vw,42px);
}

.site-header {
  transition: height .35s var(--ease-out),background .3s,color .3s,box-shadow .3s,border-color .3s;
}

.site-header.is-scrolled {
  height: 72px;
}

.site-header .brand {
  transition: width .35s var(--ease-out);
}

.site-header.is-scrolled .brand {
  width: 88px;
}

.method-photo {
  border-radius: 26px;
}

.method-card h3 {
  margin-top: 27px;
}

.will-reveal {
  transition: opacity .65s var(--ease-out),transform .65s var(--ease-out);
  transition-delay: var(--reveal-delay,0ms);
}

.person-image>img,.article-card>img,.treatment-photo>img,.clinic-picture>img {
  transition: transform .8s var(--ease-out);
}

.person-card:hover .person-image>img,.article-card:hover>img,.treatment-photo:hover>img,.clinic-picture:hover>img {
  transform: scale(1.035);
}

.treatment-item {
  transition: padding .3s var(--ease-out);
}

.treatment-item:hover {
  padding-left: 7px;
}

.treatment-item>svg {
  transition: transform .35s var(--ease-out);
}

.text-link svg {
  transition: transform .35s var(--ease-out);
}

.text-link:is(:hover,:focus-visible) svg {
  transform: translate(3px,-3px);
}

.footer-top nav a,.plain-button {
  transition: color .2s;
}

.footer-top nav a:hover,.plain-button:hover {
  color: var(--tissue);
}

.hero-image {
  transform: translateY(var(--hero-shift,0px)) scale(1.09);
  object-position: 50% 57%;
  transform-origin: center;
}

@media(max-width:1100px) {
  .desktop-nav {
    gap: 18px;
  }
}

@media(max-width:900px) {
  .site-header.is-scrolled {
    height: 68px;
  }

  .method-grid {
    gap: 18px;
  }
}

@media(max-width:640px) {
  .site-header.is-scrolled {
    height: 64px;
  }

  .site-header.is-scrolled .brand {
    width: 72px;
  }

  .hero-image {
    object-position: 53% 53%;
  }

  .method-grid {
    gap: 38px;
  }

  .method-photo {
    border-radius: 18px;
  }

  .method-card h3 {
    margin-top: 22px;
  }

  .treatment-item:hover {
    padding-left: 0;
  }
}

@media(max-width:900px) {
  .menu-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }
}

@media(max-width:360px) {
  .site-header {
    padding-inline: 12px;
    gap: 8px;
  }

  .site-header .brand,.site-header.is-scrolled .brand {
    width: 64px;
  }

  .header-actions {
    gap: 2px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .hero-image {
    transform: none;
    will-change: auto;
  }

  .will-reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .person-card:hover .person-image>img,.article-card:hover>img,.treatment-photo:hover>img,.clinic-picture:hover>img {
    transform: none;
  }
}

/* Dynamic content and progressive-enhancement fallbacks. */
.hero-media {
  display: contents;
}

.closing h2 {
  max-width: 1100px;
  margin-inline: auto;
  text-wrap: balance;
}

.media-placeholder {
  display: block;
  width: 100%;
  min-height: 180px;
  height: 100%;
  background: var(--bone);
}

.person-summary {
  margin-top: 12px;
  max-width: 40ch;
  line-height: 1.65;
}

.more-treatment-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-small);
}

.no-js-nav {
  display: none;
}

.footer-top nav a,
.footer-top-link,
.footer-bottom a,
.plain-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.dialog-close {
  width: 44px;
  height: 44px;
}

.preview-indicator button {
  width: 32px;
  height: 32px;
}

@media (max-width: 900px) {
  .mobile-nav {
    overflow-y: auto;
    justify-content: flex-start;
  }

  .no-js-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 110px var(--gutter) 18px;
    background: var(--bone);
  }

  .no-js-nav a {
    padding-block: 12px;
  }
}

.button {
  --button-bg: var(--tissue);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--patella);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
}

.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: var(--button-bg);
  transform: scale(1);
  transition: transform var(--button-duration) var(--button-ease);
}

.button-light,
.site-header:not(.is-scrolled) .button {
  --button-bg: var(--patella);
  background: transparent;
  color: var(--tissue);
}

.button:is(:hover, :focus-visible)::before {
  transform: scale(.95);
}

.label-mask {
  display: block;
  position: relative;
  overflow: hidden;
  height: 26px;
  line-height: 26px;
  white-space: nowrap;
}

.label-front,
.label-back {
  display: block;
  height: 26px;
  transition: transform var(--button-duration) var(--button-ease), opacity var(--button-swap-late);
}

.label-back {
  position: absolute;
  top: 100%;
  left: 0;
  transform: skewY(8deg);
  opacity: 0;
}

:is(a, button):is(:hover, :focus-visible) > .label-mask .label-front {
  transform: translateY(-100%) skewY(8deg);
  opacity: 0;
}

:is(a, button):is(:hover, :focus-visible) > .label-mask .label-back {
  transform: translateY(-100%) skewY(0deg);
  opacity: 1;
}

/* The reference rolls two stacked 24px lines through a 22px mask.
   Visibility switches are discrete: no cross-fade or grey text mid-roll. */
.button .label-mask {
  height: 22px;
  margin: 1px 0 3px;
  line-height: 24px;
}

.button .label-front,
.button .label-back {
  position: relative;
  top: auto;
  left: auto;
  height: 24px;
  margin-top: -.03em;
  line-height: 24px;
}

.button .label-front {
  transition: transform var(--button-duration) var(--button-ease), opacity 0s var(--button-swap-early);
}

.button .label-back {
  transition: transform var(--button-duration) var(--button-ease), opacity 0s var(--button-swap-late);
}

.button:is(:hover, :focus-visible) .label-front {
  transition: transform var(--button-duration) var(--button-ease), opacity 0s var(--button-swap-late);
}

.button:is(:hover, :focus-visible) .label-back {
  transition: transform var(--button-duration) var(--button-ease), opacity 0s var(--button-swap-early);
}

.button-arrow {
  position: relative;
  flex: 0 0 14px;
  display: block;
  width: 14px;
  height: 14px;
  overflow: hidden;
}

.arrow-track {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  transition: transform var(--button-duration) var(--button-ease);
}

.arrow-track > svg {
  position: absolute;
  inset: 0;
  width: 14px;
  height: 14px;
}

.arrow-track > svg + svg {
  left: -14px;
}

.button:is(:hover, :focus-visible) .arrow-track {
  transform: translateX(100%);
}

.button-small {
  font-size: var(--text-control);
}

@media (max-width: 1100px) {
  .site-header .button-small {
    font-size: var(--text-small);
  }
}

@media (max-width: 900px) {
  .button {
    min-height: 44px;
    padding-block: 9px;
  }
}

@media (max-width: 360px) {
  .site-header .button-small {
    padding-inline: 12px;
    font-size: var(--text-small);
  }

  .site-header .button-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .button { font-size: var(--text-control); padding-inline: 14px; }
  /* 36px visible pill, while the real touch target stays at least 44px. */
  .button::before { inset-block: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .button::before,
  .label-front,
  .label-back,
  .arrow-track {
    transition: none;
  }

  .label-back,
  .button .label-back {
    display: none;
  }

  :is(a, button):is(:hover, :focus-visible) > .label-mask .label-front {
    transform: none;
    opacity: 1;
  }

  .button .label-front,
  .button .label-back,
  .button:is(:hover, :focus-visible) .label-front,
  .button:is(:hover, :focus-visible) .label-back {
    transition: none;
  }

  .button:is(:hover, :focus-visible)::before,
  .button:is(:hover, :focus-visible) .arrow-track {
    transform: none;
  }
}

.intro > p {
  margin-top: 32px;
}

.treatment-layout {
  align-items: start;
}

.treatment-photo {
  height: clamp(440px, 42vw, 640px);
  min-height: 0;
}

/* Only follow an expanded list; the grid bounds the image at its end. */
@media (min-width: 1101px) and (min-height: 600px) {
  .treatment-layout:has(.more-treatments[open]) > .treatment-photo {
    position: sticky;
    top: var(--header-clearance);
    max-height: calc(100svh - var(--header-clearance) - var(--space-3));
  }

  .has-offer-banner .treatment-layout:has(.more-treatments[open]) > .treatment-photo {
    top: calc(var(--header-clearance) + var(--offer-banner-height));
    max-height: calc(100svh - var(--header-clearance) - var(--offer-banner-height) - var(--space-3));
  }
}

.treatment-preview {
  position: absolute;
  inset: 0;
  animation: treatment-image-in .28s ease-out;
}

.treatment-preview[hidden] {
  display: none;
}

.treatment-preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tag {
  text-align: left;
  border-radius: 18px;
  padding: 16px 20px;
}

.photo-tag p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  line-height: 1.5;
  block-size: 3em;
}

.is-previewed > svg {
  transform: translate(3px, -3px);
}

.footer-top {
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 45px;
}

.footer-brand p {
  margin-top: 24px;
}

.footer-top nav {
  grid-template-columns: 1fr;
  gap: 3px;
}

.footer-label {
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.footer-social :is(a, .social-pending) {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  min-height: 44px;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.article-index {
  padding-top: 160px;
  min-height: 70svh;
}

.article-index h1 {
  margin-block: 36px 24px;
}

.article-index-intro {
  margin-bottom: 60px;
}

.article-index .article-grid {
  row-gap: 60px;
}

.article-pagination {
  display: flex;
  gap: 16px;
  margin-top: 60px;
}

.article-pagination a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.article-pagination [aria-current] {
  background: var(--tissue);
  color: var(--patella);
}

@keyframes treatment-image-in {
  from {
    opacity: .6;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .footer-top {
    gap: 25px;
  }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .treatment-photo {
    height: auto;
    aspect-ratio: 1.15;
  }

  .photo-tag {
    padding: 12px 16px;
  }

  .article-index {
    padding-top: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .treatment-preview {
    animation: none;
  }
}

.page-shell {
  --entity-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  --entity-gap: 8vw;
  padding-top: 155px;
  padding-bottom: 110px;
  min-height: 70svh;
}

.page-heading {
  margin-bottom: 72px;
}

.page-heading h1 {
  font-size: var(--title-page);
  line-height: 1.04;
  margin: 28px 0;
  max-width: 1100px;
  text-wrap: balance;
  color: var(--tissue);
}

.page-heading > p,
.page-heading-copy {
  font-size: var(--text-lead);
  max-width: 720px;
  line-height: 1.6;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 24px;
}

.treatment-card {
  min-width: 0;
}

.entity-photo {
  display: block;
  aspect-ratio: 1.2;
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 24px;
  background: var(--bone);
}

.entity-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}

.treatment-card:has(a:hover) .entity-photo img {
  transform: scale(1.035);
}

.treatment-card h2 {
  font-size: var(--title-treatment);
  line-height: 1.13;
  letter-spacing: -.04em;
  margin-bottom: 18px;
  color: var(--tissue);
}

.treatment-card > p {
  font-size: var(--text-base);
  margin-bottom: 12px;
  max-width: 42ch;
}

.person-card :is(h2, h3),
.article-card :is(h2, h3) {
  font-size: var(--title-card);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.035em;
  margin-bottom: 20px;
}

.person-card :is(h2, h3) {
  margin-top: 23px;
  margin-bottom: 8px;
}

.entity-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 6vw;
  align-items: center;
  margin: 52px 0 90px;
}

.entity-hero .page-heading {
  margin-bottom: 32px;
}

.entity-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.entity-hero h1 {
  font-size: var(--title-entity);
  text-wrap: auto;
  overflow-wrap: anywhere;
}

.entity-hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 1.05;
  background: var(--bone);
}

.entity-hero-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entity-hero-image figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--patella);
  color: var(--rehab);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: var(--text-label);
}

.entity-body-layout {
  display: grid;
  grid-template-columns: var(--entity-columns);
  gap: var(--entity-gap);
  align-items: start;
}

/* Portrait and booking card share the same desktop column edges. */
@media (min-width: 1101px) {
  .practitioner-hero {
    grid-template-columns: var(--entity-columns);
    gap: var(--entity-gap);
  }
}

.entity-body-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.entity-body-layout-single .prose {
  max-width: var(--width-reading);
}

/* Sidebars follow the reading column, never the related sections below it. */
@media (min-width: 1101px) and (min-height: 600px) {
  .entity-body-layout > :is(.entity-facts, .booking-card) {
    position: sticky;
    top: var(--header-clearance);
    max-height: calc(100svh - var(--header-clearance) - var(--space-3));
    overflow-y: auto;
  }

  .has-offer-banner .entity-body-layout > :is(.entity-facts, .booking-card) {
    top: calc(var(--header-clearance) + var(--offer-banner-height));
    max-height: calc(100svh - var(--header-clearance) - var(--offer-banner-height) - var(--space-3));
  }
}

.prose {
  font-size: var(--text-body);
  line-height: 1.75;
  min-width: 0;
  overflow-wrap: anywhere;
}

.prose > * + * {
  margin-top: 24px;
}

.prose h2 {
  font-size: var(--title-prose);
  line-height: var(--leading-content-heading);
  letter-spacing: var(--tracking-heading);
  margin-top: 46px;
  margin-bottom: 20px;
  color: var(--tissue);
}

.prose h3 {
  font-size: var(--title-subsection);
  margin-top: 36px;
}

.prose :is(ul, ol) {
  padding-left: 26px;
}

.prose li + li {
  margin-top: 10px;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose img {
  height: auto;
  max-width: 100%;
  border-radius: 16px;
}

.prose blockquote {
  border-left: 2px solid var(--tissue);
  margin-inline: 0;
  padding-left: 28px;
}

.prose > :first-child {
  margin-top: 0;
}

.booking-card {
  background: var(--bone);
  border-radius: 22px;
  padding: clamp(25px, 3vw, 44px);
}

.booking-card h2 {
  font-size: var(--title-prose);
  margin-bottom: 20px;
  line-height: 1.15;
}

.booking-card p {
  font-size: var(--text-base);
  margin-bottom: 28px;
}

.booking-card > .text-link {
  display: flex;
  width: fit-content;
  margin-top: 20px;
}

.page-shell > .booking-card {
  margin-top: 100px;
  max-width: 720px;
}

.entity-facts > div {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.entity-facts > div > span {
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.entity-facts > div > p {
  font-size: var(--title-card);
  margin-top: 10px;
}

.related-section {
  margin-top: 110px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

.related-section > h2 {
  font-size: var(--title-booking);
  margin-bottom: 44px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8vw;
  align-items: start;
}

.contact-details h2,
.contact-note h2 {
  font-size: var(--title-prose);
  margin-bottom: 28px;
}

.contact-details h3 {
  margin: 32px 0 18px;
}

.contact-details > p {
  margin-top: 20px;
  font-size: var(--text-lead);
}

.contact-details .text-link {
  display: flex;
  width: fit-content;
  font-size: var(--text-lead);
  margin-top: 18px;
}

.contact-details p.editorial-note,
.editorial-note {
  font-size: var(--text-base);
  max-width: 50ch;
}

.contact-note {
  max-width: 720px;
  margin-top: 90px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.editorial-empty {
  grid-column: 1 / -1;
  background: var(--bone);
  border-radius: 22px;
  padding: 50px;
}

.editorial-empty h2 {
  font-size: var(--title-prose);
  margin-bottom: 20px;
}

.more-treatments summary {
  font-size: var(--text-body);
  padding-block: 28px;
}

.more-treatments summary > span {
  transition: transform .3s ease;
}

.more-treatments summary[aria-expanded="false"] > span {
  transform: rotate(0);
}

.more-treatment-content {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entity-hero {
    gap: 35px;
  }
}

@media (max-width: 800px) {
  .entity-hero,
  .entity-body-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .entity-hero {
    margin-bottom: 60px;
  }

  .entity-hero-image {
    max-height: 600px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 120px;
    padding-bottom: 75px;
  }

  .page-heading {
    margin-bottom: 45px;
  }

  .page-heading h1 {
    font-size: var(--title-page);
    margin: 22px 0;
  }

  .entity-hero h1 {
    font-size: var(--title-entity);
  }

  .treatment-grid {
    grid-template-columns: 1fr;
    row-gap: 45px;
  }

  .treatment-card h2 {
    font-size: var(--title-treatment);
  }

  .prose {
    font-size: var(--text-medium);
  }

  .more-treatments summary {
    font-size: var(--text-body);
    gap: 15px;
  }

  .related-section {
    margin-top: 75px;
    padding-top: 40px;
  }

  .editorial-empty {
    padding: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entity-photo img,
  .more-treatments summary > span {
    transition: none;
  }
}

/* All article measures derive from 00-tokens.css. Reading column stays centered. */
.article-heading {
  max-width: var(--width-article-heading);
  margin: var(--space-6) auto var(--space-5);
}

.article-heading h1 {
  font-size: var(--title-article);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  margin: var(--space-3) 0;
  color: var(--tissue);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.article-ingress {
  font-size: var(--text-lead);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.article-heading .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  font-size: var(--text-small);
  margin: 0;
}

.article-meta a {
  text-underline-offset: 4px;
}

.article-shell .article-featured {
  width: 100%;
  max-width: var(--width-article-media);
  aspect-ratio: 2;
  max-height: 560px;
  margin: 0 auto var(--space-section);
  border-radius: var(--radius-media);
  overflow: hidden;
}

.article-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--width-reading)) minmax(0, 1fr);
  gap: var(--space-4);
}

.article-reading-main {
  min-width: 0;
  grid-column: 2;
}

.article-navigation {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  position: sticky;
  top: var(--header-clearance);
  font-size: var(--text-small);
  line-height: 1.6;
}

.article-navigation details {
  border-top: 1px solid var(--line);
  padding-top: var(--space-2);
}

.article-navigation summary {
  font-weight: 600;
  cursor: pointer;
}

.article-navigation ol {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 0;
}

.article-navigation li + li {
  margin-top: var(--space-2);
}

.article-navigation a {
  display: block;
  text-decoration: none;
  opacity: .8;
  transition: opacity .2s;
}

.article-navigation a:hover, .article-navigation a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-prose {
  max-width: var(--width-reading);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.article-prose > * + * {
  margin-top: var(--space-4);
}

.article-prose h2 {
  font-size: var(--title-prose);
  line-height: 1.25;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  scroll-margin-top: var(--header-clearance);
  text-wrap: balance;
}

.article-prose h3 {
  font-size: var(--title-subsection);
  line-height: 1.3;
  margin-top: var(--space-5);
}

.article-prose > :first-child {
  margin-top: 0;
}

.article-prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-prose li + li {
  margin-top: var(--space-2);
}

.article-prose blockquote {
  padding: var(--space-3) var(--space-4);
  margin: var(--space-5) 0;
  border-left: 2px solid var(--tissue);
  background: var(--bone);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.article-prose blockquote p {
  margin: 0;
}

.article-checklist {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--bone);
  border-radius: var(--radius-card);
}

.article-checklist h2 {
  margin-top: 0;
}

.article-checklist ul {
  margin-bottom: 0;
}

.article-ending {
  border-top: 1px solid var(--line);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
}

.article-treatment-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  font-size: var(--text-small);
  margin-bottom: var(--space-5);
}

.article-treatment-links > span {
  flex-basis: 100%;
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.article-ending .booking-card h2 {
  font-size: var(--title-prose);
}

.article-ending .booking-card {
  width: 100%;
}

@media (max-width: 1200px) {
  .article-reading-layout {
    display: block;
    max-width: var(--width-reading);
    margin-inline: auto;
  }

  .article-navigation {
    position: static;
    margin-bottom: var(--space-5);
  }
}

@media (max-width: 600px) {
  .article-heading {
    margin-top: var(--space-5);
  }

  .article-shell .article-featured {
    aspect-ratio: 1.4;
    border-radius: var(--radius-card);
  }

  .article-prose blockquote, .article-checklist {
    padding: var(--space-3);
  }
}

.breadcrumbs {
  max-width: var(--width-article-media);
  margin: 0 auto var(--space-5);
  font-size: var(--text-small);
  line-height: 1.6;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: flex;
  gap: var(--space-2);
  min-width: 0;
}

.breadcrumbs li + li::before {
  content: '/';
  opacity: .45;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.breadcrumbs [aria-current] {
  opacity: .7;
  overflow-wrap: anywhere;
}

.article-index > .breadcrumbs {
  max-width: none;
  margin-inline: 0;
}

.article-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding-block: var(--space-3);
  margin-bottom: var(--space-5);
  border-block: 1px solid var(--line);
  font-size: var(--text-small);
}

.article-categories a {
  padding-block: var(--space-1);
  text-underline-offset: 7px;
}

.article-categories [aria-current], .article-categories a:hover {
  color: var(--tissue);
  text-decoration: underline;
}

@media (max-width: 700px) {
  .article-categories {
    justify-content: flex-start;
    gap: var(--space-2) var(--space-3);
  }
}

.contact-map {
  display: grid;
  grid-template-columns: minmax(300px, .75fr) minmax(0, 1.65fr);
  margin-block: var(--space-section);
  border-radius: var(--radius-media);
  overflow: hidden;
  background: var(--bone);
}

.contact-map-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 3.5vw, 56px);
  color: var(--patella);
  background: var(--tissue);
}

.contact-map-label {
  font-size: var(--text-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.contact-map h2 {
  font-size: var(--title-prose);
  line-height: 1.2;
  letter-spacing: -.035em;
  margin-bottom: var(--space-3);
}

.contact-map address {
  font-size: var(--text-lead);
  font-style: normal;
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.contact-map-provider {
  display: block;
  font-size: var(--text-label);
  line-height: 1.6;
  margin-top: var(--space-2);
  opacity: .8;
}

.contact-map-canvas {
  min-width: 0;
  min-height: 440px;
}

.contact-map-canvas iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}

.contact-map-address-only {
  grid-template-columns: 1fr;
}

@media (max-width: 800px) {
  .contact-map {
    grid-template-columns: 1fr;
  }

  .contact-map-copy {
    padding: var(--space-4);
  }

  .contact-map-canvas, .contact-map-canvas iframe {
    min-height: 340px;
  }
}

.person-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.person-card > p {
  font-size: var(--text-card);
  line-height: 1.7;
}

.person-card > .person-summary {
  margin-top: var(--space-2);
}

.practitioner-focus ul {
  padding-left: 1.15em;
}

.person-profile-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: var(--space-3);
}

.person-image > img, .practitioner-hero .entity-hero-image > img {
  object-position: center top;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.team-grid .person-image {
  aspect-ratio: 4 / 5;
}

.team-grid .person-card > :is(h2, h3) {
  font-size: var(--title-treatment);
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* Native and preview 404: no script, no photographic asset, no redirect. */
.not-found {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-6);
}

.not-found-label {
  font-size: var(--text-small);
  margin-bottom: var(--space-4);
}

.not-found h1 {
  font-size: var(--title-page);
  line-height: 1.08;
  color: var(--tissue);
  text-wrap: balance;
  margin-bottom: var(--space-4);
}

.not-found-copy > p:not(.not-found-label) {
  font-size: var(--text-body);
  max-width: 36em;
  margin-bottom: var(--space-5);
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.not-found-art {
  display: grid;
  place-items: center;
  min-width: 0;
  color: var(--patella);
}

.not-found-art img,
.not-found-art span {
  grid-area: 1 / 1;
}

.not-found-art img {
  width: 100%;
  height: auto;
}

.not-found-art span {
  font-size: var(--title-error-code);
  font-weight: 900;
  letter-spacing: -.07em;
}

@media (max-width: 800px) {
  .not-found {
    grid-template-columns: minmax(0, 1fr);
  }

  .not-found-art {
    max-width: 240px;
    justify-self: center;
  }
}

/* Used everywhere a treatment appears, including related profile/article cards. */
.treatment-pricing {
  display: grid;
  justify-items: start;
  gap: var(--space-1);
  margin-block: var(--space-2);
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--rehab);
  letter-spacing: 0;
}

.treatment-name-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  min-width: 0;
}

.treatment-name-price .treatment-pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-2);
  margin: 0;
}

.more-treatment-list .treatment-name-price {
  font-size: var(--text-base);
}

.offer-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  background: var(--bone);
  color: var(--tissue);
  font-size: var(--text-small);
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.treatment-pricing-mini { display: inline-flex; margin: 0; }
.treatment-pricing-mini .offer-tag {
  font-size: var(--text-label);
  padding: 4px 6px;
  line-height: 1.2;
  white-space: nowrap;
}

.price-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.price-preview b,
.price-list b {
  white-space: nowrap;
}

.price-preview del,
.price-list del {
  font-size: var(--text-small);
}

.treatment-tariff {
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  background: var(--bone);
  border-radius: var(--radius-card);
  scroll-margin-top: 140px;
}

.treatment-tariff h2 {
  font-size: var(--title-prose);
  line-height: var(--leading-content-heading);
  letter-spacing: var(--tracking-heading);
  color: var(--tissue);
  margin-bottom: var(--space-3);
}

.price-list {
  margin: 0;
}

.price-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--line);
}

.price-list > div:first-child {
  padding-top: 0;
}

.price-list dt {
  min-width: 0;
  overflow-wrap: anywhere;
}

.price-list small {
  display: block;
  font-size: var(--text-small);
  margin-top: 4px;
}

.price-list dd {
  display: grid;
  justify-items: end;
  margin: 0;
  flex-shrink: 0;
}

.offer-details {
  margin-bottom: var(--space-3);
}

.offer-details .offer-tag {
  background: var(--tissue);
  color: var(--patella);
}

.offer-details p,
.price-note {
  font-size: var(--text-small);
  margin-top: var(--space-2);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Fixed, single banner; reserve its exact height without JS measurement. */
.has-offer-banner {
  --offer-banner-height: 56px;
}

.has-offer-banner::before {
  content: "";
  display: block;
  height: var(--offer-banner-height);
}

.offer-banner {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: var(--offer-banner-height);
  color: var(--patella);
  background: var(--tissue);
  font-size: var(--text-small);
  line-height: 1.4;
}

.offer-banner > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  height: 100%;
}

.offer-banner > a > span:first-child {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.offer-banner-action {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
}

.offer-banner a:hover .offer-banner-action {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.has-offer-banner .site-header {
  top: calc(18px + var(--offer-banner-height));
}

.has-offer-banner .treatment-tariff {
  scroll-margin-top: calc(140px + var(--offer-banner-height));
}

.has-offer-banner .mobile-nav {
  padding-top: calc(120px + var(--offer-banner-height));
}

@media (max-width: 640px) {
  .has-offer-banner {
    --offer-banner-height: 84px;
  }

  .has-offer-banner .site-header {
    top: calc(12px + var(--offer-banner-height));
  }

  .offer-banner-action {
    font-size: var(--text-label);
  }

  .offer-banner > a > span:first-child {
    -webkit-line-clamp: 3;
  }
}

/* Shared native sliders. Peek layouts are opted in on the homepage only. */

@media (max-width: 1100px) {
  .card-slider {
    position: relative;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    align-items: stretch;
    gap: var(--space-3);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .card-slider::-webkit-scrollbar { display: none; }

  .card-slider-peek {
    grid-auto-columns: calc((100% - 2 * var(--space-3)) / 2.5);
  }

  .card-slider-peek:has(> :only-child) { grid-auto-columns: 100%; }
  .card-slider-peek[data-slider-active] { cursor: grab; }
  .card-slider.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
  .card-slider img { -webkit-user-drag: none; }

  .card-slider > * {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .card-slider .person-image {
    aspect-ratio: 4 / 3;
    max-height: 560px;
  }

  .card-slider .method-photo {
    aspect-ratio: 1.5;
  }

  .card-slider .method-card > p { max-width: 52ch; }

}

@media (max-width: 640px) {
  .card-slider-peek { gap: var(--space-2); grid-auto-columns: calc((100% - var(--space-2)) / 1.5); }
  .card-slider .person-image { aspect-ratio: 4 / 5; }
  .card-slider .method-photo { aspect-ratio: 1.2; }
}
