/* ==========================================================================
   SEOGIX — redesigned inner pages (Team).
   Scoped to .sg-page. Tokens + buttons come from sg-global.css.
   ========================================================================== */

/* ---------- Scope resets + shared primitives ---------- */
.sg-page { color: var(--sg-text); font-family: var(--sg-font); }
.sg-page p, .sg-page figure { margin: 0; }
.sg-page h1, .sg-page h2, .sg-page h3 { margin: 0; font-family: var(--sg-font); }
.sg-page ul, .sg-page ol { margin: 0; padding: 0; list-style: none; }

.sg-page .sg-section { padding-block: var(--sg-section); }
.sg-page .sg-section--alt { background: var(--sg-cream-200); }
.sg-page .sg-section--flush { padding-top: 0; }

.sg-page .sg-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sg-page .sg-head--center { margin-inline: auto; text-align: center; align-items: center; }
.sg-page .sg-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sg-teal); }
.sg-page .sg-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--sg-orange); }
.sg-page .sg-dark .sg-eyebrow { color: var(--sg-teal-300); }
.sg-page .sg-h2 { font-size: var(--sg-fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: -.028em; color: var(--sg-ink); text-wrap: balance; }
.sg-page .sg-dark .sg-h2 { color: var(--sg-white); }
.sg-page .sg-accent { color: var(--sg-orange-600); }
.sg-page .sg-dark .sg-accent { color: var(--sg-orange); }

.sg-page .sg-tile {
	display: grid; place-items: center; flex: none; width: 52px; height: 52px; margin-bottom: 22px;
	border-radius: var(--sg-r-sm); background: var(--sg-teal-50); color: var(--sg-teal);
	transition: background-color .3s var(--sg-ease), color .3s var(--sg-ease);
}
.sg-page .sg-dark .sg-tile { background: rgba(255, 92, 53, .14); color: var(--sg-orange); }

.sg-page .sg-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-page .sg-skills li {
	padding: 5px 11px; border-radius: 999px;
	background: var(--sg-cream); border: 1px solid var(--sg-line-soft);
	font-size: .76rem; font-weight: 500; line-height: 1.4; color: var(--sg-text);
}
.sg-page .sg-dark .sg-skills li { background: rgba(255, 255, 255, .06); border-color: var(--sg-on-dark-line); color: var(--sg-white); }

.sg-page .sg-pill {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--sg-line);
	background: rgba(255, 255, 255, .72); box-shadow: var(--sg-shadow-sm);
	font-size: .8rem; font-weight: 500; letter-spacing: .02em; color: var(--sg-ink);
}
.sg-page .sg-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sg-orange); box-shadow: 0 0 0 4px rgba(255, 92, 53, .18); }

/* ---------- Page hero ---------- */
.sg-page .sg-phero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); text-align: center; }
.sg-page .sg-phero__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(560px 360px at 15% 20%, rgba(13, 110, 110, .14), transparent 70%),
		radial-gradient(520px 360px at 85% 70%, rgba(255, 92, 53, .12), transparent 70%);
}
.sg-page .sg-phero__bg::after {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(15, 43, 43, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 43, 43, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 10%, transparent 75%);
}
.sg-page .sg-phero__inner { display: flex; flex-direction: column; align-items: center; }
.sg-page .sg-crumbs { margin-bottom: 22px; font-size: .85rem; color: var(--sg-muted); }
.sg-page .sg-crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sg-page .sg-crumbs li { display: flex; align-items: center; gap: 8px; }
.sg-page .sg-crumbs li + li::before { content: "/"; color: var(--sg-line); }
.sg-page .sg-crumbs a { color: var(--sg-teal); text-decoration: none; font-weight: 500; }
.sg-page .sg-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sg-page .sg-phero__title {
	max-width: 16ch; margin: 22px 0 18px;
	font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4rem); font-weight: 700; line-height: 1.06; letter-spacing: -.038em;
	color: var(--sg-ink); text-wrap: balance;
}
.sg-page .sg-phero__lead { max-width: 58ch; font-size: var(--sg-fs-lead); line-height: 1.7; color: var(--sg-muted); }
.sg-page .sg-avatars {
	display: inline-flex; align-items: center; gap: 14px; margin-top: 34px;
	padding: 8px 20px 8px 10px; border-radius: 999px;
	background: rgba(255, 255, 255, .8); border: 1px solid var(--sg-line); box-shadow: var(--sg-shadow-sm);
	text-align: left;
}
.sg-page .sg-avatars__stack { display: flex; }
.sg-page .sg-avatars__stack img {
	width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 22%;
	border: 3px solid var(--sg-white); background: var(--sg-cream-200);
}
.sg-page .sg-avatars__stack img + img { margin-left: -12px; }
.sg-page .sg-avatars__text { display: flex; flex-direction: column; line-height: 1.35; }
.sg-page .sg-avatars__text strong { font-size: .92rem; font-weight: 600; color: var(--sg-ink); }
.sg-page .sg-avatars__text span { font-size: .8rem; color: var(--sg-muted); }

