/**
 * Single team member profile (single-team.php, template-parts/team/*).
 *
 * Ported from the "Mike Lowe – Author Page v4" mockup. Every rule sits under
 * .gs-team-page .gs-team so it outranks the Elementor kit's element selectors
 * (.elementor-kit-N h2 …) and never reaches the global header or footer.
 * Tokens live on .gs-team with a --gs-tm- prefix for the same reason.
 */

body.gs-team-page { background: rgb(251, 246, 240); }

.gs-team-page .gs-team {
	--gs-tm-bg: rgb(251, 246, 240);
	--gs-tm-card: #fff;
	--gs-tm-primary: rgb(178, 88, 46);
	--gs-tm-primary-fg: #fff;
	--gs-tm-accent: #c97337;
	--gs-tm-text-high: #242424;
	--gs-tm-text-med: #4f4f4f;
	--gs-tm-text-low: #6d6d6d;
	--gs-tm-chip-bg: #fbf6ef;
	--gs-tm-chip-line: #f4e5d1;
	--gs-tm-line-soft: #e7caa0;
	--gs-tm-border: #e5ddd3;
	--gs-tm-divider: #dadada;
	--gs-tm-disabled: #ececec;
	--gs-tm-font-display: 'Russo One', sans-serif;
	--gs-tm-font-sans: 'DM Sans', system-ui, sans-serif;
	--gs-tm-shadow-e2: 0 3px 4px -2px rgba(0, 0, 0, 0.16);
	--gs-tm-shadow-e4: 0 18px 32px -8px rgba(0, 0, 0, 0.12);
	--gs-tm-shadow-hover: 0 2px 3px 0 rgba(0, 0, 0, 0.06), 0 12px 28px -6px rgba(0, 0, 0, 0.14);

	display: block;
	background: var(--gs-tm-bg);
	color: var(--gs-tm-text-high);
	font-family: var(--gs-tm-font-sans);
	font-optical-sizing: auto;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

/* Neutralise parent-theme and kit element styles inside the page. */
.gs-team-page .gs-team :where(h1, h2, h3, p, ul, ol, li, figure, details, summary) { margin: 0; padding: 0; }
.gs-team-page .gs-team :where(ul, ol) { list-style: none; }
.gs-team-page .gs-team :where(*, *::before, *::after) { box-sizing: border-box; }
.gs-team-page .gs-team :where(img) { max-width: 100%; height: auto; display: block; }
.gs-team-page .gs-team :where(b, strong) { font-weight: 600; }
.gs-team-page .gs-team :where(a) { color: inherit; }
.gs-team-page .gs-team :where(h1, h2, h3) {
	font-family: var(--gs-tm-font-display);
	font-weight: 400;
	color: var(--gs-tm-text-high);
	letter-spacing: normal;
	text-transform: none;
}

.gs-team-page .gs-tm-wrap { max-width: 1232px; margin: 0 auto; padding: 0 24px; }

/* ---------- Entrance motion (hero only) ---------- */
@keyframes gs-tm-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.gs-team-page .gs-tm-rise   { animation: gs-tm-rise 0.6s ease-out both; }
.gs-team-page .gs-tm-rise-2 { animation: gs-tm-rise 0.6s ease-out 0.1s both; }
.gs-team-page .gs-tm-rise-3 { animation: gs-tm-rise 0.6s ease-out 0.2s both; }
.gs-team-page .gs-tm-rise-4 { animation: gs-tm-rise 0.6s ease-out 0.3s both; }

/* ---------- Kicker (label + rule) ---------- */
.gs-team-page .gs-tm-kicker {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 16px; font-weight: 400; line-height: 18px; letter-spacing: 1.6px;
	text-transform: uppercase; color: var(--gs-tm-primary);
}
.gs-team-page .gs-tm-kicker::after { content: ""; width: 60px; height: 1px; background: var(--gs-tm-primary); }
.gs-team-page .gs-tm-kicker--light { color: #d2904d; }
.gs-team-page .gs-tm-kicker--light::after { background: #d2904d; }

/* ---------- Section header system ---------- */
.gs-team-page .gs-tm-block { padding: 96px 0 0; }
.gs-team-page .gs-tm-head { max-width: 600px; margin-bottom: 48px; }
.gs-team-page .gs-tm-head--wide { max-width: 750px; }
.gs-team-page .gs-tm-title { font-size: 40px; line-height: 60px; margin-top: 12px; }
.gs-team-page .gs-tm-sub { margin-top: 32px; font-size: 18px; font-weight: 300; line-height: 1.4; color: var(--gs-tm-text-low); }

/* ---------- Buttons ---------- */
.gs-team-page .gs-tm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--gs-tm-primary); color: var(--gs-tm-primary-fg);
	border: 0; border-radius: 999px; cursor: pointer;
	font-family: var(--gs-tm-font-sans); font-size: 16px; font-weight: 400; line-height: 24px;
	text-decoration: none; white-space: nowrap;
	padding: 12px 24px;
	transition: transform .15s ease-out, box-shadow .15s ease-out, background .15s ease-out, color .15s ease-out;
}
.gs-team-page .gs-tm-btn:hover,
.gs-team-page .gs-tm-btn:focus { color: var(--gs-tm-primary-fg); background: var(--gs-tm-primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(178, 88, 46, 0.35); }
.gs-team-page .gs-tm-btn img { width: 24px; height: 24px; }
.gs-team-page .gs-tm-btn--icon { padding: 12px 24px 12px 20px; }
.gs-team-page .gs-tm-btn--ghost { background: transparent; color: var(--gs-tm-primary); box-shadow: inset 0 0 0 1px var(--gs-tm-primary); }
.gs-team-page .gs-tm-btn--ghost:hover,
.gs-team-page .gs-tm-btn--ghost:focus { background: var(--gs-tm-primary); color: var(--gs-tm-primary-fg); }
.gs-team-page .gs-tm-btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- HERO ---------- */
.gs-team-page .gs-tm-hero { padding: 60px 0 28px; }
.gs-team-page .gs-tm-hero__grid { display: grid; grid-template-columns: 659px 1fr; gap: 0; align-items: center; min-height: 484px; }
.gs-team-page .gs-tm-hero__text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.gs-team-page .gs-tm-hero__name { font-size: 56px; line-height: 84px; }
.gs-team-page .gs-tm-hero__bio { font-size: 18px; font-weight: 300; line-height: 1.4; color: var(--gs-tm-text-low); }
.gs-team-page .gs-tm-hero__bio p + p { margin-top: 20px; }
.gs-team-page .gs-tm-hero__bio a { color: var(--gs-tm-primary); }
.gs-team-page .gs-tm-hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gs-team-page .gs-tm-vrule { width: 1px; height: 27px; background: var(--gs-tm-line-soft); }
.gs-team-page .gs-tm-icons { display: flex; gap: 12px; }
.gs-team-page .gs-tm-icon-btn {
	width: 48px; height: 48px; border-radius: 999px; background: var(--gs-tm-card);
	border: 1px solid var(--gs-tm-border);
	display: inline-flex; align-items: center; justify-content: center;
	transition: border-color .15s ease-out, transform .15s ease-out;
}
.gs-team-page .gs-tm-icon-btn:hover { border-color: var(--gs-tm-primary); transform: translateY(-2px); }
.gs-team-page .gs-tm-icon-btn img { width: 24px; height: 24px; }
.gs-team-page .gs-tm-icon-btn img.gs-tm-icon-btn__li { width: 20px; height: 20px; }

/* Photo card: a leaned print on the desk */
.gs-team-page .gs-tm-hero__photo-col { display: flex; justify-content: flex-end; padding-right: 42px; }
.gs-team-page .gs-tm-photo-frame { position: relative; width: 348px; height: 446px; display: flex; align-items: center; justify-content: center; }
.gs-team-page .gs-tm-photo-card {
	width: 328px; height: 431px;
	background: var(--gs-tm-card);
	border-radius: 20px;
	padding: 15px 15.5px;
	box-shadow: var(--gs-tm-shadow-e4);
	transform: rotate(2.79deg);
	transition: transform .25s ease-out, box-shadow .25s ease-out;
}
.gs-team-page .gs-tm-photo-frame:hover .gs-tm-photo-card { transform: rotate(0.5deg) translateY(-4px); box-shadow: var(--gs-tm-shadow-hover); }
.gs-team-page .gs-team img.gs-tm-photo { width: 297px; height: 371px; border-radius: 16px; object-fit: cover; background: #fff; }

/* The saloon stamp: the one brand wink */
.gs-team-page .gs-tm-stamp {
	position: absolute; left: -63px; bottom: -30px;
	width: 150px; height: 150px; border-radius: 50%;
	background: var(--gs-tm-card); box-shadow: var(--gs-tm-shadow-e4);
	transform: rotate(-12.16deg);
	pointer-events: none; z-index: 2;
}
.gs-team-page .gs-tm-stamp svg { position: absolute; inset: 0; width: 150px; height: 150px; }
.gs-team-page .gs-tm-stamp__spin { transform-origin: 75px 75px; }
.gs-team-page .gs-team .gs-tm-stamp img { position: absolute; left: 31px; top: 31px; width: 88px; height: 88px; }
.gs-team-page .gs-tm-photo-frame:hover .gs-tm-stamp__spin { animation: gs-tm-stamp-spin 14s linear infinite; }
@keyframes gs-tm-stamp-spin { to { transform: rotate(360deg); } }

/* ---------- RECEIPTS ---------- */
.gs-team-page .gs-tm-receipts { padding-top: 64px; }
.gs-team-page .gs-tm-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gs-team-page .gs-tm-num {
	background: var(--gs-tm-card); border-radius: 16px; padding: 24px 16px;
	min-height: 212px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
	transition: transform .15s ease-out, box-shadow .15s ease-out;
}
.gs-team-page .gs-tm-num:hover { transform: translateY(-3px); box-shadow: var(--gs-tm-shadow-hover); }
.gs-team-page .gs-tm-num__cap { font-size: 16px; font-weight: 400; color: var(--gs-tm-text-med); min-height: 42px; }
.gs-team-page .gs-tm-num__row { display: flex; align-items: flex-start; gap: 2px; }
.gs-team-page .gs-tm-num__val { font-size: 56px; font-weight: 400; line-height: 60px; letter-spacing: -0.01em; color: var(--gs-tm-text-high); }
.gs-team-page .gs-tm-up { width: 20px; height: 20px; border-radius: 999px; background: var(--gs-tm-primary); padding: 4px; flex: 0 0 20px; }
.gs-team-page .gs-team .gs-tm-up img { width: 12px; height: 12px; }
.gs-team-page .gs-tm-num-note { display: block; margin-top: 16px; font-size: 14px; font-weight: 300; color: var(--gs-tm-text-low); }

/* ---------- THE TRAIL (timeline slider) ---------- */
.gs-team-page .gs-tm-trail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 64px; }
.gs-team-page .gs-tm-trail__head .gs-tm-head { margin-bottom: 0; }
.gs-team-page .gs-tm-trail__nav { display: flex; gap: 20px; flex: 0 0 auto; }
.gs-team-page .gs-tm-trail__arrow {
	border: 0; cursor: pointer; padding: 10px; border-radius: 999px; background: var(--gs-tm-primary);
	display: inline-flex; line-height: 0; color: inherit; box-shadow: none;
	transition: background .15s ease-out, transform .15s ease-out;
}
.gs-team-page .gs-tm-trail__arrow:hover:not(:disabled),
.gs-team-page .gs-tm-trail__arrow:focus:not(:disabled) { background: var(--gs-tm-primary); transform: translateY(-2px); }
.gs-team-page .gs-team .gs-tm-trail__arrow img { width: 24px; height: 24px; }
.gs-team-page .gs-tm-trail__arrow:disabled { background: var(--gs-tm-disabled); cursor: default; }
.gs-team-page .gs-tm-trail__arrow:disabled img { filter: brightness(0) invert(0.75); }

/* The viewport clips sideways only, so card lift and shadows still show. */
.gs-team-page .gs-tm-trail__viewport { overflow: hidden; overflow-x: clip; overflow-y: visible; }
.gs-team-page .gs-tm-trail__row {
	--gs-tm-gap: 24px;
	display: flex; gap: var(--gs-tm-gap); align-items: flex-start;
	transition: transform .35s ease-out;
}
.gs-team-page .gs-tm-step { flex: 0 0 calc((100% - 3 * var(--gs-tm-gap)) / 4); min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.gs-team-page .gs-tm-step__node { display: flex; align-items: center; gap: 16px; }
.gs-team-page .gs-tm-step__dot {
	flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid var(--gs-tm-accent); background: transparent; transition: background .2s ease-out;
}
.gs-team-page .gs-tm-step__dash { flex: 1; height: 0; border-top: 1px dashed var(--gs-tm-line-soft); }
.gs-team-page .gs-tm-step.is-reached .gs-tm-step__dot { background: var(--gs-tm-accent); }

.gs-team-page .gs-tm-step__card {
	position: relative; overflow: hidden; cursor: pointer;
	background: var(--gs-tm-card); border: 1px solid transparent; border-radius: 12px; padding: 24px;
	display: flex; flex-direction: column; gap: 10px;
	transition: border-color .15s ease-out, transform .15s ease-out, box-shadow .15s ease-out;
}
.gs-team-page .gs-tm-step__card:hover,
.gs-team-page .gs-tm-step.is-active .gs-tm-step__card { border-color: var(--gs-tm-primary); transform: translateY(-3px); box-shadow: var(--gs-tm-shadow-hover); }
.gs-team-page .gs-tm-step__label { font-size: 12px; font-weight: 400; line-height: 16px; letter-spacing: 0.72px; text-transform: uppercase; color: var(--gs-tm-primary); position: relative; }
.gs-team-page .gs-tm-step__title { font-size: 18px; line-height: 1.25; position: relative; }
.gs-team-page .gs-tm-step__text {
	font-size: 14px; color: var(--gs-tm-text-low); position: relative;
	display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.gs-team-page .gs-tm-step__card:hover .gs-tm-step__text,
.gs-team-page .gs-tm-step.is-active .gs-tm-step__text { -webkit-line-clamp: unset; }
.gs-team-page .gs-tm-step__ghost {
	position: absolute; right: 7px; top: -4px;
	font-family: var(--gs-tm-font-display); font-size: 55.8px; line-height: 83.7px;
	background: linear-gradient(to bottom, rgba(178, 88, 46, 0.16), rgba(178, 88, 46, 0));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	pointer-events: none;
}

/* ---------- POINT OF VIEW ---------- */
.gs-team-page .gs-tm-pov { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.gs-team-page .gs-tm-pov__item {
	background: var(--gs-tm-card); border: 1px solid transparent; border-radius: 16px; padding: 32px;
	display: flex; flex-direction: column; gap: 16px;
	transition: border-color .15s ease-out, transform .15s ease-out, box-shadow .15s ease-out;
}
.gs-team-page .gs-tm-pov__item:hover { border-color: var(--gs-tm-primary); transform: translateY(-3px); box-shadow: var(--gs-tm-shadow-hover); }
.gs-team-page .gs-tm-pov__num { font-family: var(--gs-tm-font-display); font-size: 40px; line-height: 60px; color: var(--gs-tm-primary); }
.gs-team-page .gs-tm-pov__title { font-size: 24px; line-height: 1.25; margin-bottom: -8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gs-team-page .gs-tm-pov__text { font-size: 16px; font-weight: 300; color: var(--gs-tm-text-low); }

/* ---------- CAPABILITIES ---------- */
.gs-team-page .gs-tm-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 51px 24px; }
.gs-team-page .gs-tm-cap {
	background: var(--gs-tm-card); border: 1px solid transparent; border-radius: 16px; padding: 32px;
	display: flex; flex-direction: column; gap: 32px;
	transition: border-color .15s ease-out, transform .15s ease-out, box-shadow .15s ease-out;
}
.gs-team-page .gs-tm-cap:hover { border-color: var(--gs-tm-primary); transform: translateY(-3px); box-shadow: var(--gs-tm-shadow-hover); }
.gs-team-page .gs-tm-cap__title { font-size: 24px; line-height: 36px; margin-bottom: 16px; }
.gs-team-page .gs-tm-cap__text { font-size: 16px; color: var(--gs-tm-text-low); }
.gs-team-page .gs-tm-chips { display: flex; flex-wrap: wrap; gap: 16px; }
.gs-team-page .gs-tm-chip,
.gs-team-page .gs-tm-tag {
	background: var(--gs-tm-chip-bg); border: 1px solid var(--gs-tm-chip-line); border-radius: 999px;
	padding: 5px 12px; font-size: 13px; font-weight: 400; line-height: 16px; color: var(--gs-tm-primary); white-space: nowrap;
}
.gs-team-page .gs-tm-tag { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- INSIGHTS (tabs + article cards) ---------- */
.gs-team-page .gs-tm-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--gs-tm-divider); margin: -16px 0 48px; }
.gs-team-page .gs-tm-tab {
	background: none; border: 0; border-radius: 0; box-shadow: none; cursor: pointer; font-family: inherit;
	font-size: 14px; font-weight: 400; line-height: 22px; color: var(--gs-tm-text-low);
	padding: 0 4px 16px; border-bottom: 2px solid transparent; margin-bottom: -1px;
	transition: color .15s ease-out, border-color .15s ease-out;
}
.gs-team-page .gs-tm-tab:first-child { padding: 0 12px 16px; }
.gs-team-page .gs-tm-tab:hover,
.gs-team-page .gs-tm-tab:focus { background: none; color: var(--gs-tm-primary); }
.gs-team-page .gs-tm-tab[aria-selected="true"] { color: var(--gs-tm-primary); border-bottom-color: var(--gs-tm-accent); }
.gs-team-page .gs-tm-panel[hidden] { display: none; }

.gs-team-page .gs-tm-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gs-team-page .gs-team .gs-tm-card {
	background: var(--gs-tm-card); border-radius: 12px; padding: 16px;
	display: flex; flex-direction: column; gap: 16px;
	text-decoration: none; color: var(--gs-tm-text-high);
	box-shadow: var(--gs-tm-shadow-e2);
	transition: transform .15s ease-out, box-shadow .15s ease-out;
}
.gs-team-page .gs-tm-card:hover { transform: translateY(-3px); box-shadow: var(--gs-tm-shadow-hover); }
.gs-team-page .gs-tm-card__img { position: relative; height: 190px; border-radius: 12px; overflow: hidden; }
.gs-team-page .gs-team .gs-tm-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease-out; }
.gs-team-page .gs-tm-card__img::after {
	content: ""; position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}
.gs-team-page .gs-tm-card:hover .gs-tm-card__img img { transform: scale(1.04); }
.gs-team-page .gs-tm-card__img--ph { background: linear-gradient(139.82deg, rgb(51, 51, 51) 60%, rgb(178, 88, 46) 103%); display: flex; align-items: center; justify-content: center; }
.gs-team-page .gs-team .gs-tm-card__img--ph img { width: 72px; height: 72px; object-fit: contain; }
.gs-team-page .gs-tm-card__img--ph::after { opacity: 0.25; }
.gs-team-page .gs-tm-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--gs-tm-text-low); line-height: 18px; }
.gs-team-page .gs-tm-meta__when { display: inline-flex; align-items: center; gap: 8px; }
.gs-team-page .gs-team .gs-tm-meta__when img { width: 16px; height: 16px; }
.gs-team-page .gs-tm-card__title { font-family: var(--gs-tm-font-display); font-size: 18px; line-height: normal; transition: color .15s ease-out; }
.gs-team-page .gs-tm-card:hover .gs-tm-card__title { color: var(--gs-tm-primary); }
.gs-team-page .gs-tm-card__dek {
	font-size: 14px; font-weight: 300; color: var(--gs-tm-text-low); margin-top: -6px; flex: 1;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.gs-team-page .gs-tm-card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 400; line-height: 24px; color: var(--gs-tm-primary); padding: 4px 8px 4px 0; }
.gs-team-page .gs-team .gs-tm-card__more img { width: 20px; height: 20px; transition: transform .15s ease-out; }
.gs-team-page .gs-tm-card:hover .gs-tm-card__more img { transform: translateX(4px); }
.gs-team-page .gs-tm-loadmore { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- BEYOND THE WORK ---------- */
.gs-team-page .gs-tm-beyond { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.gs-team-page .gs-tm-beyond__item { position: relative; display: flex; flex-direction: column; gap: 16px; }
.gs-team-page .gs-tm-beyond__item:first-child { gap: 24px; }
.gs-team-page .gs-tm-beyond__img { height: 190px; border-radius: 12px; overflow: hidden; }
.gs-team-page .gs-team .gs-tm-beyond__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease-out; }
.gs-team-page .gs-tm-beyond__item:hover .gs-tm-beyond__img img { transform: scale(1.04); }
.gs-team-page .gs-tm-beyond__body { display: flex; flex-direction: column; gap: 16px; }
.gs-team-page .gs-tm-beyond__head { display: flex; align-items: center; gap: 12px; }
.gs-team-page .gs-tm-beyond__title { flex: 1; font-size: 24px; line-height: 30px; }
.gs-team-page .gs-tm-beyond__text { font-size: 14px; color: var(--gs-tm-text-low); line-height: 1.4; }
.gs-team-page .gs-tm-beyond__text p + p { margin-top: 8px; }
.gs-team-page .gs-tm-beyond__item:first-child .gs-tm-beyond__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gs-team-page .gs-tm-beyond__item:first-child:hover .gs-tm-beyond__text { -webkit-line-clamp: unset; }
.gs-team-page .gs-tm-beyond__text :where(b, strong) { color: var(--gs-tm-text-high); font-weight: 600; }
.gs-team-page .gs-tm-beyond__text a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--gs-tm-line-soft); transition: color .15s, border-color .15s; }
.gs-team-page .gs-tm-beyond__text a:hover { color: var(--gs-tm-primary); border-bottom-color: var(--gs-tm-primary); }
.gs-team-page .gs-tm-dash { height: 0; border-top: 1px dashed var(--gs-tm-accent); }
.gs-team-page .gs-tm-beyond__stat { display: flex; align-items: flex-end; gap: 16px; }
.gs-team-page .gs-tm-beyond__stat strong { font-family: var(--gs-tm-font-display); font-weight: 400; font-size: 24px; line-height: 36px; color: var(--gs-tm-primary); white-space: nowrap; }
.gs-team-page .gs-tm-beyond__stat span { font-size: 12px; line-height: 18px; color: var(--gs-tm-text-low); padding-bottom: 2px; white-space: nowrap; }

