/* =========================
   1. DESIGN TOKENS
========================= */
:root {
  --primary: #8f4b42;
  --primary-dark: #703b36;
  --background: #f9f7f2;
  --secondary: #e7b7a9;
  --accent: #d8edec;
  --accent-text: #286b69;
  --accent-on-dark: #d8f2ef;
  --text-primary: #1f2937;
  --text-secondary: #666666;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(169, 95, 85, 0.12);
  --focus-ring: #25605f;
  --border-soft: rgba(169, 95, 85, 0.18);
  --control-border: #9a8177;
  --navbar-glass: rgba(255, 255, 255, 0.78);
  --navbar-glass-strong: rgba(255, 255, 255, 0.9);
  --navbar-border: rgba(216, 237, 236, 0.72);
  --navbar-shadow:
    0 18px 50px rgba(31, 41, 55, 0.12), 0 4px 18px rgba(143, 75, 66, 0.08);
}

/* =========================
   2. BASE STYLES
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Lora", serif;
  text-wrap: balance;
}

p,
li,
button {
  overflow-wrap: break-word;
}

a {
  overflow-wrap: anywhere;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.86);
}

main:focus {
  outline: none;
}

img,
picture,
video,
svg {
  max-width: 100%;
}

img,
picture {
  display: block;
}

img,
video {
  height: auto;
}

p {
  max-width: 68ch;
  color: var(--text-secondary);
}

small {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================
   3. LAYOUT SYSTEM
========================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Anchor offset for fixed navbar */
section {
  scroll-margin-top: 90px;
}

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

.redirect-page {
  display: grid;
  min-height: 100vh;
  align-content: center;
  gap: 1rem;
  padding: 2rem;
}

.redirect-page h1 {
  color: var(--primary-dark);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
}

.redirect-page a {
  color: var(--primary);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 2000;
  display: inline-flex;
  padding: 0.75rem 1rem;
  border: 2px solid var(--focus-ring);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

/* =========================
   4. COMPONENTS
========================= */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  line-height: 1.15;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 100%;
  display: block;
}

.logo-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  z-index: 1000;
  box-shadow: none;
  transition:
    padding 0.22s ease,
    transform 0.22s ease;
}

.navbar.shrink {
  padding: 0.45rem 0;
  background: transparent;
}

.navbar .logo {
  color: var(--primary-dark);
  transition:
    font-size 0.22s ease,
    transform 0.22s ease;
}

.navbar.shrink .logo {
  font-size: 1.08rem;
  transform: none;
}

.navbar .logo-img {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 6px 16px rgba(31, 41, 55, 0.08);
  transition:
    height 0.22s ease,
    box-shadow 0.22s ease;
}

.navbar.shrink .logo-img {
  height: 34px;
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
}

.navbar .container {
  position: relative;
  display: flex;
  width: min(1100px, calc(100% - 2rem));
  justify-content: space-between;
  align-items: center;
  padding: 0.72rem 1.05rem;
  border: 1px solid var(--navbar-border);
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.88),
      rgba(216, 237, 236, 0.36)
    ),
    var(--navbar-glass);
  box-shadow: var(--navbar-shadow);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition:
    padding 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.navbar.shrink .container {
  padding: 0.5rem 0.9rem;
  border-color: rgba(216, 237, 236, 0.86);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.94),
      rgba(216, 237, 236, 0.42)
    ),
    var(--navbar-glass-strong);
  box-shadow:
    0 12px 34px rgba(31, 41, 55, 0.12),
    0 3px 14px rgba(143, 75, 66, 0.08);
}

.logo-text span {
  color: var(--accent-text);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.78rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

/* Active (scrollspy) link */
.nav-links a.active {
  background: rgba(216, 237, 236, 0.58);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(40, 107, 105, 0.12);
}

.nav-links a.btn-primary {
  margin-left: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: linear-gradient(135deg, var(--accent-text), var(--primary));
  box-shadow: 0 10px 24px rgba(40, 107, 105, 0.18);
  text-decoration: none;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    padding 0.22s ease,
    transform 0.22s ease;
}

.nav-links a:not(.btn-primary):hover,
.nav-links a:not(.btn-primary):focus {
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-text);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(40, 107, 105, 0.12);
}

