/* GC Staff Profile — dark navy staff/coach profile band.
 * All values flow from the --gc-sp-* contract set by the widget's controls. */

.gc-sp {
	--gc-sp-section-bg-1: #1b2140;
	--gc-sp-section-bg-2: #141930;
	--gc-sp-accent: #a78bfa;
	--gc-sp-eyebrow: #A78BFA;
	--gc-sp-heading: #ffffff;
	--gc-sp-intro: rgba(226, 230, 245, 0.78);
	--gc-sp-intro-strong: #ffffff;
	--gc-sp-card-bg-1: #232a4d;
	--gc-sp-card-bg-2: #171d38;
	--gc-sp-card-band-bg: #10152b;
	--gc-sp-ctrl-bg: rgba(16, 21, 43, 0.62);
	--gc-sp-ctrl-icon: #ffffff;
	--gc-sp-dot: rgba(255, 255, 255, 0.34);
	--gc-sp-dot-active: #a78bfa;
	--gc-sp-name: #ffffff;
	--gc-sp-role: #a78bfa;
	--gc-sp-cred-bg: rgba(19, 24, 46, 0.78);
	--gc-sp-cred-border: rgba(255, 255, 255, 0.1);
	--gc-sp-cred-icon-bg: rgba(167, 139, 250, 0.16);
	--gc-sp-cred-icon: #a78bfa;
	--gc-sp-cred-title: #ffffff;
	--gc-sp-cred-sub: rgba(226, 230, 245, 0.68);
	--gc-sp-quote-bg: rgba(26, 24, 52, 0.78);
	--gc-sp-quote-text: rgba(232, 235, 250, 0.9);
	--gc-sp-quote-bar: #a78bfa;

	--gc-sp-left-w: 320px;
	--gc-sp-gap: 44px;
	--gc-sp-radius: 16px;
	--gc-sp-cred-gap: 12px;

	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: linear-gradient(160deg, var(--gc-sp-section-bg-1), var(--gc-sp-section-bg-2));
	color: var(--gc-sp-intro);
	overflow: hidden;
}

/* optional decorative watermark image */
.gc-sp__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	pointer-events: none;
	z-index: 0;
}

.gc-sp__wrap {
	position: relative;
	z-index: 1;
	max-width: var(--gc-container, 1312px);
	margin: 0 auto;
	padding: 0 24px;
}

.gc-sp__head {
	margin-bottom: 40px;
}

.gc-sp__eyebrow {
	display: block;
	font-family: var(--gc-font-body, "Inter", sans-serif);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gc-sp-eyebrow);
	margin-bottom: 10px;
}

.gc-sp__heading {
	font-family: var(--gc-font-heading, "Manrope", sans-serif);
	font-size: clamp(32px, 5vw, 58px);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--gc-sp-heading);
	margin: 0;
}

/* ---- two-column body ---- */
.gc-sp__grid {
	display: grid;
	grid-template-columns: var(--gc-sp-left-w) 1fr;
	gap: var(--gc-sp-gap);
	align-items: start;
}

/* ---- photo card ---- */
.gc-sp__card {
	border-radius: var(--gc-sp-radius);
	overflow: hidden;
	background: linear-gradient(180deg, var(--gc-sp-card-bg-1), var(--gc-sp-card-bg-2));
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.gc-sp__photo {
	position: relative;
	aspect-ratio: var(--sp-ratio, 3 / 4);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gc-sp__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--sp-pos-x, 50%) var(--sp-pos-y, 50%);
	display: block;
}

.gc-sp__slider {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.gc-sp__slides {
	display: flex;
	height: 100%;
	transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
}

.gc-sp__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 100%;
}

.gc-sp__slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--sp-pos-x, 50%) var(--sp-pos-y, 50%);
	display: block;
}

.gc-sp__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	background: var(--gc-sp-ctrl-bg);
	color: var(--gc-sp-ctrl-icon);
	cursor: pointer;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: opacity 0.25s ease, background 0.25s ease, transform 0.25s ease;
	z-index: 2;
}

.gc-sp__arrow[data-dir="prev"] { left: 10px; }
.gc-sp__arrow[data-dir="next"] { right: 10px; }

.gc-sp__arrow svg {
	width: 17px;
	height: 17px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gc-sp__arrow:hover {
	background: var(--gc-sp-dot-active);
	border-color: transparent;
}

.gc-sp__arrow:focus-visible {
	outline: 2px solid var(--gc-sp-dot-active);
	outline-offset: 2px;
	opacity: 1;
}

@media (hover: hover) {
	.gc-sp__arrow { opacity: 0; }
	.gc-sp__slider:hover .gc-sp__arrow,
	.gc-sp__slider:focus-within .gc-sp__arrow { opacity: 1; }
}

.gc-sp__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	z-index: 2;
}

.gc-sp__dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: var(--gc-radius-pill, 999px);
	background: var(--gc-sp-dot);
	cursor: pointer;
	transition: width 0.3s ease, background 0.3s ease;
}

.gc-sp__dot[aria-current="true"] {
	width: 20px;
	background: var(--gc-sp-dot-active);
}

