:root {
  --paper: #f1ede4;
  --paper-soft: #fbfaf7;
  --white: #ffffff;
  --ink: #171713;
  --charcoal: #20211d;
  --muted: #706c63;
  --line: rgba(23, 23, 19, 0.18);
  --line-light: rgba(255, 255, 255, 0.24);
  --sage: #a5976e;
  --sage-dark: #74694b;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Public Sans", Arial, sans-serif;
  --container: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(5.5rem, 10vw, 10rem);
  --header-h: 94px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper-soft);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body:has(.mobile-menu:not([hidden])) {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--white);
  background: var(--sage-dark);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 500;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(100%, var(--container));
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 2rem;
}

.wordmark {
  width: max-content;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 0.42rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.wordmark__doctor {
  align-self: start;
  margin-top: 0.2rem;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.wordmark__name,
.wordmark__surname {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 2.2vw, 2.7rem);
}

.primary-nav a,
.header-phone {
  position: relative;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
}

.header-phone {
  white-space: nowrap;
}

.header-phone span {
  color: var(--muted);
}

.button {
  min-height: 3.25rem;
  padding: 0.9rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--dark {
  color: var(--white);
  background: var(--ink);
}

.button--dark:hover {
  background: var(--sage-dark);
}

.button--light {
  color: var(--ink);
  background: var(--white);
}

.button--light:hover {
  color: var(--white);
  background: var(--sage-dark);
}

.button--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button--outline:hover {
  color: var(--white);
  background: var(--ink);
}

.nav-toggle {
  padding: 0;
  border: 0;
  display: none;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  background: transparent;
}

.nav-toggle__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-size: 1.35rem;
  font-weight: normal;
  line-height: 1;
}

.nav-toggle .material-symbols-outlined {
  position: relative;
  width: 1.15rem;
  height: 0.8rem;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  display: block;
  font-size: 0;
}

.nav-toggle .material-symbols-outlined::before,
.nav-toggle .material-symbols-outlined::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-toggle .material-symbols-outlined::before {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle .material-symbols-outlined::after {
  display: none;
}

.nav-toggle[aria-expanded="true"] .material-symbols-outlined {
  border-color: transparent;
}

.nav-toggle[aria-expanded="true"] .material-symbols-outlined::before {
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .material-symbols-outlined::after {
  top: 50%;
  display: block;
  transform: translateY(-50%) rotate(-45deg);
}

.interior-page main .material-symbols-outlined {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 0 !important;
  line-height: 1;
}

.interior-page main .material-symbols-outlined::before {
  content: "+";
  color: currentColor;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 90;
  padding: 0 var(--gutter) var(--gutter);
  background: rgba(23, 23, 19, 0.58);
  backdrop-filter: blur(8px);
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu__panel {
  margin-left: auto;
  width: min(100%, 34rem);
  height: 100%;
  padding: clamp(2rem, 7vw, 4rem);
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: var(--charcoal);
  box-shadow: -22px 22px 50px rgba(0, 0, 0, 0.18);
}

.mobile-menu__eyebrow {
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-menu__panel > a:not(.button) {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.05;
}

.mobile-menu__panel > a:not(.button) span {
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.mobile-menu__panel .button {
  margin-top: auto;
}

.hero {
  padding: clamp(0.8rem, 1.8vw, 1.75rem) var(--gutter) 0;
  background: var(--paper-soft);
}

.hero__frame {
  position: relative;
  width: min(100%, calc(var(--container) - (var(--gutter) * 2)));
  min-height: calc(100svh - var(--header-h) - 1.75rem);
  margin: 0 auto;
  overflow: hidden;
  border-radius: clamp(3.5rem, 9vw, 10rem) 0 0 0;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: #827b70;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__side-note {
  display: none;
}

.hero__image {
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(0.62) contrast(1.02);
  transform: scale(1.015);
  animation: hero-settle 1500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 20, 17, 0.68) 0%, rgba(20, 20, 17, 0.23) 54%, rgba(20, 20, 17, 0.08) 75%),
    linear-gradient(0deg, rgba(20, 20, 17, 0.48) 0%, transparent 58%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 70rem);
  padding: clamp(3rem, 7vw, 7rem);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1,
.section-heading h2,
.editorial-intro h2,
.doctor-story h2,
.contact-cta h2,
.philosophy blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.047em;
  line-height: 0.92;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 9.6vw, 9rem);
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em,
.section-heading h2 em,
.editorial-intro h2 em,
.doctor-story h2 em,
.contact-cta h2 em,
.philosophy blockquote em {
  font-weight: 300;
}

.hero__intro {
  max-width: 33rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.hero__actions,
.contact-cta__actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.text-link {
  width: max-content;
  padding-bottom: 0.24rem;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: gap 220ms ease, color 220ms ease;
}

.text-link:hover {
  gap: 0.95rem;
  color: var(--sage-dark);
}

.text-link--light {
  color: var(--white);
}

.text-link--light:hover {
  color: var(--white);
}

.hero__side-note {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 1.45rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transform: translate(45%, -50%) rotate(90deg);
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: clamp(2rem, 5vw, 5rem);
  bottom: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
}

.hero__scroll-line {
  width: 3.5rem;
  height: 1px;
  background: currentColor;
}

.trust-bar {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 1.45rem var(--gutter);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3.5rem);
  background: var(--paper-soft);
}

.trust-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.trust-bar > span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--ink);
}

.section-pad {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: var(--section-space) var(--gutter);
}

.editorial-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.7fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: start;
}

.editorial-intro h2,
.section-heading h2,
.doctor-story h2,
.contact-cta h2 {
  font-size: clamp(3.5rem, 7.5vw, 7.5rem);
}

.editorial-intro h2 em,
.section-heading h2 em,
.doctor-story h2 em,
.contact-cta h2 em {
  display: block;
}

.editorial-intro__copy {
  padding-top: clamp(2rem, 7vw, 7rem);
}

.editorial-intro__copy p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.8;
}

