/* ============================================================
   GrowthM8 design system — tokens + block styles.
   Source: GRO-431 §5 (colors/type/spacing/radius) + §6 (responsive).
   BEM, gm8- prefix. Desktop reference: 1440px canvas / 1280 container.
   ============================================================ */

:root {
	/* Colors */
	--gm8-red: #e51212;
	--gm8-red-dark: #c40808;
	--gm8-dark: #121010;
	--gm8-black: #000000;
	--gm8-white: #ffffff;
	--gm8-muted: #a1a1aa;
	--gm8-text-soft: rgba(0, 0, 0, 0.6);
	--gm8-line-on-dark: rgba(250, 250, 250, 0.2);
	--gm8-line-light: #d9d9d9; /* normalized from #D9D9D9/#D4CACA/#DDD7D7 — GRO-431 §8.11 */
	--gm8-line-dark: #1e1e1e;

	/* Typography */
	--gm8-font-display: "Space Grotesk", system-ui, sans-serif;
	--gm8-font-body: "Open Sans", system-ui, sans-serif;
	--gm8-fs-display: clamp(3rem, 8.3vw, 7.5rem);      /* hero 120 → ~48 mobile */
	--gm8-fs-title: clamp(2.25rem, 4.6vw, 4.125rem);   /* section H2 66 */
	--gm8-fs-stat: clamp(3rem, 6.6vw, 6rem);           /* stats 96 */
	--gm8-lh-title: 1.15;

	/* Layout */
	--gm8-container: 1280px;
	--gm8-gutter: clamp(20px, 5.5vw, 80px);
	--gm8-section-pad: clamp(56px, 5.5vw, 80px);
	--gm8-gap-head: 40px; /* heading block → content */

	/* Radius */
	--gm8-radius-pill: 50px;
	--gm8-radius-card: 20px;
	--gm8-radius-testi: 12px;
	--gm8-radius-chip: 10px;

	/* Overlays */
	--gm8-overlay-radial: radial-gradient(120% 90% at 50% 40%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 1) 100%);
	--gm8-overlay-solid: rgba(0, 0, 0, 0.7);
	--gm8-overlay-heavy: rgba(0, 0, 0, 0.8);
	--gm8-glass-fill: rgba(0, 0, 0, 0.05);
	--gm8-blur: 20px;
}

/* ---------- Base ---------- */

body {
	font-family: var(--gm8-font-body);
	font-size: 16px;
	line-height: 1.625; /* 16/26 */
	color: var(--gm8-dark);
	background: var(--gm8-white);
	margin: 0;
}

.gm8-block h1, .gm8-block h2, .gm8-block h3,
.gm8-footer p, .gm8-block p, .gm8-block ul, .gm8-block blockquote {
	margin: 0;
}
.gm8-block ul { list-style: none; padding: 0; }

.gm8-container {
	max-width: var(--gm8-container);
	margin-inline: auto;
	padding-inline: var(--gm8-gutter);
}
@media (min-width: 1440px) {
	.gm8-container { padding-inline: 0; }
}
@media (min-width: 1550px) {
	.gm8-container { max-width: 1600px; }
}

.gm8-section { padding-block: var(--gm8-section-pad); position: relative; }

