/* ==========================================================================
   Cognition Blueprint — home-page section blocks.

   Ships with the design module, so everything here is a THEME/PLUGIN
   capability a customer who bought LMS Blueprint also gets (law 21). No
   snippet plugin, no customiser box, no theme-file hand-edit, no inline
   <script>.

   TWO THINGS TO KNOW BEFORE EDITING THIS FILE
   -------------------------------------------
   1. THE MARKETING TYPE LAYER IS SCOPED, DELIBERATELY (Kevin's ruling,
      9 Sep 2026: SPLIT). Cormorant Garamond is the reference build's
      identity and belongs to MARKETING surfaces — home, landing, book and
      course sales pages. IBM Plex stays everywhere else. `theme.json`'s font
      families are NOT touched and no customer install is restyled: the swap
      happens inside `.cb-mkt` and nowhere else.

   2. THE CUBE IS CSS. There is no 3D engine anywhere on this site and there
      must not be one. Measured in the reference kit with a control:
      0 files import three / @splinetool / @tsparticles / gsap / lenis;
      17 import framer-motion (the control, which had to be > 0 for the zero
      to mean anything — law 22). `pillars-cube.css` ports essentially
      verbatim; the rotation is a short scroll listener in home-sections.js.
      If a future lane proposes a canvas or WebGL context here, it has not
      read this.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1 · THE SCOPED MARKETING LAYER
   Everything below `.cb-mkt` — nothing above it.
   -------------------------------------------------------------------------- */

/* Scoped border-box reset. NOT housekeeping — it is a fix for a measured
   defect. Without it `.cbh-band`'s width:100% and its clamp() horizontal
   padding add up: at a 1440px viewport every band computed 1536px wide,
   exactly 2 × 48px of padding over. ⚑ AND THE POINT WORTH KEEPING: the
   `overflow-x: clip` this rebuild adds to the theme would have HIDDEN it —
   documentElement.scrollWidth still read 1440 while four sections were
   overflowing. The instrument that found it measures elements, not the
   scrollbar (`_home-page/instruments/overflow-check.js`). */
.cb-mkt,
.cb-mkt *,
.cb-mkt *::before,
.cb-mkt *::after,
.pillars-cube-section,
.pillars-cube-section * {
	box-sizing: border-box;
}

.cb-mkt {
	/* Brand palette, from the kit's measured tokens (DESIGN-SPEC §1). */
	--color-deep-ink: #0d0d0d;
	--color-near-black: #1a1a1a;
	--color-parchment: #f5f2ec;
	--color-off-white: #e8e4dc;
	--color-filmic-gold: #c8a96e;
	--color-slate: #6b6b6b;

	/* Semantic tokens the ported cube CSS expects. Light theme — the home
	   page's default — so these are the light column of DESIGN-SPEC §1. */
	--color-am-bg: var(--color-parchment);
	--color-am-surface: #ffffff;
	--color-am-text: var(--color-near-black);
	--color-am-text-secondary: var(--color-slate);
	--color-am-highlight: var(--color-off-white);

	/* THE IDENTITY. Cormorant Garamond, with a real fallback stack — if the
	   Google Fonts request fails the page degrades to a serif, never to a
	   system sans. */
	--font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	/* The cbm3 pattern layer (patterns.css) draws its headings with
	   --cbm3-ff-display. Inside the marketing scope that token IS the
	   marketing face, so a cbm3 component placed in a `.cb-mkt` band gets
	   Cormorant through its own rule rather than by losing a specificity
	   fight (defect card 10 Sep, §1.1/§9.1 — see the heading rule below). */
	--cbm3-ff-display: var(--font-display);

	color: var(--color-am-text);
	font-family: var(--font-body);
}

/* The two rules that carry the whole look (DESIGN-SPEC §2). Display headings
   are tight and negatively tracked; a builder default of ~1.4 makes every
   colour and spacing value correct and the page still read generic.

   ⚑ ZERO SPECIFICITY ON THE SCOPE, ON PURPOSE (defect card 10 Sep 2026).
   This rule was `.cb-mkt h2` — (0,1,1), the SAME weight as every cbm3
   component rule (`.cbm3-cta h2`, `.cbm3-step h3` …), and it loads later, so
   it silently won every tie: it painted the final CTA's heading near-black on
   the ink panel (§9.1) and stripped the CTA heading's centring margin.
   `:where(.cb-mkt)` keeps it a default for the scope — it still beats the
   theme's bare `h2` (same weight, later in the cascade) — while any
   component that styles its own heading now wins, as it should. */
:where(.cb-mkt) h1,
:where(.cb-mkt) h2,
:where(.cb-mkt) h3 {
	font-family: var(--font-display);
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--color-am-text);
	margin: 0;
}

:where(.cb-mkt) em {
	font-style: italic;
	color: var(--color-filmic-gold);
}
/* REL4098 (LBS-484): one colour, face and weight per headline. Body-text emphasis above stays gold;
   an <em> inside a headline takes the headline's own colour, style and weight. */