.editorial-intro__copy .intro-large {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.editorial-intro__copy .text-link {
  margin-top: 1rem;
}

.treatments-showcase {
  max-width: none;
  width: 100%;
  color: var(--white);
  background: var(--charcoal);
}

.treatments-showcase > * {
  width: min(100%, calc(var(--container) - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section-heading {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.55fr);
  gap: 4rem;
  align-items: end;
}

.section-heading h2 {
  font-size: clamp(3.2rem, 6.8vw, 7rem);
}

.section-heading > p {
  max-width: 33rem;
  margin: 0 0 0.45rem;
  color: inherit;
  opacity: 0.7;
  line-height: 1.75;
}

.treatment-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: repeat(2, minmax(28rem, 38rem));
  gap: 1px;
  background: var(--line-light);
}

.treatment-card {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  isolation: isolate;
  background: #43433d;
}

.treatment-card--featured {
  grid-row: span 2;
}

.treatment-card img,
.treatment-card__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.treatment-card img {
  z-index: -2;
  object-fit: cover;
  filter: saturate(0.62);
  transition: filter 700ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.treatment-card--featured img {
  object-position: center 38%;
}

.treatment-card__wash {
  z-index: -1;
  background: linear-gradient(0deg, rgba(20, 20, 17, 0.82) 0%, rgba(20, 20, 17, 0.06) 72%);
}

.treatment-card:hover img {
  filter: saturate(0.94);
  transform: scale(1.035);
}

.treatment-card__index {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.treatment-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.8rem, 4vw, 4rem);
}

.treatment-card__content > p {
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.treatment-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.treatment-card__link {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.treatment-card__link b {
  font-size: 0.9rem;
  font-weight: 400;
  transition: transform 220ms ease;
}

.treatment-card:hover .treatment-card__link b {
  transform: translate(3px, -3px);
}

.section-action {
  margin-top: 3rem;
  text-align: center;
}

.treatments-showcase .button--outline {
  border-color: var(--line-light);
  color: var(--white);
}

.treatments-showcase .button--outline:hover {
  color: var(--ink);
  background: var(--white);
}

.doctor-story {
  width: min(100%, var(--container));
  min-height: 52rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--sage-dark);
}

.doctor-story__media {
  min-height: 46rem;
  overflow: hidden;
}

.doctor-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68) contrast(0.98);
}

.doctor-story__content {
  padding: clamp(3rem, 7vw, 7.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.doctor-story h2 {
  font-size: clamp(3.8rem, 6vw, 7rem);
}

.doctor-story__content > p:not(.eyebrow) {
  max-width: 37rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.doctor-story__content .doctor-story__lead {
  margin-top: 2rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 300;
  line-height: 1.35;
}

.doctor-story__facts {
  margin: 2.6rem 0;
  border-block: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.doctor-story__facts > div {
  padding: 1.35rem 0;
}

.doctor-story__facts > div + div {
  padding-left: 1.8rem;
  border-left: 1px solid var(--line-light);
}

.doctor-story__facts span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.doctor-story__facts p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
}

.doctor-story__content .button {
  align-self: flex-start;
}

.philosophy {
  padding-block: clamp(7rem, 13vw, 13rem);
  text-align: center;
}

.philosophy blockquote {
  max-width: 72rem;
  margin: 0 auto;
}

.quote-mark {
  display: block;
  height: 4rem;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
}

.philosophy blockquote p {
  font-size: clamp(3rem, 6.8vw, 7rem);
  line-height: 0.98;
}

.philosophy blockquote em {
  color: var(--sage-dark);
}

.philosophy__signature {
  margin-top: 3rem;
}

.philosophy__signature span {
  font-family: var(--serif);
  font-size: 1.4rem;
}

.philosophy__signature p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.process {
  border-top: 1px solid var(--line);
}

.section-heading--compact {
  grid-template-columns: 1fr;
}

.process-grid {
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.process-card {
  min-height: 23rem;
  padding: 2rem clamp(1.5rem, 3.5vw, 3.5rem) 2.5rem 0;
  display: flex;
  flex-direction: column;
}

.process-card + .process-card {
  padding-left: clamp(1.5rem, 3.5vw, 3.5rem);
  border-left: 1px solid var(--line);
}

.process-card > span {
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.process-card h3 {
  margin: auto 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}

.process-card p {
  max-width: 25rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.journal {
  max-width: none;
  width: 100%;
  background: var(--paper);
}

.journal > * {
  width: min(100%, calc(var(--container) - (var(--gutter) * 2)));
  margin-inline: auto;
}

.journal .section-heading {
  align-items: end;
}

.journal .section-heading > .text-link {
  justify-self: end;
  margin-bottom: 0.6rem;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 3.5rem);
}

.journal-card__image {
  aspect-ratio: 4 / 5;
  margin-bottom: 1.5rem;
  overflow: hidden;
  background: #ddd7cd;
}

.journal-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
  transition: filter 500ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.journal-card:hover .journal-card__image img {
  filter: saturate(1);
  transform: scale(1.025);
}

.journal-card__meta {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.journal-card h3 {
  max-width: 20ch;
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.13;
}

.journal-card > span {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-cta {
  position: relative;
  min-height: 48rem;
  padding: var(--section-space) var(--gutter);
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--charcoal);
}

.contact-cta__content {
  position: relative;
  z-index: 2;
  width: min(100%, calc(var(--container) - (var(--gutter) * 2)));
  margin: 0 auto;
}

.contact-cta h2 {
  max-width: 12ch;
}

.contact-cta__content > p:not(.eyebrow) {
  max-width: 35rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.05rem;
}

.contact-cta__monogram {
  position: absolute;
  right: -0.06em;
  bottom: -0.32em;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(18rem, 43vw, 43rem);
  font-weight: 300;
  letter-spacing: -0.16em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
  user-select: none;
}

.site-footer {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) 1.5rem;
  color: var(--white);
  background: #11120f;
}

.site-footer__top,
.site-footer__bottom {
  width: min(100%, calc(var(--container) - (var(--gutter) * 2)));
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
}

.wordmark--footer {
  color: var(--white);
}

.site-footer__statement {
  max-width: 24rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1.35;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.site-footer__nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.site-footer__nav p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__nav a,
.site-footer__nav address {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.8;
}

.site-footer__nav a:hover {
  color: var(--white);
}

.site-footer__bottom {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 800ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from {
    opacity: 0.55;
    transform: scale(1.08);
  }

  to {
    opacity: 1;
    transform: scale(1.015);
  }
}

@media (max-width: 1320px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav,
  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero__frame {
    min-height: min(50rem, calc(100svh - var(--header-h) - 1rem));
  }

  .doctor-story {
    min-height: auto;
  }

  .doctor-story__media {
    min-height: 42rem;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 82px;
  }

  .header-appointment {
    display: none;
  }

  .hero__frame {
    min-height: calc(100svh - var(--header-h) - 0.8rem);
    border-radius: 4.25rem 0 0 0;
  }

  .hero__image {
    object-position: 59% center;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(20, 20, 17, 0.62), rgba(20, 20, 17, 0.12)),
      linear-gradient(0deg, rgba(20, 20, 17, 0.68) 0%, transparent 62%);
  }

  .hero__side-note,
  .hero__scroll {
    display: none;
  }

  .trust-bar {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .trust-bar::-webkit-scrollbar {
    display: none;
  }

  .trust-bar p {
    flex: 0 0 auto;
  }

  .editorial-intro,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .editorial-intro__copy {
    max-width: 43rem;
    padding-top: 0;
  }

  .treatment-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, minmax(30rem, 55vh));
  }

  .treatment-card--featured {
    grid-row: auto;
  }

  .doctor-story {
    grid-template-columns: 1fr;
  }

  .doctor-story__media {
    min-height: 70svh;
    max-height: 54rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: 18rem;
    padding: 2rem 0;
  }

  .process-card + .process-card {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .journal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .journal-card:last-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }

  .journal-card:last-child .journal-card__image {
    grid-row: span 4;
    margin-bottom: 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1rem;
    --section-space: 5.5rem;
  }

  .site-header__inner {
    gap: 0.75rem;
  }

  .wordmark {
    gap: 0.28rem;
  }

  .wordmark__name,
  .wordmark__surname {
    font-size: 1.03rem;
  }

  .nav-toggle__label {
    display: none;
  }

  .hero {
    padding-top: 0.65rem;
  }

  .hero__frame {
    min-height: calc(100svh - var(--header-h) - 0.65rem);
  }

  .hero__content {
    padding: 2.25rem 1.35rem;
  }

  .hero h1 {
    font-size: clamp(3.65rem, 17vw, 5.5rem);
  }

  .hero__intro {
    max-width: 27rem;
    font-size: 0.95rem;
  }

  .hero__actions,
  .contact-cta__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.3rem;
  }

  .trust-bar {
    padding-inline: 1.25rem;
  }

  .editorial-intro h2,
  .section-heading h2,
  .doctor-story h2,
  .contact-cta h2 {
    font-size: clamp(3.25rem, 15vw, 5.2rem);
  }

  .treatments-showcase > *,
  .journal > *,
  .contact-cta__content,
  .site-footer__top,
  .site-footer__bottom {
    width: 100%;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .treatment-card,
  .treatment-card--featured {
    min-height: 72svh;
  }

  .treatment-card--featured img {
    object-position: center 35%;
  }

  .doctor-story__media {
    min-height: 65svh;
  }

  .doctor-story__content {
    padding: 4.5rem 1.25rem;
  }

  .doctor-story__facts {
    grid-template-columns: 1fr;
  }

  .doctor-story__facts > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .philosophy {
    text-align: left;
  }

  .philosophy blockquote p {
    font-size: clamp(3.05rem, 14.5vw, 4.7rem);
  }

  .philosophy__signature {
    text-align: right;
  }

  .journal-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .journal-card:last-child {
    grid-column: auto;
    display: block;
  }

  .journal-card:last-child .journal-card__image {
    margin-bottom: 1.5rem;
  }

  .contact-cta {
    min-height: 44rem;
  }

  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__nav > div:last-child {
    grid-column: span 2;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Interior page system — inspired by the editorial rhythm of the homepage. */

body.interior-page {
  min-height: 100svh;
  color: var(--ink);
  background: var(--paper-soft);
  font-family: var(--sans);
}

.interior-page :where(.text-primary, .text-surface-tint, .text-on-primary-fixed, .text-on-primary-fixed-variant) {
  color: var(--sage-dark) !important;
}

.interior-page :where(.text-on-background, .text-on-surface) {
  color: var(--ink) !important;
}

.interior-page :where(.text-on-surface-variant, .text-secondary, .text-outline, .text-tertiary) {
  color: var(--muted) !important;
}

.interior-page :where(.bg-primary, .bg-surface-tint) {
  background: var(--ink) !important;
}

.interior-page :where(.bg-primary-fixed, .bg-primary-container) {
  background: #ece6da !important;
}

.interior-page :where(.bg-background, .bg-surface, .bg-surface-bright) {
  background: var(--paper-soft) !important;
}

.interior-page :where(
  .bg-surface-container-low,
  .bg-surface-container,
  .bg-surface-container-high,
  .bg-surface-container-highest,
  .bg-surface-variant
) {
  background: var(--paper) !important;
}

.interior-page :where(.bg-surface-container-lowest) {
  background: var(--white) !important;
}

.interior-page :where(.border-primary) {
  border-color: var(--sage-dark) !important;
}

.interior-page :where(.border-surface-variant, .border-outline-variant) {
  border-color: var(--line) !important;
}

.interior-page main {
  flex: 1 0 auto;
}

.interior-hero {
  position: relative;
  isolation: isolate;
  width: calc(100% - (var(--gutter) * 2));
  max-width: calc(var(--container) - (var(--gutter) * 2));
  min-height: clamp(32rem, 63svh, 47rem);
  margin: 1.35rem auto 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  border-radius: 4.2rem 4.2rem 4.2rem 0;
  background: var(--charcoal);
}

.interior-hero__image,
.interior-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.interior-hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72);
}

.interior-hero__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(18, 19, 16, 0.82) 0%, rgba(18, 19, 16, 0.53) 50%, rgba(18, 19, 16, 0.08) 100%),
    linear-gradient(0deg, rgba(18, 19, 16, 0.52), transparent 55%);
}

.interior-hero__content {
  width: min(73rem, 100%);
  padding: clamp(3rem, 7vw, 7rem);
}

.interior-breadcrumb {
  margin: 0 0 clamp(2.5rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.72rem;
  color: currentColor;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.interior-breadcrumb a {
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.interior-breadcrumb a:hover {
  opacity: 1;
}

.interior-breadcrumb span {
  color: #c7b66e;
  font-size: 1rem;
  font-weight: 300;
}

.interior-hero__meta {
  margin: 0 0 1.2rem !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem !important;
  color: rgba(255, 255, 255, 0.78);
}

.interior-hero__meta > * {
  padding: 0 !important;
  border: 0 !important;
  color: inherit !important;
  background: transparent !important;
  font-family: var(--sans) !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
}

.interior-hero__title {
  max-width: 64rem;
  margin: 0 !important;
  color: var(--white) !important;
  font-family: var(--serif) !important;
  font-size: clamp(3.6rem, 7.2vw, 7.7rem) !important;
  font-weight: 300 !important;
  line-height: 0.93 !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

.interior-hero__intro {
  max-width: 40rem;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.65;
}

/* Treatment and article detail pages */

.longform-page main {
  max-width: none !important;
  padding: 0 !important;
}

.longform-hero {
  min-height: clamp(34rem, 67svh, 50rem);
}

.page-treatment-botoks .longform-hero .interior-hero__image,
.page-blog-botoks-oncesi .longform-hero .interior-hero__image {
  object-position: center 32%;
}

.page-treatment-dolgu .longform-hero .interior-hero__image,
.page-blog-dudak-dolgusu .longform-hero .interior-hero__image {
  object-position: center 38%;
}

.page-blog-botoks-etki-suresi .longform-hero .interior-hero__image {
  object-position: center 47%;
}

.longform-article {
  width: min(100% - (var(--gutter) * 2), 58rem) !important;
  max-width: 58rem !important;
  margin: 0 auto !important;
  padding: clamp(5.5rem, 9vw, 9rem) 0 clamp(6rem, 10vw, 10rem) !important;
}

.medical-review {
  margin: 0 0 4.5rem !important;
  padding: 1.2rem 0 1.2rem 1.4rem !important;
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem !important;
  color: var(--muted);
  border: 0 !important;
  border-left: 1px solid var(--ink) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.medical-review .material-symbols-outlined {
  color: var(--sage-dark) !important;
}

.medical-review p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.medical-review a {
  color: var(--muted) !important;
  font-size: 0.78rem !important;
}

.editorial-prose {
  max-width: none !important;
  color: #424139 !important;
  font-family: var(--sans);
  font-size: 1.03rem;
  line-height: 1.85;
}

.editorial-prose > p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.editorial-prose h2 {
  margin: clamp(4.5rem, 8vw, 7rem) 0 1.35rem !important;
  display: flow-root;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2.4rem, 5vw, 4.2rem) !important;
  font-weight: 300 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em !important;
  text-wrap: balance;
}

.editorial-prose > h2.reveal {
  transform: translateY(0.75rem);
}

.editorial-prose > h2.reveal.is-visible {
  transform: translateY(0);
}

.editorial-prose h2::before {
  display: block;
  width: 2.6rem;
  margin-bottom: 1.3rem;
  content: "+";
  color: var(--sage);
  font-family: var(--sans);
  font-size: 2.1rem;
  font-weight: 300;
  line-height: 1;
}

.editorial-prose h3,
.editorial-prose h4 {
  margin: 3rem 0 1rem !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  line-height: 1.18 !important;
}

.editorial-prose h3 {
  font-size: clamp(1.75rem, 3vw, 2.4rem) !important;
}

.editorial-prose h4 {
  font-size: 1.45rem !important;
}

.editorial-prose p,
.editorial-prose li {
  color: #4e4c45 !important;
  line-height: 1.85 !important;
}

.editorial-prose p {
  margin: 0 0 1.45rem !important;
}

.editorial-prose ul,
.editorial-prose ol {
  margin: 1.5rem 0 2rem !important;
  padding-left: 1.3rem !important;
}

.editorial-prose li {
  margin: 0.48rem 0;
  padding-left: 0.35rem;
}

.editorial-prose strong {
  color: var(--ink);
  font-weight: 600;
}

.editorial-prose a {
  color: var(--sage-dark) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.editorial-prose blockquote {
  margin: 4rem 0 !important;
  padding: 2.5rem clamp(1.5rem, 4vw, 3.5rem) !important;
  color: var(--white) !important;
  border: 0 !important;
  border-radius: 2rem 2rem 2rem 0;
  background: var(--charcoal);
}

.editorial-prose blockquote p {
  color: var(--white) !important;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.45 !important;
}

.editorial-prose > div:not(.overflow-x-auto) {
  margin: 4rem 0 !important;
  padding: clamp(1.7rem, 4vw, 3rem) !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 2rem 2rem 2rem 0 !important;
  background: var(--paper) !important;
}

.editorial-prose > div:not(.overflow-x-auto) h4 {
  margin-top: 0 !important;
}

.editorial-prose .overflow-x-auto {
  margin: 2.5rem 0 !important;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 1.5rem 1.5rem 1.5rem 0;
}

.editorial-prose table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  background: var(--white);
}

.editorial-prose th,
.editorial-prose td {
  padding: 1rem 1.15rem !important;
  border-bottom: 1px solid var(--line) !important;
  vertical-align: top;
}

.editorial-prose th {
  color: var(--white) !important;
  background: var(--charcoal) !important;
}

.editorial-prose tr:nth-child(even) td {
  background: var(--paper-soft) !important;
}

.longform-cta {
  margin: clamp(5rem, 8vw, 8rem) 0 0 !important;
  padding: clamp(2.5rem, 6vw, 5rem) !important;
  color: var(--white) !important;
  text-align: left !important;
  border: 0 !important;
  border-radius: 3rem 3rem 3rem 0 !important;
  background: var(--charcoal) !important;
}

.longform-cta h3 {
  max-width: 37rem;
  margin: 0 0 1rem !important;
  color: var(--white) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2.5rem, 5vw, 4.6rem) !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  letter-spacing: -0.035em;
}

.longform-cta p {
  max-width: 35rem;
  margin-bottom: 2rem !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.longform-cta a {
  min-height: 3.4rem;
  padding: 0.95rem 1.5rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink) !important;
  border-radius: 999px !important;
  background: var(--white) !important;
  text-decoration: none !important;
}

/* Treatment index */

.treatments-index-hero .interior-hero__image {
  object-position: center 48%;
}

.treatments-catalog {
  margin-top: clamp(5rem, 9vw, 9rem);
  padding: 0 var(--gutter) clamp(6rem, 10vw, 10rem) !important;
  background: transparent !important;
}

.treatments-catalog > div {
  max-width: calc(var(--container) - (var(--gutter) * 2)) !important;
  margin: 0 auto;
}

.treatments-catalog > div > div {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.6rem !important;
}

.catalog-card {
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  border: 1px solid rgba(23, 23, 19, 0.08);
  border-radius: 3rem 3rem 3rem 0 !important;
  background: var(--paper) !important;
  box-shadow: none !important;
  transition: transform 240ms ease, border-color 240ms ease;
}

.catalog-card:hover {
  border-color: rgba(23, 23, 19, 0.25);
  transform: translateY(-0.35rem);
}

.catalog-card::after {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  content: var(--card-index);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  background: rgba(20, 20, 17, 0.38);
  backdrop-filter: blur(12px);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.catalog-card > div:first-child {
  height: clamp(20rem, 34vw, 31rem) !important;
  overflow: hidden;
  background: #ddd;
}

.catalog-card > div:first-child img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.catalog-card:hover > div:first-child img {
  transform: scale(1.035) !important;
}

.catalog-card > div:last-child {
  flex: 1;
  padding: clamp(1.8rem, 3vw, 3.2rem) !important;
  display: flex;
  flex-direction: column;
}

.catalog-card > div:last-child > div:first-child {
  width: max-content;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  color: var(--sage-dark) !important;
  background: transparent !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.17em !important;
  text-transform: uppercase;
}

.catalog-card h2 {
  margin: 0 0 1rem !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2.3rem, 4vw, 3.8rem) !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em;
}

.catalog-card a[href="about"] {
  margin-bottom: 1.4rem !important;
  color: var(--muted);
}

.catalog-card p,
.catalog-card li {
  color: #55534c !important;
  font-size: 0.94rem !important;
  line-height: 1.72 !important;
}

.catalog-card ul {
  margin: 0 0 1.8rem !important;
  padding-left: 1.15rem;
  columns: 2;
  column-gap: 1.5rem;
}

.catalog-card > div:last-child > a:last-child {
  width: max-content;
  margin-top: auto !important;
  color: var(--ink) !important;
  font-size: 0.76rem !important;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.interior-cta {
  width: calc(100% - (var(--gutter) * 2)) !important;
  max-width: calc(var(--container) - (var(--gutter) * 2)) !important;
  margin: 0 auto clamp(1.5rem, 4vw, 4rem) !important;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter) !important;
  color: var(--white);
  text-align: center;
  border: 0 !important;
  border-radius: 4rem 4rem 4rem 0;
  background: var(--charcoal) !important;
}

.interior-cta h2 {
  max-width: 50rem;
  margin: 0 auto 1.5rem !important;
  color: var(--white) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2.7rem, 5.8vw, 5.8rem) !important;
  font-weight: 300 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.04em;
}

.interior-cta p {
  max-width: 38rem;
  margin: 0 auto 2.2rem !important;
  color: rgba(255, 255, 255, 0.68) !important;
}

.interior-cta a {
  padding: 1rem 1.7rem !important;
  color: var(--ink) !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--white) !important;
  box-shadow: none !important;
}

.about-publications {
  text-align: left;
}

.about-publications h2 {
  max-width: 11ch;
  margin: 0 0 1.4rem !important;
}

.about-publications > div > div > div:first-child p {
  max-width: 34rem;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.76) !important;
}

.about-publications .border-b {
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.about-publications .border-b > div:last-child {
  min-width: 0;
}

.about-publications .border-b h4 {
  margin: 0 0 0.55rem !important;
  color: var(--white) !important;
  font-family: var(--sans) !important;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.about-publications .border-b p {
  max-width: none;
  margin: 0 0 0.8rem !important;
  color: rgba(255, 255, 255, 0.76) !important;
  line-height: 1.65;
}

.about-publications .border-b .material-symbols-outlined,
.about-publications .border-b span:not(.material-symbols-outlined) {
  color: #cfc39b !important;
}

/* Journal index */

.journal-index-hero .interior-hero__image {
  object-position: center 45%;
}

.journal-filters {
  max-width: calc(var(--container) - (var(--gutter) * 2)) !important;
  margin: clamp(4rem, 7vw, 6.5rem) auto 2.5rem !important;
  padding: 0 !important;
}

.journal-filters > div {
  justify-content: flex-start !important;
  gap: 0.7rem !important;
}

.journal-filters [data-blog-filter] {
  padding: 0.8rem 1.25rem !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: transparent !important;
  font-size: 0.74rem !important;
  font-weight: 500 !important;
  transition: color 180ms ease, background 180ms ease !important;
}

.journal-filters [data-blog-filter][aria-pressed="true"],
.journal-filters [data-blog-filter]:hover {
  color: var(--white) !important;
  border-color: var(--ink) !important;
  background: var(--ink) !important;
}

.journal-catalog {
  max-width: calc(var(--container) - (var(--gutter) * 2)) !important;
  margin: 0 auto !important;
  padding: 0 0 clamp(7rem, 11vw, 11rem) !important;
}

.journal-catalog [data-blog-grid] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}

.journal-index-card {
  overflow: hidden;
  display: flex;
  min-height: 39rem;
  flex-direction: column;
  border: 0 !important;
  border-radius: 2.7rem 2.7rem 2.7rem 0 !important;
  background: var(--paper) !important;
  box-shadow: none !important;
  transition: transform 240ms ease !important;
}

.journal-index-card:hover {
  transform: translateY(-0.35rem) !important;
}

.journal-index-card > div:first-child {
  height: 18.5rem !important;
  flex: 0 0 auto;
  overflow: hidden;
}

.journal-index-card > div:first-child img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.journal-index-card:hover > div:first-child img {
  transform: scale(1.04) !important;
}

.journal-index-card > div:last-child {
  flex: 1;
  padding: 1.8rem 1.9rem 2rem !important;
  display: flex !important;
  flex-direction: column;
}

.journal-index-card > div:last-child > div:first-child {
  margin-bottom: 1.2rem !important;
}

.journal-index-card > div:last-child > div:first-child span {
  padding: 0 !important;
  color: var(--muted) !important;
  background: transparent !important;
  font-size: 0.64rem !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase;
}

.journal-index-card h2 {
  margin: 0 0 1rem !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2rem, 2.8vw, 3rem) !important;
  font-weight: 300 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.025em;
}

.journal-index-card a[href="about"] {
  margin-bottom: 1rem !important;
  color: var(--muted);
}

.journal-index-card p {
  color: #56544d !important;
  font-size: 0.9rem !important;
  line-height: 1.68 !important;
}

.journal-index-card > div:last-child > a:last-child {
  width: max-content;
  min-height: 2.85rem;
  margin-top: auto !important;
  padding: 0.7rem 1.2rem;
  display: inline-flex;
  align-items: center;
  color: var(--white) !important;
  border-radius: 999px;
  background: var(--ink);
  font-size: 0.72rem !important;
  font-weight: 500;
}

.journal-catalog [data-blog-load-more] {
  padding: 0.95rem 1.6rem !important;
  color: var(--white) !important;
  border: 1px solid var(--ink) !important;
  border-radius: 999px !important;
  background: var(--ink) !important;
}

/* Biography page */

.page-about main {
  width: 100%;
}

.about-hero {
  position: relative;
  isolation: isolate;
  width: calc(100% - (var(--gutter) * 2)) !important;
  max-width: calc(var(--container) - (var(--gutter) * 2));
  min-height: clamp(42rem, 78svh, 59rem);
  margin: 1.35rem auto 0;
  padding: 0 !important;
  overflow: hidden;
  color: var(--white);
  border-radius: 4.2rem 4.2rem 4.2rem 0;
  background: var(--charcoal) !important;
}

.about-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 19, 16, 0.84) 0%, rgba(18, 19, 16, 0.64) 48%, rgba(18, 19, 16, 0.12) 78%),
    linear-gradient(0deg, rgba(18, 19, 16, 0.56), transparent 60%);
}

