:root {
  --team-paper: #fffaf2;
  --team-sand: #f3eee5;
  --team-ink: #20322d;
  --team-deep: #29423b;
  --team-aqua: #70b9b2;
  --team-aqua-pale: #e8f3f1;
  --team-line: rgba(32, 50, 45, 0.14);
}

.team-page {
  background: var(--team-paper);
}

.team-hero {
  position: relative;
  isolation: isolate;
  min-height: min(820px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.72fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: center;
  overflow: hidden;
  padding: calc(76px + clamp(66px, 9vw, 116px)) clamp(20px, 6vw, 82px) clamp(72px, 9vw, 116px);
  background:
    radial-gradient(circle at 78% 26%, rgba(112, 185, 178, 0.24), transparent 28%),
    linear-gradient(135deg, #fffaf2 0%, #f3eee5 56%, #dcece8 100%);
}

.team-hero::before,
.team-hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(63, 159, 150, 0.2);
  border-radius: 50%;
  content: "";
}

.team-hero::before {
  width: min(52vw, 720px);
  height: min(52vw, 720px);
  top: -32%;
  right: -14%;
}

.team-hero::after {
  width: min(36vw, 520px);
  height: min(36vw, 520px);
  right: 4%;
  bottom: -28%;
}

.team-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.team-hero h1 {
  max-width: 900px;
  color: var(--team-ink);
  font-size: clamp(3.2rem, 6.7vw, 7.4rem);
  line-height: 0.91;
}

.team-hero-lead {
  max-width: 700px;
  margin: 30px 0;
  color: rgba(32, 50, 45, 0.74);
  font-size: clamp(1.06rem, 1.6vw, 1.27rem);
  line-height: 1.7;
}

.team-status-pill,
.doctor-status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(63, 159, 150, 0.3);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.76);
  color: #2d7c74;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-status-pill {
  margin-top: 26px;
  padding: 10px 14px;
}

.team-status-pill::before,
.doctor-status-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--team-aqua);
  content: "";
}

.team-hero-portraits {
  position: relative;
  min-height: 540px;
}

.team-hero-portraits figure {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 8px solid rgba(255, 250, 242, 0.9);
  border-radius: 999px;
  background: var(--team-sand);
  box-shadow: 0 28px 70px rgba(32, 50, 45, 0.19);
}

.team-hero-portraits-two figure:nth-child(1) {
  z-index: 3;
  width: min(27vw, 320px);
  aspect-ratio: 4 / 5;
  top: 0;
  left: 4%;
}

.team-hero-portraits-two figure:nth-child(2) {
  z-index: 2;
  width: min(25vw, 292px);
  aspect-ratio: 4 / 5;
  right: 2%;
  bottom: 1%;
}

.team-hero-portraits img,
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-hero-portraits img {
  object-position: 50% 28%;
}

.team-notice-wrap {
  padding: 0 clamp(20px, 6vw, 82px);
  background: var(--team-paper);
}

.team-notice {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 1220px;
  margin: -34px auto 0;
  padding: 24px 28px;
  border: 1px solid rgba(63, 159, 150, 0.28);
  border-radius: 10px;
  background: rgba(232, 243, 241, 0.97);
  box-shadow: 0 20px 60px rgba(32, 50, 45, 0.1);
}

.team-notice-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--team-deep);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.team-notice strong {
  display: block;
  margin-bottom: 4px;
  color: var(--team-ink);
}

.team-notice p {
  margin: 0;
  color: rgba(32, 50, 45, 0.72);
  line-height: 1.62;
}

.team-intro,
.team-grid-section,
.team-process {
  padding: clamp(82px, 10vw, 138px) clamp(20px, 6vw, 82px);
}

.team-intro {
  background: var(--team-paper);
}

.team-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: end;
  max-width: 1220px;
  margin: 0 auto;
}

.team-intro h2,
.team-grid-heading h2,
.team-process h2,
.team-cta h2 {
  color: var(--team-ink);
}

.team-intro-copy {
  margin: 0;
  color: rgba(32, 50, 45, 0.7);
  font-size: 1.08rem;
  line-height: 1.72;
}

.team-grid-section {
  background: var(--team-sand);
}

.team-grid-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.5fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
  max-width: 1220px;
  margin: 0 auto 58px;
}

.team-grid-heading p:last-child {
  margin: 0;
  color: rgba(32, 50, 45, 0.68);
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
}