/* ---------- FAQ ---------- */
.gs-team-page .gs-tm-faq { background: var(--gs-tm-card); border-radius: 16px; padding: 24px; box-shadow: var(--gs-tm-shadow-e2); }
.gs-team-page .gs-tm-faq details { border-bottom: 1px solid var(--gs-tm-divider); }
.gs-team-page .gs-tm-faq details:last-child { border-bottom: none; }
.gs-team-page .gs-tm-faq summary {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 20px;
	font-size: 20px; font-weight: 500; line-height: 24px; color: var(--gs-tm-text-med);
	transition: color .15s ease-out;
}
.gs-team-page .gs-tm-faq summary::-webkit-details-marker { display: none; }
.gs-team-page .gs-tm-faq summary::marker { content: ""; }
.gs-team-page .gs-tm-faq summary:hover { color: var(--gs-tm-primary); }
.gs-team-page .gs-tm-faq__toggle { flex: 0 0 48px; width: 48px; height: 35px; display: inline-flex; align-items: center; justify-content: center; }
.gs-team-page .gs-team .gs-tm-faq__toggle img { width: 20px; height: 10.9px; transition: transform .2s ease-out; }
.gs-team-page .gs-tm-faq details[open] .gs-tm-faq__toggle img { transform: rotate(180deg); }
.gs-team-page .gs-tm-faq__body { padding: 0 88px 20px 20px; margin-top: -4px; font-size: 16px; color: var(--gs-tm-text-low); max-width: 850px; }
.gs-team-page .gs-tm-faq__body p + p { margin-top: 12px; }
.gs-team-page .gs-tm-faq__body a { color: var(--gs-tm-primary); }

