/* Team page */
.tm-eyebrow { letter-spacing: 1.5px; margin-bottom: 0; }

/* Hero */
.tm-hero { background: var(--cream); padding: 40px 0 90px; } /* top matches the homepage hero */
.tm-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 720px; grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". photo" "head photo" "rest photo" ". photo"; column-gap: 72px; row-gap: 22px; }
.tm-hero__head { grid-area: head; display: flex; flex-direction: column; gap: 22px; }
.tm-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 3.5vw, 55px); line-height: 1.236; color: var(--ink); }
.tm-hero__lead { font-size: 21px; line-height: 33px; color: var(--ink-2); }
.tm-hero__photo { grid-area: photo; width: 100%; height: 600px; object-fit: cover; border-radius: 24px; align-self: center; }
.tm-hero__rest { grid-area: rest; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.tm-checks { display: grid; gap: 18px; padding: 6px 0; }
.tm-checks li { display: flex; gap: 14px; align-items: flex-start; }
.tm-check { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; line-height: 1; }
.tm-checks div { display: flex; flex-direction: column; gap: 2px; }
.tm-checks strong { font-weight: 600; font-size: 18px; color: var(--ink); }
.tm-checks span { font-size: 17px; color: #6c6c6c; }
.tm-hero__btn { min-height: 0; padding: 18px 56px; border-radius: 12px; font-size: 17px; }

/* Note from Dr. Lenhardt */
.tm-note { background: #fff; padding: 110px 0; }
.tm-note__inner { display: grid; grid-template-columns: 560px minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: "photo ." "photo head" "photo body" "photo ."; column-gap: 90px; row-gap: 22px; }
.tm-note__photo { grid-area: photo; width: 100%; height: 640px; object-fit: cover; border-radius: 24px; align-self: center; }
.tm-note__head { grid-area: head; display: flex; flex-direction: column; gap: 22px; }
.tm-note__title { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 3vw, 46px); line-height: 1.217; color: var(--ink); }
.tm-note__body { grid-area: body; display: flex; flex-direction: column; gap: 22px; }
.tm-note__body p { font-size: 18px; line-height: 30px; }
.tm-note__sig { width: 248px; height: 51px; object-fit: contain; }
.tm-note__body .tm-note__role { font-size: 14px; line-height: normal; }

/* Care team */
.tm-care { background: var(--cream); padding: 110px 0; }
.tm-h2 { margin-top: 14px; }
.tm-care__lead { font-size: 21px; line-height: 32px; color: var(--ink-2); margin-top: 14px; }
.tm-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 560px)); justify-content: center; gap: 32px; margin-top: 56px; }
.tm-card { background: #f6f6f6; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.tm-card img { width: 100%; height: 480px; object-fit: cover; object-position: center top; background: #fff; }
.tm-card__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 8px; font-family: Poppins, var(--sans); }
.tm-card h3 { font-weight: 500; font-size: 26px; line-height: 26px; color: #071f2f; }
.tm-card__role { font-weight: 500; font-size: 12px; line-height: 18px; color: #7e7e7e; text-transform: uppercase; }
.tm-card__body p:last-child { font-size: 17px; line-height: 27px; color: #6c6c6c; }

/* Why women choose us */
.tm-why { background: #fff; padding: 110px 0; }
.tm-why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.tm-why__grid li { background: var(--cream); border-radius: 18px; padding: 36px 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.tm-why__icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.tm-why__icon img { width: 32px; height: 32px; object-fit: contain; }
.tm-why__grid h3 { font-weight: 500; font-size: 20px; line-height: 27px; }
.tm-why__grid p { font-size: 16px; line-height: 24px; color: #5a5a5a; }

@media (max-width: 1280px) {
  .tm-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 48px; }
  .tm-hero__photo { height: auto; aspect-ratio: 720 / 600; }
  .tm-note__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); column-gap: 56px; }
  .tm-note__photo { height: auto; aspect-ratio: 560 / 640; }
}
@media (max-width: 1080px) {
  .tm-hero, .tm-note, .tm-care, .tm-why { padding: 72px 0; }
  .tm-hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "photo" "rest"; row-gap: 28px; }
  .tm-hero__head { text-align: center; align-items: center; }
  .tm-hero__head .eyebrow { text-align: center; }
  .tm-hero__rest { max-width: 640px; width: 100%; margin: 0 auto; }
  .tm-note__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "photo" "body"; row-gap: 32px; }
  .tm-note__head { text-align: center; align-items: center; }
  .tm-note__head .eyebrow { text-align: center; }
  .tm-note__photo { max-width: 560px; width: 100%; margin: 0 auto; aspect-ratio: 560 / 520; }
  .tm-note__body { text-align: center; align-items: center; max-width: 720px; margin: 0 auto; }
  .tm-card img { height: auto; aspect-ratio: 560 / 480; }
  .tm-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tm-hero .container, .tm-note .container, .tm-care .container, .tm-why .container, .tm-cta .container { padding: 0 20px; }
  .tm-eyebrow { font-size: 14.6px; line-height: 20px; letter-spacing: 1.5px; }
  .tm-h2 { font-size: 33px; line-height: 44px; letter-spacing: 0; margin-top: 24px; }

  /* Hero */
  .tm-hero { padding: 36px 0 48px; }
  .tm-hero__inner { row-gap: 20px; }
  .tm-hero__head { gap: 8px; }
  .tm-hero__title { font-size: 30px; line-height: 37px; }
  .tm-hero__lead { font-size: 16px; line-height: 25px; margin-top: 12px; }
  .tm-hero__photo { aspect-ratio: auto; height: 292px; border-radius: 16px; }
  .tm-hero__rest { gap: 20px; }
  .tm-checks { gap: 16px; padding: 4px 0; }
  .tm-checks li { gap: 12px; }
  .tm-checks .tm-check { width: 22px; height: 22px; font-size: 12px; }
  .tm-checks strong { font-size: 16px; line-height: normal; }
  .tm-checks span { font-size: 15px; line-height: 22px; }
  .tm-hero__btn { width: 100%; min-height: 59.5px; padding: 0 20px; border-radius: 7.44px; font-weight: 500; font-size: 14.6px; letter-spacing: 1.68px; }

  /* Note */
  .tm-note { padding: 56px 0; }
  .tm-note__inner { row-gap: 18px; }
  .tm-note__head { gap: 18px; }
  .tm-note__title { font-size: 33px; line-height: 44px; }
  .tm-note__photo { height: 360px; aspect-ratio: auto; border-radius: 16px; }
  .tm-note__body { gap: 18px; }
  .tm-note__body p { font-size: 16px; line-height: 26px; color: var(--ink); }
  .tm-note__sig { width: 330px; max-width: 100%; height: 78px; object-fit: cover; }

  /* Care team */
  .tm-care { padding: 56px 0; }
  .tm-care__lead { font-size: 16px; line-height: 25px; margin-top: 24px; }
  .tm-cards { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
  .tm-card img { height: 340px; aspect-ratio: auto; }
  .tm-card__body { text-align: center; align-items: center; padding: 22px 22px 26px; }
  .tm-card h3 { font-size: 26px; line-height: 26px; }
  .tm-card__body p:last-child { font-size: 17px; line-height: 27px; }

  /* Why women choose us */
  .tm-why { padding: 56px 0; }
  .tm-why__grid { gap: 12px; margin-top: 24px; }
  .tm-why__grid li { min-height: 190px; padding: 22px 14px; gap: 10px; border-radius: 14px; justify-content: flex-start; }
  .tm-why__icon { width: 48px; height: 48px; }
  .tm-why__icon img { width: 24px; height: 24px; }
  .tm-why__grid h3 { font-size: 15px; line-height: 20px; }
  .tm-why__grid p { font-size: 13px; line-height: 19px; }
  .tm-desk { display: none; }

  /* CTA band (shared .cta-strip, page-scoped) */
  .tm-cta.cta-strip { background: #eaeaea; padding: 40px 0; }
  .tm-cta .cta-strip__inner { gap: 20px; justify-items: stretch; }
  .tm-cta .cta-strip__inner img { width: 100%; height: 92px; object-fit: cover; }
  .tm-cta.cta-strip p { font-size: 16px; line-height: 21px; color: var(--ink-2); }
  .tm-cta .btn { width: 100%; min-width: 0; min-height: 59.5px; border-radius: 7.44px; font-weight: 500; font-size: 17.5px; margin-top: 20px; }
}

/* Keep the check glyph white (the gray subtitle rule above also matches these spans) */
.tm-checks .tm-check { color: #fff; font-size: 13px; line-height: 1; }
@media (max-width: 640px) { .tm-checks .tm-check { font-size: 12px; } }