:where(.cb-mkt) :is(h1, h2, h3, h4, h5, h6) em {
	font-style: inherit;
	font-weight: inherit;
	color: inherit;
}

/* Eyebrow: 9px, 0.22em tracking, uppercase, gold, with the flanking 28×1px
   hairline at 40% on each side and a 14px gap. Defined once. */
.cb-mkt .cbh-eyebrow {
	font-size: 9px;
	font-weight: 500;
	line-height: 13.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-filmic-gold);
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 20px;
}
.cb-mkt .cbh-eyebrow::before,
.cb-mkt .cbh-eyebrow::after {
	content: "";
	display: block;
	width: 28px;
	height: 1px;
	background: var(--color-filmic-gold);
	opacity: 0.4;
	flex: none;
}
/* Centred heads get both rules; left-aligned copy blocks only the leading one. */
.cb-mkt .cbh-band-head .cbh-eyebrow { justify-content: center; }
.cb-mkt .cbh-checker-copy .cbh-eyebrow::after,
.cb-mkt .cbh-cred-lead .cbh-eyebrow::after,
.cb-mkt .cbh-book-copy .cbh-eyebrow::after,
.cb-mkt .cbh-cred-card .cbh-eyebrow::after { display: none; }


/* --------------------------------------------------------------------------
   2 · BAND RHYTHM  (DESIGN-SPEC §3)
   -------------------------------------------------------------------------- */

.cb-mkt.cbh-band {
	position: relative;
	width: 100%;
	padding: clamp(64px, 8vw, 128px) clamp(16px, 4vw, 48px);
	scroll-margin-top: 80px;
}
.cbh-anchor-only {
	/* The courses band with nothing published: the anchor survives so the
	   hero CTA still lands, and nothing is claimed. There is deliberately no
	   empty-state string anywhere in this stylesheet or its block. */
	display: block;
	height: 0;
	scroll-margin-top: 80px;
}

.cb-mkt .cbh-band-head {
	max-width: 720px;
	margin: 0 auto clamp(40px, 5vw, 72px);
	text-align: center;
}
.cb-mkt .cbh-h2 {
	font-weight: 700;
	font-size: clamp(36px, 4.5vw, 64px);
}
.cb-mkt .cbh-h2-sm { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; }
.cb-mkt .cbh-h2-center { text-align: center; }
.cb-mkt .cbh-caps { text-transform: uppercase; }
.cb-mkt .cbh-lead {
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 400; /* S4: was 300 — the self-hosted set starts at 400 */
	line-height: 1.625;
	color: var(--color-am-text-secondary);
	margin: 20px 0 0;
}
.cb-mkt .cbh-band-head .cbh-lead { margin-inline: auto; max-width: 44ch; }

.cb-mkt .cbh-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 32px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.cb-mkt .cbh-btn-gold {
	background: var(--color-filmic-gold);
	color: var(--color-am-bg);
}
a.cb-mkt .cbh-btn-gold:hover,
.cb-mkt a:hover > .cbh-btn-gold,
.cb-mkt a.cbh-btn-gold:hover {
	background: var(--color-near-black);
	color: var(--color-parchment);
}

.cb-mkt .cbh-chip {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--color-filmic-gold);
	color: var(--color-near-black);
	font-size: 13px;
	font-weight: 500;
}
.cb-mkt .cbh-chip-quiet {
	background: var(--color-off-white);
	color: var(--color-am-text);
	font-size: 12px;
	padding: 5px 12px;
}
.cb-mkt .cbh-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }


/* --------------------------------------------------------------------------
   3 · §01 COURSE CAROUSEL  (query-driven; see class-cb-home-blocks.php)
   -------------------------------------------------------------------------- */

.cb-mkt .cbh-carousel {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
}
.cb-mkt .cbh-carousel-rail {
	display: flex;
	/* `safe` matters: with one or two courses the rail centres them, and when
	   the set overflows it falls back to flex-start so the first card is never
	   scrolled off the left edge and made unreachable. */
	justify-content: safe center;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 4px;
}
.cb-mkt .cbh-carousel-rail::-webkit-scrollbar { display: none; }