/* ---------- Founder: layered 3D card ---------- */
.sg-page .sg-founder-stage { perspective: 1600px; perspective-origin: 50% 30%; }
.sg-page .sg-founder {
	--rx: 2deg; --ry: -3deg; --gx: 30%; --gy: 0%;
	position: relative; z-index: 0;
	display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center;
	gap: clamp(36px, 5vw, 80px); padding: clamp(28px, 4.5vw, 64px);
	border-radius: var(--sg-r-lg);
	transform-style: preserve-3d;
	transform: rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .7s var(--sg-ease);
}
.sg-page .sg-founder.is-tilting { transition: transform .12s linear; }
/* Teal slab behind the card = visible thickness/depth */
.sg-page .sg-founder::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	background: linear-gradient(135deg, var(--sg-teal), var(--sg-deep));
	transform: translate3d(16px, 18px, -36px);
	box-shadow: 0 50px 90px -40px rgba(15, 43, 43, .6);
}
.sg-page .sg-founder__bg {
	position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
	background: linear-gradient(150deg, var(--sg-white) 0%, var(--sg-white) 55%, var(--sg-cream) 100%);
	border: 1px solid var(--sg-line-soft);
	box-shadow: inset 0 1px 0 var(--sg-white), 0 30px 60px -30px rgba(15, 43, 43, .35);
}
.sg-page .sg-founder__bg::before {
	content: ""; position: absolute; right: -12%; top: -45%; width: 620px; height: 620px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(13, 110, 110, .14), transparent);
}
.sg-page .sg-founder__bg::after {
	content: ""; position: absolute; inset: 0;
	background-image: radial-gradient(rgba(15, 43, 43, .09) 1px, transparent 1.2px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000, transparent 70%);
	mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000, transparent 70%);
}
.sg-page .sg-founder__glare {
	position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: radial-gradient(520px circle at var(--gx) var(--gy), rgba(255, 255, 255, .85), transparent 45%);
	opacity: 0; transform: translateZ(1px); transition: opacity .4s var(--sg-ease);
}
.sg-page .sg-founder.is-tilting .sg-founder__glare { opacity: .7; }