.navbar .nav-links a.btn-primary:hover,
.navbar .nav-links a.btn-primary:focus {
  background: linear-gradient(135deg, #1f5f5d, var(--primary-dark));
  box-shadow: 0 12px 28px rgba(40, 107, 105, 0.24);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(40, 107, 105, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  color: var(--accent-text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
  background: rgba(216, 237, 236, 0.72);
  color: var(--primary-dark);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

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

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

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

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition:
    background 0.3s,
    padding 0.22s ease,
    font-size 0.22s ease,
    transform 0.22s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* Shrink primary button when navbar is shrunk */
.navbar.shrink .nav-links a.btn-primary,
.navbar.shrink .btn-primary {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  border-radius: 40px;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  background: transparent;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.72),
    0 8px 18px rgba(0, 0, 0, 0.56);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  text-shadow: none;
}

.btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid rgba(216, 237, 236, 0.76);
  border-radius: 50px;
  padding: 0.8rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.68),
    0 8px 18px rgba(0, 0, 0, 0.5);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}

.btn-tertiary svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.btn-tertiary:hover,
.btn-tertiary:focus {
  border-color: var(--accent);
  background: rgba(216, 237, 236, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  color: var(--white);
}

.mobile-sticky-cta {
  display: none;
}

.mobile-sticky-cta__link {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.mobile-sticky-cta__link svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.mobile-sticky-cta__link--book {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(143, 75, 66, 0.2);
}

.mobile-sticky-cta__link--call {
  border: 1px solid rgba(143, 75, 66, 0.28);
  background: var(--white);
  color: var(--primary-dark);
}

.mobile-sticky-cta__link:hover,
.mobile-sticky-cta__link:focus {
  transform: translateY(-1px);
}

.mobile-sticky-cta__link--book:hover,
.mobile-sticky-cta__link--book:focus {
  background: var(--primary-dark);
}

.mobile-sticky-cta__link--call:hover,
.mobile-sticky-cta__link--call:focus {
  border-color: rgba(143, 75, 66, 0.46);
  background: #fff8f6;
  color: var(--primary-dark);
}

/* =========================
   5. SECTIONS
========================= */

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 0 6rem;
  background: #000000 url("../images/hero/flower-path-poster.jpg") center /
    cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
}

.hero-petals {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  perspective: 700px;
}

.hero-petal {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--petal-size);
  height: calc(var(--petal-size) * 1.45);
  opacity: 0;
  filter: blur(var(--petal-blur));
  transform-origin: 50% 45%;
  animation: hero-petal-fall var(--fall-duration) linear var(--fall-delay)
    infinite;
  will-change: opacity, transform;
}

.hero-petal::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 76% 24% 68% 32% / 70% 34% 66% 30%;
  background:
    radial-gradient(
      circle at 38% 28%,
      rgba(255, 255, 255, 0.95) 0 18%,
      transparent 36%
    ),
    radial-gradient(
      circle at 70% 78%,
      rgba(215, 105, 119, 0.34),
      transparent 48%
    ),
    linear-gradient(
      145deg,
      rgba(255, 233, 237, 0.96),
      rgba(238, 145, 158, 0.88)
    );
  box-shadow:
    0 0 16px rgba(255, 202, 210, 0.34),
    inset -2px -5px 9px rgba(174, 70, 86, 0.18);
  transform: scale(var(--petal-scale)) rotateY(54deg) rotateZ(-18deg);
  animation: hero-petal-flutter var(--flutter-duration) ease-in-out
    var(--flutter-delay) infinite alternate;
  opacity: var(--petal-depth);
}

.hero-video-toggle {
  position: absolute;
  top: 6.25rem;
  right: max(1.25rem, calc((100vw - 1100px) / 2 + 2rem));
  z-index: 4;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: rgba(31, 41, 55, 0.78);
  color: var(--white);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.hero-video-toggle::before {
  content: "";
  display: block;
  width: 14px;
  height: 16px;
  border-right: 4px solid currentColor;
  border-left: 4px solid currentColor;
}

.hero-video-toggle.is-paused::before {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
  border-right: 0;
  transform: translateX(2px);
}

.hero-video-toggle:hover,
.hero-video-toggle:focus {
  background: rgba(31, 41, 55, 0.94);
  border-color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2.9rem, 5vw, 4.35rem);
  margin-bottom: 1.5rem;
  line-height: 1.06;
  color: #ffffff;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.hero-content h1 {
  margin-bottom: 1.2rem;
}

.hero h1 .highlight {
  color: var(--accent-on-dark);
  font-style: italic;
  font-weight: 600;
}

.hero p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
  max-width: 62ch;
}

.hero-content p {
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.hero .hero-support {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--accent-on-dark);
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.58),
    0 10px 24px rgba(0, 0, 0, 0.42);
  max-width: 520px;
  letter-spacing: 0.2px;
}

.services-page-hero,
.contact-page-hero,
.about-page-hero,
.resources-page-hero,
.privacy-page-hero {
  padding: 9.5rem 0 5.75rem;
}

.services-page-hero {
  background:
    linear-gradient(
      110deg,
      rgba(31, 41, 55, 0.82),
      rgba(40, 107, 105, 0.7) 52%,
      rgba(143, 75, 66, 0.42)
    ),
    url("../images/services/psychiatric-evaluation.jpg") center / cover;
}

.contact-page-hero {
  background:
    linear-gradient(
      110deg,
      rgba(31, 41, 55, 0.82),
      rgba(40, 107, 105, 0.66) 54%,
      rgba(143, 75, 66, 0.46)
    ),
    url("../images/services/medication-management.jpg") center / cover;
}

