/* ==========================================================================
   Gambit Product Deep Dive Block
   Product showcase: hero card (image + content) + 3 sub-cards grid.
   Matches Maximus testosterone/weight-loss/mood section pattern.
   ========================================================================== */

/* ==========================================================================
   Section
   ========================================================================== */

.gambit-pdd {
	background-color: var(--deep-charcoal);
}

.gambit-pdd.gambit-section--light {
	background-color: var(--warm-white);
}

/* ==========================================================================
   Row 1: Hero Card
   Mobile: no card, normal document flow (like Maximus mobile)
   Desktop: two-column card with gradient + overflow image
   ========================================================================== */

/* Base (mobile): column layout, no card on wrapper — card is on the image only */
.gambit-pdd__hero-card {
	display: flex;
	flex-direction: column;
	background: none;
	border-radius: 0;
	overflow: visible;
	position: relative;
	margin-bottom: 24px;
	padding: 0;
}

/* Desktop: restore card with gradient */
@media (min-width: 1100px) {
	.gambit-pdd__hero-card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		min-height: 70vh;
		border-radius: 32px;
	}

	.gambit-pdd__hero-card--dark {
		background: linear-gradient(180deg, var(--card-gradient-top, rgba(247, 245, 242, 0.06)) 0%, var(--card-gradient-bottom, rgba(196, 61, 47, 0.08)) 100%);
	}

	.gambit-pdd__hero-card--light {
		background-color: rgba(26, 26, 30, 0.06);
	}

	.gambit-pdd--img-right .gambit-pdd__hero-card {
		flex-direction: row-reverse;
	}
}

/* ==========================================================================
   Hero Image
   Mobile: full-width image in normal flow
   Desktop: 60-65% width, overflows card top
   ========================================================================== */

.gambit-pdd__hero-image {
	order: 2;
	background: linear-gradient(180deg, var(--card-gradient-top, rgba(247, 245, 242, 0.06)) 0%, var(--card-gradient-bottom, rgba(196, 61, 47, 0.08)) 100%);
	border-radius: 24px;
	overflow: visible;
}

.gambit-pdd__hero-image img {
	display: block;
	width: 100%;
	margin-top: -40px;
}

/* HGH + Bloodwork: reduce mobile overlap — placeholder images are taller */
@media (max-width: 1099px) {
	.gambit-pdd--hgh .gambit-pdd__hero-image img,
	.gambit-pdd--bloodwork .gambit-pdd__hero-image img {
		margin-top: 0;
	}
}

@media (min-width: 1100px) {
	.gambit-pdd__hero-image {
		order: unset;
		background: none;
		border-radius: 0;
		min-height: auto;
		align-items: center;
		flex: 0 0 60%;
		max-width: 60%;
		position: relative;
		top: -92px;
		margin-bottom: -92px;
	}

	.gambit-pdd__hero-image img {
		max-width: 100%;
		object-fit: contain;
		margin-top: 0;
	}
}

@media (min-width: 1400px) {
	.gambit-pdd__hero-image {
		flex: 0 0 65%;
		max-width: 65%;
		top: -120px;
		margin-bottom: -120px;
	}
}

/* ==========================================================================
   Hero Content — Text side
   Mobile: headline → CTA → image → description (via order)
   Desktop: headline → description → CTA (natural HTML order)
   ========================================================================== */

.gambit-pdd__hero-content {
	order: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 0 12px;
}

.gambit-pdd__description--mobile {
	order: 3;
	padding: 16px 0 0;
}

.gambit-pdd__description--desktop {
	display: none;
}

/* Mobile CTA: full-width Signal Red button */
/* Mobile CTA: full-width Signal Red button */
@media (max-width: 1099px) {
	.gambit-pdd__hero-content .gambit-pdd__cta {
		display: flex;
		justify-content: center;
		width: 100%;
		padding: 12px 24px;
		font-size: 14px;
		background-color: var(--signal-red);
		color: var(--warm-white);
		border-radius: 50px;
		margin: 12px 0 20px;
	}

	.gambit-pdd__hero-content .gambit-pdd__cta:hover {
		background-color: var(--signal-red-hover);
	}

	/* HGH + Bloodwork: hide CTA inside hero-content, show bottom CTA instead */
	.gambit-pdd--hgh .gambit-pdd__hero-content .gambit-pdd__cta,
	.gambit-pdd--bloodwork .gambit-pdd__hero-content .gambit-pdd__cta {
		display: none;
	}

	/* Bottom CTA — after mobile description (Maximus pattern) */
	.gambit-pdd__cta--mobile-bottom {
		display: flex;
		justify-content: center;
		order: 4;
		width: 100%;
		padding: 12px 24px;
		font-family: var(--font-heading);
		font-size: 14px;
		font-weight: 500;
		background-color: var(--signal-red);
		color: var(--warm-white) !important;
		border-radius: 50px;
		margin: 16px 0 8px;
		text-decoration: none;
		transition: background-color 0.2s var(--ease-out-expo);
	}

	.gambit-pdd__cta--mobile-bottom:hover {
		background-color: var(--signal-red-hover);
	}
}