/* Photo stack */
.sg-page .sg-founder__media { position: relative; transform-style: preserve-3d; transform: translateZ(70px); }
.sg-page .sg-founder__media img {
	position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
	border-radius: var(--sg-r-md);
	box-shadow: 0 40px 70px -30px rgba(15, 43, 43, .65);
}
.sg-page .sg-founder__slab {
	position: absolute; inset: 0; border-radius: var(--sg-r-md);
	background: linear-gradient(135deg, var(--sg-orange), var(--sg-orange-700));
	transform: translate3d(18px, 18px, -40px);
}
.sg-page .sg-founder__frame {
	position: absolute; inset: -14px; border-radius: calc(var(--sg-r-md) + 8px);
	border: 2px dashed rgba(13, 110, 110, .35);
	transform: translateZ(-20px);
}
.sg-page .sg-founder__media::after {
	content: ""; position: absolute; inset: 0; border-radius: var(--sg-r-md); pointer-events: none;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .38) 48%, transparent 60%);
	background-size: 260% 100%; background-position: var(--gx) 0;
	opacity: 0; transform: translateZ(2px); transition: opacity .4s var(--sg-ease);
}
.sg-page .sg-founder.is-tilting .sg-founder__media::after { opacity: 1; }
.sg-page .sg-founder__float {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
	padding: 10px 16px 10px 10px; border-radius: 16px;
	background: rgba(255, 255, 255, .97); border: 1px solid var(--sg-line-soft);
	box-shadow: 0 24px 40px -18px rgba(15, 43, 43, .45);
	transform: translateZ(60px);
	animation: sg-founder-float 6s ease-in-out infinite;
}
.sg-page .sg-founder__float strong { display: block; font-size: .92rem; font-weight: 700; line-height: 1.2; color: var(--sg-ink); }
.sg-page .sg-founder__float small { display: block; font-size: .72rem; color: var(--sg-muted); }
.sg-page .sg-founder__float-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none; }
.sg-page .sg-founder__float--ceo { top: 22px; right: -34px; }
.sg-page .sg-founder__float--ceo .sg-founder__float-icon { background: var(--sg-deep); color: var(--sg-orange); }
.sg-page .sg-founder__float--years { bottom: 26px; left: -30px; animation-delay: -3s; }
.sg-page .sg-founder__float--years .sg-founder__float-icon { background: var(--sg-orange-700); color: var(--sg-white); }

/* Text column */
.sg-page .sg-founder__text {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
	transform-style: preserve-3d; transform: translateZ(40px);
}
.sg-page .sg-founder__name {
	font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -.04em;
	color: var(--sg-ink); white-space: nowrap;
	text-shadow: 0 1px 0 var(--sg-line-soft), 0 2px 0 var(--sg-line), 0 3px 0 var(--sg-line), 0 16px 30px rgba(15, 43, 43, .18);
}
.sg-page .sg-founder__role {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 16px 8px 12px; border-radius: 999px;
	background: var(--sg-deep); color: var(--sg-white);
	font-size: .9rem; font-weight: 600; letter-spacing: .02em;
	box-shadow: 0 14px 26px -12px rgba(15, 43, 43, .6);
}
.sg-page .sg-founder__role-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sg-orange); box-shadow: 0 0 0 4px rgba(255, 92, 53, .25); }
.sg-page .sg-founder__quote {
	position: relative; width: 100%; margin-top: 4px;
	padding: 22px 26px 22px 28px; border-radius: var(--sg-r-md);
	background: var(--sg-white); border: 1px solid var(--sg-line-soft); border-left: 4px solid var(--sg-orange);
	box-shadow: 0 24px 44px -26px rgba(15, 43, 43, .35);
	transform: translateZ(24px);
}
.sg-page .sg-founder__qmark {
	position: absolute; top: -26px; right: 18px;
	font-size: 6rem; font-weight: 700; line-height: 1; color: rgba(255, 92, 53, .28);
	pointer-events: none;
}
.sg-page .sg-founder__lead { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; color: var(--sg-ink); margin-bottom: 6px; }
.sg-page .sg-founder__bio { font-size: .98rem; line-height: 1.8; color: var(--sg-muted); }
.sg-page .sg-founder__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.sg-page .sg-founder__stats li {
	padding: 14px 16px; border-radius: var(--sg-r-sm);
	background: var(--sg-cream); border: 1px solid var(--sg-line-soft);
	transition: transform .3s var(--sg-ease), box-shadow .3s var(--sg-ease), border-color .3s var(--sg-ease);
}
.sg-page .sg-founder__stats li:hover { transform: translateY(-3px); box-shadow: var(--sg-shadow-md); border-color: rgba(13, 110, 110, .35); }
.sg-page .sg-founder__stats strong { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--sg-ink); }
.sg-page .sg-founder__stats span { display: block; margin-top: 2px; font-size: .76rem; line-height: 1.35; color: var(--sg-muted); }
.sg-page .sg-founder__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