.about-page-hero {
  background:
    url("../images/headshot/headshot-mobile-cutout.png")
      calc(50% + 12rem) 14% / auto 125% no-repeat,
    radial-gradient(
      circle at 74% 76%,
      rgba(231, 183, 169, 0.34),
      rgba(143, 75, 66, 0.18) 34%,
      transparent 58%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(216, 237, 236, 0.22),
      rgba(40, 107, 105, 0.08) 34%,
      transparent 58%
    ),
    linear-gradient(145deg, #1f2937 0%, #286b69 56%, #8f4b42 120%);
  background-color: #1f2937;
}

.about-hero-portrait {
  display: none;
}

.resources-page-hero {
  background:
    linear-gradient(
      110deg,
      rgba(31, 41, 55, 0.84),
      rgba(40, 107, 105, 0.68) 52%,
      rgba(143, 75, 66, 0.44)
    ),
    url("../images/services/therapy-support.jpg") center / cover;
}

.privacy-page-hero {
  background:
    linear-gradient(
      110deg,
      rgba(31, 41, 55, 0.86),
      rgba(40, 107, 105, 0.68) 52%,
      rgba(143, 75, 66, 0.44)
    ),
    url("../images/services/psychiatric-evaluation.jpg") center / cover;
}

.services-page-hero::before,
.resources-page-hero::before,
.privacy-page-hero::before {
  background: rgba(0, 0, 0, 0.26);
}

.about-page-hero::before {
  inset: 0;
  background:
    linear-gradient(
      118deg,
      rgba(143, 75, 66, 0.18),
      transparent 34%,
      rgba(231, 183, 169, 0.12) 82%
    ),
    linear-gradient(
      to bottom,
      rgba(31, 41, 55, 0.06),
      transparent 32%,
      rgba(31, 41, 55, 0.08) 52%,
      rgba(31, 41, 55, 0.28)
    );
  -webkit-mask-image: none;
  mask-image: none;
}

.contact-page-hero::before {
  background: rgba(0, 0, 0, 0.28);
}

.services-page-hero .service-eyebrow,
.contact-page-hero .service-eyebrow,
.about-page-hero .service-eyebrow,
.resources-page-hero .service-eyebrow,
.privacy-page-hero .service-eyebrow {
  margin-bottom: 1rem;
  color: var(--accent-on-dark);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
}

.services-page-hero h1,
.contact-page-hero h1,
.about-page-hero h1,
.resources-page-hero h1,
.privacy-page-hero h1 {
  max-width: 12ch;
}

.services-page-hero .hero-support,
.about-page-hero .hero-support,
.resources-page-hero .hero-support,
.privacy-page-hero .hero-support {
  max-width: 42rem;
}

.services-page-hero .btn-secondary,
.about-page-hero .btn-secondary,
.resources-page-hero .btn-secondary,
.privacy-page-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
}

@keyframes hero-petal-fall {
  0% {
    opacity: 0;
    transform: translate3d(var(--start-x), -16vh, 0)
      rotateZ(var(--start-rotation)) rotateX(70deg);
  }

  8% {
    opacity: var(--petal-opacity);
  }

  48% {
    transform: translate3d(var(--mid-x), 48vh, 90px)
      rotateZ(var(--mid-rotation)) rotateX(28deg);
  }

  82% {
    opacity: var(--petal-opacity);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--end-x), 112vh, -70px)
      rotateZ(var(--end-rotation)) rotateX(76deg);
  }
}

@keyframes hero-petal-flutter {
  0% {
    transform: scale(var(--petal-scale)) rotateY(68deg) rotateZ(-28deg);
  }

  50% {
    transform: scale(var(--petal-scale)) rotateY(-34deg) rotateZ(18deg);
  }

  100% {
    transform: scale(var(--petal-scale)) rotateY(58deg) rotateZ(34deg);
  }
}

/* SERVICES */
.services {
  padding: 6rem 0;
  background-color: var(--white);
}

.section-title,
.about-text h2 {
  font-size: clamp(2.1rem, 3.2vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-title {
  color: var(--accent-text);
  overflow-wrap: break-word;
}

.section-intro {
  max-width: 45rem;
  margin: -1.45rem auto 2.75rem;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  min-width: 0;
}

.services-grid--featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  display: flex;
  min-width: 0;
  min-height: 280px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2.5rem 2rem;
  background: var(--background);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}

.service-card h3 {
  margin-bottom: 0.85rem;
  color: var(--primary-dark);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.2;
  overflow-wrap: break-word;
}

.service-card p {
  margin: 0 auto;
  max-width: 32ch;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.service-card--image {
  min-height: 100%;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
  border-color: rgba(169, 95, 85, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(249, 247, 242, 0)),
    var(--background);
  box-shadow: 0 18px 48px rgba(31, 41, 55, 0.08);
  text-align: left;
}

.service-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid rgba(169, 95, 85, 0.18);
  background: var(--accent);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.45rem 1.5rem 1.6rem;
}

.service-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.65rem;
  color: var(--accent-text);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-card--image h3 {
  margin-bottom: 0.7rem;
}

.service-card--image p {
  max-width: none;
  margin: 0;
}

.expertise-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 2.25rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-soft);
}