.about-hero__grid {
  width: 100%;
  max-width: none !important;
  min-height: inherit;
  margin: 0 !important;
  display: block !important;
}

.about-hero__media {
  position: absolute !important;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
}

.about-hero__media > div {
  display: none;
}

.about-hero__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 68%;
  border: 0 !important;
  border-radius: 0 !important;
  filter: saturate(0.78);
  box-shadow: none !important;
}

.about-hero__content {
  position: relative;
  z-index: 1;
  width: min(61%, 49rem);
  min-height: inherit;
  padding: clamp(3rem, 7vw, 7rem) !important;
  display: flex !important;
  justify-content: flex-end;
  gap: 1.15rem !important;
}

.about-hero__content .interior-breadcrumb {
  margin-bottom: 2rem;
}

.about-hero__content h1 {
  margin: 0 0 0.5rem !important;
  color: var(--white) !important;
  font-family: var(--serif) !important;
  font-size: clamp(4.5rem, 7.5vw, 8rem) !important;
  font-weight: 300 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.05em;
}

.about-hero__content > p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem) !important;
  line-height: 1.7 !important;
}

.about-hero__content > p:first-of-type,
.about-hero__content > p:nth-of-type(2) {
  color: var(--white) !important;
}

.about-hero__content > div:last-child {
  padding-top: 1rem !important;
  gap: 0.55rem !important;
}