/* Desktop: hide the mobile-bottom CTA (doubled class for specificity) */
@media (min-width: 1100px) {
	.gambit-pdd .gambit-pdd__cta--mobile-bottom {
		display: none;
	}
}

/* Desktop: restore order and spacing */
@media (min-width: 1100px) {
	.gambit-pdd__hero-content {
		order: unset;
		padding: 48px 64px 48px 0;
		gap: 20px;
	}

	.gambit-pdd--img-right .gambit-pdd__hero-content {
		padding: 48px 0 48px 64px;
	}

	.gambit-pdd__description--desktop {
		display: block;
	}

	.gambit-pdd__description--mobile {
		display: none;
	}
}

/* Headline — large like Maximus */
.gambit-pdd__headline {
	font-family: var(--font-heading);
	font-size: clamp(32px, 7vw, 40px);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 12px;
}

@media (min-width: 1100px) {
	.gambit-pdd__headline {
		font-size: clamp(36px, 4vw, 64px);
		letter-spacing: -1px;
	}
}

.gambit-pdd__hero-card--dark .gambit-pdd__headline {
	color: var(--warm-white);
}

.gambit-pdd__hero-card--light .gambit-pdd__headline {
	color: var(--deep-charcoal);
}

/* Accent emphasis in headlines — Signal Red (maps from Maximus blue) */
.gambit-pdd__headline em {
	font-family: var(--font-heading);
	font-style: italic;
	font-weight: 500;
	color: var(--signal-red);
}

/* Description — matches Maximus (32px desktop, 24px mobile) */
.gambit-pdd__description {
	font-size: clamp(18px, 3vw, 24px);
	line-height: 1.4;
	margin: 0;
	max-width: 520px;
}

@media (min-width: 1100px) {
	.gambit-pdd__description {
		font-size: clamp(22px, 2vw, 32px);
		letter-spacing: -0.5px;
	}
}

.gambit-pdd__hero-card--dark .gambit-pdd__description {
	color: var(--off-white);
	opacity: 0.8;
}

.gambit-pdd__hero-card--light .gambit-pdd__description {
	color: var(--dark-charcoal-80);
}

/* CTA — text link on mobile, Signal Red button on desktop */
.gambit-pdd__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 16px;
	text-decoration: none;
	transition: gap 0.2s var(--ease-out-expo), background-color 0.2s var(--ease-out-expo);
}

a.gambit-pdd__cta {
	color: var(--warm-white) !important;
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd__cta:hover {
		gap: 12px;
	}
}

@media (min-width: 1100px) {
	.gambit-pdd__cta {
		font-size: 14px;
		background-color: var(--signal-red);
		color: var(--warm-white);
		padding: 12px 24px;
		border-radius: 50px;
		width: fit-content;
	}

	.gambit-pdd__hero-card--dark .gambit-pdd__cta,
	.gambit-pdd__hero-card--light .gambit-pdd__cta {
		color: var(--warm-white) !important;
	}

	.gambit-pdd__cta:hover {
		background-color: var(--signal-red-hover);
		gap: 8px;
	}
}

/* ==========================================================================
   Row 2: Sub-Cards Grid
   ========================================================================== */

.gambit-pdd__subcards {
	padding-top: 16px;
}

.gambit-pdd__subcards-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 768px) {
	.gambit-pdd__subcards-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}
}

@media (min-width: 1100px) {
	.gambit-pdd__subcards-grid {
		gap: 32px;
	}
}

/* ==========================================================================
   Individual Sub-Card
   ========================================================================== */

.gambit-pdd__subcard {
	background-color: rgba(196, 61, 47, 0.08);
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
}

/* Per-section sub-card tints — match hero card gradient bottom color */
.gambit-pdd--hgh .gambit-pdd__subcard {
	background-color: rgba(42, 157, 143, 0.08);
}

.gambit-pdd--bloodwork .gambit-pdd__subcard {
	background-color: rgba(184, 115, 51, 0.08);
}

@media (min-width: 1100px) {
	.gambit-pdd__subcard {
		border-radius: 32px;
		padding: 32px;
		min-height: 520px;
	}
}

/* When parent is light (HGH), sub-cards need dark text + lighter bg */
.gambit-pdd.gambit-section--light .gambit-pdd__subcard {
	background-color: rgba(26, 26, 30, 0.06);
}

.gambit-pdd__subcard-title {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--warm-white);
	margin: 0 0 20px;
	line-height: 1.2;
	text-align: left;
}

@media (min-width: 1100px) {
	.gambit-pdd__subcard-title {
		font-size: 24px;
		letter-spacing: -0.4px;
		margin: 0 0 20px;
	}
}

.gambit-pdd__subcard-content {
	font-size: 15px;
	line-height: 1.6;
	color: var(--off-white);
	opacity: 0.85;
}

@media (min-width: 1100px) {
	.gambit-pdd__subcard-content {
		font-size: 16px;
	}
}

