:root {
  --font-base: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --color-bg: #f4f4f5;
  --color-surface: #ffffff;
  --color-surface-alt: #f7f7f7;
  --color-primary: #121212;
  --color-primary-dark: #000000;
  --color-secondary: #101010;
  --color-text: #1c1c1c;
  --color-muted: #565656;
  --color-border: #dddddf;
  --color-accent: #2c2c2c;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 12px 28px rgba(0, 0, 0, 0.18);
  --max-width: 1200px;
  --header-height: 76px;
  --section-padding: 5.5rem;
}


.top-bar {
  background: #0d0d0f;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.top-bar a:hover {
  color: #ffffff;
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
}

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

body {
  margin: 0;
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

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

p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-muted);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Merriweather", serif;
  font-weight: 600;
  color: var(--color-secondary);
}

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

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding) 0;
}

.section-light {
  background: var(--color-surface);
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.eyebrow-large {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 18, 18, 0.2);
  color: var(--color-primary);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(18, 18, 18, 0.08);
  border-color: rgba(18, 18, 18, 0.35);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 220, 220, 0.7);
  backdrop-filter: blur(14px);
  z-index: 1000;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  flex-wrap: nowrap;
  gap: 0 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2b2b2b 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
}

.nav-toggle-line {
  width: 26px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 1;
}

.nav-list a {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus {
  color: var(--color-primary);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-phone svg {
  width: 16px;
  height: 16px;
}

.nav-phone:hover,
.nav-phone:focus {
  color: var(--color-primary);
}

.nav-language-block {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.nav-language,
.nav-phone {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-language svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-language:hover,
.nav-language:focus,
.nav-phone:hover,
.nav-phone:focus {
  color: var(--color-primary);
}

.nav-phone svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

.nav-cta {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.08);
  border: 1px solid rgba(18, 18, 18, 0.4);
  color: var(--color-primary);
  font-weight: 600;
  white-space: nowrap;
}

.nav-cta:hover {
  background: rgba(18, 18, 18, 0.14);
}

@media (max-width: 900px) {
  .nav-row {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .site-nav {
    flex: 1 1 100%;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 0.5rem;
  }

  .nav-language-block,
  .nav-phone,
  .nav-cta {
    white-space: normal;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f5f8 0%, #ffffff 80%);
  padding-top: calc(var(--section-padding) + 1rem);
  padding-bottom: var(--section-padding);
}

.hero-gradient {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 3rem;
  padding: 1.5rem 0 3.5rem;
}

.hero-copy {
  max-width: 600px;
  text-align: left;
  color: var(--color-secondary);
}
.hero-subtext {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 0.65rem;
  display: block;
}

.hero-subhead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-family: "Merriweather", serif;
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  line-height: 1.08;
  color: var(--color-secondary);
  margin-bottom: 0.55rem;
}
.contact-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  color: var(--color-secondary);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border 0.2s ease;
}

.btn-tertiary:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.35);
}


.portrait-frame {
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 60%);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 40%);
  pointer-events: none;
  border-radius: inherit;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo {
  justify-self: end;
  width: min(360px, 90%);
}

.bio-section {
  background: var(--color-surface);
  padding: calc(var(--section-padding) * 0.75) 0;
}

.bio-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem;
  align-items: start;
}

.bio-summary {
  display: grid;
  gap: 1.25rem;
}

.bio-highlights {
  padding-left: 1.2rem;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--color-text);
}

.bio-section .eyebrow + .bio-highlights,
.bio-section .bio-highlights + .eyebrow {
  margin-top: 1.5rem;
}

.bio-highlights li {
  list-style: disc;
}

.bio-highlights a {
  color: #0b6dbe;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  transition: color 0.2s ease;
}

.bio-highlights a:hover {
  text-decoration: none;
  color: #0f8ff6;
}

.practice-pillars {
  border: 1px solid rgba(220, 220, 220, 0.9);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.practice-pillars strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--color-secondary);
}