.gc-sp__dot:focus-visible {
	outline: 2px solid var(--gc-sp-dot-active);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.gc-sp__slides { transition: none; }
	.gc-sp__dot { transition: none; }
}

.gc-sp__ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	color: rgba(226, 230, 245, 0.32);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.gc-sp__ph svg {
	width: 46px;
	height: 46px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.5;
}

.gc-sp__band {
	background: var(--gc-sp-card-band-bg);
	padding: 20px 22px;
}

.gc-sp__name {
	font-family: var(--gc-font-heading, "Manrope", sans-serif);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--gc-sp-name);
	margin: 0 0 4px;
}

.gc-sp__role {
	font-family: var(--gc-font-body, "Inter", sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gc-sp-role);
}

/* ---- right column ---- */
.gc-sp__intro {
	font-family: var(--gc-font-body, "Inter", sans-serif);
	font-size: 16px;
	line-height: 1.7;
	color: var(--gc-sp-intro);
}

.gc-sp__intro p {
	margin: 0 0 16px;
}

.gc-sp__intro p:last-child {
	margin-bottom: 0;
}

.gc-sp__intro strong,
.gc-sp__intro b {
	color: var(--gc-sp-intro-strong);
	font-weight: 700;
}

/* ---- credentials ---- */
.gc-sp__creds {
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--gc-sp-cred-gap);
}

.gc-sp__cred {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	border-radius: 12px;
	background: var(--gc-sp-cred-bg);
	border: 1px solid var(--gc-sp-cred-border);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.gc-sp__cred-ic {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--gc-sp-cred-icon-bg);
	color: var(--gc-sp-cred-icon);
	font-size: 18px;
	line-height: 1;
}

.gc-sp__cred-txt {
	min-width: 0;
}

.gc-sp__cred-title {
	font-family: var(--gc-font-body, "Inter", sans-serif);
	font-size: 15px;
	font-weight: 700;
	color: var(--gc-sp-cred-title);
	margin: 0 0 2px;
}

.gc-sp__cred-sub {
	font-size: 13px;
	line-height: 1.4;
	color: var(--gc-sp-cred-sub);
	margin: 0;
}

/* ---- quote ---- */
.gc-sp__quote {
	margin: 22px 0 0;
	padding: 18px 22px;
	border-left: 3px solid var(--gc-sp-quote-bar);
	border-radius: 0 10px 10px 0;
	background: var(--gc-sp-quote-bg);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-family: var(--gc-font-body, "Inter", sans-serif);
	font-size: 15px;
	font-style: italic;
	line-height: 1.6;
	color: var(--gc-sp-quote-text);
}

.gc-sp__quote p {
	margin: 0;
}

/* ---- responsive ---- */
@media (max-width: 820px) {
	.gc-sp__grid {
		grid-template-columns: 1fr;
	}
	.gc-sp__card {
		max-width: 360px;
	}
}

@media (max-width: 640px) {
	.gc-sp {
		--gc-sp-gap: 20px;
		--gc-sp-cred-gap: 8px;
		--gc-sp-radius: 14px;
	}
	.gc-sp__bg { display: none; }
	.gc-sp__wrap { padding: 0 20px; }
	.gc-sp__head { margin-bottom: 24px; }
	.gc-sp__eyebrow { font-size: 11px; letter-spacing: 0.04em; margin-bottom: 8px; }
	.gc-sp__heading { font-size: 1.6rem; line-height: 1.15; }
	.gc-sp__card { max-width: none; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26); }
	/* A portrait photo in a landscape frame crops a band out of the middle and takes
	   the head with it, so the frame stays taller than it is wide on a phone. Set as
	   the variable, so the widget's own ratio control still wins over it. */
	.gc-sp { --sp-ratio: 4 / 5; }
	.gc-sp__ph svg { width: 34px; height: 34px; }
	.gc-sp__arrow { width: 32px; height: 32px; }
	.gc-sp__arrow[data-dir="prev"] { left: 8px; }
	.gc-sp__arrow[data-dir="next"] { right: 8px; }
	.gc-sp__arrow svg { width: 15px; height: 15px; }
	.gc-sp__dots { bottom: 10px; gap: 6px; }
	.gc-sp__band { padding: 14px 16px; }
	.gc-sp__name { font-size: 16px; }
	.gc-sp__role { font-size: 11px; letter-spacing: 0.04em; }
	.gc-sp__intro { font-size: 15px; line-height: 1.55; }
	.gc-sp__intro p { margin-bottom: 12px; }
	.gc-sp__creds { margin-top: 18px; }
	.gc-sp__cred { padding: 12px 14px; gap: 12px; border-radius: 10px; }
	.gc-sp__cred-ic { width: 32px; height: 32px; border-radius: 8px; font-size: 15px; }
	.gc-sp__cred-title { font-size: 14px; }
	.gc-sp__cred-sub { font-size: 12.5px; }
	.gc-sp__quote { margin-top: 16px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; }
}

@media (max-width: 480px) {
	.gc-sp__wrap { padding: 0 16px; }
	.gc-sp__heading { font-size: 1.45rem; overflow-wrap: break-word; }
	.gc-sp { --sp-ratio: 4 / 5; }
	.gc-sp__cred { padding: 11px 12px; gap: 10px; }
}