.cb-mkt .cbh-course {
	flex: 0 0 min(380px, 78vw);
	scroll-snap-align: center;
	opacity: 0.55;
	transform: scale(0.94);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.cb-mkt .cbh-course.is-active { opacity: 1; transform: scale(1); }

.cb-mkt .cbh-course-link {
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: 20px;
	overflow: hidden;
	background: var(--color-near-black);
	box-shadow: 0 18px 48px rgba(26, 24, 18, 0.16);
}
.cb-mkt .cbh-course-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.cb-mkt .cbh-course-img,
.cb-mkt .cbh-course-media-blank {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: linear-gradient(150deg, #2e2e2e, #1a1a1a);
}
.cb-mkt .cbh-course-body {
	position: absolute;
	inset: auto 0 0 0;
	padding: 24px;
	background: linear-gradient(to top, rgba(13, 13, 13, 0.94) 30%, transparent);
	color: var(--color-parchment);
}
.cb-mkt .cbh-course-index {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-parchment);
	margin: 0 0 10px;
}
.cb-mkt .cbh-course-desc {
	font-size: 15px;
	line-height: 1.5;
	color: rgba(245, 242, 236, 0.82);
	margin: 0 0 18px;
}
.cb-mkt .cbh-course { position: relative; }
.cb-mkt .cbh-course-link { position: relative; }

/* CAOSCB1 — a course shown «coming soon»: a label on the cover, no price, an outline button only when it links to a waitlist. */
.cb-mkt .cbh-course-soon {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 1;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-near-black);
	background: var(--color-filmic-gold);
	border-radius: 100px;
	padding: 7px 12px;
}
.cb-mkt .cbh-course.is-soon .cbh-btn-soon {
	display: inline-block;
	background: transparent;
	color: var(--color-parchment);
	border: 1px solid var(--color-filmic-gold);
}
.cb-mkt .cbh-course.is-soon div.cbh-course-link { cursor: default; }

.cb-mkt .cbh-carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(26, 24, 18, 0.16);
	background: var(--color-am-surface);
	color: var(--color-am-text);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}
.cb-mkt .cbh-carousel-nav.is-prev { left: -6px; }
.cb-mkt .cbh-carousel-nav.is-next { right: -6px; }
.cb-mkt .cbh-carousel-nav:focus-visible { outline: 2px solid var(--color-filmic-gold); outline-offset: 2px; }


/* --------------------------------------------------------------------------
   4 · §02 BOOKS SWITCHER
   -------------------------------------------------------------------------- */

.cb-mkt.cbh-books { max-width: 1280px; margin-inline: auto; }
.cb-mkt .cbh-books-grid { position: relative; }

.cb-mkt .cbh-book {
	display: none;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
}
.cb-mkt .cbh-book.is-active { display: grid; }
@media (max-width: 860px) {
	.cb-mkt .cbh-book.is-active { grid-template-columns: minmax(0, 1fr); }
}

.cb-mkt .cbh-book-cover-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.cb-mkt .cbh-book-cover {
	display: block;
	width: min(360px, 100%);
	height: auto;
	border-radius: 4px;
	/* The deliberate 3D tilt — kept, and it is the one transform the recovered
	   captures were told not to neutralise. */
	transform: perspective(1200px) rotateY(-12deg) rotateX(3deg);
	box-shadow: -24px 30px 60px rgba(26, 24, 18, 0.28);
	border-top: 3px solid var(--color-filmic-gold);
}
.cb-mkt .cbh-book-cover-blank { aspect-ratio: 2 / 3; background: linear-gradient(160deg, #2e2e2e, #101010); }
.cb-mkt .cbh-book-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--color-am-surface);
	box-shadow: 0 6px 20px rgba(26, 24, 18, 0.1);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-am-text);
}
.cb-mkt .cbh-book-pill::before {
	content: "";
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--color-filmic-gold);
}
.cb-mkt .cbh-book-vol {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-am-text);
	margin: 0 0 12px;
}
.cb-mkt .cbh-book-title { text-transform: uppercase; }
.cb-mkt .cbh-book-buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin-top: 28px;
}
.cb-mkt .cbh-book-more {
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-filmic-gold);
	text-decoration: none;
}

/* The volume switcher pill group: active pill filled with off-white and a
   gold dot, on the dark track. */
.cb-mkt .cbh-vol-switch {
	display: inline-flex;
	gap: 4px;
	padding: 6px;
	border-radius: 999px;
	background: #35302a;
	box-shadow: 0 14px 34px rgba(26, 24, 18, 0.22);
	margin: 44px auto 0;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}
.cb-mkt .cbh-vol {
	position: relative;
	appearance: none;
	border: 0;
	cursor: pointer;
	background: transparent;
	color: rgba(245, 242, 236, 0.66);
	font-family: var(--font-body);
	font-size: 15px;
	padding: 10px 26px;
	border-radius: 999px;
	transition: background 0.3s ease, color 0.3s ease;
}
.cb-mkt .cbh-vol.is-active {
	background: rgba(232, 228, 220, 0.14);
	color: var(--color-filmic-gold);
}
.cb-mkt .cbh-vol.is-active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--color-filmic-gold);
	transform: translateX(-50%);
}
.cb-mkt .cbh-vol:focus-visible { outline: 2px solid var(--color-filmic-gold); outline-offset: 2px; }


/* --------------------------------------------------------------------------
   5 · §05 CREDIBILITY BENTO
   -------------------------------------------------------------------------- */

.cb-mkt .cbh-cred-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
	gap: 24px;
	max-width: 1280px;
	margin-inline: auto;
}
@media (max-width: 900px) { .cb-mkt .cbh-cred-grid { grid-template-columns: minmax(0, 1fr); } }