/* Links list in sub-cards */
.gambit-pdd__subcard-content ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gambit-pdd__subcard-content li {
	margin-bottom: 8px;
}

.gambit-pdd__subcard-content a {
	color: var(--warm-white);
	text-decoration: none;
	font-size: 15px;
	transition: color 0.2s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd__subcard-content a:hover {
		color: var(--signal-red);
	}
}


/* Clickable options — pill-style like Maximus (white pills on light bg) */
.gambit-pdd__subcard--clickable-options a {
	display: block;
	padding: 14px 20px;
	background-color: var(--warm-white-8);
	border: 1px solid var(--warm-white-10);
	border-radius: 300px;
	font-size: 14px;
	text-align: center;
	transition: background-color 0.2s var(--ease-out-expo), border-color 0.2s var(--ease-out-expo), color 0.2s var(--ease-out-expo);
}

@media (min-width: 1100px) {
	.gambit-pdd__subcard--clickable-options a {
		font-size: 16px;
		padding: 16px 24px;
	}
}

.gambit-pdd__subcard--clickable-options li {
	margin-bottom: 8px;
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd__subcard--clickable-options a:hover {
		background-color: var(--signal-red);
		border-color: var(--signal-red);
		color: var(--warm-white);
	}
}

/* Light section overrides for sub-cards */
.gambit-pdd.gambit-section--light .gambit-pdd__subcard-title {
	color: var(--deep-charcoal);
}

.gambit-pdd.gambit-section--light .gambit-pdd__subcard-content {
	color: var(--deep-charcoal);
	opacity: 0.7;
}

.gambit-pdd.gambit-section--light .gambit-pdd__subcard-content a {
	color: var(--deep-charcoal);
}

.gambit-pdd.gambit-section--light .gambit-pdd__stat-value {
	color: var(--deep-charcoal);
}

.gambit-pdd.gambit-section--light .gambit-pdd__stat-label {
	color: var(--deep-charcoal);
	opacity: 0.6;
}

.gambit-pdd.gambit-section--light .gambit-pdd__subcard--clickable-options a {
	background-color: var(--white);
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd.gambit-section--light .gambit-pdd__subcard--clickable-options a:hover {
		background-color: var(--signal-red);
		color: var(--warm-white);
	}
}

/* Light: treatment tabs — dark text, visible borders */
.gambit-pdd.gambit-section--light a.gambit-pdd__tab {
	background-color: var(--white);
	border-color: rgba(26, 26, 30, 0.15);
	color: var(--deep-charcoal) !important;
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd.gambit-section--light a.gambit-pdd__tab:hover {
		background-color: rgba(26, 26, 30, 0.08);
	}
}

/* Light: view-all button — text must be white on red bg */
.gambit-pdd.gambit-section--light .gambit-pdd__subcard-viewall {
	color: var(--warm-white) !important;
}

/* Light: bar chart — small bar needs visible bg, labels dark */
.gambit-pdd.gambit-section--light .gambit-pdd__bar--small {
	background-color: rgba(26, 26, 30, 0.15);
}

.gambit-pdd.gambit-section--light .gambit-pdd__bar-number {
	color: var(--deep-charcoal);
}

.gambit-pdd.gambit-section--light .gambit-pdd__bar--tall .gambit-pdd__bar-number {
	color: var(--warm-white);
}

.gambit-pdd.gambit-section--light .gambit-pdd__bar-caption {
	color: var(--deep-charcoal);
}

/* ==========================================================================
   Card 1: Treatment Tabs + Product Image
   ========================================================================== */

.gambit-pdd__subcard--treatment-links {
	padding-bottom: 0;
}

/* Pill tabs row — stretch full width */
.gambit-pdd__tabs {
	display: flex;
	gap: 8px;
	padding: 0 0 12px;
	width: 100%;
}

a.gambit-pdd__tab {
	flex: 1;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 8px 4px;
	background-color: var(--warm-white-8);
	border: 1px solid var(--warm-white-10);
	border-radius: 300px;
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 500;
	color: var(--off-white);
	text-decoration: none !important;
	transition: background-color 0.2s var(--ease-out-expo), color 0.2s var(--ease-out-expo);
}

@media (min-width: 1100px) {
	a.gambit-pdd__tab {
		padding: 12px 12px;
		font-size: 16px;
	}
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd__tab:hover {
		background-color: var(--warm-white-15);
		color: var(--warm-white);
	}
}

/* "View all" button — full width, Signal Red */
.gambit-pdd__subcard-viewall {
	display: block;
	text-align: center;
	padding: 8px 0;
	margin-bottom: 12px;
	background-color: var(--signal-red);
	border-radius: 300px;
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 500;
	color: var(--warm-white);
	text-decoration: none;
	transition: background-color 0.2s var(--ease-out-expo);
}

@media (min-width: 1100px) {
	.gambit-pdd__subcard-viewall {
		padding: 14px 0;
		font-size: 16px;
	}
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd__subcard-viewall:hover {
		background-color: var(--signal-red-hover);
		color: var(--warm-white);
	}
}

