/* DM Clinic ? palette order: #9d8b72, #d8c7b8, #e9e3d6, #dfbf93, #6b5d53 */
:root {
  --c-1: #9d8b72;
  --c-2: #d8c7b8;
  --c-3: #e9e3d6;
  --c-4: #dfbf93;
  --c-5: #6b5d53;
  --section-white: #ffffff;
  --section-white-soft: #fcfbfa;
  --font-heading: "Alta", "Cormorant Garamond", Georgia, serif;
  --font-body: "Tenor Sans", system-ui, sans-serif;
  --radius-lg: 0;
  --radius-xl: 0;
  --shadow-soft: 0 18px 48px rgba(107, 93, 83, 0.12);
  --shadow-card: 0 12px 36px rgba(107, 93, 83, 0.08);
}

/* Self-host the Alta family as Alta.woff2 / Alta.ttf under _source/fonts/ and uncomment:
@font-face {
  font-family: "Alta";
  src: url("../_source/fonts/Alta.woff2") format("woff2"),
    url("../_source/fonts/Alta.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
*/

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .site-nav,
  .nav-logo,
  .site-nav .nav-link,
  .site-nav .btn-nav-cta {
    transition: none !important;
  }
  .btn-primary-soft:hover,
  .btn-outline-soft:hover,
  .btn-dark-soft:hover,
  .btn-nav-cta:hover,
  .cta-section .btn-light:hover {
    transform: none;
  }
  .hero .clinic-image-card .clinic-image {
    transform: none !important;
  }
  .meet-photo-card:hover img {
    transform: none !important;
  }
  .service-card--tilt:hover {
    transform: none;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1.14rem;
  line-height: 1.72;
  color: var(--c-5);
  background-color: var(--section-white-soft);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.hero-headline,
.section-title,
.services-pillar-title,
.btn,
.site-nav .nav-link,
.btn-nav-cta {
  text-transform: capitalize;
}

@media (max-width: 991.98px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-5);
}

a {
  color: var(--c-1);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: #7a6b58;
}

.text-accent {
  color: var(--c-1) !important;
}

.text-muted-custom {
  color: rgba(107, 93, 83, 0.72) !important;
}

/* ----- Per-block scroll animation (cards & blocks only, not sections) ----- */
[data-animate] {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.98);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--enter-delay, 0ms);
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-animate="fade-left"] {
  transform: translate3d(-28px, 0, 0) scale(0.98);
}

[data-animate="fade-left"].is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

[data-animate="fade-right"] {
  transform: translate3d(28px, 0, 0) scale(0.98);
}

[data-animate="fade-right"].is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

[data-animate="zoom"] {
  transform: translate3d(0, 20px, 0) scale(0.94);
}

[data-animate="zoom"].is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

