/* Gamification Marketing page: layout glue only.
   Components (hero, split, cards, accent list, steps, callout, insights cards, stat cards, label,
   buttons, shapes) come from home-2026/home.css and custom-platforms/custom-platforms.css.
   This file arranges them for this page and styles the one new block, the navy featured-work band. */

/* Raw Content sections sit inside Cornerstone's content area: let them run full width. */
.page-gamification-marketing .x-main .gm-feature,
.page-gamification-marketing .x-main .cp-hero { width: 100%; }

.gm-intro { max-width: 920px; margin: -.5rem auto 0; font-size: 1.05rem; }

/* Problem: the accent rectangle sits low-left behind the photo, as in the mockup */
.gm-problem__shape { left: 0; right: auto; bottom: 0; }
.gm-problem .cp-split__text p { font-size: 1.05rem; line-height: 1.8; }

/* Experiences: lavender dotted band (same as .build / .process), three cards per row */
.gm-exp {
	background:
		radial-gradient(circle at 1px 1px, rgba(97, 88, 206, .10) 1px, transparent 1.5px) 0 0 / 18px 18px,
		#fafafe;
}
.gm-exp .ex-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.gm-exp .ex-shot { aspect-ratio: 840 / 500; background: #f3f2fb; }
.gm-exp .ex-shot img, .gm-exp .ex-shot video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.gm-exp .ex-title { font-size: 1.35rem; }
.gm-exp .ex-desc { margin-bottom: .5rem; }

/* Data: white band (the shared .build band is lavender) */
.gm-data.build { background: var(--white); }
.gm-data .cat p { margin: 0 0 .5rem; }
.gm-data .cat p:last-child { margin-bottom: 0; }

/* ---------- Featured work: navy band ---------- */
.gm-feature { background: var(--navy); color: var(--white); overflow: clip; }
.gm-feature .h2 { margin-bottom: 2.5rem; }
.gm-feature .h2 strong { font-weight: 700; }
.gm-feature__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.gm-feature__shot { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #1b1856; box-shadow: var(--shadow); }
.gm-feature__shot img, .gm-feature__shot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
/* Shared .stat-card is a row with staggered offsets (homepage); here it stacks number over label */
.gm-stats .stat-card { margin: 0; color: var(--navy); display: block; padding: 1.1rem 1.25rem 1.2rem; border-radius: 18px; }
.gm-stats .stat-card__num { font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.5rem); font-style: italic; margin-bottom: .4rem; }
.gm-feature__body .label { display: inline-block; margin: 0 0 1.25rem; }
.gm-feature__body p { font-size: 1.05rem; line-height: 1.8; }
.gm-feature__body a:not(.btn) { color: var(--white); text-decoration: underline; }
.gm-quote { margin: 1.75rem 0 2rem; padding: .25rem 0 .25rem 1.5rem; border-left: 4px solid var(--green); }
.gm-quote p { margin: 0 0 .6rem; font-size: 1.05rem; }
.gm-quote footer { font-size: .85rem; opacity: .8; }

/* Why: video frame with the purple circle behind it */
.gm-why__media { padding: 2.5rem 1.5rem 1.5rem 0; }
.gm-why__shape { right: -1rem; top: 0; width: 8rem; height: 8rem; }
.gm-why__video { position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden; }

/* Insights: no "View All" button under the cards on this page */
.gm-insights .insights__grid { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.gm-exp .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 979px) {
	.gm-feature__grid { grid-template-columns: 1fr; gap: 2.5rem; }
	/* When the photo/video column stacks under its text, center it (shared .cp-split__media is left-aligned at 640px max) */
	.page-gamification-marketing .cp-split__media { margin-left: auto; margin-right: auto; width: min(100%, 640px); }
}
@media (max-width: 767px) {
	/* Shared .cp-hero__actions stretches buttons full width on phones; keep them at natural width, centered */
	.cp-hero__actions { align-items: center; }
	.gm-exp .ex-grid { grid-template-columns: 1fr; }
	.gm-stats { grid-template-columns: 1fr; }
	.gm-why__shape { width: 5rem; height: 5rem; right: 0; }
	.gm-feature__body .btn { align-self: stretch; }
}