@keyframes sg-founder-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Specialists: interactive crew showcase ---------- */
.sg-page .sg-crew-section {
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--sg-deep); color: var(--sg-on-dark);
	padding-top: var(--sg-section);
}
.sg-page .sg-crew-section__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(700px 500px at 0% 0%, rgba(13, 110, 110, .55), transparent 70%),
		radial-gradient(600px 420px at 100% 60%, rgba(255, 92, 53, .14), transparent 70%);
}
.sg-page .sg-crew-section__bg::after {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
	mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.sg-page .sg-crew-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.sg-page .sg-crew-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sg-page .sg-crew-head__count { display: flex; align-items: flex-end; gap: 12px; max-width: 12ch; font-size: .9rem; line-height: 1.35; color: var(--sg-on-dark-muted); }
.sg-page .sg-crew-head__count span {
	font-size: clamp(3.2rem, 2rem + 3.5vw, 5.5rem); font-weight: 700; line-height: .85; letter-spacing: -.05em;
	color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .4);
}

/* Card mode (mobile, or before JS) */
.sg-page .sg-crew__stage { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.sg-page .sg-crew__list { display: none; }
.sg-page .sg-crew__panel {
	display: flex; flex-direction: column; overflow: hidden;
	background: rgba(255, 255, 255, .04); border: 1px solid var(--sg-on-dark-line); border-radius: var(--sg-r-lg);
}
.sg-page .sg-crew__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sg-deep-900); }
.sg-page .sg-crew__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.sg-page .sg-crew__photo::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(15, 43, 43, 0) 45%, rgba(15, 43, 43, .85) 100%);
}
.sg-page .sg-crew__index {
	position: absolute; z-index: 1; top: 14px; right: 20px;
	font-size: clamp(3rem, 2.4rem + 2vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -.05em;
	color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85);
	text-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.sg-page .sg-crew__tag {
	position: absolute; z-index: 1; left: 18px; bottom: 18px;
	display: none; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
	background: rgba(15, 43, 43, .7); border: 1px solid rgba(255, 255, 255, .2);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	font-size: .82rem; font-weight: 600; color: var(--sg-white);
}
.sg-page .sg-crew__tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sg-orange); box-shadow: 0 0 0 4px rgba(255, 92, 53, .25); }
.sg-page .sg-crew__info { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.sg-page .sg-crew__name { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--sg-white); }
.sg-page .sg-crew__role { margin-top: 8px; font-size: .95rem; font-weight: 600; color: var(--sg-orange); }
.sg-page .sg-crew__bio { margin: 14px 0 22px; font-size: .95rem; line-height: 1.8; color: var(--sg-on-dark); }
.sg-page .sg-crew__info .sg-skills { margin-top: auto; }

.sg-page .sg-crew__cta {
	display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
	margin-top: 20px; padding: 22px; border-radius: var(--sg-r-md);
	border: 1px dashed rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .02);
}
.sg-page .sg-crew__cta p { font-size: .92rem; line-height: 1.65; color: var(--sg-on-dark); }
.sg-page .sg-crew__cta strong { color: var(--sg-white); font-weight: 600; }