/* ----- Navbar ----- */
.site-nav {
  background: var(--c-1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
  min-height: 5.5rem;
  align-items: center;
  transition:
    padding 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    min-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.site-nav.is-scrolled {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  min-height: 0;
  box-shadow: 0 10px 36px rgba(43, 36, 32, 0.22);
}

.site-nav.is-scrolled .nav-logo {
  height: 40px;
}

.site-nav.is-scrolled .nav-link {
  padding: 0.4rem 0.85rem !important;
  font-size: 0.9rem;
}

.site-nav.is-scrolled .btn-nav-cta {
  padding: 0.42rem 1.2rem !important;
  font-size: 0.85rem;
}

.nav-logo {
  height: 56px;
  width: auto;
  transition: height 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem !important;
  position: relative;
  transition: color 0.2s ease, padding 0.38s cubic-bezier(0.22, 1, 0.36, 1), font-size 0.38s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: #fff !important;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease, background 0.25s ease;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus-visible::after {
  transform: scaleX(1);
  background: rgba(255, 255, 255, 0.88);
}

.site-nav .nav-link.active::after {
  transform: scaleX(1);
  background: rgba(255, 255, 255, 0.92);
}

.site-nav .nav-link.active {
  color: #fff !important;
}

.btn-nav-cta {
  background: #fff;
  color: var(--c-1) !important;
  border-radius: 0;
  padding: 0.55rem 1.45rem !important;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    padding 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    font-size 0.38s ease;
}

.btn-nav-cta:hover {
  background: var(--c-4);
  color: var(--c-5) !important;
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.btn-nav-cta:active {
  transform: translateY(0) scale(0.99);
}

.btn-nav-cta.active {
  background: var(--c-4);
  color: var(--c-5) !important;
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.btn-nav-cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
  padding: 0.5rem 0.65rem;
}

.site-nav .navbar-toggler-icon {
  filter: none;
}

/* Mobile menu: full-width offcanvas from left + hamburger ↔ close */
.site-nav-toggler {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-nav-toggler .site-nav-toggler-bars {
  display: block;
}

.site-nav-toggler .site-nav-toggler-close {
  display: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
}

.site-nav-toggler.is-open .site-nav-toggler-bars {
  display: none;
}

.site-nav-toggler.is-open .site-nav-toggler-close {
  display: block;
}

.nav-offcanvas-logo {
  height: 48px;
  width: auto;
  max-width: min(200px, 55vw);
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .site-nav-offcanvas {
    width: 100% !important;
    max-width: 100%;
    background: var(--c-1);
    border-right: none !important;
  }

  .site-nav-offcanvas .offcanvas-body {
    padding-top: 0.5rem;
    padding-bottom: 2rem;
  }

  .site-nav-offcanvas .navbar-nav {
    gap: 0.15rem;
  }

  .site-nav-offcanvas .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0.25rem !important;
  }

  .site-nav-offcanvas .nav-link::after {
    display: none;
  }

  .site-nav-offcanvas .btn-nav-cta {
    margin-top: 1rem !important;
    align-self: flex-start;
  }
}

@media (min-width: 992px) {
  .site-nav-offcanvas.offcanvas {
    background: transparent;
    box-shadow: none;
  }

  .site-nav-offcanvas .offcanvas-body {
    padding: 0 !important;
    justify-content: flex-end;
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: visible;
  background: var(--section-white);
}

@media (min-width: 992px) {
  .hero {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
  }
}

/* Shared left decorative motif (hero + skin cancer). Do not combine with .section-white — it also uses ::before/::after (divider lines), which would replace these patterns. Use .bg-white instead. */
.section-hero-patterns {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-hero-patterns > .container {
  position: relative;
  z-index: 1;
}

/* Left motif — anchored bottom-left; white wash + mask: higher-opacity fades toward top/right for copy/CTA */
.hero::before,
.section-hero-patterns::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  top: auto;
  width: min(78vw, 820px);
  height: min(96vh, 940px);
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.48) 16vh,
      rgba(255, 255, 255, 0.2) 36vh,
      transparent min(68vh, 100%)
    ),
    linear-gradient(
      to left,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.28) 28%,
      rgba(255, 255, 255, 0.06) 52%,
      transparent 68%
    ),
    url("../images/left_pattern.jpg");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: cover, cover, cover;
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.18) 14vh,
      rgba(0, 0, 0, 0.52) 32vh,
      #000 min(58vh, 100%)
    ),
    linear-gradient(to left, transparent 0%, rgba(0, 0, 0, 0.16) 14%, rgba(0, 0, 0, 0.55) 36%, #000 62%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.18) 14vh,
      rgba(0, 0, 0, 0.52) 32vh,
      #000 min(58vh, 100%)
    ),
    linear-gradient(to left, transparent 0%, rgba(0, 0, 0, 0.16) 14%, rgba(0, 0, 0, 0.55) 36%, #000 62%);
  mask-composite: intersect;
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  width: 100%;
  /* Clear fixed .site-nav (~5.5rem min-height + vertical padding) + notch */
  padding-top: max(
    6.75rem,
    calc(5.5rem + env(safe-area-inset-top, 0px) + 1.15rem),
    clamp(5.25rem, 11vh, 8rem)
  );
  padding-bottom: 0;
}