.cb-mkt .cbh-cred-lead,
.cb-mkt .cbh-cred-card {
	border: 1px solid rgba(26, 24, 18, 0.1);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.55);
	padding: clamp(28px, 3vw, 48px);
}
.cb-mkt .cbh-cred-col { display: grid; gap: 24px; align-content: start; }
.cb-mkt .cbh-cred-p {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-am-text-secondary);
	margin: 18px 0 0;
}
.cb-mkt .cbh-cred-p:first-of-type { margin-top: 26px; }

.cb-mkt .cbh-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); }
.cb-mkt .cbh-stat-fig {
	font-family: var(--font-display);
	font-size: clamp(38px, 4.4vw, 64px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--color-filmic-gold);
}
.cb-mkt .cbh-stat-cap {
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.35;
	color: var(--color-am-text-secondary);
	margin-top: 10px;
	max-width: 20ch;
}

.cb-mkt .cbh-quote { border-left: 2px solid var(--color-filmic-gold); }
.cb-mkt .cbh-quote blockquote { margin: 0; }
.cb-mkt .cbh-quote blockquote p {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(19px, 1.7vw, 24px);
	line-height: 1.35;
	color: var(--color-am-text);
	margin: 0 0 18px;
}
.cb-mkt .cbh-quote figcaption {
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-filmic-gold);
}


/* --------------------------------------------------------------------------
   6 · §06 TOOLKIT MARQUEE
   -------------------------------------------------------------------------- */

.cb-mkt .cbh-toolkit-grid {
	display: grid;
	grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	max-width: 1024px;
	margin-inline: auto;
}
@media (max-width: 860px) { .cb-mkt .cbh-toolkit-grid { grid-template-columns: minmax(0, 1fr); } }

.cb-mkt .cbh-marquee {
	position: relative;
	height: 320px;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid rgba(26, 24, 18, 0.08);
	background: rgba(255, 255, 255, 0.4);
	box-shadow: 0 20px 50px rgba(26, 24, 18, 0.1);
}
/* Edge fades, top and bottom. */
.cb-mkt .cbh-marquee::before,
.cb-mkt .cbh-marquee::after {
	content: "";
	position: absolute;
	left: 0; right: 0;
	height: 48px;
	z-index: 2;
	pointer-events: none;
}
.cb-mkt .cbh-marquee::before { top: 0; background: linear-gradient(to bottom, var(--color-parchment), transparent); }
.cb-mkt .cbh-marquee::after { bottom: 0; background: linear-gradient(to top, var(--color-parchment), transparent); }

/* The track holds the item set DUPLICATED and travels exactly -50%, so the
   loop lands on a seam rather than a jump. Pure CSS: no JS drives this. */
.cb-mkt .cbh-marquee-track {
	display: flex;
	flex-direction: column;
	/* 14s per half-track: the kit's own value (feature-section.tsx,
	   `duration: 14`). The fruit-machine speed seen on skool was NOT this
	   number — see class-cb-home-blocks.php render_feature_marquee(). */
	animation: cbh-marquee 14s linear infinite;
}
@keyframes cbh-marquee {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(0, -50%, 0); }
}
.cb-mkt .cbh-marquee:hover .cbh-marquee-track,
.cb-mkt .cbh-marquee[data-paused="true"] .cbh-marquee-track { animation-play-state: paused; }

.cb-mkt .cbh-marquee-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 16px;
	border-bottom: 1px solid rgba(26, 24, 18, 0.07);
}
.cb-mkt .cbh-marquee-dot {
	flex: none;
	width: 40px; height: 40px;
	border-radius: 12px;
	background: rgba(200, 169, 110, 0.15);
	border: 1px solid rgba(200, 169, 110, 0.3);
}
.cb-mkt .cbh-marquee-copy { display: flex; flex-direction: column; }
.cb-mkt .cbh-marquee-title { font-size: 14px; font-weight: 500; color: var(--color-am-text); }
.cb-mkt .cbh-marquee-sub { font-size: 12px; color: var(--color-am-text-secondary); }


/* --------------------------------------------------------------------------
   7 · §07 LMS BENTO GRID
   -------------------------------------------------------------------------- */

.cb-mkt.cbh-lms-bento { max-width: 1280px; margin-inline: auto; }
.cb-mkt .cbh-lms-bento .cbh-h2,
.cb-mkt.cbh-lms-bento > .cbh-h2 { margin-bottom: clamp(40px, 5vw, 72px); }

.cb-mkt .cbh-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: minmax(180px, auto);
	gap: 20px;
}
@media (max-width: 900px) { .cb-mkt .cbh-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cb-mkt .cbh-bento { grid-template-columns: minmax(0, 1fr); } }

.cb-mkt .cbh-bento-item {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid rgba(26, 24, 18, 0.12);
	background: rgba(255, 255, 255, 0.5);
	padding: 24px;
	transition: border-color 0.4s ease, transform 0.4s ease;
}
.cb-mkt .cbh-bento-item:hover {
	border-color: rgba(200, 169, 110, 0.5);
	transform: translateY(-2px);
}
/* The hover glow — the kit's `.bento-item::before` (cybernetic-bento-grid.tsx):
   a 350px gold radial light that follows the pointer, fading in on hover.
   home-sections.js sets --mouse-x / --mouse-y on the card; without the
   script the light sits centred, so nothing breaks (defect card §8.1). */