.about-hero__content > div:last-child > div {
  padding: 0.62rem 0.85rem !important;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 999px !important;
  background: rgba(20, 20, 17, 0.24) !important;
  backdrop-filter: blur(10px);
}

.about-hero__content > div:last-child span {
  color: inherit !important;
  font-size: 0.62rem !important;
  line-height: 1.25 !important;
}

.about-principles,
.about-education {
  padding: clamp(6rem, 10vw, 10rem) var(--gutter) !important;
  background: transparent !important;
}

.about-principles > div,
.about-education > div {
  max-width: calc(var(--container) - (var(--gutter) * 2)) !important;
  margin: 0 auto !important;
}

.about-principles > div > div:first-child h2,
.about-education h2 {
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(3rem, 6vw, 6rem) !important;
  font-weight: 300 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.04em;
}

.about-principles > div > div:first-child {
  max-width: 48rem !important;
  margin: 0 0 clamp(3rem, 6vw, 5.5rem) !important;
  text-align: left !important;
}

.about-principles > div > div:first-child p {
  max-width: 39rem;
  color: var(--muted) !important;
}

.about-principles .grid > div {
  min-height: 20rem;
  padding: clamp(1.8rem, 4vw, 3.4rem) !important;
  border: 1px solid rgba(23, 23, 19, 0.09) !important;
  border-radius: 2.7rem 2.7rem 2.7rem 0 !important;
  background: var(--paper) !important;
  box-shadow: none !important;
}

.about-principles .grid > div h3 {
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2rem, 3.4vw, 3.2rem) !important;
  font-weight: 300 !important;
  line-height: 1 !important;
}

.about-principles .grid > div p {
  color: #55534c !important;
}

.about-principles .grid > div:has(> img) {
  min-height: 29rem;
  padding: 0 !important;
}

.about-principles .grid > div:has(> img) h3,
.about-principles .grid > div:has(> img) p {
  color: var(--white) !important;
}

.about-education {
  background: var(--paper) !important;
}

.about-education > div > div {
  gap: clamp(3rem, 8vw, 8rem) !important;
}

.about-education .border-b {
  padding-bottom: 1.8rem !important;
  border-color: var(--line) !important;
}

.about-education h4 {
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: 1.75rem !important;
  font-weight: 400 !important;
}

.about-education p {
  color: var(--muted) !important;
}

/* Contact page */

.contact-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 1.35rem var(--gutter) 0 !important;
}

.contact-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: calc(var(--container) - (var(--gutter) * 2));
  min-height: clamp(25rem, 48svh, 36rem);
  margin: 0 auto clamp(5rem, 8vw, 8rem) !important;
  padding: clamp(3rem, 7vw, 7rem) !important;
  overflow: hidden;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  flex-direction: column !important;
  gap: 0 !important;
  color: var(--white);
  border-radius: 4.2rem 4.2rem 4.2rem 0;
  background: var(--charcoal);
}

.contact-hero::before,
.contact-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.contact-hero::before {
  z-index: -2;
  background: url("images/responsive/treatment1-1080.webp") center 52% / cover no-repeat;
  filter: saturate(0.72);
}

.contact-hero::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(18, 19, 16, 0.84), rgba(18, 19, 16, 0.18));
}

.contact-hero > div {
  max-width: 50rem !important;
}

.contact-hero .interior-breadcrumb {
  margin-bottom: 2rem;
}

.contact-hero h1 {
  margin: 0 0 1rem !important;
  color: var(--white) !important;
  font-family: var(--serif) !important;
  font-size: clamp(4.5rem, 9vw, 9rem) !important;
  font-weight: 300 !important;
  line-height: 0.88 !important;
  letter-spacing: -0.05em;
}

.contact-hero p:not(.eyebrow, .interior-breadcrumb) {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
}

.contact-layout {
  width: 100%;
  max-width: calc(var(--container) - (var(--gutter) * 2));
  margin: 0 auto clamp(7rem, 11vw, 11rem) !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) !important;
  gap: 1.5rem !important;
  border: 0 !important;
  background: transparent !important;
}

.contact-details {
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: 3rem 3rem 3rem 0;
  background: var(--paper);
}

.contact-details h2 {
  margin: 0 0 2rem !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2.7rem, 5vw, 4.8rem) !important;
  font-weight: 300 !important;
  line-height: 0.95 !important;
}

.contact-details h3 {
  color: var(--ink) !important;
}

.contact-details p,
.contact-details li {
  color: #54524b !important;
}

.contact-details .material-symbols-outlined {
  color: var(--sage-dark) !important;
}

.contact-details a[href^="https://wa.me"] {
  padding: 0.9rem 1.3rem !important;
  color: var(--white) !important;
  border-radius: 999px !important;
  background: var(--ink) !important;
}

.contact-details > div:last-child {
  padding: 1.5rem !important;
  border: 0 !important;
  border-radius: 1.5rem 1.5rem 1.5rem 0 !important;
  background: var(--white) !important;
}

.contact-map {
  min-height: 38rem !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 3rem 3rem 3rem 0 !important;
  filter: grayscale(0.15) contrast(0.94);
}

.contact-map iframe {
  min-height: 38rem !important;
}