.hero-container {
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hero-row {
  flex: 1 1 auto;
  align-items: stretch;
  align-content: stretch;
  min-height: 0;
}

@media (min-width: 992px) {
  .hero .hero-row {
    flex-wrap: nowrap;
  }

  .hero-copy {
    align-self: center;
  }

  .hero-visual {
    align-self: flex-end;
  }
}

.hero-headline {
  font-size: clamp(2.55rem, 5.2vw, 4.1rem);
  line-height: 1.14;
  min-height: 1.22em;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding-bottom: 0.5rem;
  padding-inline-start: clamp(1.35rem, 5.5vw, 3.75rem);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  min-height: 0;
  padding-top: clamp(0.65rem, 2.2vmin, 1.35rem);
}

@media (min-width: 992px) {
  .hero-visual {
    align-items: flex-end;
    justify-content: center;
    padding-top: clamp(0.65rem, 2.2vmin, 1.35rem);
  }
}

.hero-figure {
  position: relative;
  margin: 0;
  line-height: 0;
  max-width: min(100%, 720px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .hero-figure {
    margin-right: 0;
    margin-left: auto;
    max-width: min(100%, 780px);
  }
}

.hero-lines {
  display: block;
  margin-top: clamp(0.45rem, 1.8vmin, 1rem);
}

.hero-line-wrap {
  display: block;
  overflow: hidden;
  transition:
    max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    margin 0.4s ease;
  max-height: 3em;
  opacity: 1;
}

/* Must follow .hero-line-wrap — higher specificity so single-line hero is not clipped on mobile */
.hero-line-wrap.hero-line-wrap--single {
  display: inline;
  max-height: none;
  overflow: visible;
  opacity: 1;
}

.hero-line-wrap + .hero-line-wrap {
  margin-top: 0.12em;
}

.hero-line-wrap--collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0 !important;
  pointer-events: none;
}

.hero-line {
  display: inline;
}

.hero-cursor {
  display: inline-block;
  width: 3px;
  height: 0.72em;
  margin-left: 4px;
  vertical-align: -0.02em;
  background: var(--c-1);
  border-radius: 1px;
  animation: heroCursorBlink 0.85s steps(2, end) infinite;
}

.hero-cursor.is-done {
  animation: none;
  opacity: 0;
  width: 0;
  margin-left: 0;
  transition: opacity 0.35s ease, width 0.2s ease, margin 0.2s ease;
}

@keyframes heroCursorBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero .lead {
  max-width: 32rem;
  color: rgba(107, 93, 83, 0.88);
  font-size: 1.18rem;
  line-height: 1.68;
}

.text-gradient {
  background: linear-gradient(120deg, var(--c-1), var(--c-4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-primary-soft {
  background: var(--c-1);
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 0.85rem 1.75rem;
  font-weight: 500;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.25s ease,
    filter 0.25s ease;
}

.btn-primary-soft:hover {
  background: #8a7a63;
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(157, 139, 114, 0.42);
  filter: brightness(1.05);
}

.btn-primary-soft:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-primary-soft:focus-visible {
  outline: 2px solid var(--c-4);
  outline-offset: 3px;
}

.btn-outline-soft {
  border: 2px solid var(--c-1);
  color: var(--c-5);
  background: transparent;
  border-radius: 0;
  padding: 0.8rem 1.65rem;
  font-weight: 500;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn-outline-soft:hover {
  background: var(--c-1);
  color: #fff;
  border-color: var(--c-1);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(157, 139, 114, 0.28);
}

.btn-outline-soft:active {
  transform: translateY(0) scale(0.99);
}

.btn-outline-soft:focus-visible {
  outline: 2px solid var(--c-1);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  /* Shorter navbar on first paint + smaller mark */
  .site-nav {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    min-height: 3.75rem;
  }

  .nav-logo,
  .nav-offcanvas-logo {
    height: 42px;
  }

  .site-nav.is-scrolled .nav-logo {
    height: 34px;
  }

  .site-nav-toggler {
    width: 2.45rem;
    height: 2.45rem;
  }

  .hero {
    /* One full viewport tall; clip bleed from parallax transform */
    height: 100vh;
    height: 100dvh;
    height: 100svh;
    max-height: 100vh;
    max-height: 100svh;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    overflow: hidden;
  }

  .hero-inner {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    padding-top: max(
      4.65rem,
      calc(3.75rem + env(safe-area-inset-top, 0px) + 0.85rem),
      clamp(4.35rem, 10vh, 7.25rem)
    );
    /* Space above docked scroll cue + parallax jitter */
    padding-bottom: clamp(3.75rem, 12vmin, 4.85rem);
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
  }

  .hero-container {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .hero .hero-row {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero-copy {
    justify-content: flex-start;
    flex: 0 0 auto;
    width: 100%;
    padding-inline-start: clamp(1.35rem, 5.5vw, 3.75rem);
    padding-inline-end: clamp(1rem, 4vw, 2rem);
  }

  /* Sit near bottom of hero; inset keeps parallax translate inside clipped hero */
  .hero-visual {
    margin-top: auto;
    margin-bottom: clamp(0.5rem, 2.75vmin, 1.1rem);
    flex: 0 0 auto;
    width: 100%;
    overflow: hidden;
    padding-top: clamp(0.25rem, 1.2vmin, 0.6rem);
    padding-bottom: clamp(10px, 2vmin, 16px);
    padding-inline: clamp(8px, 2.5vw, 14px);
    box-sizing: border-box;
  }

  .hero-visual .hero-figure {
    max-width: min(100%, 260px);
  }

  .hero-visual .clinic-image-card {
    max-width: min(100%, 260px);
  }

  .hero-headline {
    min-height: 0;
    font-size: clamp(1.85rem, 6.5vw, 2.85rem);
    margin-top: 0.35rem;
    padding-top: 0.9rem;
  }

  #clinic.section-tint::after {
    width: min(350px, 88vw);
    max-width: min(350px, 88vw);
    height: calc(min(350px, 88vw) * 562 / 600);
    background-size: min(350px, 88vw) auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.26) 28%, rgba(0, 0, 0, 0.68) 46%, #000 58%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.26) 28%, rgba(0, 0, 0, 0.68) 46%, #000 58%);
    transform: translateY(1.25rem);
    opacity: 0.42;
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-1);
  opacity: 0.85;
}

@media (max-width: 991.98px) {
  /* Must follow base .hero-scroll-hint rule so these win in the cascade */
  .hero-scroll-hint {
    bottom: max(1rem, calc(1.15rem + env(safe-area-inset-bottom, 0px)));
  }
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--c-1), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ----- Sections ----- */
.section-padding {
  padding-top: clamp(4.75rem, 9vw, 6.25rem);
  padding-bottom: clamp(4.75rem, 9vw, 6.25rem);
}

/* Warm wash ? alternates with .section-white for page rhythm */
.section-tint {
  background: linear-gradient(
    180deg,
    rgba(216, 199, 184, 0.45) 0%,
    rgba(233, 227, 214, 0.72) 48%,
    rgba(228, 218, 206, 0.55) 100%
  );
}

/* Clinic band — lighter neutral wash */
#clinic.section-tint {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(252, 251, 249, 0.98) 0%,
    rgba(248, 246, 242, 1) 42%,
    rgba(243, 239, 233, 0.96) 100%
  );
}

#clinic.section-tint > .container {
  position: relative;
  z-index: 1;
}

/* Clinic: right corner motif — faded into the band (decorative only) */
#clinic.section-tint::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 350px;
  max-width: min(350px, 92vw);
  height: calc(350px * 562 / 600);
  z-index: 0;
  pointer-events: none;
  background: url("../images/right-pattern.png") no-repeat right bottom / 350px auto;
  opacity: 0.48;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.28) 26%, rgba(0, 0, 0, 0.72) 44%, #000 58%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.28) 26%, rgba(0, 0, 0, 0.72) 44%, #000 58%);
}