.practice-pillars ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  color: var(--color-text);
  font-size: 0.98rem;
}

.practice-pillars li {
  list-style: disc;
}


.bio-copy {
  display: grid;
  gap: 1rem;
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2b2b2b;
  position: relative;
}
.bio-copy .bio-primary {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-secondary);
}
.bio-copy .bio-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 0;
}

.bio-intro {
  position: relative;
}

.bio-copy.is-collapsed .bio-intro::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-surface));
  pointer-events: none;
}

.bio-copy p {
  margin: 0;
}

.bio-toggle {
  justify-self: start;
  background: transparent;
  border: none;
  color: #0b6dbe;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0;
  margin-top: 0.75rem;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.bio-toggle::after {
  content: "▼";
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.bio-toggle:hover {
  color: #0f8ff6;
}

.bio-toggle:focus-visible {
  outline: 2px solid #0b6dbe;
  outline-offset: 4px;
}

.bio-panel {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.75rem;
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2b2b2b;
}

.bio-panel[hidden] {
  display: none;
}

.bio-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}
/* Conditions Treated */
.conditions-section {
  background: var(--color-surface);
  padding: var(--section-padding) 0;
}

.conditions-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.conditions-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: min(960px, 100%);
  margin: 0 auto;
}

.conditions-row {
  display: grid;
  gap: 1.75rem;
  width: 100%;
  --row-columns: 3;
  grid-template-columns: repeat(var(--row-columns), minmax(0, 1fr));
}

.conditions-row--top {
  --row-columns: 3;
}

.conditions-row--bottom {
  --row-columns: 4;
}

.condition-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.condition-item button {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: none;
  background: #2b5d8e;
  padding: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.condition-item button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.condition-item button:hover,
.condition-item button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  outline: none;
}

.condition-item span {
  font-weight: 600;
  color: var(--color-secondary);
}

.condition-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}

.condition-modal[aria-hidden="false"] {
  display: block;
}

.condition-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.condition-modal__dialog {
  position: relative;
  width: min(95vw, 1200px);
  max-height: 90vh;
  margin: 5vh auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.75rem 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.condition-modal__content h3 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.condition-modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-secondary);
}

.condition-modal__body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  flex: 1;
  overflow-y: auto;
  padding-right: 1rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

.condition-modal__body h4 {
  font-size: 1.08rem;
  margin: 0.75rem 0 0.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.condition-modal__body ul {
  padding-left: 1.4rem;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.35rem;
}

.condition-modal__body li {
  line-height: 1.6;
}

.condition-modal__body p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.condition-modal__media {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.condition-modal__media iframe,
.condition-modal__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: var(--radius-md);
  display: block;
  background: #000;
}

.condition-modal__video-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background-image: var(--video-thumb, linear-gradient(135deg, #0f2c49, #1d4c78));
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-card);
}

.condition-modal__video-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
}

.condition-modal__video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.condition-modal__video-label {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 1;
}

.condition-modal__video-play {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.condition-modal__video-play::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
  margin-left: 4px;
}

.condition-modal__video-learn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.condition-modal__video-learn::after {
  content: '↗';
  font-size: 0.9em;
}

.condition-video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: rgba(43, 93, 142, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--color-secondary);
}

.condition-video-placeholder strong {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.condition-modal__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: #2b5d8e;
  color: #ffffff;
  font-weight: 600;
}

.condition-modal__link--full {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.95rem 1.5rem;
}

.conditions-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.conditions-heading p {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 700;
}

.conditions-intro {
  font-size: 1.02rem;
  color: var(--color-text);
  margin-top: 1rem;
}

.conditions-pillars {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
  color: var(--color-text);
  font-size: 0.98rem;
}

.conditions-pillars li {
  list-style: disc;
}

.condition-card {
  display: grid;
  gap: 0.85rem;
}