.cb-mkt .cbh-bento-item::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	pointer-events: none;
	background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(200, 169, 110, 0.25), transparent 60%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 1;
}
.cb-mkt .cbh-bento-item:hover::before { opacity: 1; }
.cb-mkt .cbh-bento-item > * { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
	.cb-mkt .cbh-bento-item::before { transition: none; }
}
@media (min-width: 901px) {
	.cb-mkt .cbh-bento-item.is-big { grid-column: span 2; grid-row: span 2; }
	.cb-mkt .cbh-bento-item.is-wide { grid-column: span 2; }
	.cb-mkt .cbh-bento-item.is-tall { grid-row: span 2; }
}
.cb-mkt .cbh-bento-eyebrow {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--color-filmic-gold);
	margin: 0 0 12px;
}
.cb-mkt .cbh-bento-h3 {
	font-size: clamp(17px, 1.5vw, 26px);
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.05;
}
/* Optional media panel — the reference fills the big card with a labelled
   gradient block rather than leaving a bento cell half empty. */
.cb-mkt .cbh-bento-panel {
	margin-top: auto;
	min-height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	border: 1px solid rgba(26, 24, 18, 0.1);
	background: linear-gradient(135deg, rgba(200, 169, 110, 0.14), rgba(255, 255, 255, 0.6));
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--color-am-text-secondary);
	text-align: center;
	padding: 16px;
}
.cb-mkt .cbh-bento-item { display: flex; flex-direction: column; }

.cb-mkt .cbh-bento-body {
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-am-text-secondary);
	margin: 14px 0 0;
	max-width: 46ch;
}


/* --------------------------------------------------------------------------
   8 · §08 COURSE CHECKER
   -------------------------------------------------------------------------- */

.cb-mkt .cbh-checker-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
	max-width: 1200px;
	margin-inline: auto;
}
@media (max-width: 860px) { .cb-mkt .cbh-checker-grid { grid-template-columns: minmax(0, 1fr); } }

.cb-mkt .cbh-checker-panel {
	position: relative;
	border: 1px solid rgba(26, 24, 18, 0.1);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(184, 145, 58, 0.1) 0%, transparent 60%),
		var(--color-am-bg);
	padding: clamp(28px, 3vw, 44px);
	overflow: hidden;
}
.cb-mkt .cbh-checker-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
}
/* The bars are a picture of what an audit returns, not anybody's score, and
   the page says so rather than implying a measurement (R12). */
.cb-mkt .cbh-checker-note {
	font-family: var(--font-body);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-am-text-secondary);
	margin: 8px 0 26px;
}
.cb-mkt .cbh-checker-rows { display: flex; flex-direction: column; gap: 18px; }
.cb-mkt .cbh-checker-rowhead {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 400; /* S4: was 300 — the self-hosted set starts at 400 */
	color: var(--color-am-text-secondary);
	margin-bottom: 6px;
}
.cb-mkt .cbh-checker-pct {
	font-size: 11px;
	font-family: var(--cb-mono, "IBM Plex Mono", ui-monospace, Menlo, monospace);
	color: var(--color-filmic-gold);
}
.cb-mkt .cbh-checker-bar {
	height: 3px;
	border-radius: 999px;
	background: rgba(26, 24, 18, 0.1);
	overflow: hidden;
}
.cb-mkt .cbh-checker-bar > span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--color-filmic-gold);
	transform-origin: left;
}
.cb-mkt .cbh-checker-copy .cbh-btn { margin-top: 32px; }


/* --------------------------------------------------------------------------
   9 · §04 THE SIX-PILLAR CUBE
   Ported from the kit's `source/src/components/ui/pillars-cube.css`
   (459 lines) with the class names this block actually emits. Face geometry,
   perspective, tokens and stamps are the reference's, unchanged.
   -------------------------------------------------------------------------- */

.pillars-cube-section {
	position: relative;
	/* The section IS the runway: 100vh of sticky + 600vh of scroll. */
	height: calc(100vh + 600vh);
	background: transparent;

	--pcs-ink-strong: var(--color-am-text);
	--pcs-gold: var(--color-filmic-gold);
	--pcs-ff-display: var(--font-display);
	--pcs-ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--pcs-ff-body: var(--font-body);
	--pcs-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--pcs-gutter: 2rem;
	--pcs-tracking-wide: 0.18em;

	--pcs-card-bg: rgba(245, 240, 232, 0.55);
	--pcs-card-border: rgba(184, 145, 58, 0.35);
	--pcs-hairline: 1px;
	--pcs-ui-inset: 2rem;

	--pcs-face-bg-base: #f5f0e8;
	--pcs-face-grid: rgba(26, 24, 18, 0.07);
	--pcs-face-fg: rgba(26, 24, 18, 0.86);
	--pcs-face-fg-mid: rgba(26, 24, 18, 0.5);
	--pcs-face-border: rgba(184, 145, 58, 0.45);
}