.expertise-copy h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.expertise-copy p {
  margin: 0;
  line-height: 1.75;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.75rem;
  list-style: none;
}

.expertise-list li {
  position: relative;
  min-width: 0;
  padding-left: 1.2rem;
  color: var(--text-primary);
  line-height: 1.55;
}

.expertise-list li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent-text);
  content: "";
}

.services-landing-intro,
.about-page-intro {
  background:
    linear-gradient(
      135deg,
      rgba(216, 237, 236, 0.42),
      rgba(255, 255, 255, 0.92) 44%,
      rgba(231, 183, 169, 0.18)
    ),
    var(--background);
}

.services-landing-intro .section-intro {
  max-width: 52rem;
}

.service-detail-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.6rem;
  list-style: none;
}

.service-detail-list li {
  position: relative;
  display: grid;
  gap: 0.2rem;
  padding-left: 1.35rem;
  color: var(--text-primary);
  line-height: 1.55;
}

.service-detail-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--accent-text);
}

.service-detail-list strong {
  color: var(--primary-dark);
  font-family: "Lora", serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.service-detail-list span {
  color: var(--text-secondary);
}

.services-process {
  background: var(--background);
}

.services-process .about-flex {
  align-items: flex-start;
}

.services-process .about-text h2 {
  max-width: 15ch;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.35rem;
}

.section-actions--compact {
  margin-top: 1.1rem;
}

.section-actions--start {
  justify-content: flex-start;
}

.section-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.78rem 1.2rem;
  border: 1px solid rgba(40, 107, 105, 0.2);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
  color: var(--accent-text);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.section-action-link svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.section-action-link:hover,
.section-action-link:focus {
  border-color: rgba(40, 107, 105, 0.34);
  background: rgba(216, 237, 236, 0.72);
  box-shadow: 0 16px 34px rgba(31, 41, 55, 0.12);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ABOUT */
.about {
  padding: 8rem 0;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-image,
.about-text {
  flex: 1 1 0;
  min-width: 0;
}

.about-image picture {
  display: block;
}

.about-image img {
  display: block;
  width: 100%;
  aspect-ratio: 47 / 50;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.portrait-frame {
  align-self: center;
  max-width: 430px;
}

.portrait-frame picture {
  overflow: hidden;
  border: 1px solid rgba(169, 95, 85, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow:
    0 24px 55px rgba(31, 41, 55, 0.14),
    0 8px 22px rgba(169, 95, 85, 0.12);
}

.portrait-frame .portrait-img {
  aspect-ratio: 4 / 5;
  border-radius: inherit;
  box-shadow: none;
  object-position: 50% 22%;
  transform: scale(1.035);
  transform-origin: 50% 22%;
}

.portrait-reveal.is-ready {
  opacity: 0.01;
  filter: blur(10px);
  transform: translateY(18px);
  transition:
    opacity 0.75s ease,
    filter 0.85s ease,
    transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, filter, transform;
}

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

.about-text h2 {
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  text-align: left;
}

.about-text p {
  line-height: 1.75;
}

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

.about-page-intro .about-flex {
  align-items: flex-start;
}

.about-page-intro .about-text h2 {
  max-width: 15ch;
}

.about-page-care {
  background: var(--white);
}

.about-page-care .section-intro {
  max-width: 52rem;
}

.about-page-credentials {
  background: var(--background);
}

.credentials {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
  list-style: none;
}

.credentials li {
  position: relative;
  padding-left: 1.7rem;
  line-height: 1.55;
  color: var(--text-primary);
}

.credentials li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
}

.education-credentials {
  padding: 7rem 0;
  background:
    linear-gradient(
      135deg,
      rgba(216, 237, 236, 0.5),
      rgba(255, 255, 255, 0.9) 45%,
      rgba(231, 183, 169, 0.22)
    ),
    var(--background);
}

.credentials-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 4rem;
}

.credentials-copy h2 {
  max-width: 16ch;
  margin-bottom: 1.1rem;
  color: var(--primary-dark);
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  line-height: 1.12;
}

.credentials-copy p {
  line-height: 1.75;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
}

.trust-badge {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(40, 107, 105, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text-primary);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.trust-badge span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
}

.trust-badge .trust-check {
  background: var(--accent-text);
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
}

a.trust-badge:hover,
a.trust-badge:focus {
  color: var(--accent-text);
  box-shadow:
    0 12px 28px rgba(31, 41, 55, 0.1),
    inset 0 0 0 1px rgba(40, 107, 105, 0.12);
}

.credentials-media {
  position: relative;
  justify-self: end;
  width: min(100%, 390px);
  min-width: 0;
}

.credential-snapshot {
  position: relative;
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: 1.45rem 1.55rem 1.2rem;
  border: 1px solid rgba(40, 107, 105, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(216, 237, 236, 0.4)),
    var(--white);
  box-shadow:
    0 24px 55px rgba(31, 41, 55, 0.16),
    0 8px 22px rgba(40, 107, 105, 0.12);
}

.credential-snapshot::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.38rem;
  background: linear-gradient(90deg, var(--primary), var(--accent-text));
}

.credential-snapshot-header {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.35rem;
}

.credential-kicker {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.credential-snapshot h3 {
  color: var(--primary-dark);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.15;
}

.credential-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 0.9rem;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(169, 95, 85, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.credential-stat strong {
  color: var(--accent-text);
  font-family: "Lora", serif;
  font-size: clamp(3rem, 8vw, 4.4rem);
  line-height: 0.88;
}

.credential-stat span {
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
}

.credential-snapshot-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(143, 75, 66, 0.14);
  list-style: none;
}

.credential-snapshot-list li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.95rem;
  min-height: 4rem;
  padding: 0.82rem 0;
  border-bottom: 1px solid rgba(143, 75, 66, 0.14);
}

.credential-snapshot-list li:last-child {
  border-bottom: 0;
}

.credential-icon-badge {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(143, 75, 66, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.94), transparent 38%),
    linear-gradient(145deg, rgba(216, 237, 236, 0.9), rgba(255, 255, 255, 0.8));
  color: var(--accent-text);
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.42),
    0 10px 20px rgba(40, 107, 105, 0.08);
}