/* Crisp white bands */
.section-white {
  background: linear-gradient(180deg, var(--section-white) 0%, var(--section-white-soft) 45%, var(--section-white) 100%);
  position: relative;
}

.section-white::before,
.section-white::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 5%, rgba(157, 139, 114, 0.14) 50%, transparent 95%);
}

.section-white::before {
  top: 0;
}

.section-white::after {
  bottom: 0;
  opacity: 0.85;
}

/* Cards on white sections ? subtle fill so blocks don?t disappear into the background */
.section-white .content-card {
  background: linear-gradient(180deg, #f7f5f2 0%, #f3f0ea 100%);
  border-color: rgba(157, 139, 114, 0.18);
}

.section-white .meet-photo-card {
  border-color: rgba(157, 139, 114, 0.16);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-1);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  margin-bottom: 1rem;
}

/* Content cards */
.content-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(157, 139, 114, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.9rem;
  font-size: 1.08rem;
  line-height: 1.72;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(107, 93, 83, 0.12);
  border-color: rgba(223, 191, 147, 0.55);
}

#clinic .clinic-copy-stack {
  max-width: 760px;
}

.meet-photo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.meet-photo-card:hover {
  box-shadow: 0 20px 48px rgba(107, 93, 83, 0.18);
  border-color: rgba(223, 191, 147, 0.45);
}