@media (max-width: 1100px) {
  .interior-hero,
  .about-hero,
  .contact-hero {
    border-radius: 3.2rem 3.2rem 3.2rem 0;
  }

  .interior-hero__content {
    padding: clamp(2.7rem, 6vw, 5rem);
  }

  .catalog-card ul {
    columns: 1;
  }

  .journal-catalog [data-blog-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .about-hero__content {
    width: min(69%, 47rem);
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 900px) {
  .interior-hero,
  .about-hero,
  .contact-hero {
    width: calc(100% - 2rem) !important;
    max-width: none;
    margin-top: 1rem;
  }

  .interior-hero__veil {
    background:
      linear-gradient(90deg, rgba(18, 19, 16, 0.78), rgba(18, 19, 16, 0.25)),
      linear-gradient(0deg, rgba(18, 19, 16, 0.68), transparent 70%);
  }

  .longform-article {
    width: min(100% - 2.5rem, 47rem) !important;
  }

  .treatments-catalog {
    padding-inline: 1rem !important;
  }

  .treatments-catalog > div > div {
    grid-template-columns: 1fr !important;
  }

  .catalog-card {
    border-radius: 2.5rem 2.5rem 2.5rem 0 !important;
  }

  .catalog-card > div:first-child {
    height: clamp(22rem, 62vw, 36rem) !important;
  }

  .interior-cta {
    width: calc(100% - 2rem) !important;
    border-radius: 3rem 3rem 3rem 0;
  }

  .journal-filters,
  .journal-catalog {
    width: calc(100% - 2rem) !important;
  }

  .about-hero::after {
    background:
      linear-gradient(90deg, rgba(18, 19, 16, 0.82), rgba(18, 19, 16, 0.35)),
      linear-gradient(0deg, rgba(18, 19, 16, 0.76), transparent 78%);
  }

  .about-hero__media {
    inset: 0;
    width: 100%;
  }

  .about-hero__content {
    width: min(78%, 44rem);
    padding: 3rem !important;
  }

  .about-principles,
  .about-education {
    padding-inline: 1.25rem !important;
  }

  .contact-page {
    padding-inline: 0 !important;
  }

  .contact-layout {
    width: calc(100% - 2rem);
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .interior-hero,
  .about-hero,
  .contact-hero {
    width: calc(100% - 1.25rem) !important;
    min-height: 38rem;
    border-radius: 2.3rem 2.3rem 2.3rem 0;
  }

  .interior-hero {
    align-items: flex-end;
  }

  .interior-hero__content {
    padding: 2.2rem 1.4rem 2.5rem;
  }

  .interior-breadcrumb {
    margin-bottom: 2rem;
    gap: 0.5rem;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .interior-hero__title {
    font-size: clamp(3.35rem, 14vw, 5rem) !important;
    line-height: 0.96 !important;
  }

  .interior-hero__intro {
    margin-top: 1.1rem;
    font-size: 0.9rem;
  }

  .longform-article {
    width: calc(100% - 2rem) !important;
    padding-top: 4.5rem !important;
  }

  .medical-review {
    margin-bottom: 3.5rem !important;
  }

  .editorial-prose {
    font-size: 0.97rem;
  }

  .editorial-prose > p:first-child {
    font-size: 1.5rem;
  }

  .editorial-prose h2 {
    margin-top: 4rem !important;
    font-size: clamp(2.35rem, 12vw, 3.4rem) !important;
  }

  .longform-cta {
    padding: 2.3rem 1.45rem !important;
    border-radius: 2.3rem 2.3rem 2.3rem 0 !important;
  }

  .catalog-card > div:first-child {
    height: 24rem !important;
  }

  .catalog-card > div:last-child {
    padding: 1.6rem !important;
  }

  .catalog-card h2 {
    font-size: 2.65rem !important;
  }

  .interior-cta {
    width: calc(100% - 1.25rem) !important;
    padding: 4rem 1.4rem !important;
    border-radius: 2.3rem 2.3rem 2.3rem 0;
  }

  .journal-filters {
    width: calc(100% - 2rem) !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .journal-filters > div {
    width: max-content;
    flex-wrap: nowrap !important;
  }

  .journal-catalog {
    width: calc(100% - 1.25rem) !important;
  }

  .journal-catalog [data-blog-grid] {
    grid-template-columns: 1fr !important;
  }

  .journal-index-card {
    min-height: 37rem;
    border-radius: 2.3rem 2.3rem 2.3rem 0 !important;
  }

  .journal-index-card > div:first-child {
    height: 17rem !important;
  }

  .about-hero {
    min-height: 49rem;
  }

  .about-hero::after {
    background:
      linear-gradient(0deg, rgba(18, 19, 16, 0.92) 0%, rgba(18, 19, 16, 0.52) 70%, rgba(18, 19, 16, 0.12) 100%);
  }

  .about-hero__media img {
    object-position: center 64%;
  }

  .about-hero__content {
    width: 100%;
    min-height: 49rem;
    padding: 2.25rem 1.35rem !important;
    justify-content: flex-end;
  }

  .about-hero__content .interior-breadcrumb,
  .about-hero__content .eyebrow {
    margin-bottom: 0.5rem;
  }

  .about-hero__content h1 {
    font-size: clamp(4rem, 18vw, 5.6rem) !important;
  }

  .about-hero__content > p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }

  .about-hero__content > div:last-child > div {
    padding: 0.48rem 0.65rem !important;
  }

  .about-principles .grid > div {
    border-radius: 2.2rem 2.2rem 2.2rem 0 !important;
  }

  .contact-hero {
    min-height: 34rem;
    margin-bottom: 4rem !important;
    padding: 2.25rem 1.4rem !important;
  }

  .contact-layout {
    width: calc(100% - 1.25rem);
  }

  .contact-details {
    padding: 2.2rem 1.35rem;
    border-radius: 2.3rem 2.3rem 2.3rem 0;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 30rem !important;
  }

  .contact-map {
    border-radius: 2.3rem 2.3rem 2.3rem 0 !important;
  }
}

/* Dynamic editorial experience — responsive motion and composition */

:root {
  --scroll-progress: 0%;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-edge: clamp(1rem, 2vw, 2.5rem);
  --hero-frame-gap: clamp(1rem, 1.7vw, 1.9rem);
  --hero-stage-height: max(32rem, calc(100svh - var(--header-h) - clamp(2rem, 4vw, 3.75rem)));
}

.scroll-progress {
  position: fixed;
  z-index: 250;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: var(--scroll-progress);
  height: 100%;
  background: var(--sage-dark);
  transition: width 80ms linear;
}

.site-header {
  border-bottom-color: transparent;
  background: rgba(251, 250, 247, 0.96);
  transition: height 320ms var(--motion-ease), box-shadow 320ms ease, background-color 320ms ease;
}

.site-header.is-scrolled {
  height: calc(var(--header-h) - 8px);
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(23, 23, 19, 0.04);
}

.button,
.header-appointment {
  border-radius: 999px;
}

.social-rail {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transform: translateY(-50%);
}

.social-rail a {
  position: relative;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.social-rail a:hover,
.social-rail a:focus-visible {
  color: var(--white);
  background: transparent;
  transform: scale(1.12);
}

.social-rail a::before {
  position: absolute;
  top: 50%;
  right: calc(100% + 0.65rem);
  padding: 0.45rem 0.68rem;
  border-radius: 999px;
  content: attr(data-label);
  color: var(--white);
  background: var(--ink);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(0.35rem, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.social-rail a:hover::before,
.social-rail a:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.social-rail svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.mobile-contact-bar {
  display: none;
}

/* Homepage hero: image sequence on desktop, split cinematic composition on mobile. */

.hero {
  padding: var(--hero-frame-gap) var(--hero-edge) clamp(3rem, 7vw, 7rem);
}

.hero__frame {
  width: 100%;
  max-width: none;
  height: var(--hero-stage-height);
  min-height: 0;
  border-radius: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__image {
  opacity: 0;
  filter: saturate(0.68) contrast(1.02);
  transform: scale(1.075);
  transition: opacity 1100ms ease, transform 6500ms linear, filter 900ms ease;
  animation: none;
}

.hero__image.is-active {
  opacity: 1;
  transform: scale(1.015);
}

.hero__image:nth-child(1) {
  object-position: center 49%;
}

.hero__image:nth-child(2) {
  object-position: center 56%;
}

.hero__image:nth-child(3) {
  object-position: center 48%;
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(16, 16, 14, 0.32), rgba(16, 16, 14, 0.22)),
    linear-gradient(0deg, rgba(16, 16, 14, 0.67), rgba(16, 16, 14, 0.05) 70%);
}

.hero__content {
  width: min(100%, 72rem);
  padding: clamp(3rem, 7vw, 7rem);
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(4rem, min(8.1vw, 15svh), 8.2rem);
  line-height: 1.02;
}

.hero__intro {
  max-width: 37rem;
}

.hero__actions {
  justify-content: center;
}

.hero__pagination {
  position: absolute;
  z-index: 4;
  right: clamp(7rem, 10vw, 10rem);
  bottom: clamp(1.6rem, 3vw, 2.7rem);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero__pagination button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.hero__pagination button.is-active {
  background: var(--white);
  transform: scale(1.15);
}

.hero__pagination-track {
  width: clamp(4rem, 8vw, 7rem);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.hero__pagination-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__pagination-track span.is-running {
  animation: hero-progress 5.2s linear both;
}

@keyframes hero-progress {
  to {
    transform: scaleX(1);
  }
}

/* Continuous approach line */

.trust-bar {
  max-width: none;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.trust-bar__track,
.trust-bar__group {
  width: max-content;
  display: flex;
  align-items: center;
}

.trust-bar__track {
  animation: trust-marquee 30s linear infinite;
}

.trust-bar__group {
  min-width: max-content;
  padding: 1.35rem clamp(1.5rem, 3vw, 3rem);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.trust-bar__group p {
  flex: 0 0 auto;
}

@keyframes trust-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Image-led horizontal treatment experience */

.treatments-showcase {
  color: var(--ink);
  background: var(--paper);
}

.treatments-showcase .section-heading {
  align-items: end;
}

.section-heading__side {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1.6rem;
}

.section-heading__side > p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  gap: 0.65rem;
}

.carousel-controls button {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.carousel-controls button:hover {
  color: var(--white);
  background: var(--ink);
}

.carousel-controls button:disabled {
  opacity: 0.24;
  cursor: default;
}

.treatment-grid {
  width: 100% !important;
  max-width: none !important;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  overflow-x: auto;
  display: flex;
  grid-template: none;
  gap: 1rem;
  background: transparent;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.treatment-grid::-webkit-scrollbar {
  display: none;
}

.treatment-card,
.treatment-card--featured,
.treatment-card--wide {
  min-height: clamp(35rem, 55vw, 45rem);
  flex: 0 0 clamp(21rem, 31vw, 32rem);
  border-radius: 3.5rem;
  color: var(--white);
  scroll-snap-align: start;
}

.treatment-card--featured {
  grid-row: auto;
}

.treatment-card h3 {
  color: var(--white);
  font-size: clamp(3rem, 4.2vw, 4.8rem);
}

.treatment-card img {
  filter: saturate(0.77) contrast(1.01);
}

.carousel-status {
  position: relative;
  height: 1px;
  margin: 3rem auto 0 !important;
  overflow: hidden;
  background: var(--line);
}

.carousel-status span {
  display: block;
  width: var(--carousel-progress, 12%);
  height: 100%;
  background: var(--sage-dark);
  transition: width 180ms ease;
}

.treatments-showcase .button--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.treatments-showcase .button--outline:hover {
  color: var(--white);
  background: var(--ink);
}

.doctor-story {
  width: calc(100% - (var(--gutter) * 2));
  max-width: calc(var(--container) - (var(--gutter) * 2));
  margin: clamp(1.5rem, 4vw, 4rem) auto 0;
  overflow: hidden;
  border-radius: clamp(3rem, 6vw, 5rem);
  background: var(--charcoal);
}

.doctor-story__media img,
[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.055);
  will-change: transform;
}

.doctor-story__media img {
  filter: saturate(0.74) contrast(1);
}

.doctor-story__content {
  background: var(--charcoal);
}

.process-card {
  transition: color 280ms ease, background-color 280ms ease;
}

.process-card:hover {
  color: var(--white);
  background: var(--ink);
}

.process-card:hover p,
.process-card:hover > span {
  color: rgba(255, 255, 255, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 900ms ease, transform 1000ms var(--motion-ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Interior pages: rounded cinematic frames and editorial grids */

.interior-hero,
.about-hero,
.contact-hero {
  width: calc(100% - (var(--hero-edge) * 2)) !important;
  max-width: none !important;
  height: var(--hero-stage-height);
  min-height: 0;
  margin: var(--hero-frame-gap) auto 0 !important;
  border-radius: clamp(3rem, 6vw, 5.5rem);
}

.interior-hero {
  align-items: center;
}

.interior-hero__content {
  width: min(68rem, 100%);
  padding: clamp(2.5rem, 6vw, 6.5rem);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.interior-hero__content .interior-breadcrumb {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

.interior-hero__content > .eyebrow {
  margin: 0 0 0.8rem;
}

.interior-hero__title {
  max-width: 60rem;
  font-size: clamp(3.4rem, min(6.2vw, 13svh), 6.9rem) !important;
  line-height: 0.96 !important;
}

.longform-hero .interior-hero__title {
  max-width: 58rem;
  font-size: clamp(3.1rem, min(5.2vw, 11svh), 5.8rem) !important;
  line-height: 0.98 !important;
}

.interior-hero__intro {
  margin: clamp(0.9rem, 1.5vw, 1.35rem) 0 0;
  line-height: 1.55;
}

.interior-hero__image {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.065);
}

.interior-hero__veil {
  background:
    linear-gradient(90deg, rgba(18, 19, 16, 0.76) 0%, rgba(18, 19, 16, 0.31) 58%, rgba(18, 19, 16, 0.08) 100%),
    linear-gradient(0deg, rgba(18, 19, 16, 0.55), transparent 58%);
}

.treatments-catalog > div > div {
  display: flex !important;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2.5rem) !important;
}

.catalog-card {
  height: clamp(36rem, 68svh, 43rem);
  min-height: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 1.06fr) minmax(25rem, 0.94fr);
  border-radius: clamp(3rem, 6vw, 5rem) !important;
}

.catalog-card:nth-child(even) {
  grid-template-columns: minmax(25rem, 0.94fr) minmax(0, 1.06fr);
}

.catalog-card:nth-child(even) > div:first-child {
  order: 2;
}

.catalog-card > div:first-child {
  height: 100% !important;
  min-height: 0;
}

.catalog-card > div:last-child {
  justify-content: center;
}

.catalog-card:hover {
  transform: none;
}

.journal-catalog [data-blog-grid] {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
}

.journal-index-card {
  grid-column: span 4;
  border-radius: 3rem !important;
}

.journal-index-card:nth-child(1),
.journal-index-card:nth-child(6) {
  grid-column: span 7;
}

.journal-index-card:nth-child(2),
.journal-index-card:nth-child(7) {
  grid-column: span 5;
}

.journal-index-card:nth-child(1) > div:first-child,
.journal-index-card:nth-child(6) > div:first-child {
  height: 24rem !important;
}

.about-hero {
  border-radius: clamp(3rem, 6vw, 5.5rem);
}

.about-hero__media {
  width: 55%;
}

.about-hero__grid,
.about-hero__content {
  height: 100%;
  min-height: 0;
}

.about-hero__content {
  width: 45%;
  padding: clamp(3rem, 4.5vw, 5rem) !important;
  justify-content: center;
  gap: 0 !important;
}

.about-hero__content .interior-breadcrumb {
  margin: 0 0 1rem;
}

.about-hero__content .eyebrow {
  margin: 0 0 0.7rem;
}

.about-hero__content h1 {
  margin: 0 !important;
  font-size: clamp(3.7rem, min(5.4vw, 11svh), 6.2rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.04em;
}

.about-hero__content > p:first-of-type {
  max-width: 32rem;
  margin: clamp(1.3rem, 2vw, 1.8rem) 0 0 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(0.94rem, 1vw, 1.05rem) !important;
  line-height: 1.72 !important;
}

.about-hero__content > p:not(:first-of-type),
.about-hero__content > div:last-child {
  display: none !important;
}

.contact-page {
  padding: 0 !important;
}

.contact-hero {
  width: calc(100% - (var(--hero-edge) * 2)) !important;
  margin-bottom: clamp(5rem, 8vw, 8rem) !important;
  justify-content: center !important;
}

.contact-hero h1 {
  font-size: clamp(3.8rem, min(6.2vw, 12svh), 6.9rem) !important;
  line-height: 0.94 !important;
}

.about-principles .grid > div,
.contact-details,
.contact-map,
.interior-cta,
.longform-cta {
  border-radius: clamp(2.5rem, 5vw, 4rem) !important;
}

@media (max-width: 1100px) {
  .social-rail {
    right: 1rem;
  }

  .hero__frame {
    min-height: 0;
  }

  .treatment-card,
  .treatment-card--featured,
  .treatment-card--wide {
    flex-basis: clamp(21rem, 48vw, 29rem);
  }

  .catalog-card,
  .catalog-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
  }

  .journal-index-card,
  .journal-index-card:nth-child(1),
  .journal-index-card:nth-child(2),
  .journal-index-card:nth-child(6),
  .journal-index-card:nth-child(7) {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }

  body {
    padding-bottom: 3.45rem;
  }

  .site-header.is-scrolled {
    height: var(--header-h);
  }

  .social-rail {
    top: 1rem;
    right: 0.7rem;
    bottom: auto;
    flex-direction: column;
    transform: none;
  }

  .social-rail a {
    width: 2.5rem;
    height: 2.5rem;
  }

  .social-rail a::before {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 180;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3.45rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--white);
    background: var(--ink);
    box-shadow: 0 -10px 30px rgba(23, 23, 19, 0.13);
  }

  .mobile-contact-bar a {
    display: grid;
    place-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-contact-bar a:first-child {
    color: var(--ink);
    background: var(--paper);
  }

  .hero {
    padding: 0;
  }

  .hero__frame {
    width: 100%;
    height: auto;
    min-height: auto;
    margin: 0;
    border-radius: 0;
    display: block;
    background: var(--charcoal);
  }

  .hero__media {
    position: relative;
    height: min(44svh, 25rem);
  }

  .hero__image {
    object-position: center 48%;
    transform: scale(1.07);
  }

  .hero__image.is-active {
    transform: scale(1.015);
  }

  .hero__veil {
    height: min(44svh, 25rem);
    background: linear-gradient(0deg, rgba(18, 19, 16, 0.2), transparent 65%);
  }

  .hero__content {
    width: 100%;
    min-height: min(48rem, 58svh);
    padding: 3rem 1.3rem 5.2rem;
    justify-content: center;
    background: var(--charcoal);
  }

  .hero h1 {
    max-width: 9.5ch;
    font-size: clamp(3.4rem, 13.5vw, 4.7rem);
    line-height: 0.96;
  }

  .hero__intro {
    max-width: 25rem;
    margin-top: 1.35rem;
    font-size: 0.9rem;
  }

  .hero__actions {
    width: 100%;
    align-items: center;
  }

  .hero__pagination {
    right: 50%;
    bottom: 1.8rem;
    transform: translateX(50%);
  }

  .trust-bar__group {
    padding-block: 1.05rem;
  }

  .section-heading__side {
    gap: 1.3rem;
  }

  .treatment-grid {
    padding-inline: 1rem;
  }

  .treatment-card,
  .treatment-card--featured,
  .treatment-card--wide {
    min-height: min(39rem, 72svh);
    flex-basis: min(84vw, 25rem);
    border-radius: 2.6rem;
  }

  .doctor-story {
    width: calc(100% - 1.25rem);
    border-radius: 2.8rem;
  }

  .interior-hero {
    width: calc(100% - 1rem) !important;
    height: auto;
    min-height: auto;
    padding-top: 18rem;
    overflow: hidden;
    display: block;
    border-radius: 2.8rem !important;
    background: var(--charcoal);
  }

  .interior-hero__image,
  .interior-hero__veil {
    height: 18rem;
    bottom: auto;
  }

  .interior-hero__image {
    object-position: center 42%;
    transform: none;
  }

  .interior-hero__veil {
    background: linear-gradient(0deg, rgba(18, 19, 16, 0.28), transparent 70%);
  }

  .interior-hero__content {
    position: relative;
    width: 100%;
    padding: 2.6rem 1.35rem 3.2rem;
    background: var(--charcoal);
  }

  .interior-breadcrumb {
    margin-bottom: 1.4rem;
  }

  .interior-hero__title {
    font-size: clamp(3rem, 12vw, 4.2rem) !important;
  }

  .longform-hero .interior-hero__title {
    font-size: clamp(2.8rem, 10.5vw, 3.8rem) !important;
  }

  .catalog-card,
  .catalog-card:nth-child(even) {
    height: auto;
    min-height: 0;
    display: flex !important;
    grid-template-columns: 1fr;
    border-radius: 2.8rem !important;
  }

  .catalog-card:nth-child(even) > div:first-child {
    order: 0;
  }

  .catalog-card > div:first-child {
    min-height: 23rem;
  }

  .journal-catalog [data-blog-grid] {
    grid-template-columns: 1fr !important;
  }

  .journal-index-card,
  .journal-index-card:nth-child(1),
  .journal-index-card:nth-child(2),
  .journal-index-card:nth-child(6),
  .journal-index-card:nth-child(7) {
    grid-column: auto;
  }

  .about-hero {
    width: calc(100% - 1rem) !important;
    height: auto;
    min-height: 0;
    padding-top: 18rem !important;
    border-radius: 2.8rem !important;
    background: var(--charcoal) !important;
  }

  .about-hero::after {
    height: 18rem;
    bottom: auto;
    background: linear-gradient(0deg, rgba(18, 19, 16, 0.26), transparent 70%);
  }

  .about-hero__grid {
    min-height: 0;
  }

  .about-hero__media {
    width: 100%;
    height: 18rem;
    inset: 0 0 auto !important;
  }

  .about-hero__content {
    width: 100%;
    min-height: 0;
    padding: 2.6rem 1.35rem 3rem !important;
    background: var(--charcoal);
  }

  .about-hero__content h1 {
    font-size: clamp(3.2rem, 13vw, 4.5rem) !important;
  }

  .contact-hero {
    width: calc(100% - 1rem) !important;
    height: auto;
    min-height: 0;
    padding: 18rem 0 0 !important;
    display: block !important;
    border-radius: 2.8rem !important;
    background: var(--charcoal);
  }

  .contact-hero::before,
  .contact-hero::after {
    height: 18rem;
    bottom: auto;
  }

  .contact-hero::after {
    background: linear-gradient(0deg, rgba(18, 19, 16, 0.28), transparent 70%);
  }

  .contact-hero > div {
    max-width: none !important;
    padding: 2.6rem 1.35rem 3rem;
    background: var(--charcoal);
  }

  .contact-hero h1 {
    font-size: clamp(3.2rem, 13vw, 4.5rem) !important;
  }
}

@media (min-width: 761px) and (max-height: 760px) {
  .hero__content,
  .interior-hero__content {
    padding-block: 2.25rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, min(7vw, 13svh), 6.4rem);
  }

  .hero__intro,
  .hero__actions {
    margin-top: 1rem;
  }

  .interior-hero__content .interior-breadcrumb {
    margin-bottom: 1.25rem;
  }

  .interior-hero__title,
  .about-hero__content h1,
  .contact-hero h1 {
    font-size: clamp(3.2rem, min(5.5vw, 11svh), 5.4rem) !important;
  }

  .longform-hero .interior-hero__title {
    font-size: clamp(2.8rem, min(4.5vw, 9.5svh), 4.6rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-bar__track,
  .hero__pagination-track span.is-running {
    animation: none;
  }

  .hero__image,
  .hero__image.is-active,
  [data-parallax] {
    transform: none;
  }
}

/* Wide editorial stage
   Text keeps a readable measure while image-led compositions use the viewport. */

:root {
  --stage-edge: clamp(1rem, 2vw, 2.5rem);
  --content-inset: clamp(2.5rem, 7vw, 8.5rem);
  --section-space: clamp(4.5rem, 7vw, 7rem);
}

.editorial-intro,
.philosophy {
  width: calc(100% - (var(--stage-edge) * 2));
  max-width: none;
  padding-inline: var(--content-inset);
}

.editorial-intro {
  min-height: min(46rem, max(38rem, calc(100svh - var(--header-h) - 3rem)));
  align-items: center;
}

.editorial-intro__copy {
  max-width: 40rem;
  justify-self: end;
}

.treatments-showcase,
.journal,
.process {
  width: 100%;
  max-width: none;
  padding-inline: var(--stage-edge);
}

.treatments-showcase,
.journal {
  padding-block: clamp(3.5rem, 4.5vw, 4.5rem);
}

.treatments-showcase > *,
.journal > * {
  width: 100%;
  max-width: none;
}

.treatments-showcase .section-heading,
.journal .section-heading {
  padding-inline: var(--content-inset);
}

.treatments-showcase .section-heading {
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.treatment-grid {
  padding-inline: 0;
  scroll-padding-inline: 0;
}

.treatment-card,
.treatment-card--featured,
.treatment-card--wide {
  min-height: min(32rem, max(27rem, 47svh));
  flex-basis: clamp(23rem, 31vw, 36rem);
}

.treatment-grid .treatment-card.reveal,
.treatment-grid .treatment-card.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.treatment-grid .treatment-card img,
.treatment-grid .treatment-card:hover img {
  transform: none;
  transition: filter 400ms ease;
}

.doctor-story {
  width: calc(100% - (var(--stage-edge) * 2));
  max-width: none;
  height: min(50rem, max(40rem, calc(100svh - var(--header-h) - 2rem)));
  min-height: 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(33rem, 0.92fr);
}

.doctor-story__media {
  min-height: 0;
}

.doctor-story__content {
  min-height: 0;
  padding: clamp(2.5rem, 4.4vw, 4.75rem);
}

.doctor-story h2 {
  font-size: clamp(3.8rem, 5.5vw, 6.6rem);
}

.doctor-story__content .doctor-story__lead {
  margin-top: clamp(1.2rem, 2vw, 1.8rem);
}

.doctor-story__content > p:not(.eyebrow) {
  line-height: 1.65;
}

.doctor-story__facts {
  margin: clamp(1.35rem, 2vw, 2rem) 0;
}

.philosophy {
  min-height: min(46rem, max(38rem, calc(100svh - var(--header-h) - 3rem)));
  padding-block: clamp(4rem, 7vw, 7rem);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.philosophy blockquote {
  max-width: 82rem;
}

.philosophy blockquote p {
  font-size: clamp(3rem, 5.8vw, 6.5rem);
}

.process {
  padding: clamp(4.5rem, 6.5vw, 6.5rem) max(var(--stage-edge), var(--content-inset));
  background: var(--paper);
}

.process .section-heading {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.process-card {
  min-height: 17rem;
}

.process-card h3 {
  margin-top: clamp(3.5rem, 6vw, 6rem);
}

.journal-card__image {
  aspect-ratio: 3 / 2;
  border-radius: clamp(2rem, 3vw, 3.5rem);
}

.treatments-catalog {
  padding-inline: var(--stage-edge) !important;
}

.treatments-catalog > div,
.about-principles > div,
.about-education > div {
  width: 100%;
  max-width: none !important;
}

.catalog-card {
  height: min(43rem, max(35rem, calc(100svh - var(--header-h) - 3rem)));
}

.journal-filters,
.journal-catalog,
.contact-layout {
  width: calc(100% - (var(--stage-edge) * 2));
  max-width: none !important;
}

.journal-catalog [data-blog-grid] {
  gap: clamp(1rem, 2vw, 2rem) !important;
}

.about-principles,
.about-education {
  padding-inline: var(--stage-edge) !important;
}

.about-principles > div,
.about-education > div {
  padding-inline: var(--content-inset);
}

.about-education {
  width: 100%;
  background: var(--paper) !important;
}

.interior-cta {
  width: calc(100% - (var(--stage-edge) * 2)) !important;
  max-width: none !important;
  padding-block: clamp(4rem, 7vw, 6.5rem) !important;
}

@media (min-width: 761px) and (max-height: 760px) {
  .editorial-intro,
  .philosophy {
    min-height: 35rem;
    padding-block: 3.5rem;
  }

  .doctor-story {
    height: max(35rem, calc(100svh - var(--header-h) - 1rem));
  }

  .doctor-story__content {
    padding-block: 2.2rem;
  }

  .doctor-story h2 {
    font-size: clamp(3.7rem, 5vw, 5.5rem);
  }

  .doctor-story__content .doctor-story__lead {
    font-size: 1.3rem;
  }

  .doctor-story__content > p:not(.eyebrow, .doctor-story__lead) {
    font-size: 0.88rem;
  }

  .doctor-story__facts {
    margin-block: 1rem;
  }
}

@media (max-width: 1100px) {
  :root {
    --content-inset: clamp(2rem, 5vw, 4rem);
  }

  .doctor-story {
    grid-template-columns: minmax(0, 0.94fr) minmax(30rem, 1.06fr);
  }

  .catalog-card > div:last-child {
    padding: clamp(1.6rem, 2.5vw, 2.2rem) !important;
  }

  .catalog-card h2 {
    font-size: clamp(2.15rem, 3.5vw, 3rem) !important;
  }

  .catalog-card p,
  .catalog-card li {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 900px) {
  .editorial-intro {
    min-height: 0;
  }

  .doctor-story {
    height: auto;
    grid-template-columns: 1fr;
  }

  .doctor-story__media {
    min-height: min(31rem, 52svh);
  }

  .doctor-story__content {
    padding: clamp(3rem, 8vw, 5rem);
  }

  .catalog-card,
  .catalog-card:nth-child(even) {
    height: auto;
    display: flex !important;
  }

  .catalog-card:nth-child(even) > div:first-child {
    order: 0;
  }

  .catalog-card > div:first-child {
    min-height: min(28rem, 48svh);
  }

  .about-hero {
    width: calc(100% - 1rem) !important;
    height: auto;
    min-height: 0;
    padding-top: 18rem !important;
    border-radius: 2.8rem !important;
    background: var(--charcoal) !important;
  }

  .about-hero::after {
    height: 18rem;
    bottom: auto;
    background: linear-gradient(0deg, rgba(18, 19, 16, 0.26), transparent 70%);
  }

  .about-hero__grid {
    min-height: 0;
  }

  .about-hero__media {
    width: 100%;
    height: 18rem;
    inset: 0 0 auto !important;
  }

  .about-hero__content {
    width: 100%;
    min-height: 0;
    padding: 2.8rem clamp(1.35rem, 6vw, 3rem) 3.2rem !important;
    background: var(--charcoal);
  }

  .about-hero__content h1 {
    font-size: clamp(3.2rem, 11vw, 4.8rem) !important;
  }

  .about-principles > div,
  .about-education > div {
    padding-inline: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --content-inset: 1.25rem;
    --section-space: 4.5rem;
  }

  .editorial-intro,
  .philosophy {
    width: 100%;
    padding-inline: var(--content-inset);
  }

  .treatments-showcase,
  .journal,
  .process {
    padding-inline: 0;
  }

  .treatments-showcase .section-heading,
  .journal .section-heading,
  .process {
    padding-inline: var(--content-inset);
  }

  .treatment-grid {
    padding-inline: 0.75rem;
    scroll-padding-inline: 0.75rem;
  }

  .treatment-card,
  .treatment-card--featured,
  .treatment-card--wide {
    min-height: min(34rem, 68svh);
  }

  .doctor-story {
    width: calc(100% - 1rem);
  }

  .doctor-story__media {
    min-height: min(25rem, 42svh);
  }

  .doctor-story__content {
    padding: 3rem 1.35rem;
  }

  .doctor-story h2 {
    font-size: clamp(3.15rem, 13vw, 4.5rem);
  }

  .philosophy {
    min-height: 0;
    padding-block: 5rem;
  }

  .process-card {
    min-height: 14rem;
  }

  .journal-card__image {
    aspect-ratio: 4 / 3;
  }

  .treatments-catalog,
  .about-principles,
  .about-education {
    padding-inline: 0.5rem !important;
  }

  .journal-filters,
  .journal-catalog,
  .contact-layout,
  .interior-cta {
    width: calc(100% - 1rem) !important;
  }
}

/* Mobile audit fixes — final cascade layer */

@media (max-width: 760px) {
  :root {
    --mobile-gutter: clamp(1rem, 4.8vw, 1.25rem);
    --mobile-bar-base: 3.5rem;
    --mobile-bar-h: calc(var(--mobile-bar-base) + env(safe-area-inset-bottom, 0px));
    --mobile-hero-media-h: clamp(12.5rem, 34dvh, 17rem);
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 1rem);
  }

  body {
    padding-bottom: var(--mobile-bar-h);
    overflow-x: clip;
  }

  main,
  main section,
  .site-footer {
    min-width: 0;
  }

  main h1,
  main h2,
  main h3,
  main h4,
  main p,
  main li,
  main a,
  address {
    overflow-wrap: anywhere;
  }

  .site-header__inner {
    padding-inline: var(--mobile-gutter);
    gap: 0.75rem;
  }

  .wordmark {
    min-height: 2.75rem;
    gap: 0.32rem;
    align-content: center;
  }

  .wordmark__name,
  .wordmark__surname {
    font-size: 1.05rem;
  }

  .nav-toggle {
    min-width: 2.75rem;
    min-height: 2.75rem;
    margin-right: -0.55rem;
    padding: 0.55rem;
    justify-content: center;
  }

  .mobile-menu {
    inset: var(--header-h) 0 var(--mobile-bar-h);
    padding: 0;
    overscroll-behavior: contain;
  }

  .mobile-menu__panel {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding:
      clamp(1.25rem, 5vh, 2.5rem)
      var(--mobile-gutter)
      calc(var(--mobile-gutter) + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu__eyebrow {
    margin-bottom: 0.7rem;
  }

  .mobile-menu__panel > a:not(.button) {
    min-height: 3.35rem;
    padding: 0.65rem 0;
    font-size: clamp(1.75rem, 7.5vw, 2.55rem);
  }

  .mobile-menu__panel .button {
    min-height: 3rem;
    margin-top: auto;
    flex: 0 0 auto;
  }

  .mobile-contact-bar {
    height: var(--mobile-bar-h);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mobile-contact-bar a {
    min-height: var(--mobile-bar-base);
  }

  /* Homepage: one complete hero composition inside the usable phone viewport. */

  .hero {
    padding: 0;
  }

  .hero__frame {
    width: 100%;
    height: calc(100dvh - var(--header-h) - var(--mobile-bar-h));
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(10.5rem, 37%) minmax(0, 1fr);
  }

  .hero__media {
    position: relative;
    height: 100%;
    min-height: 0;
  }

  .hero__image,
  .hero__veil {
    height: 100%;
  }

  .hero__content {
    width: 100%;
    min-height: 0;
    height: 100%;
    padding: clamp(1.35rem, 4.2vh, 2.35rem) var(--mobile-gutter) 4.2rem;
    justify-content: center;
  }

  .hero .eyebrow {
    margin-bottom: 0.55rem;
  }

  .hero h1 {
    max-width: 10.5ch;
    font-size: clamp(2.8rem, 13vw, 4.25rem);
    line-height: 0.93;
  }

  .hero__intro {
    max-width: 28rem;
    margin-top: 0.9rem;
    font-size: clamp(0.82rem, 3.7vw, 0.96rem);
    line-height: 1.45;
  }

  .hero__actions {
    margin-top: 1.15rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1rem;
  }

  .hero__actions .button,
  .hero__actions .text-link {
    min-height: 2.75rem;
  }

  .hero__side-note,
  .hero__scroll {
    display: none;
  }

  .social-rail {
    top: 18.5%;
    right: 0.35rem;
    gap: 0.1rem;
    transform: translateY(-50%);
  }

  .social-rail a {
    width: 2.75rem;
    height: 2.75rem;
  }

  .hero__pagination {
    right: 50%;
    bottom: 0.65rem;
    width: max-content;
    gap: 0;
    transform: translateX(50%);
  }

  .hero__pagination button {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    background: transparent;
    transform: none;
  }

  .hero__pagination button::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.55rem;
    height: 0.55rem;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%);
  }

  .hero__pagination button.is-active {
    background: transparent;
    transform: none;
  }

  .hero__pagination button.is-active::after {
    background: var(--white);
  }

  .hero__pagination-track {
    width: clamp(2.5rem, 12vw, 4rem);
  }

  /* Interior hero system: consistent crop, radius and breathing room. */

  .interior-hero,
  .about-hero,
  .contact-hero {
    width: calc(100% - (var(--mobile-gutter) * 2)) !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: var(--mobile-gutter) auto 0 !important;
    border-radius: 2.15rem 2.15rem 2.15rem 0 !important;
  }

  .interior-hero,
  .about-hero {
    padding-top: var(--mobile-hero-media-h) !important;
  }

  .interior-hero__image,
  .interior-hero__veil,
  .about-hero::after,
  .about-hero__media {
    height: var(--mobile-hero-media-h) !important;
    min-height: 0 !important;
    bottom: auto !important;
  }

  .interior-hero__content,
  .about-hero__content,
  .contact-hero > div {
    width: 100% !important;
    min-height: 0 !important;
    padding: 2rem var(--mobile-gutter) 2.35rem !important;
  }

  .interior-breadcrumb {
    margin-bottom: 1rem;
    line-height: 1.45;
  }

  .interior-breadcrumb a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  .interior-hero__title,
  .about-hero__content h1,
  .contact-hero h1 {
    font-size: clamp(2.85rem, 12.5vw, 4rem) !important;
    line-height: 0.96 !important;
  }

  .longform-hero .interior-hero__title {
    font-size: clamp(2.45rem, 10.5vw, 3.45rem) !important;
  }

  .interior-hero__intro {
    max-width: 32rem;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .about-hero__content > p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  .about-hero__content > div:last-child {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.55rem !important;
  }

  .about-hero__content > div:last-child > div {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.7rem 0.85rem !important;
    border-radius: 1rem 1rem 1rem 0 !important;
    display: flex;
    align-items: center;
  }

  .contact-hero {
    padding: var(--mobile-hero-media-h) 0 0 !important;
  }

  .contact-hero::before,
  .contact-hero::after {
    height: var(--mobile-hero-media-h) !important;
    bottom: auto !important;
  }

  .contact-hero::before {
    background-image: url("images/responsive/treatment1-768.webp");
  }

  /* Full-width sections retain a safe reading gutter. */

  .editorial-intro,
  .philosophy,
  .treatments-showcase .section-heading,
  .journal .section-heading,
  .process,
  .longform-article {
    padding-inline: var(--mobile-gutter) !important;
  }

  .journal-grid {
    padding-inline: var(--mobile-gutter);
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .journal-card:last-child {
    grid-column: auto;
    display: block;
  }

  .journal-card:last-child .journal-card__image {
    margin-bottom: 1.5rem;
  }

  .doctor-story,
  .journal-filters,
  .journal-catalog,
  .contact-layout,
  .interior-cta {
    width: calc(100% - (var(--mobile-gutter) * 2)) !important;
  }

  .treatments-catalog,
  .about-principles,
  .about-education {
    padding-inline: var(--mobile-gutter) !important;
  }

  .treatments-catalog > div,
  .about-principles > div,
  .about-education > div {
    width: 100% !important;
  }

  .section-heading h2,
  .editorial-intro h2,
  .doctor-story h2,
  .philosophy blockquote {
    max-width: 100%;
  }

  .doctor-story {
    border-radius: 2.15rem 2.15rem 2.15rem 0;
  }

  .doctor-story__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .doctor-story__content {
    padding: 2.6rem var(--mobile-gutter);
  }

  /* Content cards fit the phone screen without internal scrolling. */

  .treatment-grid {
    padding-inline: var(--mobile-gutter);
    scroll-padding-inline: var(--mobile-gutter);
  }

  .treatment-card,
  .treatment-card--featured,
  .treatment-card--wide {
    min-height: clamp(28rem, 64dvh, 34rem);
    flex-basis: min(calc(100vw - (var(--mobile-gutter) * 2)), 24rem);
    border-radius: 2.15rem;
  }

  .catalog-card,
  .catalog-card:nth-child(even) {
    min-height: 0;
    height: auto;
    border-radius: 2.15rem 2.15rem 2.15rem 0 !important;
  }

  .catalog-card > div:first-child {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10;
  }

  .catalog-card > div:last-child {
    padding: 1.35rem var(--mobile-gutter) 1.55rem !important;
  }

  .catalog-card h2 {
    font-size: clamp(2.2rem, 10vw, 2.85rem) !important;
  }

  .catalog-card p,
  .catalog-card li {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  .catalog-card a[href="about"],
  .journal-index-card a[href="about"],
  .medical-review a,
  .contact-details a[href^="https://wa.me"] {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  .catalog-card ul li:nth-child(n + 5) {
    display: none;
  }

  .catalog-card.is-mobile-list-expanded ul li {
    display: list-item;
  }

  .mobile-list-toggle {
    min-height: 2.75rem;
    margin: 0.25rem 0 1rem;
    padding: 0.45rem 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ink);
    background: transparent;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-list-toggle span {
    font-size: 1rem;
    transition: transform 180ms ease;
  }

  .mobile-list-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }

  .journal-index-card {
    min-height: 0;
    height: auto;
    border-radius: 2.15rem 2.15rem 2.15rem 0 !important;
  }

  .journal-catalog [data-blog-card] > div:first-child {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10;
  }

  .journal-index-card > div:last-child {
    padding: 1.3rem var(--mobile-gutter) 1.5rem !important;
  }

  .journal-index-card h2 {
    font-size: clamp(1.8rem, 8.5vw, 2.35rem) !important;
  }

  .journal-filters {
    margin-top: 3.25rem !important;
    padding-inline: 0 !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0.25rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, transparent 0, #000 0.35rem, #000 calc(100% - 2rem), transparent 100%);
  }

  .journal-filters::-webkit-scrollbar {
    display: none;
  }

  .journal-filters > div {
    width: max-content;
    padding-right: 2rem;
    flex-wrap: nowrap !important;
  }

  .journal-filters [data-blog-filter],
  [data-blog-load-more] {
    min-height: 2.75rem;
  }

  .contact-layout {
    gap: var(--mobile-gutter) !important;
  }

  .contact-details {
    padding: 2.25rem var(--mobile-gutter);
  }

  .contact-map,
  .contact-map iframe {
    min-height: clamp(18rem, 52dvh, 26rem) !important;
    height: clamp(18rem, 52dvh, 26rem) !important;
  }

  .editorial-prose .overflow-x-auto::before {
    position: sticky;
    left: 0;
    width: max-content;
    padding: 0.75rem 1rem;
    display: block;
    content: "Tabloyu yana kaydırın →";
    color: var(--muted);
    background: var(--paper-soft);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .site-footer {
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
  }

  .site-footer__top,
  .site-footer__bottom {
    padding-inline: var(--mobile-gutter);
  }

  .site-footer__nav a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }

  .site-footer__bottom a,
  .text-link,
  .treatment-card__link,
  .catalog-card a:last-child,
  .journal-index-card a:last-child {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 760px) and (max-height: 680px) {
  :root {
    --mobile-hero-media-h: clamp(9.5rem, 27dvh, 13rem);
  }

  .hero__frame {
    grid-template-rows: minmax(8.75rem, 30%) minmax(0, 1fr);
  }

  .hero__content {
    padding-top: 1rem;
    padding-bottom: 3.4rem;
  }

  .hero .eyebrow {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11.5vw, 3.35rem);
  }

  .hero__intro {
    margin-top: 0.65rem;
    font-size: 0.8rem;
  }

  .hero__actions {
    margin-top: 0.75rem;
  }

  .social-rail {
    top: 15%;
  }

  .mobile-menu__panel {
    padding-top: 1rem;
  }

  .mobile-menu__panel > a:not(.button) {
    min-height: 2.9rem;
    font-size: clamp(1.55rem, 6vh, 2.15rem);
  }
}

@media (max-width: 760px) and (orientation: landscape) and (max-height: 500px) {
  .hero__frame {
    display: grid;
    grid-template-columns: 44% 56%;
    grid-template-rows: minmax(0, 1fr);
  }

  .hero__media,
  .hero__content {
    width: 100%;
    height: 100%;
  }

  .hero__media {
    grid-column: 1;
    grid-row: 1;
  }

  .hero__content {
    grid-column: 2;
    grid-row: 1;
    padding: 0.7rem 1rem 2.85rem;
  }

  .hero .eyebrow,
  .hero__intro {
    display: none;
  }

  .hero h1 {
    max-width: 13ch;
    font-size: clamp(2.2rem, 6.2vw, 2.85rem);
    line-height: 0.9;
  }

  .hero__actions {
    width: auto;
    margin-top: 0.8rem;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 0.75rem;
  }

  .hero__actions .button {
    padding-inline: 1rem;
    font-size: 0.62rem;
  }

  .hero__actions .text-link {
    font-size: 0.62rem;
  }

  .hero__pagination {
    right: 28%;
    bottom: 0;
  }

  .social-rail {
    top: 50%;
    right: calc(56% + 0.15rem);
    transform: translateY(-50%);
  }
}

/* Keep the editorial stage aligned with the header on tablet-sized screens. */

@media (min-width: 761px) and (max-width: 1100px) {
  :root {
    --stage-edge: clamp(2rem, 3.2vw, 2.5rem);
  }

  .interior-hero,
  .about-hero,
  .contact-hero,
  .journal-filters,
  .journal-catalog,
  .contact-layout,
  .interior-cta {
    width: calc(100% - (var(--stage-edge) * 2)) !important;
    margin-inline: auto !important;
  }

  .longform-article {
    width: min(calc(100% - (var(--stage-edge) * 2)), 47rem) !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .button:hover,
  .journal-index-card:hover,
  .catalog-card:hover,
  .treatment-card:hover,
  .treatment-card:hover .treatment-card__link b,
  .social-rail a:hover {
    transform: none !important;
  }

  .journal-index-card:hover img,
  .catalog-card:hover img,
  .treatment-card:hover img {
    transform: none !important;
  }
}

@media (min-width: 761px) {
  .mobile-list-toggle {
    display: none;
  }
}