.condition-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.condition-label {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.condition-summary {
  font-size: 0.98rem;
  color: var(--color-text);
}

.condition-plan {
  margin: 0;
  display: block;
}

.condition-plan dt {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-secondary);
  margin: 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.condition-plan dt:first-of-type {
  border-top: none;
  padding-top: 0;
}

.condition-plan dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 0.45rem;
}


.condition-illustration {
  margin-top: 1.2rem;
  max-width: 240px;
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  justify-self: center;
}

.condition-video a {
  color: #0b6dbe;
  font-weight: 600;
}

.condition-video a:hover {
  color: #0f8ff6;
}

/* Press ribbon */
.press-band {
  padding: 1rem 0;
  background: transparent;
}

.press-inner {
  width: min(1040px, 90vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.press-kicker {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-align: center;
  color: rgba(28, 28, 28, 0.55);
}

.press-mask {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: transparent;
}

.press-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: press-scroll 32s linear infinite;
}

.press-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
}

.press-slide img {
  max-height: 50px;
  width: auto;
  filter: none;
  mix-blend-mode: normal;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.press-slide img[src*="press-aaos"] {
  max-height: 70px;
}

.press-slide img[src*="press-abos"] {
  max-height: 134px;
}

.press-slide img[src*="press-castle-connolly"] {
  max-height: 331px;
}

.press-slide img[src*="press-srs"] {
  max-height: 140px;
}

.press-slide img[src*="press-weill-cornell"] {
  max-height: 268px;
}

.press-slide img[src*="press-newyork-best-doctors"] {
  max-height: 100px;
}

.press-slide img[src*="press-patients-choice"] {
  max-height: 136px;
}

.press-slide img[src*="press-super-doctors"] {
  max-height: 150px;
}

.press-slide img[src*="press-newyork-presbyterian"] {
  max-height: 68px;
}

.press-slide img:hover,
.press-slide img:focus {
  opacity: 0.9;
}

@keyframes press-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Card grids */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.condition-cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(220, 220, 220, 0.8);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.98rem;
}

.expertise-intro {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.expertise-intro .section-heading {
  flex: 1;
}

.expertise-photo {
  flex-shrink: 0;
  width: 310px;
}

/* Approach */
.approach {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.approach-points {
  list-style: none;
  display: grid;
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.approach-points li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--color-muted);
  font-size: 1rem;
}

.approach-points li strong {
  color: var(--color-secondary);
}

.approach-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.timeline {
  display: grid;
  gap: 1.5rem;
  background: var(--color-surface);
  padding: 2.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(220, 220, 220, 0.85);
  box-shadow: var(--shadow-soft);
}

.timeline article {
  border-left: 3px solid rgba(18, 18, 18, 0.2);
  padding-left: 1.75rem;
  position: relative;
}

.timeline-step {
  position: absolute;
  left: -1.45rem;
  top: 0;
  transform: translate(-50%, 0);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.timeline article h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline article p {
  font-size: 0.98rem;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.testimonial-track {
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  display: none;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  border: 1px solid rgba(220, 220, 220, 0.75);
  box-shadow: var(--shadow-soft);
  min-height: 240px;
}

.testimonial-card.is-active {
  display: block;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-card blockquote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 3rem;
  color: rgba(0, 0, 0, 0.12);
}

.testimonial-card .attribution {
  color: var(--color-muted);
  font-weight: 600;
}

.testimonial-nav {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(18, 18, 18, 0.25);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-nav:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 1.25rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(220, 220, 220, 0.85);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-secondary);
}

.faq-item button span[aria-hidden="true"] {
  font-size: 1.6rem;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}

.faq-item.open button span[aria-hidden="true"] {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  padding: 0 1.8rem;
}

.faq-item.open .faq-panel {
  max-height: 320px;
  opacity: 1;
  padding-bottom: 1.4rem;
}

.faq-panel p {
  color: var(--color-muted);
  font-size: 0.98rem;
}

/* Contact */
.contact {
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.04) 100%);
  position: relative;
}