/* Tabs mode (desktop, set by sg.js) */
.sg-page .sg-crew.is-tabs { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.sg-page .sg-crew.is-tabs .sg-crew__stage { display: block; position: sticky; top: calc(var(--sg-header-h) + 56px); }
.sg-page .sg-crew.is-tabs .sg-crew__panel { display: none; }
.sg-page .sg-crew.is-tabs .sg-crew__panel.is-active { display: flex; animation: sg-crew-in .5s var(--sg-ease) both; }
.sg-page .sg-crew.is-tabs .sg-crew__photo { aspect-ratio: 16 / 10; }
.sg-page .sg-crew.is-tabs .sg-crew__panel.is-active .sg-crew__photo img { animation: sg-crew-photo .8s var(--sg-ease) both; }
.sg-page .sg-crew.is-tabs .sg-crew__tag { display: inline-flex; }
.sg-page .sg-crew.is-tabs .sg-crew__role { display: none; }
.sg-page .sg-crew.is-tabs .sg-crew__info { padding: 28px 32px 32px; }
.sg-page .sg-crew.is-tabs .sg-crew__panel.is-active .sg-crew__info > * { animation: sg-crew-up .55s var(--sg-ease) both; }
.sg-page .sg-crew.is-tabs .sg-crew__panel.is-active .sg-crew__info > :nth-child(3) { animation-delay: .06s; }
.sg-page .sg-crew.is-tabs .sg-crew__panel.is-active .sg-crew__info > :nth-child(4) { animation-delay: .12s; }
.sg-page .sg-crew.is-tabs .sg-crew__list { display: flex; flex-direction: column; gap: 10px; }

.sg-page .sg-crew__tab {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
	width: 100%; min-height: 76px; padding: 12px 18px 12px 16px;
	background: rgba(255, 255, 255, .03); border: 1px solid var(--sg-on-dark-line); border-radius: var(--sg-r-md);
	font-family: var(--sg-font); text-align: left; color: var(--sg-white); cursor: pointer;
	transition: background-color .25s var(--sg-ease), border-color .25s var(--sg-ease), transform .25s var(--sg-ease);
}
.sg-page .sg-crew__tab::before {
	content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0;
	background: var(--sg-orange); transform: scaleY(0); transition: transform .3s var(--sg-ease);
}
.sg-page .sg-crew__tab:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.sg-page .sg-crew__tab[aria-selected="true"] {
	background: linear-gradient(90deg, rgba(255, 92, 53, .16), rgba(255, 255, 255, .04));
	border-color: rgba(255, 92, 53, .55); transform: translateX(-6px);
}
.sg-page .sg-crew__tab[aria-selected="true"]::before { transform: scaleY(1); }
.sg-page .sg-crew__tab-num { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--sg-on-dark-muted); font-variant-numeric: tabular-nums; }
.sg-page .sg-crew__tab-img {
	width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 24%;
	border: 2px solid rgba(255, 255, 255, .2); transition: border-color .25s var(--sg-ease);
}
.sg-page .sg-crew__tab-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.sg-page .sg-crew__tab-text strong { font-size: 1rem; font-weight: 600; color: var(--sg-white); }
.sg-page .sg-crew__tab-text span { font-size: .8rem; color: var(--sg-on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-page .sg-crew__tab-arrow { color: var(--sg-on-dark-muted); transition: transform .25s var(--sg-ease), color .25s var(--sg-ease); }
.sg-page .sg-crew__tab:hover .sg-crew__tab-arrow { transform: translateX(3px); color: var(--sg-white); }
.sg-page .sg-crew__tab[aria-selected="true"] .sg-crew__tab-num,
.sg-page .sg-crew__tab[aria-selected="true"] .sg-crew__tab-arrow { color: var(--sg-orange); }
.sg-page .sg-crew__tab[aria-selected="true"] .sg-crew__tab-img { border-color: var(--sg-orange); }

/* Skills ticker */
.sg-page .sg-ticker {
	margin-top: clamp(56px, 7vw, 96px); padding: 26px 0 30px; overflow: hidden;
	border-top: 1px solid var(--sg-on-dark-line);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sg-page .sg-ticker__track { display: flex; width: max-content; animation: sg-ticker 60s linear infinite; }
.sg-page .sg-ticker:hover .sg-ticker__track { animation-play-state: paused; }
.sg-page .sg-ticker__item {
	display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
	font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
	color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45);
}
.sg-page .sg-ticker__item:nth-child(3n + 1) { color: rgba(255, 255, 255, .9); -webkit-text-stroke: 0; }
.sg-page .sg-ticker__item::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sg-orange); flex: none; }

.sg-page .sg-section--why { padding-top: max(88px, var(--sg-section)); }

