/* Jedstep instructor profiles + homepage positioning */
.hero .hero-tagline-compact{font-size:clamp(1.15rem,1.55vw,1.45rem);margin:0 0 18px;line-height:1.38}
.hero .hero-promise{font-family:'Playfair Display',Georgia,serif;font-size:clamp(1.7rem,2.3vw,2.35rem);line-height:1.25;letter-spacing:-.027em;margin:0 0 16px;color:var(--deep)}
.hero .hero-promise span{display:block;color:var(--teal)}
.hero .hero-focus{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.hero .hero-focus span{display:inline-block;border:1px solid #c9dedc;background:#f0f7f5;border-radius:999px;padding:8px 12px;font-size:.76rem;font-weight:750;color:var(--deep);white-space:nowrap}
.hero .hero-buttons{margin-top:0}
.hero .hero-note{margin-top:28px}
.homepage-team .section-header,.team-profiles-section .section-header{max-width:800px}
.team-intro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.team-intro-card{display:grid;grid-template-columns:175px 1fr;gap:23px;padding:22px;background:#fff;border:1px solid #e0eae7;border-radius:20px;box-shadow:0 12px 28px rgba(13,59,67,.055);align-items:center}
.team-intro-portrait{width:175px;height:199px;overflow:hidden;border-radius:14px;background:#e6f0ed;display:flex;align-items:center;justify-content:center}
.team-intro-portrait img{width:100%;height:100%;object-fit:cover}
.team-intro-monogram,.instructor-photo-monogram{background:linear-gradient(145deg,#eff8f5,#dcebe9);color:#277482;font-family:'Playfair Display',Georgia,serif;font-weight:700;font-size:3.15rem;letter-spacing:.02em;border:1px solid #d5e5e0}
.team-role{color:#2a7a84;text-transform:uppercase;letter-spacing:.11em;font-size:.7rem;font-weight:800}
.team-intro-card h3,.instructor-main h3{font-family:'Playfair Display',Georgia,serif;color:var(--deep);line-height:1.2}
.team-intro-card h3{font-size:1.45rem;margin:9px 0}
.team-intro-card p{font-size:.9rem;line-height:1.7;margin:0;color:#59717a}
.team-intro-link{text-align:center;margin-top:27px}
.team-profiles{display:flex;flex-direction:column;gap:28px}
.instructor-card{display:grid;grid-template-columns:205px minmax(0,1fr);gap:38px;align-items:start;border:1px solid #e0eae7;background:#fff;border-radius:23px;padding:34px;box-shadow:0 10px 32px rgba(16,59,68,.055)}
.instructor-photo{width:175px;height:199px;border-radius:16px;overflow:hidden;background:#eef5f3;display:flex;align-items:center;justify-content:center}
.instructor-photo img{width:100%;height:100%;object-fit:cover}
.instructor-caption{font-size:.75rem;color:#6c8587;line-height:1.6;margin:13px 0;max-width:180px}
.instructor-main h3{font-size:clamp(1.8rem,2.5vw,2.4rem);margin:9px 0 6px}
.instructor-credentials{font-size:.9rem;font-weight:750;color:#286c79;margin:0 0 19px}
.instructor-main p:not(.instructor-credentials){color:#4b626a;font-size:.96rem;line-height:1.85;margin:0 0 15px}
.instructor-main p:last-child{margin-bottom:0}
@media(max-width:1100px){.team-intro-card{grid-template-columns:130px 1fr;gap:17px}.team-intro-portrait{width:130px;height:149px}.team-intro-monogram{font-size:2.5rem}}
@media(max-width:800px){.team-intro-grid{grid-template-columns:1fr}.team-intro-card{grid-template-columns:150px 1fr}.team-intro-portrait{width:150px;height:171px}}
@media(max-width:580px){.hero .hero-promise{font-size:1.65rem}.hero .hero-tagline-compact{font-size:1.18rem}.hero .hero-focus span{font-size:.72rem;padding:7px 9px}.team-intro-card{grid-template-columns:98px 1fr;padding:16px;gap:14px}.team-intro-portrait{width:98px;height:112px;border-radius:10px}.team-intro-monogram{font-size:2rem}.team-intro-card h3{font-size:1.23rem}.team-intro-card p{font-size:.81rem;line-height:1.55}.instructor-card{grid-template-columns:1fr;gap:18px;padding:22px}.instructor-side{display:flex;gap:16px;align-items:center}.instructor-photo{width:116px;height:132px;flex:0 0 auto}.instructor-photo-monogram{font-size:2.5rem}.instructor-caption{max-width:200px}.instructor-main p:not(.instructor-credentials){font-size:.91rem;line-height:1.75}}

/* Compact circular instructor cards — November 2026 refinement */
.homepage-team .team-intro-grid,.team-profiles-section .compact-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.homepage-team .team-intro-card,.team-profiles-section .compact-profile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:0;padding:30px 27px 32px;min-width:0}
.homepage-team .team-intro-portrait,.team-profiles-section .compact-profile .instructor-photo{width:154px;height:154px;min-width:154px;flex:0 0 154px;border-radius:50%;border:4px solid #e5f0ec;box-shadow:0 5px 17px rgba(23,70,76,.08);overflow:hidden;margin:0 auto 20px}
.homepage-team .team-intro-portrait img,.team-profiles-section .compact-profile .instructor-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%}
.homepage-team .team-intro-monogram,.team-profiles-section .instructor-photo-monogram{font-size:2.5rem}
.homepage-team .team-intro-card h3,.team-profiles-section .compact-profile h3{margin:0 0 9px}
.homepage-team .team-intro-card .team-role,.team-profiles-section .compact-profile .team-role{display:block;margin-bottom:13px;line-height:1.55}
.homepage-team .team-intro-card p,.team-profiles-section .compact-profile p{max-width:440px;margin:0 auto;font-size:.93rem;line-height:1.75;color:#526b72}
.team-profiles-section .compact-profile{box-shadow:0 9px 26px rgba(16,59,68,.055)}
@media(max-width:800px){.homepage-team .team-intro-grid,.team-profiles-section .compact-team-grid{grid-template-columns:1fr;max-width:620px;margin-inline:auto}}
@media(max-width:580px){.homepage-team .team-intro-card,.team-profiles-section .compact-profile{padding:25px 21px 28px}.homepage-team .team-intro-portrait,.team-profiles-section .compact-profile .instructor-photo{width:128px;height:128px;min-width:128px;flex-basis:128px;margin-bottom:15px}.homepage-team .team-intro-card p,.team-profiles-section .compact-profile p{font-size:.89rem;line-height:1.7}}

/* Homepage instructor portraits and names act as clear links to complete profiles. */
.homepage-team a.team-intro-card{color:inherit;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.homepage-team a.team-intro-card:hover{transform:translateY(-3px);border-color:#b9d4cf;box-shadow:0 17px 34px rgba(13,59,67,.12)}
.homepage-team a.team-intro-card:focus-visible{outline:3px solid var(--teal);outline-offset:4px}
@media(prefers-reduced-motion:reduce){.homepage-team a.team-intro-card{transition:none}.homepage-team a.team-intro-card:hover{transform:none}}
