/* Chat with the team (parts/contact/team-ring.php, assets/js/team-ring.js; Scott, 20 November 2026): the team's photos
   on a gently curved row above the form. Without JavaScript or with reduced motion, a plain row to swipe. */
.c-team { --cw: 200px; padding-top: calc(var(--header-h) + clamp(24px, 3vw, 44px)); }
.c-team__head { text-align: center; }
.c-team__head .eyebrow { margin-bottom: 10px; }
.c-team__title { margin: 0; font: 900 clamp(36px, 4.6vw, 64px)/1.02 var(--display); color: var(--white); letter-spacing: -.01em; }
.c-team__title em { font-style: normal; color: var(--green); }
.c-team__sub { margin: 14px auto 0; max-width: 52ch; color: var(--soft); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; }
.c-team__stage { position: relative; margin-top: clamp(24px, 3vw, 40px); }
.c-team__track { list-style: none; margin: 0; padding: 4px 16px 10px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.c-team__track::-webkit-scrollbar { display: none; }
.c-team__card { flex: 0 0 var(--cw); width: var(--cw); scroll-snap-align: center; }
.c-team__card figure { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #1b1450; box-shadow: var(--shadow-1); }
.c-team__card img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.c-team__card figcaption { position: absolute; inset: auto 0 0; padding: 36px 14px 12px; display: flex; flex-direction: column; gap: 2px; background: linear-gradient(180deg, rgba(2, 0, 62, 0), rgba(2, 0, 62, .85)); color: var(--white); text-align: left; }
.c-team__name { font: 700 16px/1.2 var(--sans); }
.c-team__role { font: 500 12px/1.3 var(--sans); color: rgba(255, 255, 255, .78); }
.c-team.is-ring .c-team__stage { height: calc(var(--cw) * 1.25 * 1.32); perspective: 1100px; perspective-origin: 50% 50%; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.c-team.is-ring .c-team__track { position: relative; height: 100%; display: block; overflow: visible; padding: 0; transform-style: preserve-3d; }
.c-team.is-ring .c-team__card { position: absolute; left: 0; top: 50%; margin-top: calc(var(--cw) * -.625); will-change: transform; backface-visibility: hidden; }
.c-team__toggle { position: absolute; right: 16px; bottom: 6px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(2, 0, 62, .6); color: var(--white); cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.c-team__toggle:hover, .c-team__toggle:focus-visible { opacity: 1; border-color: var(--white); }
.c-team__toggle:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.c-team__toggle .c-team__play { display: none; }
.c-team__toggle[aria-pressed="true"] .c-team__pause { display: none; }
.c-team__toggle[aria-pressed="true"] .c-team__play { display: block; }
@media (max-width: 700px) {
	.c-team { --cw: 110px; }
	.c-team__card figure { border-radius: var(--r-video); }
	.c-team__card figcaption { padding: 24px 8px 7px; }
	.c-team__name { font-size: 12px; }
	.c-team__role { display: none; }
	.c-team__toggle { width: 32px; height: 32px; right: 10px; bottom: 2px; }
}

/* On the home page (parts/home/team.php; Scott, 28 November 2026): a band of its own above the testimonials, so it
   needs no room for the header. */
.c-team--band { padding-top: 0; }
.h-team { padding: clamp(16px, 2vw, 32px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--base), #0d0a4a); overflow: hidden; }
.h-team .c-team__link { margin: 22px 0 0; text-align: center; }
.h-team .c-team__link a { color: var(--white); font: 600 15px/1.2 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.h-team .c-team__link a:hover, .h-team .c-team__link a:focus-visible { color: var(--green); }