.meet-photo-card img {
  display: block;
  width: 100%;
  min-height: clamp(300px, 50vh, 620px);
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.meet-photo-card:hover img {
  transform: scale(1.04);
}

/* Meet column — plain body copy (no card chrome) */
.meet-lead {
  color: var(--c-5);
  line-height: 1.75;
  font-size: 1.18rem;
}

.qual-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.qual-pill {
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 0;
  background: rgba(157, 139, 114, 0.12);
  color: var(--c-5);
  border: 1px solid rgba(157, 139, 114, 0.22);
}

.clinic-image-card {
  --clinic-parallax-x: 0px;
  --clinic-parallax-y: 0px;
  position: relative;
  max-width: min(100%, 460px);
  margin-left: auto;
  margin-right: auto;
}

.clinic-image-card .clinic-image {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: translate3d(var(--clinic-parallax-x), var(--clinic-parallax-y), 0);
  transition: transform 220ms ease-out;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .clinic-image-card .clinic-image {
    transform: none;
    transition: none;
  }
}

/* ----- Services (layout & cards) ----- */
.services-header {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 5.5vw, 3.65rem);
}

.services-pillar {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  height: 100%;
  padding: clamp(1.35rem, 2.8vw, 1.85rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(157, 139, 114, 0.14);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 252, 248, 0.98) 100%);
  box-shadow:
    0 4px 28px rgba(107, 93, 83, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.services-pillar--aesthetic {
  border-color: rgba(223, 191, 147, 0.38);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(253, 248, 242, 0.99) 52%,
    rgba(255, 255, 255, 0.96) 100%
  );
}

.services-pillar--medical {
  border-color: rgba(157, 139, 114, 0.22);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(246, 243, 238, 0.96) 48%,
    rgba(255, 255, 255, 0.97) 100%
  );
}

.services-pillar-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.services-pillar-head--text-only {
  align-items: center;
  gap: 0;
}

.services-pillar-icon {
  flex-shrink: 0;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
}

.services-pillar--aesthetic .services-pillar-icon {
  background: linear-gradient(145deg, rgba(223, 191, 147, 0.42), rgba(157, 139, 114, 0.22));
  color: var(--c-5);
  border: 1px solid rgba(223, 191, 147, 0.48);
  box-shadow: 0 8px 22px rgba(223, 191, 147, 0.22);
}

.services-pillar--medical .services-pillar-icon {
  background: linear-gradient(145deg, rgba(157, 139, 114, 0.26), rgba(107, 93, 83, 0.12));
  color: var(--c-5);
  border: 1px solid rgba(157, 139, 114, 0.3);
  box-shadow: 0 8px 22px rgba(157, 139, 114, 0.14);
}

