
/* Meet the team */
.tm-hero .hero-overlay { background: linear-gradient(180deg, rgba(35,20,22,0.05) 0%, rgba(35,20,22,0.12) 40%, rgba(20,10,12,0.72) 100%); }
.tm-hero h1, .tm-hero .hero-sub { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.tm-hero .hero-sub { max-width: 34rem; }
.tm-toggle { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .25rem; }
.tm-toggle button { font: inherit; font-weight: 700; cursor: pointer; border: 2px solid #fff; background: transparent; color: #fff; border-radius: 999px; padding: .65rem 1.4rem; transition: background .15s, color .15s, border-color .15s; }
.tm-toggle button:hover { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.tm-toggle button[aria-pressed="true"] { background: var(--raspberry); border-color: var(--raspberry); color: #fff; }
.tm-toggle button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.tm-section { position: relative; overflow: hidden; padding: 4rem 0 5.5rem; }
.tm-section::before, .tm-section::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.tm-section::before { width: 22rem; height: 22rem; background: var(--blush); opacity: .38; left: -9rem; top: -7rem; }
.tm-section::after { width: 18rem; height: 18rem; background: var(--coral); opacity: .28; right: -7rem; bottom: -6rem; }
.tm-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 25rem)); justify-content: center; gap: 2rem; }
.tm-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 1.75rem; background: #fff; padding: 2.25rem 1.75rem 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid rgba(255,82,103,.16); }
.tm-card-bg { position: absolute; inset: 0; z-index: -2; }
.tm-card-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.tm-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,247,249,.9); }
.tm-photo { width: 11rem; height: 11rem; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, var(--blush), var(--raspberry) 55%, var(--coral)); margin-bottom: 1.25rem; flex: none; }
.tm-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tm-card h2 { font-family: var(--font-head); font-size: 1.75rem; margin: 0; }
.tm-role { font-weight: 700; margin: .3rem 0 .9rem; min-height: 3em; display: flex; align-items: center; justify-content: center; }
.tm-tags { display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: .4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; min-height: 4.4rem; }
.tm-tags li { font-size: .85rem; background: rgba(255,255,255,.8); border: 1.5px solid var(--blush); border-radius: 999px; padding: .15rem .7rem; }
.tm-quote { margin: 0 0 1.5rem; font-style: italic; color: var(--muted); line-height: 1.55; }
.tm-card .tm-open { margin-top: auto; }

.tm-btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; background: var(--raspberry); color: #fff; border: 2px solid var(--raspberry); border-radius: 999px; padding: .75rem 1.5rem; transition: background .15s, color .15s, border-color .15s; }
.tm-btn:hover, .tm-btn:focus-visible { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.tm-btn:active { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.tm-btn--ghost { background: transparent; color: var(--raspberry-deep); }
.tm-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.tm-modal { border: 0; border-radius: 1.75rem; padding: 0; width: min(52rem, calc(100vw - 1.5rem)); max-height: calc(100vh - 1.5rem); overflow: auto; color: var(--ink); background: #fff; }
.tm-modal::backdrop { background: rgba(18,16,11,.6); }
.tm-modal-inner { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); }
.tm-side { position: relative; isolation: isolate; overflow: hidden; padding: 2.25rem 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tm-side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,243,245,.9); }
.tm-side .tm-card-bg { z-index: -2; }
.tm-side h2 { font-family: var(--font-head); font-size: 1.75rem; margin: 0; }
.tm-side .tm-role { min-height: 0; }
.tm-side .tm-tags { min-height: 0; }
.tm-quals { font-size: .9rem; color: var(--muted); text-align: left; margin: 0 0 1.25rem; width: 100%; }
.tm-contact { width: 100%; text-align: left; border-top: 1px solid rgba(18,16,11,.14); padding-top: 1rem; margin-top: auto; font-size: .95rem; }
.tm-contact h3 { font-family: var(--font-head); font-size: 1rem; margin: 0 0 .25rem; }
.tm-contact p { margin: 0 0 .8rem; }
.tm-ig { display: block; margin-top: .75rem; font-size: .9rem; color: var(--muted); }
.tm-ig a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--raspberry); }
.tm-main { padding: 2.5rem 2rem 2rem; }
.tm-main h3 { font-family: var(--font-head); font-size: 1.1rem; margin: 0 0 .75rem; }
.tm-main .tm-bio p { margin: 0 0 .9rem; }
.tm-know { margin-top: 1.5rem; background: var(--tint); border-radius: 1.1rem; padding: 1.1rem 1.25rem; }
.tm-know h3 { margin-bottom: .5rem; }
.tm-know dl { margin: 0; font-size: .95rem; }
.tm-know dt { font-weight: 700; margin-top: .65rem; }
.tm-know dt:first-child { margin-top: 0; }
.tm-know dd { margin: 0; }
.tm-close { position: sticky; top: .75rem; float: right; margin: .75rem .75rem 0 0; z-index: 5; font: inherit; font-weight: 700; cursor: pointer; background: #fff; color: var(--ink); border: 2px solid var(--blush); border-radius: 999px; padding: .4rem 1rem; }
.tm-close:hover { background: var(--blush); }
.tm-close:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (max-width: 720px) { .tm-modal-inner { grid-template-columns: minmax(0, 1fr); } .tm-main { padding: 1.5rem 1.25rem 1.75rem; } .tm-role, .tm-tags { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .tm-btn, .tm-toggle button { transition: none; } }