.doctor-card {
  grid-column: span 3;
  overflow: hidden;
  border: 1px solid var(--team-line);
  border-radius: 12px;
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 18px 48px rgba(32, 50, 45, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.doctor-card:nth-child(n + 3) {
  grid-column: span 2;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 66px rgba(32, 50, 45, 0.13);
}

.doctor-photo {
  position: relative;
  height: clamp(340px, 38vw, 500px);
  margin: 0;
  overflow: hidden;
  background: #e4eee9;
}

.doctor-card:nth-child(n + 3) .doctor-photo {
  height: clamp(320px, 31vw, 430px);
}

.doctor-photo img {
  object-position: 50% 25%;
  filter: saturate(0.88) contrast(0.98);
  transition: transform 520ms cubic-bezier(0.22, 0.8, 0.3, 1);
}

.doctor-card:hover .doctor-photo img {
  transform: scale(1.025);
}

.doctor-index {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(32, 50, 45, 0.86);
  color: white;
  font-family: Georgia, serif;
  backdrop-filter: blur(12px);
}

.doctor-copy {
  padding: clamp(24px, 3vw, 34px);
}

.doctor-status-label {
  padding: 7px 10px;
}

.doctor-grid-two {
  max-width: 1120px;
  gap: clamp(20px, 3vw, 34px);
}

.doctor-grid-two .doctor-card {
  grid-column: span 3;
}

.doctor-copy h3 {
  margin: 20px 0 8px;
  color: var(--team-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 500;
}

.doctor-specialty {
  min-height: 3.1em;
  margin: 0;
  color: #2e8178;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.065em;
  line-height: 1.45;
  text-transform: uppercase;
}

.doctor-fact {
  margin: 24px 0 18px;
  padding-block: 18px;
  border-block: 1px solid var(--team-line);
}

.doctor-fact strong,
.doctor-fact span {
  display: block;
}

.doctor-fact strong {
  color: var(--team-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
  font-weight: 500;
}

.doctor-fact span {
  margin-top: 7px;
  color: rgba(32, 50, 45, 0.6);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.4;
  text-transform: uppercase;
}

.doctor-experience {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 24px 0 18px;
  padding-block: 18px;
  border-block: 1px solid var(--team-line);
}

.doctor-experience strong {
  color: var(--team-ink);
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 500;
  line-height: 1;
}

.doctor-experience span {
  max-width: 120px;
  color: rgba(32, 50, 45, 0.6);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.doctor-bio {
  color: rgba(32, 50, 45, 0.72);
  line-height: 1.66;
}

.doctor-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.doctor-focus li {
  padding: 7px 10px;
  border: 1px solid var(--team-line);
  border-radius: 999px;
  background: var(--team-aqua-pale);
  color: var(--team-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.doctor-languages {
  margin: 20px 0 0;
  color: rgba(32, 50, 45, 0.58);
  font-size: 0.78rem;
}

.doctor-languages strong {
  color: var(--team-ink);
}

.doctor-profiles-section {
  padding: clamp(82px, 10vw, 138px) clamp(20px, 6vw, 82px);
  background: var(--team-sand);
}

.doctor-profile {
  max-width: 1220px;
  margin: 0 auto clamp(48px, 7vw, 92px);
  overflow: hidden;
  border: 1px solid var(--team-line);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.98);
  box-shadow: 0 24px 70px rgba(32, 50, 45, 0.08);
}

.doctor-profile:last-child {
  margin-bottom: 0;
}

.doctor-profile-header {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.78fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding: clamp(30px, 5vw, 68px);
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(232, 243, 241, 0.82));
}

.doctor-profile-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #e4eee9;
  box-shadow: 0 22px 56px rgba(32, 50, 45, 0.14);
}

.doctor-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}

.doctor-profile-kicker,
.doctor-profile-block > h3 {
  margin: 0;
  color: #2e8178;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.doctor-profile-intro h2 {
  margin: 20px 0 10px;
  color: var(--team-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.4vw, 5.35rem);
  font-weight: 500;
  line-height: 0.96;
}

.doctor-profile-specialty {
  margin: 0 0 28px;
  color: #3a706b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2.1vw, 1.65rem);
  font-style: italic;
  line-height: 1.4;
}

.doctor-profile-intro > p:not(.doctor-profile-kicker, .doctor-profile-specialty, .doctor-profile-registration) {
  margin: 0;
  color: rgba(32, 50, 45, 0.8);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.72;
}

.doctor-profile-registration {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 30px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--team-line);
  color: rgba(32, 50, 45, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.65;
  text-transform: uppercase;
}

.doctor-profile-registration span {
  width: min(120px, 16vw);
  height: 1px;
  background: var(--team-aqua);
}

.doctor-profile-block {
  padding: clamp(34px, 5vw, 62px);
  border-top: 1px solid var(--team-line);
}

.doctor-profile-block > h3 {
  margin-bottom: 30px;
}

.doctor-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 44px;
  margin: 0;
}

.doctor-timeline > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.doctor-timeline dt {
  color: #3f9f96;
  font-weight: 800;
}

.doctor-timeline dd {
  margin: 0;
  color: rgba(32, 50, 45, 0.82);
  line-height: 1.55;
}

.doctor-profile-statement {
  margin: 0 clamp(34px, 5vw, 62px) clamp(34px, 5vw, 62px);
  padding: clamp(28px, 4vw, 48px);
  border-left: 3px solid var(--team-aqua);
  background: var(--team-aqua-pale);
}

.doctor-profile-statement h3 {
  margin: 0 0 18px;
  color: var(--team-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  font-weight: 500;
}

.doctor-profile-statement p {
  margin: 0;
  color: rgba(32, 50, 45, 0.72);
  line-height: 1.72;
}

.doctor-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(34px, 6vw, 76px);
}

.doctor-domain-grid section {
  padding: 30px 0;
  border-top: 1px solid var(--team-line);
}

.doctor-domain-grid h4 {
  margin: 0 0 8px;
  color: var(--team-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 500;
}

.doctor-domain-grid p {
  margin: 0 0 18px;
  color: rgba(32, 50, 45, 0.64);
  line-height: 1.55;
}

.doctor-domain-grid ul,
.doctor-profile-columns {
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor-domain-grid li,
.doctor-profile-columns li {
  position: relative;
  padding: 6px 0 6px 23px;
  color: rgba(32, 50, 45, 0.84);
  line-height: 1.5;
}

.doctor-domain-grid li::before,
.doctor-profile-columns li::before {
  position: absolute;
  width: 10px;
  height: 1px;
  top: 1.08em;
  left: 0;
  background: var(--team-aqua);
  content: "";
}

.doctor-profile-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px clamp(34px, 6vw, 76px);
}

.doctor-profile-legal {
  margin: 0;
  padding: 26px clamp(34px, 5vw, 62px);
  border-top: 1px solid var(--team-line);
  background: rgba(232, 243, 241, 0.52);
  color: rgba(32, 50, 45, 0.62);
  font-size: 0.78rem;
  line-height: 1.65;
}

.team-process {
  background: var(--team-ink);
  color: var(--team-paper);
}

.team-process-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.team-process h2 {
  max-width: 900px;
  color: var(--team-paper);
}

.team-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.team-process-card {
  min-height: 270px;
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.team-process-card:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.team-process-card > span {
  color: var(--team-aqua);
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

.team-process-card h3 {
  margin-top: 58px;
  color: white;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.team-process-card p {
  margin: 0;
  color: rgba(255, 250, 242, 0.66);
}

.team-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(92px, 12vw, 154px) clamp(20px, 6vw, 82px);
  background: var(--team-aqua-pale);
  text-align: center;
}

.team-cta::before {
  position: absolute;
  width: 560px;
  height: 560px;
  top: -390px;
  left: 50%;
  border: 1px solid rgba(63, 159, 150, 0.24);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
  box-shadow: 0 0 0 80px rgba(63, 159, 150, 0.04), 0 0 0 160px rgba(63, 159, 150, 0.025);
}

.team-cta-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.team-cta p:not(.eyebrow) {
  max-width: 680px;
  margin: 26px auto 30px;
  color: rgba(32, 50, 45, 0.68);
}

.team-cta .hero-actions {
  justify-content: center;
}

@media (max-width: 1100px) {
  .team-hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.58fr);
  }

  .team-hero-portraits-two figure:nth-child(1) { width: min(32vw, 300px); left: 0; }
  .team-hero-portraits-two figure:nth-child(2) { width: min(29vw, 270px); }
}

@media (max-width: 900px) {
  .team-hero {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .team-hero-portraits {
    min-height: 430px;
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .team-hero-portraits-two figure:nth-child(1) { width: 250px; left: 8%; }
  .team-hero-portraits-two figure:nth-child(2) { width: 225px; right: 8%; }

  .team-intro-inner,
  .team-grid-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .doctor-card,
  .doctor-card:nth-child(n + 3) {
    grid-column: span 3;
  }

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

  .doctor-profile-header,
  .doctor-timeline,
  .doctor-domain-grid,
  .doctor-profile-columns {
    grid-template-columns: 1fr;
  }

  .doctor-profile-photo {
    width: min(100%, 520px);
  }

  .team-process-card,
  .team-process-card:first-child {
    min-height: auto;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .team-process-card h3 { margin-top: 34px; }
}

@media (max-width: 640px) {
  .team-hero {
    min-height: auto;
    gap: 28px;
    padding: 132px 18px 78px;
  }

  .team-hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.55rem);
  }

  .team-hero-portraits {
    min-height: 350px;
  }

  .team-hero-portraits figure { border-width: 5px; }
  .team-hero-portraits-two figure:nth-child(1) { width: 190px; left: 0; }
  .team-hero-portraits-two figure:nth-child(2) { width: 176px; right: 0; }

  .team-notice {
    grid-template-columns: 1fr;
    margin-top: -24px;
    padding: 22px;
  }

  .team-notice-mark { width: 34px; height: 34px; }

  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-card,
  .doctor-card:nth-child(n + 3) { grid-column: auto; }
  .doctor-photo,
  .doctor-card:nth-child(n + 3) .doctor-photo { height: min(118vw, 500px); }

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

  .doctor-profiles-section {
    padding-inline: 14px;
  }

  .doctor-profile {
    border-radius: 10px;
  }

  .doctor-profile-header,
  .doctor-profile-block {
    padding: 26px 22px;
  }

  .doctor-profile-statement {
    margin: 0 22px 26px;
    padding: 24px 20px;
  }

  .doctor-profile-legal {
    padding: 24px 22px;
  }

  .doctor-timeline > div {
    grid-template-columns: 66px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .doctor-card,
  .doctor-photo img { transition: none; }
}

/* Doctor profiles reproduce the approved source documents in full. */