/* Product image — fills bottom of card */
.gambit-pdd__subcard-image {
	margin-top: auto;
}

.gambit-pdd__subcard-image img {
	width: 100%;
	display: block;
	object-fit: contain;
}

/* ==========================================================================
   Card 2: Stat + Bar Chart (fills bottom edge-to-edge)
   ========================================================================== */

.gambit-pdd__subcard--stat-visualization {
	justify-content: flex-start;
}

.gambit-pdd__stat-top {
	flex-shrink: 0;
}

/* Bar chart — height animation approach */
.gambit-pdd__bar-chart {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr auto;
	gap: 10px 10px;
	align-items: flex-end;
	margin-top: auto;
	height: 220px;
	color: var(--warm-white);
	font-family: var(--font-mono);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.13;
	text-align: center;
}

@media (min-width: 1100px) {
	.gambit-pdd__bar-chart {
		font-size: 30px;
		height: 300px;
	}
}

.gambit-pdd__bar {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	border-radius: 12px;
	overflow: hidden;
	height: 0;
	transition: height 1.2s var(--ease-out-expo);
}

.gambit-pdd__bar--small {
	background-color: var(--warm-white-15);
}

.gambit-pdd__bar--small.is-visible {
	height: 30%;
}

.gambit-pdd__bar--tall {
	background-color: var(--signal-red);
}

.gambit-pdd__bar--tall.is-visible {
	height: 100%;
}

.gambit-pdd__bar-number {
	padding-bottom: 20px;
}

.gambit-pdd__bar-caption {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 400;
	color: var(--off-white);
	opacity: 0.65;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding-top: 10px;
}

@media (min-width: 1100px) {
	.gambit-pdd__bar-caption {
		font-size: 13px;
	}
}

/* ==========================================================================
   Card 3: Clickable Options (anchored to bottom)
   ========================================================================== */

.gambit-pdd__subcard--clickable-options {
	justify-content: space-between;
}

.gambit-pdd__options-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto;
}

.gambit-pdd__options-list a {
	display: block;
	padding: 8px 16px;
	background-color: var(--warm-white-8);
	border: 1px solid var(--warm-white-10);
	border-radius: 300px;
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 500;
	color: var(--off-white);
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s var(--ease-out-expo), border-color 0.2s var(--ease-out-expo), color 0.2s var(--ease-out-expo);
}

@media (min-width: 1100px) {
	.gambit-pdd__options-list a {
		padding: 14px 20px;
		font-size: 15px;
	}
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd__options-list a:hover {
		background-color: var(--signal-red);
		border-color: var(--signal-red);
		color: var(--warm-white);
	}
}

/* "All of the above" highlighted */
.gambit-pdd__option--highlight {
	background-color: var(--signal-red) !important;
	border-color: var(--signal-red) !important;
	color: var(--warm-white) !important;
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd__option--highlight:hover {
		background-color: var(--signal-red-hover) !important;
		border-color: var(--signal-red-hover) !important;
	}
}

/* ==========================================================================
   Stat Visualization (big number)
   ========================================================================== */

.gambit-pdd__stat-block {
	text-align: left;
	padding: 8px 0;
}

.gambit-pdd__stat-value {
	display: block;
	font-family: var(--font-mono);
	font-size: clamp(48px, 8vw, 72px);
	font-weight: 400;
	color: var(--signal-red);
	line-height: 1;
	margin-bottom: 12px;
}