.credential-icon-badge svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.credential-item-copy {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.credential-item-copy strong {
  color: var(--text-primary);
  font-size: 0.98rem;
  line-height: 1.3;
}

.credential-item-copy span {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.45;
}

.institution-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.institution-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(31, 41, 55, 0.08);
  color: var(--text-primary);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.institution-card::after {
  content: "↗";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.institution-image {
  display: flex;
  min-height: 9.5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
}

.institution-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.institution-image--logo {
  padding: 1.6rem;
}

.institution-image--logo img {
  width: min(100%, 18rem);
  height: auto;
  max-height: 5.2rem;
  aspect-ratio: auto;
  object-fit: contain;
}

.institution-card-content {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem;
}

.institution-name {
  color: var(--primary-dark);
  font-family: "Lora", serif;
  font-size: 1.13rem;
  font-weight: 700;
  line-height: 1.25;
}

.institution-meta {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.institution-card:hover,
.institution-card:focus {
  border-color: rgba(40, 107, 105, 0.3);
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.12);
  color: var(--text-primary);
  transform: translateY(-3px);
}

.approach-panel {
  flex: 1 1 0;
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 2rem;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92),
      rgba(195, 223, 222, 0.32)
    ),
    var(--white);
  box-shadow: var(--shadow);
}

.approach-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  row-gap: 0.25rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(169, 95, 85, 0.12);
}

.approach-item:first-child {
  padding-top: 0;
}

.approach-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.approach-item span {
  grid-row: 1 / span 2;
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.approach-item h3 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  line-height: 1.25;
}

.approach-item p {
  max-width: 42ch;
  line-height: 1.65;
}

/* CONTACT */
.contact {
  padding: 6rem 0;
  background: var(--background);
}

.contact-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-box h2 {
  margin-bottom: 0.8rem;
  color: var(--primary-dark);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.18;
}

.contact-box p {
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 2rem 0 1.35rem;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(40, 107, 105, 0.18);
  border-radius: 999px;
  background: rgba(216, 237, 236, 0.42);
  color: var(--accent-text);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.contact-action svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.contact-action--primary {
  border-color: transparent;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(143, 75, 66, 0.2);
}

.contact-action:hover,
.contact-action:focus {
  border-color: rgba(40, 107, 105, 0.3);
  background: rgba(216, 237, 236, 0.72);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.contact-action--primary:hover,
.contact-action--primary:focus {
  border-color: transparent;
  background: var(--primary-dark);
  color: var(--white);
}

.contact-box .contact-note {
  margin: 1.35rem auto 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--background);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.contact-page-main {
  background:
    linear-gradient(
      135deg,
      rgba(216, 237, 236, 0.42),
      rgba(255, 255, 255, 0.92) 44%,
      rgba(231, 183, 169, 0.18)
    ),
    var(--background);
}

.contact-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 2rem;
}

.contact-page-copy {
  display: grid;
  gap: 1.25rem;
}

.contact-page-copy h2 {
  color: var(--primary-dark);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.15;
}

.contact-page-copy p {
  line-height: 1.75;
}

.contact-info-list {
  display: grid;
  gap: 0.85rem;
  list-style: none;
}

.contact-info-list li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-info-list strong {
  color: var(--primary-dark);
  font-family: "Lora", serif;
  font-size: 1.12rem;
  line-height: 1.25;
}

.contact-info-list a,
.contact-info-list span {
  color: var(--text-secondary);
}

.contact-info-list a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.profile-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.profile-links h3 {
  color: var(--primary-dark);
  font-size: 1.18rem;
  line-height: 1.25;
}

.profile-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
}