.services-pillar-title {
  font-size: clamp(1.55rem, 2.5vw, 1.95rem);
  margin-bottom: 0.3rem;
  color: var(--c-5);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.services-pillar-tagline {
  margin: 0;
  font-size: 0.93rem;
  color: rgba(107, 93, 83, 0.74);
  line-height: 1.45;
}

.service-card {
  position: relative;
  background: #fff;
  border-radius: 0;
  padding: 1.4rem 1.2rem 1.45rem 1.35rem;
  border: 1px solid rgba(157, 139, 114, 0.11);
  height: 100%;
  box-shadow: 0 8px 32px rgba(107, 93, 83, 0.08);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.service-card--tilt:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(107, 93, 83, 0.13);
  border-color: rgba(223, 191, 147, 0.42);
}

.service-card--body-list .service-list:first-child {
  margin-top: 0.35rem;
}

.service-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-4), var(--c-1));
  opacity: 0.9;
}

.services-pillar--medical .service-card-accent {
  background: linear-gradient(90deg, var(--c-1), rgba(107, 93, 83, 0.62));
}

.service-card-title {
  font-size: 1.06rem;
  margin-top: 0.4rem;
  margin-bottom: 0.9rem;
  color: var(--c-5);
  font-family: var(--font-heading);
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
  font-size: 1.06rem;
  color: rgba(107, 93, 83, 0.88);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 0;
  background: var(--c-4);
}

.service-list--checks li {
  padding-left: 2.35rem;
  margin-bottom: 0.48rem;
}

/* Brand-light circular badge + dark check (services + why lists) */
.service-list--checks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, var(--section-white-soft) 0%, var(--c-3) 42%, var(--c-2) 100%);
  color: var(--c-5);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(157, 139, 114, 0.28);
  box-shadow: 0 1px 6px rgba(107, 93, 83, 0.07);
}

/* Why — single checklist card (reuses .service-card) */
.why-unified-card {
  padding: 1.65rem 1.5rem 1.75rem;
  text-align: left;
}

.why-unified-card .services-pillar-title {
  text-align: center;
  margin-bottom: 1.25rem;
}

.why-unified-card .service-list--checks li {
  font-size: 1.08rem;
}

/* Why — dark band */
.section-why-dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, #252019 0%, #322b24 38%, #2a231d 72%, #1f1a16 100%);
  color: rgba(237, 232, 224, 0.92);
}

.section-why-dark .section-eyebrow {
  color: var(--c-4);
}

.section-why-dark .section-title {
  color: #faf6ef;
}

.section-why-dark .why-unified-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(223, 191, 147, 0.32);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.section-why-dark .why-unified-card:hover {
  border-color: rgba(223, 191, 147, 0.48);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-why-dark .why-unified-card .services-pillar-title {
  color: #faf6ef;
}

.section-why-dark .why-unified-card .service-list--checks li {
  color: rgba(237, 232, 224, 0.9);
}

.section-why-dark .service-list--checks li::before {
  background: linear-gradient(165deg, var(--section-white-soft) 0%, var(--c-3) 42%, var(--c-2) 100%);
  color: var(--c-5);
  border-color: rgba(157, 139, 114, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 2px 12px rgba(0, 0, 0, 0.25);
}

.section-why-dark .service-card-accent {
  opacity: 1;
  background: linear-gradient(90deg, var(--c-4), rgba(223, 191, 147, 0.65));
}

/* Screening */
.section-accent {
  background: linear-gradient(135deg, rgba(157, 139, 114, 0.12) 0%, rgba(223, 191, 147, 0.22) 50%, var(--c-3) 100%);
}

.screening-photo {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(180px, 32vh, 340px);
  max-width: min(100%, 420px);
  margin-left: auto;
  margin-right: auto;
}

.screening-photo img {
  min-height: clamp(180px, 32vh, 340px);
  object-fit: cover;
}

.screening-copy-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  border: 1px solid rgba(157, 139, 114, 0.2);
  box-shadow: var(--shadow-card);
}

.screening-copy-card p {
  font-size: 1.12rem;
  line-height: 1.72;
}

.screening-copy-card .screening-cta {
  text-transform: none;
}

.btn-dark-soft {
  background: var(--c-5);
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 0.75rem 1.5rem;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.25s ease;
}

.btn-dark-soft:hover {
  background: #5a4f46;
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(107, 93, 83, 0.35);
}

.btn-dark-soft:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-dark-soft:focus-visible {
  outline: 2px solid var(--c-4);
  outline-offset: 3px;
}

/* Philosophy */
.philosophy-card {
  padding: 0.25rem 0 1rem;
}

.philosophy-card .section-eyebrow {
  font-size: 0.9rem;
}

.philosophy-card .section-title {
  font-size: clamp(2.35rem, 4.1vw, 3.5rem);
}

.content-card--quote {
  max-width: 720px;
  font-size: 1.12rem;
  line-height: 1.75;
}

.philosophy-card .content-card--quote {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.56rem;
  line-height: 1.92;
  padding-bottom: 0.35em;
  overflow: visible;
}

/* CTA — light band, photo wash, readable type */
.cta-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(5rem, 10vw, 7rem);
  padding-bottom: clamp(5rem, 10vw, 7rem);
  background: #faf8f5;
}

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