.gambit-pdd__stat-label {
	display: block;
	font-size: 15px;
	color: var(--off-white);
	opacity: 0.6;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* ==========================================================================
   HGH: Stacked Column — two separate cards in the middle grid column.
   ========================================================================== */

.gambit-pdd__stacked-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media (min-width: 1100px) {
	.gambit-pdd__stacked-col {
		gap: 24px;
	}

	/* Override base subcard min-height — stacked cards share the column */
	.gambit-pdd__stacked-col .gambit-pdd__subcard {
		min-height: 0;
	}
}

/* ==========================================================================
   HGH: Product Card (used for Growth Hormone + Peptides cards)
   Title at top (matches sibling card titles), med links + image below.
   ========================================================================== */

.gambit-pdd__subcard--product-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* One-line description under card title */
.gambit-pdd__product-card-desc {
	font-size: 13px;
	line-height: 1.4;
	color: var(--off-white);
	opacity: 0.65;
	margin: -12px 0 16px;
}

@media (min-width: 1100px) {
	.gambit-pdd__product-card-desc {
		font-size: 14px;
		margin: -12px 0 16px;
	}
}

.gambit-pdd__product-card-body {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	margin-top: auto;
}

.gambit-pdd__product-card-links {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gambit-pdd__product-card-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background-color: var(--warm-white-8);
	border: 1px solid var(--warm-white-10);
	border-radius: 300px;
	text-decoration: none;
	transition: background-color 0.2s var(--ease-out-expo), border-color 0.2s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd__product-card-link:hover {
		background-color: var(--warm-white-15);
		border-color: var(--warm-white-15);
	}
}

@media (min-width: 1100px) {
	.gambit-pdd__product-card-link {
		padding: 12px 18px;
	}
}

.gambit-pdd__product-card-med {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 400;
	color: var(--warm-white);
	white-space: nowrap;
}

@media (min-width: 1100px) {
	.gambit-pdd__product-card-med {
		font-size: 16px;
	}
}

.gambit-pdd__product-card-price {
	font-size: 12px;
	color: var(--signal-red);
	font-weight: 700;
	flex: 1;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (min-width: 1100px) {
	.gambit-pdd__product-card-price {
		font-size: 14px;
	}
}

.gambit-pdd__product-card-price strong {
	color: var(--signal-red);
	font-weight: 700;
}

.gambit-pdd__product-card-arrow {
	font-size: 14px;
	color: var(--signal-red);
	flex-shrink: 0;
}

/* Product image — right-aligned, contained within card */
.gambit-pdd__product-card-image {
	flex-shrink: 0;
	width: 48px;
	align-self: flex-end;
}

.gambit-pdd__product-card-image img {
	display: block;
	width: 100%;
	max-height: 80px;
	object-fit: contain;
}

@media (min-width: 1100px) {
	.gambit-pdd__product-card-image {
		width: 56px;
	}

	.gambit-pdd__product-card-image img {
		max-height: 100px;
	}
}

/* Light section overrides for product cards */
.gambit-pdd.gambit-section--light .gambit-pdd__product-card-link {
	background-color: var(--white);
	border-color: rgba(26, 26, 30, 0.12);
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd.gambit-section--light .gambit-pdd__product-card-link:hover {
		background-color: rgba(26, 26, 30, 0.06);
	}
}

.gambit-pdd.gambit-section--light .gambit-pdd__product-card-med {
	color: var(--deep-charcoal);
}

.gambit-pdd.gambit-section--light .gambit-pdd__product-card-price {
	color: var(--signal-red);
}

.gambit-pdd.gambit-section--light .gambit-pdd__product-card-price strong {
	color: var(--signal-red);
}

/* ==========================================================================
   HGH: GH Decline Chart + Stat
   Area chart showing GH levels declining by age (Corpas 1993 curve),
   animated on scroll via IntersectionObserver.
   ========================================================================== */

.gambit-pdd__subcard--gh-decline {
	justify-content: flex-start;
	position: relative;
}

/* HGH section: remove base min-height so grid rows size to
   the tallest column's natural content, not an arbitrary 520px. */
@media (min-width: 1100px) {
	.gambit-pdd--hgh .gambit-pdd__subcard {
		min-height: 0;
	}
}

/* HGH mobile: reorder so clickable options come last (matches TRT mobile order) */
@media (max-width: 767px) {
	.gambit-pdd--hgh .gambit-pdd__subcards-grid {
		display: flex;
		flex-direction: column;
	}

	.gambit-pdd--hgh .gambit-pdd__stacked-col {
		order: 1;
	}

	.gambit-pdd--hgh .gambit-pdd__subcard--clickable-options {
		order: 2;
	}

	.gambit-pdd--hgh .gambit-pdd__subcard--gh-decline {
		order: 3;
	}
}

/* Chart wrapper — y-labels left, chart+x-labels right */
.gambit-pdd__decline-chart {
	position: relative;
	display: flex;
	gap: 8px;
	margin-bottom: 0;
}

.gambit-pdd__decline-chart-inner {
	flex: 1;
	min-width: 0;
}

.gambit-pdd__decline-chart-area {
	position: relative;
	width: 100%;
	height: 160px;
	border-left: 1px solid var(--warm-white-15);
	border-bottom: 1px solid var(--warm-white-15);
	overflow: visible;
	cursor: crosshair;
}

@media (min-width: 1100px) {
	.gambit-pdd__decline-chart-area {
		height: 260px;
	}
}

.gambit-pdd__decline-svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* ── Chart draw-on animation ── */

/* Line: draws itself via stroke-dashoffset */
.gambit-pdd__decline-line {
	stroke-dasharray: 500;
	stroke-dashoffset: 500;
	transition: stroke-dashoffset 2.5s var(--ease-out-expo);
}

/* Fill: clip-path reveal left→right */
.gambit-pdd__decline-fill {
	clip-path: inset(0 100% 0 0);
	transition: clip-path 2.5s var(--ease-out-expo) 0.2s;
}

/* Interactive dot — follows mouse along the curve, visible by default at age 40 */
.gambit-pdd__decline-dot {
	position: absolute;
	width: 10px;
	height: 10px;
	background-color: var(--signal-red);
	border: 2px solid var(--warm-white);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 3;
}

/* Vertical rule — dashed line from top to bottom at dot position */
.gambit-pdd__decline-rule {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: repeating-linear-gradient(
		to bottom,
		var(--warm-white) 0,
		var(--warm-white) 3px,
		transparent 3px,
		transparent 6px
	);
	opacity: 0.15;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 1;
}

/* Persistent data readout — top-right corner of chart */
.gambit-pdd__decline-readout {
	position: absolute;
	top: 8px;
	right: 8px;
	text-align: right;
	pointer-events: none;
	z-index: 4;
}

.gambit-pdd__decline-readout-pct {
	display: block;
	font-family: var(--font-mono);
	font-size: clamp(36px, 5vw, 72px);
	font-weight: 400;
	color: var(--signal-red);
	line-height: 1;
}

/* Matches .gambit-pdd__stat-label pattern from TRT card */
.gambit-pdd__decline-readout-label {
	display: block;
	font-size: 10px;
	color: var(--off-white);
	opacity: 0.6;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-top: 6px;
	max-width: 160px;
}

@media (min-width: 768px) {
	.gambit-pdd__decline-readout-label {
		font-size: 12px;
		max-width: none;
		margin-top: 8px;
	}
}

@media (min-width: 1100px) {
	.gambit-pdd__decline-readout {
		top: 12px;
		right: 16px;
	}

	.gambit-pdd__decline-readout-label {
		font-size: 15px;
		margin-top: 12px;
	}
}

/* Visible state (triggered by IntersectionObserver) */
.gambit-pdd__subcard--gh-decline.is-visible .gambit-pdd__decline-line {
	stroke-dashoffset: 0;
}

.gambit-pdd__subcard--gh-decline.is-visible .gambit-pdd__decline-fill {
	clip-path: inset(0 0% 0 0);
}


/* X-axis labels (ages) */
.gambit-pdd__decline-labels {
	display: flex;
	justify-content: space-between;
	padding-top: 6px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--off-white);
	opacity: 0.6;
}

@media (min-width: 1100px) {
	.gambit-pdd__decline-labels {
		font-size: 12px;
	}
}

/* Y-axis labels */
.gambit-pdd__decline-y-labels {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	flex-shrink: 0;
	padding-bottom: 24px;
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--off-white);
	opacity: 0.5;
	width: 32px;
}