@keyframes sg-crew-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sg-crew-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes sg-crew-photo { from { clip-path: inset(0 0 100% 0 round 0); transform: scale(1.08); } to { clip-path: inset(0 0 0 0 round 0); transform: scale(1); } }
@keyframes sg-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Why this team wins ---------- */
.sg-page .sg-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sg-page .sg-why__card {
	position: relative; overflow: hidden; padding: 32px 30px;
	background: var(--sg-white); border: 1px solid var(--sg-line-soft); border-radius: var(--sg-r-md);
	transition: transform .3s var(--sg-ease), box-shadow .3s var(--sg-ease), border-color .3s var(--sg-ease);
}
.sg-page .sg-why__card:hover { transform: translateY(-4px); box-shadow: var(--sg-shadow-md); border-color: rgba(13, 110, 110, .38); }
.sg-page .sg-why__card:hover .sg-tile { background: var(--sg-teal); color: var(--sg-white); }
.sg-page .sg-why__num {
	position: absolute; top: 18px; right: 24px;
	font-size: 3.2rem; font-weight: 700; line-height: 1; letter-spacing: -.04em;
	color: var(--sg-cream-200);
}
.sg-page .sg-why__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; color: var(--sg-ink); margin-bottom: 10px; }
.sg-page .sg-why__card p { font-size: .93rem; line-height: 1.7; color: var(--sg-muted); }

.sg-page .sg-cta-band {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; align-items: center; justify-content: space-between; gap: 24px 40px;
	margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 48px);
	border-radius: var(--sg-r-lg); background: var(--sg-deep);
}
.sg-page .sg-cta-band::before {
	content: ""; position: absolute; z-index: -1; left: 30%; top: -120%;
	width: 700px; height: 500px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 92, 53, .25), transparent);
}
.sg-page .sg-cta-band__title { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.3rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; color: var(--sg-white); margin-bottom: 8px; }
.sg-page .sg-cta-band p { color: var(--sg-on-dark); line-height: 1.65; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.sg-page .sg-founder { grid-template-columns: minmax(0, 1fr); --rx: 0deg; --ry: 0deg; }
	.sg-page .sg-founder__media { width: calc(100% - 28px); max-width: 440px; }
	.sg-page .sg-founder__float--ceo { right: -14px; }
	.sg-page .sg-founder__float--years { left: -14px; }
	.sg-page .sg-why { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
}
@media (max-width: 767px) {
	.sg-page .sg-cta-band { flex-direction: column; align-items: flex-start; }
	.sg-page .sg-cta-band .sg-btn { width: 100%; white-space: normal; }
}
@media (max-width: 640px) {
	.sg-page .sg-crew-head { flex-direction: column; align-items: flex-start; }
	.sg-page .sg-avatars { flex-direction: column; border-radius: var(--sg-r-md); padding: 14px 18px; text-align: center; }
	.sg-page .sg-avatars__text { align-items: center; }
	.sg-page .sg-avatars__stack img { width: 38px; height: 38px; }
	.sg-page .sg-founder__actions { width: 100%; }
	.sg-page .sg-founder__name { white-space: normal; }
	.sg-page .sg-founder__stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sg-page .sg-founder__stats li:last-child { grid-column: 1 / -1; }
	.sg-page .sg-founder::before { transform: translate3d(8px, 10px, -36px); }
	.sg-page .sg-founder__actions .sg-btn { flex: 1 1 100%; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	.sg-page .sg-why__card, .sg-page .sg-crew__tab, .sg-page .sg-founder { transition: none; }
	.sg-page .sg-founder__float { animation: none; }
	.sg-page .sg-why__card:hover, .sg-page .sg-crew__tab[aria-selected="true"] { transform: none; }
	.sg-page .sg-ticker__track,
	.sg-page .sg-crew.is-tabs .sg-crew__panel.is-active,
	.sg-page .sg-crew.is-tabs .sg-crew__panel.is-active .sg-crew__photo img,
	.sg-page .sg-crew.is-tabs .sg-crew__panel.is-active .sg-crew__info > * { animation: none; }
}