/* ---------- CTA ---------- */
.gs-team-page .gs-tm-cta-section { padding: 112px 0 80px; }
.gs-team-page .gs-tm-cta {
	position: relative; overflow: hidden;
	border-radius: 20px; padding: 48px 40px 48px 48px;
	background: linear-gradient(139.82deg, rgb(51, 51, 51) 60.352%, rgb(178, 88, 46) 102.91%);
}
.gs-team-page .gs-tm-cta__content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 48px; max-width: 750px; }
.gs-team-page .gs-team .gs-tm-cta__title { font-size: 40px; line-height: 60px; color: #fff; margin-top: 12px; }
.gs-team-page .gs-tm-cta__sub { margin-top: 24px; max-width: 720px; font-size: 18px; font-weight: 300; color: #d0d0d0; }
.gs-team-page .gs-tm-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.gs-team-page .gs-tm-cta__actions .gs-tm-btn { padding: 12px 32px; }
.gs-team-page .gs-tm-cta__proof { font-size: 12px; font-weight: 400; line-height: 18px; letter-spacing: 0.96px; text-transform: uppercase; color: #b5b5b5; }
.gs-team-page .gs-tm-cta__art {
	position: absolute; top: -2.86%; right: 7.52%; bottom: -40%; left: 64.45%;
	pointer-events: none; transition: transform .5s ease-out;
}
.gs-team-page .gs-team .gs-tm-cta__art img { width: 100%; height: 100%; }
.gs-team-page .gs-tm-cta:hover .gs-tm-cta__art { transform: translateY(-10px); }

/* Grid children may shrink below their content width. */
.gs-team-page :where(.gs-tm-nums, .gs-tm-pov, .gs-tm-caps, .gs-tm-articles, .gs-tm-beyond, .gs-tm-hero__grid) > * { min-width: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
	.gs-team-page .gs-tm-hero__grid { grid-template-columns: 1fr 1fr; }
	.gs-team-page .gs-tm-hero__photo-col { padding-right: 20px; }
}
@media (max-width: 900px) {
	.gs-team-page .gs-tm-hero { padding: 32px 0 0; }
	.gs-team-page .gs-tm-hero__grid { grid-template-columns: 1fr; gap: 64px; }
	.gs-team-page .gs-tm-hero__name { font-size: 44px; line-height: 60px; }
	.gs-team-page .gs-tm-hero__photo-col { justify-content: center; padding: 0 0 40px 40px; }
	.gs-team-page .gs-tm-photo-frame { transform: scale(0.9); }
	.gs-team-page .gs-tm-stamp { left: -60px; }

	.gs-team-page .gs-tm-title,
	.gs-team-page .gs-team .gs-tm-cta__title { font-size: 32px; line-height: 44px; }
	.gs-team-page .gs-tm-nums { grid-template-columns: 1fr 1fr; gap: 16px; }
	.gs-team-page .gs-tm-num__val { font-size: 40px; line-height: 48px; }

	.gs-team-page .gs-tm-trail__head { flex-direction: column; align-items: flex-start; }
	.gs-team-page .gs-tm-trail__row { flex-direction: column; align-items: stretch; transform: none !important; }
	.gs-team-page .gs-tm-step { flex-basis: auto; }
	.gs-team-page .gs-tm-step__node { display: none; }
	.gs-team-page :where(.gs-tm-pov, .gs-tm-caps, .gs-tm-articles, .gs-tm-beyond) { grid-template-columns: 1fr; }
	.gs-team-page .gs-tm-caps { gap: 24px; }
	.gs-team-page .gs-tm-beyond { gap: 48px; }
	.gs-team-page .gs-tm-faq__body { padding-right: 20px; }
	.gs-team-page .gs-tm-cta { padding: 40px 28px 260px; }
	.gs-team-page .gs-tm-cta__art { top: auto; bottom: -120px; left: auto; right: 10px; width: 200px; height: 380px; }
}
@media (max-width: 480px) {
	.gs-team-page .gs-tm-wrap { padding: 0 16px; }
	.gs-team-page .gs-tm-vrule { display: none; }
	.gs-team-page .gs-tm-num__val { font-size: 34px; line-height: 40px; }
	.gs-team-page .gs-tm-faq { padding: 8px; }
	.gs-team-page .gs-tm-faq summary { font-size: 18px; padding: 16px 12px; }
	.gs-team-page .gs-tm-faq__body { padding: 0 12px 16px; }
	.gs-team-page .gs-tm-beyond__stat span { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
	.gs-team-page .gs-team *,
	.gs-team-page .gs-team *::before,
	.gs-team-page .gs-team *::after { transition: none !important; animation: none !important; }
}
.gs-team-page .gs-team :where(a, summary, button, [tabindex]):focus-visible { outline: 2px solid var(--gs-tm-primary); outline-offset: 3px; }