@media (min-width: 1100px) {
	.gambit-pdd__decline-y-labels {
		font-size: 11px;
		width: 36px;
	}
}

/* Axis labels */
.gambit-pdd__decline-axis-label {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--off-white);
	opacity: 0.45;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.gambit-pdd__decline-axis-label--x {
	text-align: right;
	padding-top: 2px;
}

/* y-axis label removed — card title + "Peak"/"50%" labels are sufficient. */

/* Explanation text below chart (replaces stat block) */
.gambit-pdd__decline-explanation {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--warm-white-10);
}

.gambit-pdd__decline-explanation p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--off-white);
	opacity: 0.75;
	margin: 0;
}

/* ==========================================================================
   Bloodwork: Card 1 — Test Categories (what we test)
   ========================================================================== */

.gambit-pdd__subcard--test-categories {
	padding-bottom: 16px;
}

.gambit-pdd__test-categories {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
	margin-bottom: 12px;
}

a.gambit-pdd__test-category,
.gambit-pdd__test-category {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	background-color: var(--warm-white-8);
	border: 1px solid var(--warm-white-10);
	border-radius: 16px;
	text-decoration: none;
	transition: background-color 0.2s var(--ease-out-expo), border-color 0.2s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd__test-category:hover {
		background-color: var(--warm-white-15);
		border-color: var(--warm-white-15);
	}
}

@media (min-width: 1100px) {
	.gambit-pdd__test-category {
		padding: 16px 20px;
	}
}

.gambit-pdd__test-category-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	color: var(--warm-white);
	opacity: 0.5;
	margin-top: 2px;
}

.gambit-pdd__test-category-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.gambit-pdd__test-category-name {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 600;
	color: var(--warm-white);
	line-height: 1.3;
}

@media (min-width: 1100px) {
	.gambit-pdd__test-category-name {
		font-size: 16px;
	}
}

.gambit-pdd__test-category-detail {
	font-size: 12px;
	color: var(--off-white);
	opacity: 0.55;
	line-height: 1.4;
}

@media (min-width: 1100px) {
	.gambit-pdd__test-category-detail {
		font-size: 13px;
	}
}

/* Bloodwork test categories: "View full panel" CTA */
.gambit-pdd__subcard--test-categories .gambit-pdd__subcard-viewall {
	margin-bottom: 0;
}

/* ==========================================================================
   Bloodwork: Card 2 — Product card with pricing (Maximus oxytocin pattern)
   ========================================================================== */