/* Image-backed sections: real <img> under overlay (GRO-431 imagery style) */
.gm8-section__media { position: absolute; inset: 0; overflow: hidden; }
.gm8-section__bg, .gm8-section__media .gm8-img-placeholder {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.gm8-section__overlay { position: absolute; inset: 0; background: var(--gm8-overlay-solid); }
.gm8-section__overlay.is-radial { background: var(--gm8-overlay-radial); }
.gm8-section__overlay.is-heavy { background: var(--gm8-overlay-heavy); }
.is-image-bg > .gm8-container { position: relative; z-index: 1; }

.gm8-img-placeholder {
	display: grid; place-items: center; background: #232021; color: var(--gm8-muted);
	font-family: var(--gm8-font-display); font-size: 13px; letter-spacing: 0.08em;
	text-transform: uppercase; text-align: center; padding: 12px; min-height: 120px;
}

/* No-JS / crawler guard: AOS must never hide content without JS (task rule). */
html:not(.gm8-js) [data-aos] {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.gm8-icon { display: inline-flex; }
.gm8-icon svg { width: 1em; height: 1em; display: block; }

.gm8-todo-note, .gm8-form-todo {
	font-style: italic; color: var(--gm8-muted); font-size: 15px;
}

/* ---------- Eyebrow / kicker row ---------- */

.gm8-eyebrow {
	display: flex; align-items: center; gap: 14px;
	font-family: var(--gm8-font-display); font-size: 16px; font-weight: 500;
	letter-spacing: 0.15em; text-transform: uppercase; color: var(--gm8-red);
}
.gm8-eyebrow__rule { width: 40px; height: 1px; background: currentColor; flex: none; }
.gm8-eyebrow.is-on-dark, .is-on-dark .gm8-eyebrow { color: var(--gm8-muted); }

/* ---------- Two-tone headings ---------- */

.gm8-title {
	font-family: var(--gm8-font-display); font-weight: 700;
	font-size: var(--gm8-fs-title); line-height: var(--gm8-lh-title);
	color: var(--gm8-dark); text-wrap: balance;
}
.gm8-title em, .gm8-hero__title em, .gm8-sysdet__title em {
	font-style: normal; color: var(--gm8-red);
}
.gm8-section-header { display: grid; gap: 30px; margin-bottom: var(--gm8-gap-head); max-width: 900px; }
.gm8-section-header.is-on-dark .gm8-title { color: var(--gm8-white); }

/* ---------- Pill button system ---------- */

.gm8-btn {
	display: inline-flex; align-items: center; gap: 18px;
	padding: 10px 10px 10px 30px; border-radius: var(--gm8-radius-pill);
	font-family: var(--gm8-font-display); font-size: 16px; font-weight: 500;
	text-decoration: none; border: 1px solid transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gm8-btn__circle {
	width: 40px; height: 40px; border-radius: 50%; flex: none;
	display: grid; place-items: center; font-size: 16px;
	transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.gm8-btn:hover .gm8-btn__circle {
	transform: rotate(45deg);
}
.gm8-btn--solid { background: var(--gm8-red); color: var(--gm8-white); }
.gm8-btn--solid .gm8-btn__circle { background: var(--gm8-white); color: var(--gm8-red); }
.gm8-btn--solid:hover { background: var(--gm8-red-dark); color: var(--gm8-white); }
.gm8-btn--white { background: var(--gm8-white); color: var(--gm8-dark); }
.gm8-btn--white .gm8-btn__circle { background: var(--gm8-red); color: var(--gm8-white); }
.gm8-btn--white:hover { background: #f3f3f3; color: var(--gm8-dark); }
.gm8-btn--outline { background: transparent; color: var(--gm8-dark); border-color: var(--gm8-red); }
.gm8-btn--outline .gm8-btn__circle { background: var(--gm8-red); color: var(--gm8-white); }
.gm8-btn--outline:hover { background: var(--gm8-red); color: var(--gm8-white); }
.gm8-btn--outline:hover .gm8-btn__circle { background: var(--gm8-white); color: var(--gm8-red); }
.gm8-btn--ghost { background: transparent; color: var(--gm8-white); border-color: var(--gm8-line-on-dark); }
.gm8-btn--ghost .gm8-btn__circle { background: var(--gm8-white); color: var(--gm8-dark); }
.is-image-bg .gm8-btn--outline, .gm8-hero .gm8-btn--outline { color: var(--gm8-white); }

/* ---------- Tag pills ---------- */

.gm8-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.gm8-tag {
	border-radius: var(--gm8-radius-pill); padding: 10px 16px;
	font-family: var(--gm8-font-display); font-size: 14px; font-weight: 500;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--gm8-white);
}
.gm8-tags--light .gm8-tag { background: var(--gm8-muted); }
.gm8-tags--glass .gm8-tag { background: rgba(0, 0, 0, 0.6); }

/* ---------- Ghost numbers / stars ---------- */

.gm8-ghost-num {
	font-family: var(--gm8-font-display); font-weight: 700; font-size: 60px;
	line-height: 1.2; color: var(--gm8-muted); transition: color 0.2s ease;
}
.gm8-stars { display: inline-flex; gap: 4px; color: var(--gm8-red); font-size: 16px; }

/* ---------- Header ---------- */

.gm8-header {
	position: relative; z-index: 50; background: var(--gm8-dark);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.gm8-transparent-header .gm8-header {
	position: absolute; inset-inline: 0; top: 0; background: transparent;
}
.gm8-header__inner {
	max-width: 1440px; margin-inline: auto;
	padding: 20px var(--gm8-gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
@media (min-width: 1550px) {
	.gm8-header__inner { max-width: 1600px; }
}
.gm8-wordmark { text-decoration: none; display: inline-flex; align-items: center; }
.gm8-wordmark--text {
	font-family: var(--gm8-font-display); font-weight: 700; font-size: 28px;
	color: var(--gm8-white); letter-spacing: -0.01em;
}
.gm8-wordmark--text span { color: var(--gm8-red); }
.gm8-wordmark__img { max-height: 40px; width: auto; }
.gm8-nav__list { display: flex; gap: 50px; list-style: none; margin: 0; padding: 0; }
.gm8-nav__list a {
	font-family: var(--gm8-font-display); font-size: 16px; color: var(--gm8-white);
	text-decoration: none;
}
.gm8-nav__list a:hover { color: var(--gm8-red); }
.gm8-nav__list li.current-menu-item > a,
.gm8-nav__list li.current_page_item > a,
.gm8-nav__list li.current-menu-ancestor > a,
.gm8-mobile-nav__list li.current-menu-item > a,
.gm8-mobile-nav__list li.current_page_item > a,
.gm8-mobile-nav__list li.current-menu-ancestor > a { color: var(--gm8-red); }
.gm8-nav-toggle { display: none; }
.gm8-mobile-nav { display: none; }

/* Desktop dropdown submenus */
.gm8-nav__list li { position: relative; }
.gm8-nav__list li.menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.gm8-nav__list li.menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; flex: none;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}
.gm8-nav__list .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; margin-top: 0;
	min-width: 220px; list-style: none; padding: 10px 0; margin-left: 0; margin-bottom: 0;
	background: var(--gm8-dark); border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0; z-index: 60;
}
.gm8-nav__list li:hover > .sub-menu,
.gm8-nav__list li:focus-within > .sub-menu { display: block; }
.gm8-nav__list .sub-menu li { width: 100%; }
.gm8-nav__list .sub-menu a,
.gm8-nav__list .sub-menu a:visited,
.gm8-nav__list .sub-menu a:focus,
.gm8-nav__list .sub-menu a:active { color: var(--gm8-white); }
.gm8-nav__list .sub-menu a:hover { color: var(--gm8-red); }

/* Grandchild (3rd level) menus flyout to the right of their parent item */
.gm8-nav__list .sub-menu li.menu-item-has-children > a::after { transform: rotate(-45deg) translateX(-2px); }
.gm8-nav__list .sub-menu .sub-menu {
	top: 0; left: 100%; margin-top: -10px;
}
.gm8-nav__list .sub-menu a { display: block; padding: 10px 20px; white-space: nowrap; font-size: 15px; }

@media (max-width: 1024px) {
	.gm8-nav, .gm8-header__cta { display: none; }
	.gm8-nav-toggle {
		display: inline-flex; flex-direction: column; gap: 5px;
		background: none; border: 0; padding: 8px; cursor: pointer;
	}
	.gm8-nav-toggle__bar { width: 24px; height: 2px; background: var(--gm8-white); transition: transform 0.2s ease, opacity 0.2s ease; }
	.gm8-nav-toggle[aria-expanded="true"] .gm8-nav-toggle__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
	.gm8-nav-toggle[aria-expanded="true"] .gm8-nav-toggle__bar:nth-child(3) { opacity: 0; }
	.gm8-nav-toggle[aria-expanded="true"] .gm8-nav-toggle__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
	.gm8-mobile-nav {
		display: block; background: var(--gm8-dark); padding: 24px var(--gm8-gutter) 32px;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}
	.gm8-mobile-nav[hidden] { display: none; }
	.gm8-mobile-nav .gm8-nav__list, .gm8-mobile-nav .gm8-mobile-nav__list {
		display: grid; gap: 18px; list-style: none; margin: 0 0 24px; padding: 0;
	}
	.gm8-mobile-nav a { font-family: var(--gm8-font-display); font-size: 18px; color: var(--gm8-white); text-decoration: none; }
	.gm8-mobile-nav li.menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
	.gm8-mobile-nav li.menu-item-has-children > a { flex: 1; }
	.gm8-mobile-nav__toggle {
		background: none; border: 0; padding: 6px; margin: -6px; cursor: pointer; color: var(--gm8-white); flex: none;
	}
	.gm8-mobile-nav__toggle svg { width: 14px; height: 14px; display: block; transition: transform 0.2s ease; }
	.gm8-mobile-nav li.is-open > .gm8-mobile-nav__toggle svg { transform: rotate(180deg); }
	.gm8-mobile-nav li > .sub-menu {
		display: none; width: 100%;
		list-style: none; margin: 10px 0 0; padding: 0 0 0 18px;
		gap: 14px;
	}
	.gm8-mobile-nav li.is-open > .sub-menu { display: grid; }
	.gm8-mobile-nav .sub-menu a { font-size: 16px; color: var(--gm8-muted); }
}

/* ---------- Hero ---------- */

.gm8-hero { position: relative; min-height: min(900px, 100svh); display: flex; align-items: flex-end; overflow: hidden; }
.gm8-hero__media { position: absolute; inset: 0; }
.gm8-hero__img, .gm8-hero__media .gm8-img-placeholder {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.gm8-hero__overlay { position: absolute; inset: 0; background: var(--gm8-overlay-radial); }
.gm8-hero__inner {
	position: relative; z-index: 1; width: 100%;
	display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
	padding-block: 140px 100px;
}
.gm8-hero__copy { max-width: 820px; display: grid; gap: 30px; }
.gm8-hero__title {
	font-family: var(--gm8-font-display); font-weight: 700;
	font-size: var(--gm8-fs-display); line-height: 1; color: var(--gm8-white);
	text-transform: uppercase;
}
.gm8-hero__sub { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.42; color: var(--gm8-muted); max-width: 640px; }
.gm8-hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; flex: none; }
@media (max-width: 900px) {
	.gm8-hero__inner { flex-direction: column; align-items: flex-start; padding-block: 130px 64px; }
}

/* ---------- Marquee ticker ---------- */

.gm8-ticker { overflow: hidden; padding-block: 22px; }
.gm8-ticker--red { background: var(--gm8-red); color: var(--gm8-white); }
.gm8-ticker--dark { background: var(--gm8-dark); color: var(--gm8-white); }
.gm8-ticker--dark .gm8-ticker__sep { color: var(--gm8-red); }
.gm8-ticker__viewport { overflow: hidden; }
.gm8-ticker__track {
	display: flex; width: max-content;
	animation: gm8-marquee 30s linear infinite;
}
.gm8-ticker__set { display: flex; align-items: center; }
@media (prefers-reduced-motion: reduce) {
	.gm8-ticker__track { animation: none; }
}
@keyframes gm8-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.gm8-ticker__item {
	width: auto; display: inline-flex; align-items: center; gap: 28px; padding-inline: 14px;
}
.gm8-ticker__text {
	font-family: var(--gm8-font-display); font-weight: 500;
	font-size: clamp(20px, 2.2vw, 32px); letter-spacing: 0.05em; white-space: nowrap;
}
.gm8-ticker--dark .gm8-ticker__text { text-transform: uppercase; }
.gm8-ticker__sep { font-size: 12px; opacity: 0.9; }
.gm8-ticker--dark .gm8-ticker__sep { font-size: 18px; }
.gm8-ticker__empty { color: inherit; padding-inline: var(--gm8-gutter); }

/* ---------- Numbered cards (Concept) ---------- */

.gm8-ncards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.gm8-ncards__card {
	border: 1px solid var(--gm8-line-light); padding: 30px; display: grid; gap: 16px; align-content: start;
	transition: border-color 0.2s ease, background-color 0.2s ease, border-width 0.2s ease;
}
.gm8-ncards__card:hover { border-width: 2px; border-color: var(--gm8-red); background: var(--gm8-black); }
.gm8-ncards__card:hover .gm8-ncards__body,
.gm8-ncards__card:hover .gm8-ghost-num { color: var(--gm8-white); }
.gm8-ncards__body { color: var(--gm8-text-soft); transition: color 0.2s ease; }
@media (max-width: 900px) { .gm8-ncards__grid { grid-template-columns: 1fr; } }

/* Mobile-only stacked scroll effect (same technique as GM8 Systems Detail) — desktop/tablet grid above stays untouched */
.gm8-ncards__card-wrap { display: contents; }
@media (max-width: 767px) {
	.gm8-ncards__card-wrap { display: block; position: sticky; top: 150px; perspective: 600px; }
	.gm8-ncards__card { background: var(--gm8-white); will-change: transform; transition: none !important; }
}

/* ---------- Glass grid (What We Build) ---------- */

.gm8-glass__grid { display: grid; grid-template-columns: 1fr 1fr; }
.gm8-glass__card {
	background: var(--gm8-glass-fill); border: 1px solid var(--gm8-line-on-dark);
	backdrop-filter: blur(var(--gm8-blur)); -webkit-backdrop-filter: blur(var(--gm8-blur));
	padding: 40px; display: grid; gap: 16px; align-content: start; margin: -0.5px;
}
.gm8-glass__kicker {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--gm8-font-display); font-size: 14px; font-weight: 500;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--gm8-muted);
}
.gm8-glass__num { color: var(--gm8-red); }
.gm8-glass__dash { width: 12px; height: 1px; background: currentColor; }
.gm8-glass__title { font-family: var(--gm8-font-display); font-weight: 700; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.17; color: var(--gm8-white); }
.gm8-glass__body { color: var(--gm8-muted); }
@media (max-width: 800px) { .gm8-glass__grid { grid-template-columns: 1fr; } }

/* Mobile-only stacking/blur scroll effect (native CSS sticky) — desktop 2x2 grid above stays untouched */
.gm8-glass__card-wrap { display: contents; }
@media (max-width: 800px) {
	.gm8-glass__card-wrap { display: block; position: sticky; top: 30px; }
	.gm8-glass__card { will-change: transform, filter; transition: none !important; }
}

/* ---------- Stats band ---------- */

.gm8-stats { background: var(--gm8-red); padding-block: clamp(64px, 7vw, 100px); }
.gm8-stats__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.gm8-stats__item {
	display: grid; gap: 10px; align-content: start; padding-inline: clamp(16px, 2.5vw, 40px);
	border-left: 1px solid rgba(255, 255, 255, 0.5);
}
.gm8-stats__item:first-child { border-left: 0; padding-left: 0; }
.gm8-stats__value {
	font-family: var(--gm8-font-display); font-weight: 700;
	font-size: var(--gm8-fs-stat); line-height: 0.85; color: var(--gm8-white);
}
.gm8-stats__label {
	font-family: var(--gm8-font-display); font-size: 16px; font-weight: 500;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--gm8-white);
}
@media (max-width: 900px) {
	.gm8-stats__row { grid-template-columns: 1fr 1fr; gap: 40px 0; }
	.gm8-stats__item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
	.gm8-stats__row { grid-template-columns: 1fr; }
	.gm8-stats__item { border-left: 0; padding-left: 0; }
}

/* ---------- Case list ---------- */

.gm8-cases__list { border-top: 1px solid var(--gm8-line-light); }
.gm8-cases__row {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding-block: 40px; border-bottom: 1px solid var(--gm8-line-light);
}
.gm8-cases__main { display: flex; align-items: baseline; gap: 24px; }
.gm8-cases__num { font-family: var(--gm8-font-display); font-weight: 700; font-size: 20px; color: var(--gm8-red); }
.gm8-cases__title { font-family: var(--gm8-font-display); font-weight: 700; font-size: clamp(24px, 2.9vw, 42px); line-height: 1; color: var(--gm8-dark); }
.gm8-cases__title a { color: inherit; text-decoration: none; }
.gm8-cases__title a:hover { color: var(--gm8-red); }
@media (max-width: 800px) {
	.gm8-cases__row { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 28px; }
}

/* ---------- Portfolio mosaic ---------- */

.gm8-mosaic__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gm8-mosaic__head .gm8-section-header { margin-bottom: 0; }
.gm8-mosaic__head { margin-bottom: var(--gm8-gap-head); }
.gm8-mosaic__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.gm8-mosaic__card { position: relative; overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; }
.gm8-mosaic__card.is-wide { grid-column: span 4; }
.gm8-mosaic__card.is-third { grid-column: span 2; }
.gm8-mosaic__card.is-half { grid-column: span 3; }
.gm8-mosaic__img, .gm8-mosaic__card .gm8-img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gm8-mosaic__card:hover .gm8-mosaic__img, .gm8-mosaic__card:hover .gm8-img-placeholder { transform: scale(1.08); }
.gm8-mosaic__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.8) 100%);
}
.gm8-mosaic__content { position: relative; z-index: 1; padding: 40px; display: grid; gap: 14px; }
.gm8-mosaic__kicker {
	display: inline-block; width: fit-content; justify-self: start; align-self: start;
	font-family: var(--gm8-font-display); font-size: 14px; font-weight: 500;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--gm8-white);
	background: rgba(229, 18, 18, 0.6); border-radius: var(--gm8-radius-pill); padding: 10px 16px;
}
.gm8-mosaic__title { font-family: var(--gm8-font-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.12; color: var(--gm8-white); }
.gm8-mosaic__title a { color: inherit; text-decoration: none; }
@media (max-width: 900px) {
	.gm8-mosaic__grid { grid-template-columns: 1fr 1fr; }
	.gm8-mosaic__card, .gm8-mosaic__card.is-wide, .gm8-mosaic__card.is-half, .gm8-mosaic__card.is-third { grid-column: span 2; min-height: 320px; }
	.gm8-mosaic__head { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 560px) and (max-width: 900px) {
	.gm8-mosaic__card.is-third { grid-column: span 1; }
}

/* ---------- Process steps (How It Works) ---------- */

.gm8-steps { background: var(--gm8-black); }
.gm8-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.gm8-steps__card {
	border: 1px solid var(--gm8-line-dark); padding: 30px; min-height: 237px;
	display: grid; gap: 12px; align-content: start; margin: -0.5px;
	transition: background-color 0.2s ease;
}
.gm8-steps__card:hover { background: var(--gm8-red); }
.gm8-steps__card:hover .gm8-steps__body { color: var(--gm8-white); }
.gm8-steps__card:hover .gm8-ghost-num { color: var(--gm8-white); }
.gm8-steps .gm8-ghost-num { color: rgba(250, 250, 250, 0.2); transition: color 0.2s ease; }
.gm8-steps__title { font-family: var(--gm8-font-display); font-weight: 700; font-size: 28px; color: var(--gm8-white); text-transform: capitalize; }
.gm8-steps__body { color: var(--gm8-muted); transition: color 0.2s ease; }
@media (max-width: 1024px) { .gm8-steps__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gm8-steps__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.gm8-faq__list { border-top: 1px solid var(--gm8-line-light); }
.gm8-faq__item { border-bottom: 1px solid var(--gm8-line-light); }
.gm8-faq__q { font-size: inherit; }
.gm8-faq__toggle {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
	background: none; border: 0; cursor: pointer; text-align: left;
	padding: 28px 0;
	font-family: var(--gm8-font-display); font-weight: 700; font-size: clamp(19px, 1.7vw, 24px);
	color: var(--gm8-muted); transition: color 0.2s ease;
}
.gm8-faq__toggle:hover, .gm8-faq__toggle:focus, .gm8-faq__toggle:active { background: none; color: var(--gm8-muted); }
.gm8-faq__item.is-open .gm8-faq__toggle, .gm8-faq__toggle:hover { color: var(--gm8-dark) !important; }
.gm8-faq__icon { font-size: 30px; color: var(--gm8-muted); transition: transform 0.25s ease, color 0.25s ease; flex: none; }
.gm8-faq__item.is-open .gm8-faq__icon { transform: rotate(45deg); color: var(--gm8-red); }
.gm8-faq__a {
	display: grid; grid-template-rows: 0fr; overflow: hidden;
	transition: grid-template-rows 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gm8-faq__item.is-open .gm8-faq__a { grid-template-rows: 1fr; }
.gm8-faq__a .gm8-prose {
	max-width: none; color: var(--gm8-text-soft); overflow: hidden; min-height: 0;
	padding-bottom: 0;
	opacity: 0; transition: opacity 0.35s ease 0s, padding-bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gm8-faq__item.is-open .gm8-faq__a .gm8-prose { opacity: 1; padding-bottom: 40px; transition: opacity 0.45s ease 0.15s, padding-bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.gm8-faq__a .gm8-prose p + p { margin-top: 1em; }

/* ---------- Contact split ---------- */

.gm8-contact__cols { display: grid; grid-template-columns: minmax(0, 546px) minmax(0, 674px); justify-content: space-between; gap: 60px; align-items: start; }
.gm8-contact__copy { display: grid; gap: 30px; }
.gm8-contact__copy .gm8-section-header { margin-bottom: 0; }
.gm8-contact__body { color: var(--gm8-muted); max-width: 480px; }
.gm8-contact__lines { display: grid; gap: 12px; }
.gm8-contact__line {
	font-family: var(--gm8-font-display); font-weight: 500;
	font-size: clamp(20px, 2.2vw, 32px); color: var(--gm8-white); text-decoration: none;
	overflow-wrap: anywhere;
}
.gm8-contact__line:hover { color: var(--gm8-red); }
.gm8-contact__panel {
	background: rgba(0, 0, 0, 0.2); border: 1px solid var(--gm8-line-on-dark);
	backdrop-filter: blur(var(--gm8-blur)); -webkit-backdrop-filter: blur(var(--gm8-blur));
	padding: 40px;
}
@media (max-width: 900px) { .gm8-contact__cols { grid-template-columns: 1fr; } }

/* CF7 fields inside the glass panel — bottom-hairline inputs per design */
.gm8-contact__panel .wpcf7-form { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
.gm8-contact__panel .gm8-form-row { display: grid; gap: 8px; }
.gm8-contact__panel .gm8-form-row.is-full { grid-column: 1 / -1; }
.gm8-contact__panel label {
	font-family: var(--gm8-font-body); font-size: 14px; font-weight: 600; color: var(--gm8-white);
}
.gm8-contact__panel .wpcf7-form-control-wrap { display: block; }
.gm8-contact__panel input:not([type="submit"]), .gm8-contact__panel select, .gm8-contact__panel textarea {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--gm8-line-on-dark);
	border-radius: 0; padding: 10px 0; color: var(--gm8-white);
	font-family: var(--gm8-font-display); font-size: 18px; font-weight: 500;
}
.gm8-contact__panel ::placeholder { color: rgba(255, 255, 255, 0.2); opacity: 1; }
.gm8-contact__panel select { color: rgba(255, 255, 255, 0.6); }
.gm8-contact__panel select option { color: var(--gm8-dark); }
.gm8-contact__panel textarea { min-height: 90px; resize: vertical; }
.gm8-contact__panel input:focus-visible, .gm8-contact__panel select:focus-visible, .gm8-contact__panel textarea:focus-visible {
	outline: none; border-bottom-color: var(--gm8-red);
}
.gm8-contact__panel .gm8-form-submit { grid-column: 1 / -1; margin-top: 6px; }
/* No-JS fallback only — site.js upgrades this into the standard .gm8-btn (circle + arrow, rotate on hover). */
.gm8-contact__panel input[type="submit"] {
	appearance: none; cursor: pointer;
	border: 1px solid var(--gm8-red); background-color: transparent; color: var(--gm8-white);
	border-radius: var(--gm8-radius-pill); padding: 18px 34px;
	font-family: var(--gm8-font-display); font-size: 16px; font-weight: 500;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.gm8-contact__panel input[type="submit"]:hover { background-color: var(--gm8-red); border-color: var(--gm8-red); color: var(--gm8-white); }
.gm8-contact__panel .wpcf7-not-valid-tip { color: #ff9d9d; font-size: 13px; margin-top: 4px; }
.gm8-contact__panel .wpcf7-response-output { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-color: var(--gm8-line-on-dark); color: var(--gm8-white); font-size: 14px; }

/* ---------- Systems chips (Growth OS intro) ---------- */

.gm8-chips__cols { display: grid; grid-template-columns: minmax(0, 486px) minmax(0, 735px); justify-content: space-between; gap: 60px; align-items: center; }
.gm8-chips__copy { display: grid; gap: 30px; }
.gm8-chips__copy .gm8-section-header { margin-bottom: 0; }
.gm8-chips__body { color: var(--gm8-text-soft); }
.gm8-chips__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gm8-chips__chip {
	border: 1px solid var(--gm8-line-light); border-radius: var(--gm8-radius-chip);
	padding: 18px 20px; min-height: 78px;
	display: flex; align-items: center; gap: 14px;
	transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.gm8-chips__chip:hover { border-width: 2px; border-color: var(--gm8-red); background: var(--gm8-dark); transform: translateY(-2px); }
.gm8-chips__chip:hover .gm8-chips__label { color: var(--gm8-white); }
.gm8-chips__chip:hover .gm8-chips__num { font-weight: 700; font-size: 16px; }
.gm8-chips__num {
	font-family: var(--gm8-font-display); font-size: 14px; font-weight: 500;
	letter-spacing: 0.2em; color: var(--gm8-red);
	transition: color 0.2s ease, font-weight 0.2s ease, font-size 0.2s ease;
}
.gm8-chips__label { font-family: var(--gm8-font-body); font-size: 16px; font-weight: 600; color: var(--gm8-dark); transition: color 0.2s ease; }
@media (max-width: 1024px) { .gm8-chips__cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .gm8-chips__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .gm8-chips__grid { grid-template-columns: 1fr; } }

/* ---------- Systems detail ---------- */

.gm8-sysdet__list { border-top: 1px solid var(--gm8-line-on-dark); }
.gm8-sysdet__row {
	display: grid; grid-template-columns: 110px minmax(0, 1fr);
	gap: 40px; padding-block: 40px;
	border-bottom: 1px solid var(--gm8-line-on-dark);
}
.gm8-sysdet__index { font-family: var(--gm8-font-display); font-weight: 700; font-size: clamp(40px, 4.6vw, 66px); line-height: 1; color: var(--gm8-white); }
.gm8-sysdet__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 40px; }
.gm8-sysdet__main { display: grid; gap: 16px; align-content: start; }
.gm8-sysdet__title { font-family: var(--gm8-font-display); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.12; color: var(--gm8-white); text-transform: uppercase; }
.gm8-sysdet__desc { color: var(--gm8-white); max-width: 490px; }
.gm8-sysdet__features { display: grid; gap: 12px; align-content: start; }
.gm8-sysdet__features li { display: flex; gap: 10px; align-items: baseline; color: var(--gm8-white); }
.gm8-sysdet__check { color: var(--gm8-red); font-size: 14px; flex: none; transform: translateY(1px); }
@media (max-width: 900px) {
	.gm8-sysdet__row { grid-template-columns: 1fr; gap: 16px; padding-block: 28px; }
	.gm8-sysdet__body { grid-template-columns: 1fr; gap: 16px; }
}

/* Stacked scroll effect — all screen sizes */
.gm8-sysdet__row-wrap {
	position: sticky; top: 90px; perspective: 600px;
}
.gm8-sysdet__row {
	will-change: transform, background-color; transition: none !important;
	margin-inline: calc(-1 * var(--gm8-gutter));
	padding-inline: var(--gm8-gutter);
}

/* ---------- Packages ---------- */

.gm8-packages__intro { color: var(--gm8-text-soft); max-width: 640px; margin: -16px 0 var(--gm8-gap-head); }
.gm8-packages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.gm8-packages__card {
	border: 1px solid var(--gm8-line-light); border-radius: var(--gm8-radius-card);
	padding: 30px 25px; display: grid; gap: 16px; align-content: start;
	background: var(--gm8-white);
	transition: border-width 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.gm8-packages__card.is-featured { border-color: var(--gm8-red); }
.gm8-packages__card:hover {
	border-width: 2px; background: var(--gm8-black);
}
.gm8-packages__card:hover .gm8-packages__name,
.gm8-packages__card:hover .gm8-packages__price,
.gm8-packages__card:hover .gm8-packages__desc,
.gm8-packages__card:hover .gm8-packages__features li {
	color: var(--gm8-white);
}
.gm8-packages__card:hover .gm8-packages__tier {
	color: var(--gm8-red); font-weight: 700;
}
.gm8-packages__card:hover .gm8-packages__check {
	color: var(--gm8-red);
}
.gm8-packages__card:hover .gm8-packages__check svg path { stroke-width: 3; }
.gm8-packages__card:not(.is-featured):hover .gm8-btn {
	background: var(--gm8-white); color: var(--gm8-dark); border-color: var(--gm8-white);
}
.gm8-packages__card:not(.is-featured):hover .gm8-btn__circle {
	background: var(--gm8-dark); color: var(--gm8-white);
}
.gm8-packages__tier {
	font-family: var(--gm8-font-display); font-size: 14px; font-weight: 500;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--gm8-red);
	transition: color 0.2s ease;
}
.gm8-packages__name { font-family: var(--gm8-font-display); font-weight: 700; font-size: 28px; color: var(--gm8-dark); transition: color 0.2s ease; }
.gm8-packages__price { font-family: var(--gm8-font-display); font-weight: 700; font-size: 22px; color: var(--gm8-dark); transition: color 0.2s ease; }
.gm8-packages__desc { color: var(--gm8-text-soft); transition: color 0.2s ease; }
.gm8-packages__features { display: grid; gap: 12px; }
.gm8-packages__features li { display: flex; gap: 10px; align-items: baseline; color: var(--gm8-text-soft); transition: color 0.2s ease; }
.gm8-packages__check { color: var(--gm8-red); font-size: 14px; flex: none; transform: translateY(1px); transition: color 0.2s ease; }
.gm8-packages__check svg path { transition: stroke-width 0.2s ease; }
.gm8-packages__cta { margin-top: 10px; }
@media (max-width: 1024px) { .gm8-packages__grid { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- Testimonials ---------- */

.gm8-testi__swiper { overflow: hidden; padding-bottom: 44px; }
.gm8-testi__card {
	background: rgba(0, 0, 0, 0.4); border-radius: var(--gm8-radius-testi);
	backdrop-filter: blur(var(--gm8-blur)); -webkit-backdrop-filter: blur(var(--gm8-blur));
	padding: 30px; display: grid; gap: 16px; align-content: center; height: auto; min-height: 220px;
}
@media (max-width: 699px) {
	.gm8-testi__card { box-sizing: border-box; }
}
.gm8-testi__card--embed { padding: 0; overflow: hidden; }
.gm8-testi__card--embed iframe { width: 100%; height: 100%; min-height: 288px; border: 0; display: block; }
.gm8-testi__quote { color: var(--gm8-muted); font-size: 16px; line-height: 1.5; }
.gm8-testi__author { color: var(--gm8-white); font-size: 14px; }
.gm8-testi__dots { bottom: 0 !important; }
.gm8-testi .swiper-pagination-bullet { background: var(--gm8-muted); opacity: 0.6; }
.gm8-testi .swiper-pagination-bullet-active { background: var(--gm8-red); opacity: 1; }

/* ---------- Footer ---------- */

.gm8-footer__cta { background: var(--gm8-red); padding-block: var(--gm8-section-pad); }
.gm8-footer__cta-row { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.gm8-footer__brand { max-width: 520px; display: grid; gap: 20px; align-content: start; }
.gm8-footer__wordmark {
	font-family: var(--gm8-font-display); font-weight: 700;
	font-size: clamp(44px, 4.6vw, 66px); line-height: 1; color: var(--gm8-white);
}
.gm8-footer__tagline { color: rgba(255, 255, 255, 0.85); }
.gm8-footer__cols { display: flex; gap: clamp(40px, 6vw, 100px); }
.gm8-footer__col-title {
	font-family: var(--gm8-font-display); font-size: 16px; font-weight: 500;
	letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
	margin-bottom: 18px;
}
.gm8-footer__links { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.gm8-footer__links a {
	font-family: var(--gm8-font-display); font-weight: 500; font-size: clamp(18px, 1.7vw, 24px);
	color: var(--gm8-white); text-decoration: none; text-transform: capitalize;
}
.gm8-footer__links a:hover { text-decoration: underline; }
.gm8-footer__bar { background: var(--gm8-red-dark); padding-block: 30px; }
.gm8-footer__bar-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.gm8-footer__copy { font-family: var(--gm8-font-display); font-size: 16px; color: var(--gm8-white); }
.gm8-footer__socials { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.gm8-footer__socials a {
	font-family: var(--gm8-font-display); font-weight: 500; font-size: 17px;
	color: var(--gm8-white); text-decoration: none; text-transform: capitalize;
}
.gm8-footer__socials a:hover { text-decoration: underline; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	[data-aos] { opacity: 1 !important; transform: none !important; }
}