.profile-list a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 4.5rem;
  padding: 0.8rem;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-dark);
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.profile-list a:hover,
.profile-list a:focus {
  border-color: rgba(40, 107, 105, 0.32);
  background: rgba(216, 237, 236, 0.58);
  color: var(--accent-text);
  transform: translateY(-2px);
}

.profile-list svg,
.profile-monogram {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(40, 107, 105, 0.18);
  border-radius: 50%;
  background: var(--white);
}

.profile-list svg {
  fill: currentColor;
  padding: 7px;
}

.profile-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
}

.profile-copy {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.profile-platform {
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.2;
}

.profile-handle {
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-page-card {
  position: sticky;
  top: 7rem;
}

.contact-page-card .contact-box {
  padding: 2.35rem;
}

.contact-page-card .contact-actions {
  grid-template-columns: 1fr;
}

.contact-next-steps {
  background: var(--white);
}

.privacy-page-main {
  padding: 6rem 0;
  background:
    linear-gradient(
      135deg,
      rgba(216, 237, 236, 0.42),
      rgba(255, 255, 255, 0.92) 44%,
      rgba(231, 183, 169, 0.18)
    ),
    var(--background);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  align-items: start;
  gap: 2rem;
}

.privacy-content {
  display: grid;
  gap: 1.25rem;
}

.privacy-card,
.privacy-summary {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 36px rgba(31, 41, 55, 0.08);
}

.privacy-card {
  padding: 1.65rem;
}

.privacy-card h2,
.privacy-summary h2 {
  margin-bottom: 0.85rem;
  color: var(--primary-dark);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.privacy-card p {
  max-width: none;
  line-height: 1.75;
}

.privacy-card p + p {
  margin-top: 0.95rem;
}

.privacy-card a {
  color: var(--primary-dark);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.privacy-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.privacy-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--accent-text);
}

.privacy-sidebar {
  position: sticky;
  top: 7rem;
}

.privacy-summary {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.privacy-summary .btn-primary {
  justify-content: center;
  width: 100%;
}

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(220px, 1fr) minmax(140px, auto) minmax(240px, auto);
  align-items: start;
  gap: 2rem 2.5rem;
}

.footer-brand h3 {
  color: var(--accent-on-dark);
  margin-bottom: 0.5rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.footer-brand p,
.footer-contact p,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  min-width: 8rem;
}

.footer-links h4 {
  margin-bottom: 0.1rem;
  color: var(--accent-on-dark);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-links a[aria-current="page"] {
  color: var(--accent-on-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-phone,
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-phone svg,
.footer-email svg {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 7px;
  color: var(--white);
  fill: currentColor;
  border: 1px solid rgba(195, 223, 222, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.footer-email a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-email a:hover,
.footer-email a:focus {
  color: var(--accent-on-dark);
  text-decoration: underline;
}

.footer-social {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 58px;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(195, 223, 222, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus {
  color: var(--accent-on-dark);
  border-color: rgba(216, 242, 239, 0.68);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
}

.footer-social svg,
.social-monogram {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(195, 223, 222, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.footer-social svg {
  fill: currentColor;
  padding: 7px;
}

.social-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
}

.social-copy {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.social-platform {
  color: var(--accent-on-dark);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.social-handle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0.35rem auto;
  max-width: 82ch;
}

.footer-bottom a {
  color: var(--accent-on-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
  text-decoration-thickness: 2px;
}

/* =========================
   6. UTILITIES
========================= */

@media (max-width: 1100px) {
  .navbar {
    padding: 0.65rem 0;
  }

  .navbar.shrink {
    padding: 0.45rem 0;
  }

  .navbar .container {
    width: min(1100px, calc(100% - 1rem));
    padding: 0.55rem 0.65rem 0.55rem 0.75rem;
    border-radius: 24px;
  }

  .navbar.shrink .container {
    padding: 0.46rem 0.58rem 0.46rem 0.7rem;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    left: 0;
    display: grid;
    gap: 0.25rem;
    margin-left: 0;
    padding: 0.65rem;
    border: 1px solid var(--navbar-border);
    border-radius: 20px;
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.94),
        rgba(216, 237, 236, 0.42)
      ),
      var(--navbar-glass-strong);
    box-shadow: 0 22px 50px rgba(31, 41, 55, 0.16);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links li,
  .nav-links a {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    min-height: 46px;
    justify-content: flex-start;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
  }

  .nav-links a.btn-primary {
    margin-top: 0.25rem;
    margin-left: 0;
    justify-content: center;
  }

  .navbar.shrink .nav-links a.btn-primary {
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
    transform: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0.65rem;
  }

  .logo {
    max-width: calc(100% - 58px);
    font-size: 1.12rem;
  }

  .logo-img {
    height: 34px;
  }
}

@media (max-width: 900px) {
  .hero-petals {
    display: none;
  }

  .credentials-layout {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .credentials-copy h2 {
    max-width: 15ch;
  }

  .credentials-media {
    justify-self: start;
    width: min(100%, 26rem);
  }

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

  .contact-page-card {
    position: static;
  }

  .profile-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }

  .container {
    padding: 0 1.25rem;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1500;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 0.65rem max(1rem, env(safe-area-inset-right))
      calc(0.65rem + env(safe-area-inset-bottom))
      max(1rem, env(safe-area-inset-left));
    border-top: 1px solid var(--border-soft);
    background: rgba(249, 247, 242, 0.96);
    box-shadow: 0 -12px 34px rgba(31, 41, 55, 0.14);
    backdrop-filter: blur(16px);
  }

  .hero {
    padding: 8.5rem 0 4.5rem;
    background: #000000
      url("../images/hero/cherry-blossom-hero-mobile.jpg") center / cover
      no-repeat;
  }

  .hero-video,
  .hero-video-toggle {
    display: none;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 8vw, 2.45rem);
    line-height: 1.14;
    overflow-wrap: break-word;
    text-wrap: wrap;
  }

  .hero p,
  .hero .hero-support {
    max-width: min(100%, 38ch);
  }

  .hero h1 br {
    display: none;
  }

  .hero-btns {
    align-items: stretch;
    flex-direction: column;
    max-width: 20rem;
  }

  .services-page-hero,
  .contact-page-hero,
  .about-page-hero,
  .resources-page-hero,
  .privacy-page-hero {
    padding: 8.4rem 0 4.6rem;
  }

  .services-page-hero {
    background:
      linear-gradient(
        112deg,
        rgba(31, 41, 55, 0.86),
        rgba(40, 107, 105, 0.72) 54%,
        rgba(143, 75, 66, 0.48)
      ),
      url("../images/services/psychiatric-evaluation.jpg") center / cover;
  }

  .contact-page-hero {
    background:
      linear-gradient(
        112deg,
        rgba(31, 41, 55, 0.86),
        rgba(40, 107, 105, 0.7) 54%,
        rgba(143, 75, 66, 0.5)
      ),
      url("../images/services/medication-management.jpg") center / cover;
  }

  .hero.about-page-hero {
    --about-hero-gutter: clamp(1rem, 3vw, 1.25rem);

    padding: 7.5rem 0 3.5rem;
    background:
      radial-gradient(
        circle at 76% 74%,
        rgba(231, 183, 169, 0.3),
        rgba(143, 75, 66, 0.16) 34%,
        transparent 60%
      ),
      radial-gradient(
        circle at 88% 18%,
        rgba(216, 237, 236, 0.22),
        rgba(40, 107, 105, 0.08) 34%,
        transparent 58%
      ),
      linear-gradient(145deg, #1f2937 0%, #286b69 56%, #8f4b42 120%);
    background-color: #1f2937;
  }

  .about-page-hero .hero-content {
    max-width: 52rem;
    padding-right: var(--about-hero-gutter);
    padding-left: var(--about-hero-gutter);
  }

  .hero.about-page-hero h1 {
    max-width: min(100%, 18ch);
    margin-bottom: 1rem;
  }

  .hero.about-page-hero .hero-content > p {
    max-width: min(100%, 34rem);
  }

  .about-page-hero .service-eyebrow {
    margin-bottom: 0.75rem;
  }

  .about-page-hero .hero-content > p:not(.hero-support) {
    margin-inline: auto;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .about-page-hero .hero-btns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 20rem);
    gap: 0.75rem;
    margin: 0 auto 1rem;
  }

  .about-page-hero .hero-btns .btn-primary {
    grid-column: 1 / -1;
  }

  .about-page-hero .hero-btns > a {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero.about-page-hero .hero-support {
    margin: 0 auto;
    text-align: center;
  }

  .about-hero-portrait {
    position: relative;
    display: block;
    width: min(100%, 44rem);
    aspect-ratio: 3 / 2;
    overflow: hidden;
    margin: 0.25rem auto 1.5rem;
    border: 1px solid rgba(216, 237, 236, 0.34);
    border-radius: clamp(2rem, 8vw, 3rem);
    background:
      radial-gradient(
        circle at 74% 78%,
        rgba(231, 183, 169, 0.34),
        rgba(143, 75, 66, 0.16) 40%,
        transparent 64%
      ),
      radial-gradient(
        circle at 50% 30%,
        rgba(216, 237, 236, 0.36),
        transparent 52%
      ),
      linear-gradient(
        145deg,
        rgba(31, 41, 55, 0.98),
        rgba(40, 107, 105, 0.9) 58%,
        rgba(143, 75, 66, 0.72)
      );
    box-shadow:
      0 18px 32px rgba(15, 23, 42, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
    isolation: isolate;
  }

  .about-hero-portrait picture {
    position: absolute;
    inset: 0;
  }

  .about-hero-portrait img {
    position: absolute;
    top: -2%;
    left: 50%;
    width: 96%;
    max-width: none;
    transform: translateX(-50%);
  }

  .about-hero-portrait::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 24%;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(31, 41, 55, 0.28)
    );
    pointer-events: none;
  }

  .about-page-hero::before {
    inset: 0;
    background:
      linear-gradient(
        118deg,
        rgba(143, 75, 66, 0.18),
        transparent 34%,
        rgba(231, 183, 169, 0.12) 82%
      ),
      linear-gradient(
        to bottom,
        rgba(31, 41, 55, 0.06),
        transparent 32%,
        rgba(31, 41, 55, 0.08) 52%,
        rgba(31, 41, 55, 0.28)
      );
    -webkit-mask-image: none;
    mask-image: none;
  }

  .resources-page-hero {
    background:
      linear-gradient(
        112deg,
        rgba(31, 41, 55, 0.88),
        rgba(40, 107, 105, 0.72) 54%,
        rgba(143, 75, 66, 0.5)
      ),
      url("../images/services/therapy-support.jpg") center / cover;
  }

  .privacy-page-hero {
    background:
      linear-gradient(
        112deg,
        rgba(31, 41, 55, 0.88),
        rgba(40, 107, 105, 0.72) 54%,
        rgba(143, 75, 66, 0.5)
      ),
      url("../images/services/psychiatric-evaluation.jpg") center / cover;
  }

  .services-page-hero h1,
  .contact-page-hero h1,
  .about-page-hero h1,
  .resources-page-hero h1,
  .privacy-page-hero h1 {
    max-width: min(100%, 12ch);
    font-size: clamp(2.05rem, 9.5vw, 2.32rem);
  }

  .services-page-hero p,
  .contact-page-hero p,
  .about-page-hero p,
  .services-page-hero .hero-support,
  .about-page-hero .hero-support,
  .resources-page-hero p,
  .resources-page-hero .hero-support,
  .privacy-page-hero p,
  .privacy-page-hero .hero-support {
    max-width: min(100%, 19.5rem);
  }

  .section-title,
  .about-text h2 {
    text-align: left;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .section-intro {
    margin: -1rem 0 2rem;
    text-align: left;
  }

  .services,
  .education-credentials,
  .contact {
    padding: 4.5rem 0;
  }

  .about {
    padding: 5rem 0;
  }

  .about-flex {
    flex-direction: column;
    gap: 2.5rem;
  }

  .portrait-frame {
    width: min(100%, 24rem);
    max-width: none;
  }

  .credentials-copy h2 {
    max-width: none;
  }

  .trust-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-badge {
    width: 100%;
    border-radius: 8px;
  }

  .institution-links {
    grid-template-columns: 1fr;
  }

  .institution-image {
    min-height: 11rem;
  }

  .credentials-media {
    justify-self: center;
    width: min(100%, 23rem);
  }

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

  .service-card {
    min-height: auto;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    text-align: left;
  }

  .service-card p {
    margin: 0;
    max-width: 100%;
  }

  .service-card--image {
    padding: 0;
  }

  .service-media {
    aspect-ratio: 16 / 10;
  }

  .service-card-content {
    padding: 1.35rem 1.35rem 1.5rem;
  }

  .expertise-summary {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.35rem;
    padding-top: 2.35rem;
  }

  .expertise-list {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .contact-box {
    padding: 2rem 1.5rem;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .privacy-page-main {
    padding: 4.5rem 0;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-sidebar {
    position: static;
  }

  .privacy-card,
  .privacy-summary {
    padding: 1.35rem;
  }

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

  .footer-social {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .footer-social a {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero-content {
    padding-right: 1rem;
  }

  .hero h1 {
    max-width: min(100%, 11.6em);
    font-size: clamp(1.82rem, 8vw, 2rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-btns {
    width: 100%;
  }

  .hero .btn-primary,
  .hero .btn-secondary,
  .hero .btn-tertiary {
    width: 100%;
    max-width: 20rem;
  }

  .section-title,
  .about-text h2 {
    font-size: clamp(1.85rem, 8vw, 2.1rem);
  }

  .service-card {
    padding: 1.65rem 1.25rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-10px);
  }

  .service-card--image:hover .service-media img {
    transform: scale(1.035);
  }
}

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

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

  .portrait-reveal.is-ready,
  .portrait-reveal.is-ready.is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .service-card:hover,
  .institution-card:hover,
  .institution-card:focus,
  .footer-social a:hover,
  .footer-social a:focus {
    transform: none;
  }
}