.cta-bg::before {
  content: "";
  position: absolute;
  inset: -14px;
  background-image: url("https://images.pexels.com/photos/4101143/pexels-photo-4101143.jpeg?auto=compress&cs=tinysrgb&w=1920");
  background-size: cover;
  background-position: center;
  filter: blur(11px);
  transform: scale(1.08);
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(252, 251, 249, 0.94) 0%,
    rgba(248, 245, 240, 0.9) 42%,
    rgba(252, 251, 249, 0.93) 100%
  );
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section .section-title {
  color: var(--c-5);
}

.cta-lead {
  color: rgba(107, 93, 83, 0.88);
  font-size: 1.18rem;
  line-height: 1.7;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-footnote {
  color: rgba(107, 93, 83, 0.72);
  font-size: clamp(1.12rem, 2.1vw, 1.35rem);
  line-height: 1.55;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-light {
  border-radius: 0;
  padding: 0.85rem 1.85rem;
  font-weight: 600;
  color: var(--c-5);
  border: 1px solid rgba(157, 139, 114, 0.35);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.25s ease,
    color 0.2s ease;
}

.cta-section .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(107, 93, 83, 0.15);
  background: #fff !important;
  color: var(--c-5) !important;
}

.cta-section .btn-light:active {
  transform: translateY(-1px);
}

.cta-section .btn-light:focus-visible {
  outline: 2px solid var(--c-1);
  outline-offset: 3px;
}

.text-white-75 {
  color: rgba(107, 93, 83, 0.82) !important;
}

/* Footer */
.site-footer {
  background: var(--c-5);
  color: rgba(233, 227, 214, 0.88);
  padding-top: clamp(3.5rem, 7vw, 5rem) !important;
  padding-bottom: clamp(3rem, 6vw, 4.25rem) !important;
}

.site-footer .footer-logo {
  height: 52px;
  width: auto;
  opacity: 0.96;
}

.footer-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(233, 227, 214, 0.78);
  max-width: 22rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.15rem;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  word-break: break-word;
}

.footer-contact-link:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-social a,
.footer-social .footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 1.15rem;
  line-height: 0;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
  box-sizing: border-box;
}

.footer-social .footer-social-svg {
  width: 1.05em;
  height: 1.05em;
  display: block;
  flex-shrink: 0;
}

.footer-social .footer-social-icon--disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.footer-map-wrap {
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  height: 200px;
  min-height: 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-map-iframe {
  display: block;
  width: 100%;
  height: 200px;
  min-height: 0;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.footer-copyline {
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  color: rgba(233, 227, 214, 0.62);
}

.link-footer {
  color: var(--c-4);
}

.link-footer:hover {
  color: #fff;
}

.skip-link:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--c-1);
  color: #fff;
  border-radius: 0;
}

/* Image fallback when file missing */
.img-fallback {
  min-height: 280px;
  background: linear-gradient(145deg, var(--c-2), var(--c-3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(107, 93, 83, 0.45);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}