.contact-layout {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--radius-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-title {
  font-family: "Merriweather", serif;
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: none;
  margin-bottom: 0.4rem;
  color: var(--color-secondary);
}

.contact-info {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
  color: var(--color-secondary);
}

.contact-info a {
  color: var(--color-primary);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #ffffff;
  font-family: inherit;
  font-size: 0.96rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.18);
}

.form-footnote {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  background: #0d0d0f;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 0.8fr));
  padding: 4rem 0 3rem;
}

.brand-footer .brand-mark {
  background: rgba(255, 255, 255, 0.08);
}

.brand-footer .brand-text strong {
  color: #ffffff;
}

.brand-footer .brand-sub {
  color: rgba(255, 255, 255, 0.6);
}

.footer-copy {
  margin-top: 1.5rem;
}

.footer-quicklinks ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.footer-quicklinks a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.footer-quicklinks a:hover {
  color: #ffffff;
}

.footer-cta {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta p {
  margin: 0.8rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-meta a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1080px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-bottom: 3rem;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-photo {
    order: -1;
  }

  .hero-photo,
  .expertise-photo {
    width: min(280px, 70%);
  }

  .expertise-intro {
    flex-direction: column;
    text-align: center;
  }

  .expertise-photo {
    margin: 1.5rem auto 0;
  }

  .bio-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .conditions-row--bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .press-track {
    gap: 3rem;
    animation-duration: 26s;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(215, 222, 234, 0.9);
    box-shadow: var(--shadow-soft);
    padding: 0.5rem;
    min-width: 220px;
    display: none;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a,
  .nav-cta {
    display: block;
    width: 100%;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
  }

  .lang-toggle {
    width: 100%;
    text-align: center;
    margin-top: 0.4rem;
  }

  body.nav-open {
    overflow: hidden;
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-nav {
    order: 1;
    justify-self: center;
  }

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

  .press-track {
    gap: 2.25rem;
  }

  .press-slide {
    min-width: 180px;
  }

  .press-slide img {
    max-height: 56px;
  }
}

@media (max-width: 768px) {
  .condition-modal__dialog {
    width: min(96vw, 640px);
    padding: 2.1rem 1.5rem;
  }

  .condition-modal__body {
    padding-right: 0.25rem;
  }

  .conditions-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .condition-item button {
    width: 72px;
    height: 72px;
  }

  .condition-item button img {
    width: 56px;
    height: 56px;
  }

  .condition-modal__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 3.5rem;
  }

  .hero {
    padding-top: calc(var(--section-padding) + 1rem);
  }

  .hero-photo,
  .expertise-photo {
    width: min(240px, 75%);
  }

  .hero-photo {
    margin-top: 1.5rem;
  }

  .expertise-intro {
    text-align: center;
  }

  .expertise-photo {
    margin: 1.5rem auto 0;
  }

  .top-bar__inner {
    flex-direction: column;
    gap: 0.4rem;
  }

  .bio-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

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

  .timeline {
    padding: 1.8rem;
  }

  .timeline article {
    padding-left: 1.4rem;
  }

  .timeline-step {
    width: 34px;
    height: 34px;
    left: -1.2rem;
  }

  .contact-layout {
    padding: 2.2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .press-track {
    gap: 1.75rem;
    animation-duration: 22s;
  }

  .press-slide {
    min-width: 160px;
  }

  .press-slide img {
    max-height: 48px;
  }

  .conditions-grid {
    width: 100%;
    gap: 1.25rem;
  }

  .conditions-row {
    grid-template-columns: 1fr;
  }
}
.modal-link {
  color: #2b5d8e;
  font-weight: 600;
  text-decoration: none;
}

.modal-link:hover,
.modal-link:focus-visible {
  text-decoration: underline;
}
.philosophy-quote {
  font-size: 1.25rem;
  line-height: 1.9;
  font-style: italic;
  font-weight: 500;
  color: var(--color-secondary);
  margin: 1.8rem 0 1.6rem;
}