.gambit-pdd__subcard--bloodwork-product {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.gambit-pdd__bloodwork-product-top {
	flex-shrink: 0;
}

.gambit-pdd__bloodwork-product-desc {
	font-size: 14px;
	line-height: 1.5;
	color: var(--off-white);
	opacity: 0.7;
	margin: -8px 0 16px;
}

@media (min-width: 1100px) {
	.gambit-pdd__bloodwork-product-desc {
		font-size: 15px;
	}
}

/* Pricing link — all red, text underlined, arrow not underlined */
.gambit-pdd__bloodwork-product-pricing {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 500;
	color: var(--signal-red);
	text-decoration: none;
	transition: opacity 0.2s var(--ease-out-expo);
}

.gambit-pdd__bloodwork-product-pricing > span:first-child {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (min-width: 1100px) {
	.gambit-pdd__bloodwork-product-pricing {
		font-size: 16px;
	}
}

.gambit-pdd__bloodwork-pricing-arrow {
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.gambit-pdd__bloodwork-product-pricing:hover {
		opacity: 0.8;
	}
}

/* Pricing below the report — anchored at bottom-left of card */
.gambit-pdd__bloodwork-product-visual .gambit-pdd__bloodwork-product-pricing {
	padding: 20px 0 8px;
}

@media (min-width: 1100px) {
	.gambit-pdd__bloodwork-product-visual .gambit-pdd__bloodwork-product-pricing {
		padding: 24px 0 0;
	}
}

/* Visual section — report mockup */
.gambit-pdd__bloodwork-product-visual {
	margin-top: auto;
	display: flex;
	flex-direction: column;
}

/* Report mockup — data visualization card */
.gambit-pdd__bloodwork-report {
	background: linear-gradient(180deg, rgba(42, 157, 143, 0.12) 0%, rgba(184, 115, 51, 0.08) 100%);
	border-radius: 16px;
	padding: 16px;
}

@media (min-width: 1100px) {
	.gambit-pdd__bloodwork-report {
		padding: 20px 24px;
		border-radius: 20px;
	}
}

.gambit-pdd__report-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.gambit-pdd__report-badge {
	font-family: var(--font-heading);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--clinical-teal);
	background-color: rgba(42, 157, 143, 0.15);
	padding: 4px 10px;
	border-radius: 300px;
}

@media (min-width: 1100px) {
	.gambit-pdd__report-badge {
		font-size: 12px;
		padding: 5px 12px;
	}
}

.gambit-pdd__report-count {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--warm-white);
	letter-spacing: 0.02em;
}

@media (min-width: 1100px) {
	.gambit-pdd__report-count {
		font-size: 14px;
	}
}

/* Report rows — biomarker readout lines */
.gambit-pdd__report-rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

@media (min-width: 1100px) {
	.gambit-pdd__report-rows {
		gap: 16px;
	}
}

.gambit-pdd__report-row {
	display: grid;
	grid-template-columns: minmax(90px, auto) 1fr 36px;
	align-items: center;
	gap: 10px;
}

@media (min-width: 1100px) {
	.gambit-pdd__report-row {
		grid-template-columns: minmax(110px, auto) 1fr 40px;
		gap: 12px;
	}
}

.gambit-pdd__report-marker {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--off-white);
	opacity: 0.7;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (min-width: 1100px) {
	.gambit-pdd__report-marker {
		font-size: 12px;
	}
}

.gambit-pdd__report-bar {
	height: 8px;
	border-radius: 4px;
	transition: width 1.2s var(--ease-out-expo);
}

@media (min-width: 1100px) {
	.gambit-pdd__report-bar {
		height: 10px;
		border-radius: 5px;
	}
}

.gambit-pdd__report-bar--green {
	background-color: var(--status-green);
}

.gambit-pdd__report-bar--amber {
	background-color: var(--status-amber);
}

.gambit-pdd__report-bar--red {
	background-color: var(--status-red);
}

.gambit-pdd__report-value {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	color: var(--off-white);
	text-align: right;
}

@media (min-width: 1100px) {
	.gambit-pdd__report-value {
		font-size: 13px;
	}
}

/* Report bar scroll animation — start at 0, animate to inline width */
.gambit-pdd__bloodwork-report .gambit-pdd__report-bar {
	width: 0 !important;
	transition: width 1.2s var(--ease-out-expo);
}

.gambit-pdd__bloodwork-report.is-visible .gambit-pdd__report-row:nth-child(1) .gambit-pdd__report-bar { width: 72% !important; transition-delay: 0.1s; }
.gambit-pdd__bloodwork-report.is-visible .gambit-pdd__report-row:nth-child(2) .gambit-pdd__report-bar { width: 38% !important; transition-delay: 0.2s; }
.gambit-pdd__bloodwork-report.is-visible .gambit-pdd__report-row:nth-child(3) .gambit-pdd__report-bar { width: 55% !important; transition-delay: 0.3s; }
.gambit-pdd__bloodwork-report.is-visible .gambit-pdd__report-row:nth-child(4) .gambit-pdd__report-bar { width: 45% !important; transition-delay: 0.4s; }
.gambit-pdd__bloodwork-report.is-visible .gambit-pdd__report-row:nth-child(5) .gambit-pdd__report-bar { width: 82% !important; transition-delay: 0.5s; }
.gambit-pdd__bloodwork-report.is-visible .gambit-pdd__report-row:nth-child(6) .gambit-pdd__report-bar { width: 60% !important; transition-delay: 0.6s; }

/* ==========================================================================
   Bloodwork: Card 3 — Big stat (2.1M biomarkers)
   ========================================================================== */

.gambit-pdd__subcard--bloodwork-stat {
	justify-content: flex-start;
}