/* Sticky viewport wrap. ⚑ This is the element the `overflow-x` value decides:
   with `overflow-x: hidden` on html/body they become scroll containers and
   sticky's nearest-scrolling-ancestor lookup never reaches the document, so
   this silently stops pinning. `clip` clips without creating a scrollport.
   The theme sets `clip` for exactly this reason. */
.pillars-cube-section .pillars__cube-fixed {
	position: sticky;
	top: 0;
	height: 100vh;
	width: 100%;
	z-index: 5;
	pointer-events: none;
	overflow: hidden;
}

.pillars-cube-section .pillars__intro {
	position: absolute;
	top: 2.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 6;
	width: min(100%, 1200px);
	padding: 0 var(--pcs-gutter);
	text-align: center;
	pointer-events: none;
}
.pillars-cube-section .pillars__intro-eyebrow {
	font-family: var(--pcs-ff-mono);
	font-size: 0.65rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--pcs-gold);
	margin: 0 0 0.6rem;
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
}
.pillars-cube-section .pillars__intro-eyebrow::before,
.pillars-cube-section .pillars__intro-eyebrow::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 1px;
	background: var(--pcs-gold);
	opacity: 0.5;
}
.pillars-cube-section .pillars__intro-h2 {
	font-family: var(--pcs-ff-display);
	font-weight: 700;
	font-size: clamp(1.6rem, 3.4vw, 2.8rem);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--pcs-ink-strong);
	margin: 0;
}
.pillars-cube-section .pillars__intro-h2 em { font-style: inherit; font-weight: inherit; color: inherit; } /* REL4098 (LBS-484): one colour, face and weight per headline */
.pillars-cube-section .pillars__intro-sub {
	font-family: var(--pcs-ff-body);
	font-weight: 400; /* S4: was 300 — the self-hosted set starts at 400 */
	font-size: 0.95rem;
	color: var(--pcs-face-fg-mid);
	margin: 0.7rem auto 0;
	max-width: 36rem;
	line-height: 1.5;
}

.pillars-cube-section .pillars__stage {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	perspective: 600px;
	-webkit-perspective: 600px;
	perspective-origin: 50% 42%;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	pointer-events: none;
	padding-top: 4rem;
}

.pillars-cube-section .pillars__cube-wrap { position: relative; }
.pillars-cube-section .pillars__cube {
	--s: min(32vw, 32vh, 300px);
	width: var(--s);
	height: var(--s);
	position: relative;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transform: rotateX(-14deg) rotateY(22deg);
	will-change: transform;
	pointer-events: auto;
}

.pillars-cube-section .face {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	background:
		repeating-linear-gradient(0deg, var(--pcs-face-grid) 0, var(--pcs-face-grid) 1px, transparent 1px, transparent 48px),
		repeating-linear-gradient(90deg, var(--pcs-face-grid) 0, var(--pcs-face-grid) 1px, transparent 1px, transparent 48px),
		var(--pcs-face-bg-base);
	border: 3px solid var(--pcs-face-border);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(1.25rem, 2vw + 0.5rem, 2rem);
	color: var(--pcs-face-fg);
}
.pillars-cube-section .face::after {
	content: "";
	position: absolute;
	width: 14px;
	height: 14px;
	background: var(--pcs-gold);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.25);
	pointer-events: none;
}
.pillars-cube-section .face[data-face="top"]::after    { top: 1.5rem; left: 1.5rem; }
.pillars-cube-section .face[data-face="front"]::after  { bottom: 1.5rem; right: 1.5rem; }
.pillars-cube-section .face[data-face="right"]::after  { top: 1.5rem; right: 1.5rem; }
.pillars-cube-section .face[data-face="back"]::after   { bottom: 1.5rem; left: 1.5rem; }
.pillars-cube-section .face[data-face="left"]::after   { top: 50%; left: 1.5rem; transform: translateY(-50%); }
.pillars-cube-section .face[data-face="bottom"]::after { top: 50%; right: 1.5rem; transform: translateY(-50%); }

