/* The team page extends the homepage's existing paper, navy and blue tokens. */
.nav > a[aria-current="page"] { color: var(--brand); }
.nav > a[aria-current="page"]::after { transform: scaleX(1); }
.breadcrumbs { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 12px; padding: 25px 0 0; }
.breadcrumbs a { color: var(--muted); padding: 8px 0; }
.team-intro { padding-bottom: 76px; border-bottom: 1px solid var(--line); }
.team-intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; padding-top: 49px; }
.team-intro h1 { font-family: var(--font-display); font-size: clamp(32px, 3.75vw, 54px); font-weight: 400; line-height: 1.18; letter-spacing: -.04em; }
.team-intro h1 em { color: var(--brand); font-style: normal; }
.team-intro .kicker { font-size: 10px; letter-spacing: .13em; margin-bottom: 24px; }
.team-intro .kicker__num { font-size: 10px; }
.team-intro__lead { font-size: 22px; line-height: 1.5; letter-spacing: -.02em; margin-top: 27px; }
.team-intro__text { max-width: 46ch; font-size: 15px; color: var(--muted); margin: 17px 0 28px; }
.team-montage { min-width: 0; position: relative; background: var(--navy); color: #fff; border-radius: 26px 26px 90px 26px; padding: 30px 25px 27px; overflow: hidden; isolation: isolate; }
.team-montage::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 60% 35%, #244e78, transparent 70%); }
.team-montage__orbit { position: absolute; z-index: -1; width: 440px; height: 440px; border: 1px solid #ffffff18; border-radius: 50%; top: -60px; right: -90px; }
.team-montage__orbit::after { content: ''; position: absolute; inset: 40px; border: 1px solid #ffffff12; border-radius: 50%; }
.team-montage__label { text-transform: uppercase; letter-spacing: .18em; color: #b6cce5; font-size: 9px; text-align: center; }
.team-montage__portraits { display: flex; align-items: center; justify-content: center; gap: 11px; height: 310px; margin-top: 20px; }
.team-montage__portrait { width: 32%; flex-shrink: 0; height: 220px; border: 4px solid #ffffff14; border-radius: 12px; overflow: hidden; box-shadow: 0 16px 25px #0003; }
.team-montage__portrait picture, .team-montage__portrait img { width: 100%; height: 100%; object-fit: cover; }
.team-montage__portrait--0 { transform: translateY(22px) rotate(-7deg); }
.team-montage__portrait--1 { height: 283px; width: 40%; position: relative; z-index: 2; transform: translateY(-4px); }
.team-montage__portrait--2 { transform: translateY(22px) rotate(7deg); }
.team-montage__caption { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 16px 9px 0; border-top: 1px solid #ffffff24; }
.team-montage__caption > span { font-family: var(--font-display); font-size: 43px; line-height: 1; font-weight: 400; letter-spacing: -.08em; }
.team-montage__caption p { font-size: 12px; line-height: 1.5; color: #c6d5e7; }
.team-montage__caption svg { margin-left: auto; margin-right: 16px; color: var(--brand-2); }
.team-section { padding-top: 82px; }
.team-section__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px; }
.team-section__head h2 { font-size: clamp(26px, 3vw, 38px); }
.team-section__head > p { color: var(--muted); max-width: 41ch; font-size: 14px; }
.team-tools { margin-bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.team-tools[hidden], .doctor-card[hidden], .doctor-help[hidden] { display: none; }
.team-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.team-filter { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 99px; background: transparent; color: var(--ink-2); font: 600 13px var(--font-text); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.team-filter:hover { border-color: var(--brand); color: var(--brand); }
.team-filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.team-filter span { color: inherit; font-size: 11px; padding-left: 8px; border-left: 1px solid currentColor; }
.team-count { font-size: 12px; white-space: nowrap; color: var(--muted); }
.doctor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.doctor-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; scroll-margin-top: 100px; }
.doctor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.doctor-card__photo { aspect-ratio: 4 / 4.6; position: relative; overflow: hidden; background: var(--bg-2); }
.doctor-card__photo picture, .doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.doctor-card__photo img { transition: transform .7s var(--ease); }
.doctor-card:hover .doctor-card__photo img { transform: scale(1.025); }
.doctor-card__index { position: absolute; left: 17px; top: 17px; min-width: 32px; height: 32px; padding-inline: 6px; display: grid; place-items: center; background: var(--bg); color: var(--ink-2); border-radius: 50%; font-size: 10px; font-family: var(--font-display); }
.doctor-card__body { padding: 24px 25px 0; display: flex; flex-direction: column; flex: 1; }
.doctor-card__specialty { color: var(--brand); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .065em; margin-bottom: 12px; }
.doctor-card h3 { line-height: 1.4; letter-spacing: -.01em; }
.doctor-card h3 strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1.35vw, 19px); display: block; overflow-wrap: anywhere; }
.doctor-card h3 span { font: 600 16px/1.5 var(--font-text); display: block; margin-top: 3px; }
.doctor-card__description { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 12px; margin-bottom: 23px; }
.doctor-card__book { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; color: var(--brand-deep); border-top: 1px solid var(--line); min-height: 64px; margin-top: auto; text-decoration: none !important; }
.doctor-card__book svg { transition: transform .25s; }
.doctor-card__book:hover { color: var(--brand); }
.doctor-card__book:hover svg { transform: translateX(4px); }
.doctor-help { border-radius: var(--radius); background: var(--navy); color: #fff; padding: 36px 30px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.doctor-help__mark { width: 70px; height: 70px; display: grid; place-items: center; font-size: 36px; border: 1px solid #ffffff38; border-radius: 50%; margin-bottom: auto; }
.doctor-help .kicker { font-size: 9px; margin-top: 50px; }
.doctor-help .kicker::after { flex-basis: 24px; }
.doctor-help h3 { font-family: var(--font-display); font-size: 25px; font-weight: 400; line-height: 1.35; letter-spacing: -.035em; }
.doctor-help > p:not(.kicker) { font-size: 14px; color: #c6d5e7; margin-top: 20px; margin-bottom: 30px; }
.doctor-help .btn { font-size: 12px; padding: 16px 20px; }
.team-note { color: var(--muted); margin-top: 27px; font-size: 12px; text-align: center; }
.team-first-visit { border-top: 1px solid var(--line); background: var(--bg-2); }
.team-first-visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.team-first-visit h2 { font-size: clamp(25px, 3vw, 38px); }
.team-first-visit__steps { display: flex; flex-direction: column; gap: 26px; }
.team-first-visit__steps > div { display: grid; grid-template-columns: 30px 1fr; gap: 8px 17px; border-bottom: 1px solid var(--line-2); padding-bottom: 26px; }
.team-first-visit__steps > div:last-child { border: 0; padding-bottom: 0; }
.team-first-visit__steps span { font-size: 11px; font-family: var(--font-display); color: var(--gold); padding-top: 3px; }
.team-first-visit__steps h3 { font-weight: 700; font-size: 18px; line-height: 1.4; }
.team-first-visit__steps p { grid-column: 2; color: var(--muted); font-size: 14px; }
.team-booking-note { color: #c6d5e7; font-size: 13px; margin-top: 18px; }
.team-home-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; border-bottom: 1px solid #ffffff40; padding: 8px 0; font-size: 13px; margin-top: 30px; }
.doctors-page .field select { max-width: 100%; }
.doctors-page #selected-doctor { min-height: 23px; }
/* Keep six navigation links comfortable at intermediate desktop widths. */
@media (min-width: 941px) and (max-width: 1280px) { .header__phone { display: none; } .nav { gap: 19px; } }
@media (max-width: 1100px) { .team-intro__grid { gap: 30px; } .team-intro h1 { font-size: 39px; } .team-montage { padding-inline: 18px; } .team-montage__portraits { height: 270px; } .team-montage__portrait { height: 190px; } .team-montage__portrait--1 { height: 247px; } .doctor-card__body { padding-inline: 20px; } .doctor-card h3 strong { font-size: 16px; } }
@media (max-width: 940px) { .team-intro__grid { grid-template-columns: 1fr 1fr; gap: 30px; } .team-intro h1 { font-size: 31px; } .team-intro__lead { font-size: 19px; } .team-intro__text { font-size: 14px; } .team-intro .btn { padding-inline: 19px; font-size: 13px; } .team-montage__label { font-size: 8px; letter-spacing: .1em; } .team-montage__portraits { height: 240px; gap: 7px; } .team-montage__portrait { height: 168px; border-width: 3px; } .team-montage__portrait--1 { height: 212px; } .team-section__head { align-items: start; } .team-section__head > p { max-width: 32ch; } .team-tools { align-items: start; } .team-count { padding-top: 12px; } .doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .doctor-card h3 strong { font-size: 18px; } .team-first-visit__grid { gap: 40px; } }
@media (max-width: 720px) { .breadcrumbs { padding-top: 15px; } .team-intro { padding-bottom: 45px; } .team-intro__grid { grid-template-columns: 1fr; padding-top: 30px; gap: 35px; } .team-intro h1 { font-size: clamp(28px, 6.8vw, 46px); } .team-intro__lead { margin-top: 22px; font-size: 20px; } .team-intro__text { max-width: 52ch; } .team-intro .btn { min-height: 49px; } .team-montage { padding: 25px 30px; max-width: 500px; width: 100%; margin-inline: auto; } .team-montage__label { font-size: 9px; } .team-montage__portraits { height: 270px; } .team-montage__portrait { height: 190px; } .team-montage__portrait--1 { height: 250px; } .team-montage__caption { margin-top: 10px; } .team-section { padding-top: 55px; } .team-section__head { display: block; margin-bottom: 28px; } .team-section__head > p { max-width: none; margin-top: 18px; } .team-tools { display: block; } .team-filters { gap: 7px; } .team-filter { padding: 10px 14px; font-size: 12px; } .team-count { padding-top: 15px; } .team-first-visit__grid { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 600px) { .doctor-grid { grid-template-columns: 1fr; gap: 24px; } .doctor-card__photo { aspect-ratio: 4 / 4.4; } .doctor-card__body { padding: 24px 24px 0; } .doctor-card h3 strong { font-size: 21px; } .doctor-card h3 span { font-size: 17px; } .doctor-card__description { font-size: 14px; } .doctor-card__book { font-size: 14px; } .doctor-help { min-height: 370px; } .doctor-help .kicker { margin-top: 36px; } .doctor-help h3 { font-size: 28px; } }
@media (max-width: 360px) { .team-intro .kicker { letter-spacing: .07em; gap: 8px; font-size: 9px; } .team-montage { padding-inline: 22px; } .team-montage__portraits { height: 233px; } .team-montage__portrait { height: 160px; } .team-montage__portrait--1 { height: 211px; } .team-filter { padding-inline: 12px; } .doctor-card__body { padding-inline: 20px; } .doctor-card h3 strong { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .doctor-card:hover, .doctor-card:hover img { transform: none; } }
@media print { .team-tools, .team-montage, .doctor-card__book, #contacts, .mobile-bar { display: none; } .doctor-card { break-inside: avoid; } .doctor-card[hidden] { display: flex; } }