/* Discovery stats list — fills the card like Maximus pattern */
.gambit-pdd__bloodwork-stats-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex: 1;
}

@media (min-width: 1100px) {
	.gambit-pdd__bloodwork-stats-list {
		gap: 32px;
	}
}

.gambit-pdd__bloodwork-stats-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Big stat number — matches TRT ↑16x size */
.gambit-pdd__bloodwork-stats-number {
	font-family: var(--font-mono);
	font-size: clamp(48px, 8vw, 72px);
	font-weight: 400;
	color: var(--signal-red);
	line-height: 1;
}

.gambit-pdd__bloodwork-stats-text {
	font-size: 13px;
	line-height: 1.4;
	color: var(--off-white);
	opacity: 0.6;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

@media (min-width: 1100px) {
	.gambit-pdd__bloodwork-stats-text {
		font-size: 15px;
	}
}

/* Footer text with divider — before pill CTA */
.gambit-pdd__bloodwork-stat-footer {
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid var(--warm-white-10);
}

/* Space above the divider line (between last stat and the line) */
.gambit-pdd__bloodwork-stats-list {
	padding-bottom: 24px;
}

@media (min-width: 1100px) {
	.gambit-pdd__bloodwork-stats-list {
		padding-bottom: 32px;
	}
}

.gambit-pdd__bloodwork-stat-footer p {
	font-size: 13px;
	line-height: 1.5;
	color: var(--off-white);
	opacity: 0.55;
	margin: 0;
}

/* Pill CTA at very bottom of stat card */
.gambit-pdd__subcard--bloodwork-stat .gambit-pdd__subcard-viewall {
	margin-top: 24px;
	margin-bottom: 0;
}

/* ==========================================================================
   Bloodwork: mobile reorder — report card first, then categories, then stat
   ========================================================================== */

@media (max-width: 767px) {
	.gambit-pdd--bloodwork .gambit-pdd__subcards-grid {
		display: flex;
		flex-direction: column;
	}

	.gambit-pdd--bloodwork .gambit-pdd__subcard--bloodwork-product {
		order: 1;
	}

	.gambit-pdd--bloodwork .gambit-pdd__subcard--test-categories {
		order: 2;
	}

	.gambit-pdd--bloodwork .gambit-pdd__subcard--bloodwork-stat {
		order: 3;
	}
}

/* ==========================================================================
   Focus-visible + Active states for all interactive elements.
   CLAUDE.md: "Every clickable element needs hover, focus-visible, and active."
   ========================================================================== */

.gambit-pdd__cta:focus-visible,
a.gambit-pdd__tab:focus-visible,
.gambit-pdd__subcard-viewall:focus-visible,
.gambit-pdd__options-list a:focus-visible,
.gambit-pdd__subcard--clickable-options a:focus-visible,
.gambit-pdd__product-card-link:focus-visible,
.gambit-pdd__bloodwork-product-pricing:focus-visible,
a.gambit-pdd__test-category:focus-visible {
	outline: 2px solid var(--signal-red);
	outline-offset: 2px;
}

.gambit-pdd__cta:active,
.gambit-pdd__subcard-viewall:active {
	transform: scale(0.97);
}

a.gambit-pdd__tab:active,
.gambit-pdd__options-list a:active,
.gambit-pdd__subcard--clickable-options a:active,
.gambit-pdd__product-card-link:active {
	transform: scale(0.98);
}

/* Light section overrides for explanation */
.gambit-pdd.gambit-section--light .gambit-pdd__decline-explanation p {
	color: var(--deep-charcoal);
}

/* Light section overrides for GH decline card */
.gambit-pdd.gambit-section--light .gambit-pdd__subcard--gh-decline .gambit-pdd__subcard-title {
	color: var(--deep-charcoal);
}

.gambit-pdd.gambit-section--light .gambit-pdd__decline-chart-area {
	border-color: rgba(26, 26, 30, 0.15);
}

.gambit-pdd.gambit-section--light .gambit-pdd__decline-labels {
	color: var(--deep-charcoal);
}

.gambit-pdd.gambit-section--light .gambit-pdd__decline-y-labels {
	color: var(--deep-charcoal);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.gambit-pdd__cta,
	.gambit-pdd__tab,
	.gambit-pdd__subcard-viewall,
	.gambit-pdd__subcard-content a,
	.gambit-pdd__subcard--clickable-options a,
	.gambit-pdd__options-list a,
	.gambit-pdd__product-card-link {
		transition: none;
	}

	.gambit-pdd__bar {
		transition: none;
		height: auto;
	}

	.gambit-pdd__bar--small {
		height: 30%;
	}

	.gambit-pdd__bar--tall {
		height: 100%;
	}

	.gambit-pdd__decline-line {
		stroke-dashoffset: 0;
		transition: none;
	}

	.gambit-pdd__decline-fill {
		clip-path: inset(0 0% 0 0);
		transition: none;
	}

	.gambit-pdd__bloodwork-report .gambit-pdd__report-bar {
		transition: none;
	}
}