/* Face placement. The cube's geometry lives here and only here. */
.pillars-cube-section .face[data-face="front"]  { transform: translateZ(calc(var(--s) / 2)); }
.pillars-cube-section .face[data-face="back"]   { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.pillars-cube-section .face[data-face="right"]  { transform: rotateY(90deg)  translateZ(calc(var(--s) / 2)); }
.pillars-cube-section .face[data-face="left"]   { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.pillars-cube-section .face[data-face="top"]    { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.pillars-cube-section .face[data-face="bottom"] { transform: rotateX(90deg)  translateZ(calc(var(--s) / 2)); }

.pillars-cube-section .face-eyebrow {
	font-family: var(--pcs-ff-mono);
	font-size: 0.65rem;
	letter-spacing: var(--pcs-tracking-wide);
	text-transform: uppercase;
	color: var(--pcs-gold);
	align-self: start;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
}
.pillars-cube-section .face-eyebrow::before {
	content: "";
	width: 24px; height: 1px;
	background: var(--pcs-gold);
	opacity: 0.7;
}
.pillars-cube-section .face-number {
	font-family: var(--pcs-ff-display);
	font-weight: 700;
	font-size: clamp(3.5rem, 12vw, 8rem);
	line-height: 0.8;
	letter-spacing: -0.06em;
	color: var(--pcs-face-fg);
	align-self: center;
	text-align: center;
	opacity: 0.92;
}
.pillars-cube-section .face-foot { display: flex; flex-direction: column; gap: 0.45rem; align-self: end; }
.pillars-cube-section .face-name {
	font-family: var(--pcs-ff-display);
	font-weight: 700;
	font-size: clamp(0.95rem, 1.5vw + 0.4rem, 1.4rem);
	letter-spacing: -0.015em;
	line-height: 1;
	color: var(--pcs-face-fg);
}
.pillars-cube-section .face-thinkers {
	font-family: var(--pcs-ff-mono);
	font-size: 0.6rem;
	letter-spacing: var(--pcs-tracking-wide);
	text-transform: uppercase;
	color: var(--pcs-face-fg-mid);
}

/* Cards. Odd pillars sit left, even sit right — the reference's alternation,
   expressed as nth-child so it needs no per-card attribute. */
.pillars-cube-section .pillars__cards {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}
.pillars-cube-section .pillars__card {
	position: absolute;
	top: 50%;
	max-width: 23.75rem;
	padding: 2.25rem 2rem;
	background: var(--pcs-card-bg);
	border-left: var(--pcs-hairline) solid var(--pcs-card-border);
	backdrop-filter: blur(10px) saturate(140%);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
	pointer-events: auto;
	opacity: 0;
	transform: translateY(-50%) translateY(0.625rem);
	color: var(--pcs-ink-strong);
	transition: opacity 0.45s var(--pcs-ease-out), transform 0.45s var(--pcs-ease-out);
	left: var(--pcs-gutter);
}
.pillars-cube-section .pillars__card:nth-child(even) {
	left: auto;
	right: var(--pcs-gutter);
	border-left: none;
	border-right: var(--pcs-hairline) solid var(--pcs-card-border);
	text-align: right;
}
.pillars-cube-section .pillars__card.is-visible {
	opacity: 1;
	transform: translateY(-50%) translateY(0);
}
.pillars-cube-section .pillars__card-tag {
	font-family: var(--pcs-ff-mono);
	font-size: 0.62rem;
	letter-spacing: var(--pcs-tracking-wide);
	text-transform: uppercase;
	color: var(--pcs-gold);
	margin: 0 0 1.1rem;
}
.pillars-cube-section .pillars__card-name {
	font-family: var(--pcs-ff-display);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 0.92;
	font-size: clamp(2rem, 4.6vw, 3.4rem);
	color: var(--pcs-ink-strong);
	margin: 0;
}
.pillars-cube-section .pillars__card-body {
	font-family: var(--pcs-ff-body);
	font-size: 0.92rem;
	line-height: 1.6;
	color: rgba(26, 24, 18, 0.65);
	margin: 1.25rem 0 0;
}
.pillars-cube-section .pillars__card-thinkers {
	margin: 1.5rem 0 0;
	font-family: var(--pcs-ff-mono);
	font-size: 0.62rem;
	letter-spacing: var(--pcs-tracking-wide);
	text-transform: uppercase;
	color: rgba(26, 24, 18, 0.5);
}

.pillars-cube-section .pillars__dots {
	position: absolute;
	left: calc(var(--pcs-ui-inset) + 0.125rem);
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	pointer-events: none;
}
.pillars-cube-section .pillars__dot {
	display: block;
	width: 0.32rem;
	height: 0.32rem;
	border-radius: 50%;
	background: rgba(26, 24, 18, 0.32);
	transition: background 0.3s var(--pcs-ease-out), scale 0.3s var(--pcs-ease-out);
}
.pillars-cube-section .pillars__dot.is-active { background: var(--pcs-gold); scale: 1.8; }

.pillars-cube-section .pillars__caption {
	position: absolute;
	bottom: var(--pcs-ui-inset);
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	text-align: center;
	pointer-events: none;
	user-select: none;
}
.pillars-cube-section .pillars__caption-num {
	font-family: var(--pcs-ff-mono);
	font-size: 0.58rem;
	letter-spacing: 0.28em;
	color: var(--pcs-gold);
	text-transform: uppercase;
	margin-bottom: 0.15rem;
}
.pillars-cube-section .pillars__caption-name {
	font-family: var(--pcs-ff-display);
	font-weight: 700;
	font-size: clamp(1.6rem, 4vw, 2.6rem);
	letter-spacing: -0.02em;
	color: rgba(26, 24, 18, 0.5);
	line-height: 1;
}

@media (max-width: 900px) {
	.pillars-cube-section .pillars__dots { display: none; }
	.pillars-cube-section .pillars__caption { bottom: 1rem; }
	.pillars-cube-section .pillars__card,
	.pillars-cube-section .pillars__card:nth-child(even) {
		left: 1rem;
		right: 1rem;
		max-width: none;
		text-align: left;
	}
}

/* ⚑ NO-JS AND REDUCED-MOTION FALLBACK. Without the scroll driver the cube
   never rotates, so the runway would be 6300px of nothing. Both cases
   collapse the section to a plain, readable stack of the six pillars —
   the content is in the DOM either way and none of it is behind an
   animation. */
@media (prefers-reduced-motion: reduce) {
	.pillars-cube-section { height: auto; }
	.pillars-cube-section .pillars__cube-fixed { position: static; height: auto; padding: 4rem 0; overflow: visible; }
	.pillars-cube-section .pillars__intro { position: static; transform: none; margin-bottom: 3rem; }
	.pillars-cube-section .pillars__stage { position: static; display: block; padding-top: 0; }
	.pillars-cube-section .pillars__cube-wrap,
	.pillars-cube-section .pillars__dots,
	.pillars-cube-section .pillars__caption { display: none; }
	.pillars-cube-section .pillars__cards { position: static; display: grid; gap: 1.5rem; padding: 0 var(--pcs-gutter); }
	.pillars-cube-section .pillars__card,
	.pillars-cube-section .pillars__card:nth-child(even) {
		position: static;
		opacity: 1;
		transform: none;
		transition: none;
		max-width: none;
		text-align: left;
		border-right: none;
		border-left: var(--pcs-hairline) solid var(--pcs-card-border);
	}
}
.pillars-cube-section:not([data-driven="true"]) { height: auto; }
.pillars-cube-section:not([data-driven="true"]) .pillars__cube-fixed { position: static; height: auto; padding: 4rem 0; overflow: visible; }
.pillars-cube-section:not([data-driven="true"]) .pillars__intro { position: static; transform: none; margin-bottom: 3rem; }
.pillars-cube-section:not([data-driven="true"]) .pillars__stage { position: static; display: block; padding-top: 0; }
.pillars-cube-section:not([data-driven="true"]) .pillars__cube-wrap,
.pillars-cube-section:not([data-driven="true"]) .pillars__dots,
.pillars-cube-section:not([data-driven="true"]) .pillars__caption { display: none; }
.pillars-cube-section:not([data-driven="true"]) .pillars__cards { position: static; display: grid; gap: 1.5rem; padding: 0 var(--pcs-gutter); }
.pillars-cube-section:not([data-driven="true"]) .pillars__card,
.pillars-cube-section:not([data-driven="true"]) .pillars__card:nth-child(even) {
	position: static;
	opacity: 1;
	transform: none;
	max-width: none;
	text-align: left;
	border-right: none;
	border-left: var(--pcs-hairline) solid var(--pcs-card-border);
}


/* --------------------------------------------------------------------------
   11 · THE HERO, INSIDE THE MARKETING SCOPE  (defect card 10 Sep 2026, §1)
   The hero is the cbm3 hero pattern (patterns.css). These rules apply only
   where it carries `.cb-mkt`, so no other page using the pattern moves.
   -------------------------------------------------------------------------- */

/* §1.1 — the kit's own scale, measured, not chosen: synapse-field-hero.tsx
   sets clamp(54px, 8vw, 124px), line-height 0.95, tracking-tight; DESIGN-SPEC
   §2 measures 115.2px at 1440. The face comes from --cbm3-ff-display, which
   the scope maps to Cormorant (section 1). The size was never the main
   excess: IBM Plex Serif at the old 8.4vw set the headline ~1.4x wider than
   Cormorant does, which is what pushed the buttons below the fold. */
.cb-mkt.cbm3-hero h1.cbm3-hero-h1 {
	font-size: clamp(54px, 8vw, 124px);
	line-height: 0.95;
	letter-spacing: -0.025em;
	/* max-width stays the pattern's 1100px, NOT the kit's 896px container:
	   measured at 1440, "Stop teaching content." sets 967px and "Start
	   designing outcomes." 987px (1042/1062px at the 124px cap). At 896px
	   each would break again and Kevin's two lines would become four. */
}
/* §1.2 — Kevin's break: "Stop teaching content." then, on its own line and
   ALL gold, "Start designing outcomes." The <br> and the <em> live in the
   template's heading block (editable text); this only keeps the gold line a
   line of its own even where the author's <br> is removed. */
.cb-mkt.cbm3-hero h1.cbm3-hero-h1 em { display: inline-block; }

/* §1.4 — the SCROLL cue is absolutely placed at the hero's bottom edge. When
   the content is taller than the hero's min-height, the cue landed ON the
   button row (measured: 8px of overlap at 1512x860, sitting in the gap
   between the two pills). Reserve its height below the content instead, so
   it can only ever sit under the buttons, centred on the section. The cue's
   own box: 30px offset + 8px label + 10px gap + 34px drip = 82px. */
.cb-mkt.cbm3-hero { padding-bottom: 120px; }
