/* ---- 2026-10-21 — Team: photo grid + résumé pages (Moreport) ----
   Loaded on /team and /team/* after drom-trio.css, before drom-proportions.css.
   Palette as the rest of the site: light blue band #e9edf1, beige card #f3f2ea,
   dark blue #3d5a77 (.drom-band-dark supplies the patterned band), accent
   #476c8f. Nothing here depends on JS. */

.drom-team { --drom-team-serif: var(--_drom-tokens---font-serif, Georgia, "Times New Roman", serif);
  --drom-team-sans: var(--_drom-tokens---font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  --drom-team-ink: #62625e; --drom-team-body: #67655b; --drom-team-accent: #476c8f; }

/* shared type */
.drom-team-eyebrow { font-family: var(--drom-team-sans); font-size: 12px; line-height: 20px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--drom-team-body); margin: 0 0 .75rem; }
.drom-team-title { font-family: var(--drom-team-serif); font-weight: 400; color: var(--drom-team-ink); margin: 0; }
.drom-team-text { font-family: var(--drom-team-sans); font-size: .875rem; line-height: 1.3; letter-spacing: .01rem;
  color: var(--drom-team-body); margin: 0; }
.drom-team-text + .drom-team-text { margin-top: 1rem; }

.drom-team-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; font-family: var(--drom-team-sans); font-size: 12px; line-height: 12px; letter-spacing: .48px;
  text-transform: uppercase; text-decoration: none; background: var(--drom-team-accent); color: #fff;
  border: 1px solid var(--drom-team-accent); transition: background-color .2s, color .2s; }
.drom-team-btn:hover, .drom-team-btn:focus-visible { background: #3d5a77; border-color: #3d5a77; color: #fff; }
.drom-team-btn.is-outline { background: transparent; color: var(--drom-team-accent); }
.drom-team-btn.is-outline:hover, .drom-team-btn.is-outline:focus-visible { background: var(--drom-team-accent); color: #fff; }

/* Bands run edge to edge (the Webflow section carries a side margin); the
   content keeps the site gutter, so it lines up with Reviews/Journal below. */
section.drom-team.moreport-section { margin-left: 0; margin-right: 0; max-width: none; width: 100%; }
.drom-team-wrap { width: 100%; margin: 0 auto; padding-inline: var(--drom-g, 2rem); box-sizing: border-box; }

/* ---------- /team: the grid ---------- */
.drom-team-head { max-width: 600px; margin-bottom: 48px; }
.drom-team-head .drom-team-title { font-size: 54px; line-height: 1.1; margin-bottom: 1rem; }
.drom-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.drom-team-card { display: flex; flex-direction: column; height: 100%; background: #f3f2ea; border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit; }
.drom-team-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #e9edf1; margin: 0; }
.drom-team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.drom-team-card:hover .drom-team-photo img, .drom-team-card:focus-visible .drom-team-photo img { transform: scale(1.04); }
.drom-team-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--drom-team-serif); font-size: clamp(48px, 7vw, 88px); letter-spacing: .06em; color: #476c8f; }
.drom-team-initials::before { content: ""; position: absolute; inset: 0; background-image: url("/assets/brand/drom-pattern.svg");
  background-size: 50px auto; opacity: .2; }
.drom-team-card-body { display: flex; flex-direction: column; gap: .5rem; padding: 24px 28px 28px; flex: 1; }
.drom-team-card-body .drom-team-title { font-size: 1.25rem; line-height: 1.3; }
.drom-team-card-role { margin: 0; font-family: var(--drom-team-sans); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--drom-team-body); }
.drom-team-card-more { margin-top: auto; padding-top: .75rem; font-family: var(--drom-team-sans); font-size: 12px; letter-spacing: .48px;
  text-transform: uppercase; color: var(--drom-team-accent); }
.drom-team-card-more span { display: inline-block; transition: transform .2s; }
.drom-team-card:hover .drom-team-card-more span { transform: translateX(4px); }

/* ---------- /team/<name>: résumé ---------- */
/* Hero on white: the initials tile (light blue) stays visible and the short
   profiles don't run into the light blue Reviews band below. */
.drom-cv-hero-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 560px); gap: 100px; align-items: center; justify-content: center; }
.drom-cv-hero .drom-team-photo { border-radius: 12px; }
.drom-cv-back { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; font-family: var(--drom-team-sans);
  font-size: 12px; letter-spacing: .48px; text-transform: uppercase; color: var(--drom-team-accent); text-decoration: none; min-height: 44px; }
.drom-cv-back svg { width: 16px; height: 16px; }
.drom-cv-hero .drom-team-title { font-size: 54px; line-height: 1.1; }
.drom-cv-credentials { margin: .75rem 0 0; font-family: var(--drom-team-sans); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--drom-team-accent); }
.drom-cv-lede { margin: 1.5rem 0 2rem; }
.drom-cv-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Résumé text: one continuous column under the hero, no cards or bands
   (Moreport: the CV reads straight through). 800px block, left-aligned, as
   The Clinic's About. */
.drom-cv-flow { max-width: 800px; margin: 0 auto; }
/* the text starts 100px under the hero, not 200 (:is(#…) outranks the
   site-wide section padding rule) */
section.drom-cv-hero + section:is(#drom-cv-text, .moreport-section) { padding-top: 0 !important; }
.drom-cv-flow .drom-cv-flow-h { font-size: 32px; line-height: 1.2; margin: 48px 0 1rem; }

/* tablet */
@media (max-width: 991px) {
  .drom-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drom-cv-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .drom-cv-hero .drom-team-photo { max-width: 460px; }
}
/* phone */
@media (max-width: 767px) {
  .drom-team-grid { grid-template-columns: minmax(0, 1fr); }
  .drom-team-head .drom-team-title, .drom-cv-hero .drom-team-title { font-size: 40px; }
}
