/* ==========================================================================
   Keynote Detail — editorial layout system
   Split hero · framework lead · two-column fit/outcomes · stat accent ·
   cross-sell cards. Used by templates/page-keynote-detail.html (posts 101-104).
   Prefix: kog-kd-
   ========================================================================== */

.kog-kd {
	--kd-gold: var(--wp--preset--color--gold);
	--kd-forest: var(--wp--preset--color--forest);
	--kd-cream: var(--wp--preset--color--cream);
	--kd-warm-white: var(--wp--preset--color--warm-white);
	--kd-charcoal: var(--wp--preset--color--charcoal);
}

/* --------------------------------------------------------------------------
   1. Split hero
   -------------------------------------------------------------------------- */
.kog-kd-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--warm-white);
}
/* generated brand texture layer — a plain div with an inline background-image.
   Sits under the forest, very subtle. */
.kog-kd-hero__texture {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.32;
	mix-blend-mode: screen;
	pointer-events: none;
}

/* shared inner constraint for every band */
.kog-kd-inner {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2rem);
	/* raw-HTML divs default to content-box; without this, a width:100% override
	   (e.g. .kog-kd-stage .kog-kd-inner) adds the padding on top of 100% and
	   overflows the viewport on mobile. Keep the padding inside the width. */
	box-sizing: border-box;
}

.kog-kd-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.kog-kd-hero__text > * { margin-block: 0; }
.kog-kd-hero__text > * + * { margin-top: 1.15rem; }

.kog-kd-hero__title {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(2.6rem, 5.6vw, 4.25rem);
	line-height: 1.04;
	letter-spacing: -0.01em;
	font-weight: 600;
}
.kog-kd-hero__title em { font-style: italic; color: var(--wp--preset--color--gold); }

.kog-kd-hero__subtitle {
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-light);
	/* No width cap: short subtitles sit on one line; only subtitles that exceed
	   the hero text column wrap (e.g. the longer Human Side of Change / Performance Rx copy). */
	max-width: none;
}
.kog-kd-hero__tagline {
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	line-height: 1.5;
	color: var(--wp--preset--color--cream);
	max-width: 40ch;
}
.kog-kd-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: center;
	margin-top: 1.75rem !important;
}
.kog-kd-btn {
	display: inline-block;
	padding: 0.85rem 1.6rem;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 2px;
	transition: background 0.25s ease, color 0.25s ease;
}
.kog-kd-btn--gold {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--forest);
}
.kog-kd-btn--gold:hover { background: var(--wp--preset--color--gold-light); }
.kog-kd-btn--ghost {
	border: 1px solid var(--wp--preset--color--gold-border);
	color: var(--wp--preset--color--cream);
}
.kog-kd-btn--ghost:hover { background: rgba(196,151,58,0.14); }

/* watch-reel trigger button (reuses .kog-kd-btn--ghost base) */
button.kog-kd-reel-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: transparent;
	cursor: pointer;
}
.kog-kd-reel-icon {
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0.34rem 0 0.34rem 0.56rem;
	border-color: transparent transparent transparent var(--wp--preset--color--gold);
	flex: 0 0 auto;
}

/* reel lightbox */
.kog-kd-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 5vmin, 3rem);
	background: rgba(10,18,12,0.92);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.kog-kd-lightbox[hidden] { display: none; }
.kog-kd-lightbox__video {
	width: auto;
	height: auto;
	max-width: min(1100px, 94vw);
	max-height: 84vh;
	border-radius: 4px;
	background: #000;
	box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
/* Embed variant (YouTube et al). An iframe has no intrinsic size, so it needs
   an explicit 16:9 box rather than the max-width/max-height the <video> uses. */
.kog-kd-lightbox__embed {
	width: min(1100px, 94vw);
	max-width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 84vh;
	border: 0;
	border-radius: 4px;
	background: #000;
	box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.kog-kd-lightbox__close {
	position: absolute;
	top: clamp(0.75rem, 4vmin, 2rem);
	right: clamp(0.75rem, 4vmin, 2rem);
	width: 2.75rem;
	height: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.4);
	background: rgba(0,0,0,0.3);
	color: #fff;
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}
.kog-kd-lightbox__close:hover {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--forest);
	border-color: var(--wp--preset--color--gold);
}

.kog-kd-hero__figure {
	position: relative;
	margin: 0;
}
.kog-kd-hero__figure img {
	display: block;
	width: 100%;
	height: clamp(360px, 52vw, 560px);
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 30px 60px -28px rgba(0,0,0,0.55);
}
/* thin gold frame accent */
.kog-kd-hero__figure::after {
	content: "";
	position: absolute;
	inset: 14px -14px -14px 14px;
	border: 1px solid var(--wp--preset--color--gold-border);
	border-radius: 4px;
	z-index: -1;
}

/* ---- photographic hero variant (full-bleed action shot, light type) ---- */
.kog-kd-hero--photo {
	background-color: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--warm-white);
	min-height: clamp(520px, 70vh, 720px);
	display: flex;
	align-items: center;
}
.kog-kd-hero__photo {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center right;
}
.kog-kd-hero__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
		rgba(26,58,42,0.92) 0%,
		rgba(26,58,42,0.74) 34%,
		rgba(26,58,42,0.32) 62%,
		rgba(26,58,42,0.06) 100%);
}
.kog-kd-hero--photo .kog-kd-hero__inner {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	padding-block: clamp(3rem, 6vw, 5rem);
}
.kog-kd-hero--photo .kog-kd-hero__text { max-width: 600px; }

/* ---- light hero variant (cream ground, dark type, cutout figure) ---- */
.kog-kd-hero--light {
	background-color: var(--wp--preset--color--warm-white);
	color: var(--wp--preset--color--charcoal);
}
.kog-kd-hero--light .kog-kd-hero__title { color: var(--wp--preset--color--charcoal); }
.kog-kd-hero--light .kog-kd-hero__subtitle { color: var(--wp--preset--color--gold); }
.kog-kd-hero--light .kog-kd-hero__tagline { color: var(--wp--preset--color--forest); }
.kog-kd-hero--light .kog-kd-btn--ghost {
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--charcoal);
}
.kog-kd-hero--light .kog-kd-btn--ghost:hover { background: var(--wp--preset--color--gold-pale); }
.kog-kd-hero--light .kog-kd-hero__inner { align-items: stretch; }
/* faint brand texture wash on the light ground (normal blend, low opacity) */
.kog-kd-hero--light .kog-kd-hero__texture {
	opacity: 0.2;
	mix-blend-mode: normal;
}

/* cutout figure + decorative brand shape behind it */
.kog-kd-hero__cutout {
	position: relative;
	margin: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: clamp(480px, 60vw, 660px);
	/* cancel the inner's bottom padding so the figure reaches the hero's
	   bottom edge and butts up against the solid section below */
	margin-bottom: calc(-1 * clamp(3.5rem, 7vw, 6.5rem));
}
.kog-kd-hero__cutout img {
	position: relative;
	z-index: 1;
	width: auto;
	max-width: 100%;
	max-height: clamp(480px, 66vw, 700px);
	object-fit: contain;
	object-position: bottom center;
}
/* soft contact shadow so she reads as grounded on the section edge below */
.kog-kd-hero__cutout::after {
	content: "";
	position: absolute;
	z-index: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 66%;
	height: 26px;
	background: radial-gradient(ellipse at center, rgba(28,28,26,0.22), rgba(28,28,26,0) 72%);
}
/* Hero cutout reveal — fade-in + lift + scale-in as the figure enters the
   viewport. Opts into the shared section-animations.js observer, which toggles
   `.is-visible`. The figure-level transform handles the entrance; it settles at
   scale(1) so nothing is cropped at rest. */
.kog-kd-hero__cutout {
	opacity: 0;
	transform: translateY(4%) scale(0.94);
	will-change: transform, opacity;
	transition: opacity 0.9s ease-out,
	            transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.kog-kd-hero__cutout.is-visible {
	opacity: 1;
	transform: none;
}
/* Scroll-bound scale on the inner <img> — composes with the figure's entrance
   transform. Driven by keynote-detail.js, which sets --hero-scroll-scale from
   page scroll so it starts at 1 on load (no crop) and grows gently on scroll. */
.kog-kd-hero__cutout img {
	transform-origin: center bottom;
	transform: scale(var(--hero-scroll-scale, 1));
	transition: transform 140ms linear;
	will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
	.kog-kd-hero__cutout {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.kog-kd-hero__cutout img {
		transform: none;
	}
}

.kog-kd-hero__shape {
	position: absolute;
	z-index: 0;
	left: 50%;
	bottom: 12%;
	width: min(360px, 74%);
	height: 80%;
	transform: translateX(-50%);
	border-radius: 200px 200px 0 0;
	background: var(--wp--preset--color--forest);
}
.kog-kd-hero__shape--ring {
	background: transparent;
	border: 1px solid var(--wp--preset--color--gold-border);
	width: min(500px, 96%);
	bottom: 2%;
}

/* full-bleed keynote sections butt flush against each other — kill the
   constrained-layout block gap so the hero and following bands have no seam */
.kog-kd-hero,
.kog-kd-banner,
.kog-kd-lead,
.kog-kd-split,
.kog-kd-stage,
.kog-kd-stat,
.kog-kd-statement,
.kog-kd-pullquote,
.kog-kd-cols,
.kog-kd-cross {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   1d. Stage composite — figure on a blurred stage that blends into the cream
   (banner style: content left, stage photo right)
   -------------------------------------------------------------------------- */
.kog-kd-stage {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--charcoal);
	/* Tall enough that the 3:2 TEDx frame shows Khaliah head-to-toe.
	   ~62vw sits just under the image's own 0.667 aspect so cover crops
	   only a sliver top/bottom (never her head or feet) with no side gaps. */
	min-height: clamp(560px, 62vw, 1200px);
	display: flex;
	align-items: center;
	color: var(--wp--preset--color--warm-white);
}
/* Full-bleed per-page TEDx photo as the section background. */
.kog-kd-stage__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	background-size: cover;
	background-position: center center;
}
/* Dark scrim so the copy stays legible over the photo. Weighted toward the
   text side and fading to near-transparent over the side where Khaliah
   stands. Default = text on the left; --text-right mirrors it. */
.kog-kd-stage::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(16,14,11,0.94) 0%, rgba(16,14,11,0.82) 30%, rgba(16,14,11,0.5) 58%, rgba(16,14,11,0.12) 100%);
}
/* Text opposite the person: content hugs the right, scrim darkens the right. */
.kog-kd-stage--text-right::before {
	background: linear-gradient(270deg, rgba(16,14,11,0.94) 0%, rgba(16,14,11,0.82) 30%, rgba(16,14,11,0.5) 58%, rgba(16,14,11,0.12) 100%);
}
.kog-kd-stage--text-right .kog-kd-stage__content { margin-left: auto; }
/* the standalone figure is no longer used — the photo is the background now */
.kog-kd-stage__figure { display: none; }
.kog-kd-stage .kog-kd-inner {
	position: relative;
	z-index: 3;
	width: 100%;
}
.kog-kd-stage__content {
	max-width: 52%;
	padding-block: clamp(3rem, 6vw, 5rem);
}
/* Light copy over the full-bleed photo. */
.kog-kd-stage__content .kog-kd-split__head { color: var(--wp--preset--color--warm-white); }
.kog-kd-stage__content .kog-kd-split__head em,
.kog-kd-stage__content .kog-kd-split__head i { color: var(--wp--preset--color--gold); }
.kog-kd-stage__content .kog-kd-split__body,
.kog-kd-stage__content .kog-kd-split__body p { color: var(--wp--preset--color--cream); }

/* Four paragraphs of even body copy read as a wall. One line steps up to carry
   the section, and a phrase inside the run can take gold.

   Which line gets the step-up is a judgement per page, not always the first:
   Performance Rx opens on a short declarative that can hold display size, while
   The Human Side of Change opens on a long one and puts the treatment on the
   short thesis line beneath it instead. The class is the typographic role, not
   a position in the run.
   Scoped to the stage on purpose: this plate is dark, so full-strength brand
   gold is legible here in a way it would not be over the cream `.kog-kd-split`.
   The `p` qualifier is load-bearing too — the colour rule above is (0,2,1), so
   a lone class would lose to it. */
.kog-kd-stage__content .kog-kd-split__body p.kog-kd-split__lead {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.25rem, 2.1vw, 1.6rem);
	line-height: 1.45;
	color: var(--wp--preset--color--warm-white);
}

.kog-kd-stage__content .kog-kd-split__body p.kog-kd-split__note {
	/* Steps down from the 1.08rem run without dropping under the 16px that body
	   copy wants on a phone — the gold rule carries most of the distinction. */
	font-size: 1rem;
	line-height: 1.7;
	letter-spacing: 0.01em;
	padding-left: 1.15rem;
	border-left: 2px solid var(--wp--preset--color--gold);
}

.kog-kd-stage__content .kog-kd-split__body em {
	font-style: italic;
	color: var(--wp--preset--color--gold);
}
.kog-kd-stage__content .kog-kd-split__body strong { color: var(--wp--preset--color--warm-white); }
.kog-kd-stage__content .kog-kd-split__eyebrow { margin-bottom: 1.1rem; }

@media (max-width: 860px) {
	.kog-kd-stage { display: block; min-height: 0; }
	/* on mobile, drop the stage background photo and the figure — content only */
	.kog-kd-stage__photo,
	.kog-kd-stage__figure { display: none; }
	.kog-kd-stage__content { max-width: 100%; padding-top: 0; }
}

/* --------------------------------------------------------------------------
   1c. Framework split — image + editorial copy
   -------------------------------------------------------------------------- */
.kog-kd-split { padding-block: clamp(3.75rem, 6.5vw, 6rem); }
.kog-kd-split__grid {
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.kog-kd-split__figure { position: relative; margin: 0; }
.kog-kd-split__figure img {
	display: block;
	width: 100%;
	height: clamp(360px, 46vw, 540px);
	object-fit: cover;
	object-position: center;
	border-radius: 4px;
	box-shadow: 0 26px 50px -28px rgba(28,28,26,0.45);
}
/* gold offset frame, echoes the hero figure treatment */
.kog-kd-split__figure::after {
	content: "";
	position: absolute;
	inset: 16px -16px -16px 16px;
	border: 1px solid var(--wp--preset--color--gold-border);
	border-radius: 4px;
	z-index: -1;
}
.kog-kd-split__eyebrow { margin-bottom: 1.1rem; }
.kog-kd-split__head {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.75rem, 3vw, 2.45rem);
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--charcoal);
	margin: 0 0 1.5rem;
	text-wrap: balance;
}
.kog-kd-split__head em { font-style: italic; color: var(--wp--preset--color--gold); }
.kog-kd-split__body p {
	font-size: 1.08rem;
	line-height: 1.75;
	color: var(--wp--preset--color--charcoal);
}
.kog-kd-split__body p + p { margin-top: 1.05rem; }
.kog-kd-split__body strong { color: var(--wp--preset--color--forest); font-weight: 600; }

/* cutout variant — figure stands on the section edge instead of a framed photo */
.kog-kd-split--cutout .kog-kd-split__grid { align-items: stretch; }
.kog-kd-split--cutout .kog-kd-split__content { align-self: center; }
.kog-kd-split__figure--cutout {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	/* drop the figure to the section's bottom edge so it butts the next band */
	margin-bottom: calc(-1 * clamp(3.75rem, 6.5vw, 6rem));
}
.kog-kd-split__figure--cutout::after { display: none; }
.kog-kd-split__figure--cutout img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: clamp(440px, 52vw, 600px);
	object-fit: contain;
	border-radius: 0;
	box-shadow: none;
}
@media (max-width: 860px) {
	.kog-kd-split__grid { grid-template-columns: 1fr; }
	.kog-kd-split__figure::after { inset: 12px -12px -12px 12px; }
	.kog-kd-split--cutout .kog-kd-split__figure--cutout { margin-bottom: 0; }
}

/* --------------------------------------------------------------------------
   1b. Banner pullquote (large statement band, sits flush under the hero)
   -------------------------------------------------------------------------- */
.kog-kd-banner {
	background-color: var(--wp--preset--color--cream);
	padding-block: clamp(3.25rem, 6.5vw, 5.5rem);
	text-align: center;
}
.kog-kd-banner__q {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.6rem, 3.2vw, 2.6rem);
	line-height: 1.32;
	letter-spacing: -0.005em;
	color: var(--wp--preset--color--charcoal);
	max-width: 1000px;
	margin: 0 auto;
	text-wrap: balance;
}
.kog-kd-banner__q em { font-style: italic; color: var(--wp--preset--color--gold); }
.kog-kd-banner__q br { line-height: 2; }

/* --------------------------------------------------------------------------
   2. Framework lead (value proposition)
   -------------------------------------------------------------------------- */
.kog-kd-lead { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.kog-kd-lead__eyebrow { margin-bottom: 1.25rem; }
.kog-kd-lead__big {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.55rem, 2.8vw, 2.1rem);
	line-height: 1.4;
	color: var(--wp--preset--color--charcoal);
	max-width: 24ch;
	margin: 0 0 1.75rem;
}
.kog-kd-lead__big em { font-style: italic; color: var(--wp--preset--color--gold); }
.kog-kd-lead__body { max-width: 60ch; }
.kog-kd-lead__body p {
	font-size: 1.12rem;
	line-height: 1.75;
	color: var(--wp--preset--color--charcoal);
}
.kog-kd-lead__body p + p { margin-top: 1.1rem; }
.kog-kd-lead__body strong { color: var(--wp--preset--color--forest); font-weight: 600; }

/* --------------------------------------------------------------------------
   3. Pull-quote band
   -------------------------------------------------------------------------- */
.kog-kd-pullquote {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--warm-white);
	/* Deeper than the other bands. The mark hangs above and left of the quote,
	   so the section needs headroom the quote alone would not ask for —
	   at the old 6rem the mark sat almost on the top edge. Applied to both
	   sides, so the extra room does not make the section look top-heavy. */
	padding-block: clamp(4.5rem, 9vw, 9rem);
	text-align: center;
}
/* optional generated concept image behind the quote */
.kog-kd-pullquote__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.55;
	pointer-events: none;
}
.kog-kd-pullquote__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(26,58,42,0.55), rgba(26,58,42,0.80));
}
.kog-kd-pullquote .kog-kd-inner { position: relative; z-index: 1; }
.kog-kd-pullquote__q {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.6rem, 3.4vw, 2.5rem);
	/* Roomier than the 1.32 it ran at. These quotes set to 22ch over three or
	   four lines, and at display size the lines were closing up on each other. */
	line-height: 1.5;
	font-style: italic;
	max-width: 22ch;
	margin: 0 auto;
}
.kog-kd-pullquote__q em { color: var(--wp--preset--color--gold); font-style: italic; }
/* Oversized opening quotation mark. Decorative only — it sits behind the first
   line at low opacity, and the empty alt in `content` keeps it out of the
   accessibility tree so the quote isn't read with a stray glyph in front of it.
   Opt-in per page via the --mark modifier on the section. */
.kog-kd-pullquote--mark .kog-kd-pullquote__q {
	position: relative;
}
/* Hangs off the quote's top-left corner, behind the text. The offsets are em
   of the mark's OWN size, and Georgia sets the glyph's ink about a fifth of
   the way down that box — so the numbers below put the ink's bottom edge just
   clear of the first line's cap, not merely the box's.

   This is why the section's padding grew: at 14rem the mark needs roughly
   115px above the quote, and the old 96px band left it grazing the top edge. */
.kog-kd-pullquote--mark .kog-kd-pullquote__q::before {
	content: "\201C" / "";
	position: absolute;
	top: -0.52em;
	left: -0.42em;
	z-index: -1;
	/* A literal serif stack, not the brand face: the display font draws " as
	   two angular wedges, which at this size reads as a stray graphic rather
	   than a quotation mark. */
	font-family: Georgia, 'Times New Roman', serif;
	font-style: normal;
	font-weight: 700;
	font-size: clamp(8rem, 15vw, 14rem);
	line-height: 1;
	color: var(--wp--preset--color--gold);
	opacity: 0.32;
	pointer-events: none;
}

/* Narrow screens: the quote box runs nearly edge to edge, so the mark tucks in
   rather than hanging off the side where the section would clip it. */
@media (max-width: 781px) {
	.kog-kd-pullquote--mark .kog-kd-pullquote__q::before {
		top: -0.48em;
		left: -0.16em;
	}
}

/* One-line variant. "No tech stack fixes a trust problem." is a single clause
   and lands harder unbroken, but the family's 22ch measure breaks it across
   two lines at every size.

   Like the Ellen testimonial, "one line" is a relationship between the string
   and the screen, so the size is tied to the viewport rather than fixed and the
   two scale together. Measured in the child theme's display face the line runs
   18.7em, so it needs the inner width divided by 18.7 to stay unbroken; at
   2.6vw it sets 699px inside a 1136px inner at 1440, which is headroom rather
   than a squeeze. min() holds it to the family's 2.5rem cap on wide monitors.
   Below 900px it goes back to wrapping — 36 characters on one line on a phone
   would be eight-pixel type.

   `width: max-content` is the load-bearing part, not `max-width: none`. The
   decorative mark is positioned off this box's top-left corner, so a box left
   spanning the full inner would strand it 300px out in the margin, away from
   the text it belongs to. Shrink-wrapped, the box IS the line, the mark hangs
   where it is supposed to, and `margin: 0 auto` still centres it. */
@media (min-width: 900px) {
	.kog-kd-pullquote--oneline .kog-kd-pullquote__q {
		max-width: 100%;
		width: max-content;
		white-space: nowrap;
		font-size: min(2.6vw, 2.5rem);
	}
}

.kog-kd-pullquote__cite {
	margin-top: 1.5rem;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-light);
}

/* --------------------------------------------------------------------------
   4. Two-column band — who it's for / what they leave with
   -------------------------------------------------------------------------- */
.kog-kd-cols {
	background-color: var(--wp--preset--color--cream);
	padding-block: clamp(3.5rem, 6vw, 5.5rem);
}
.kog-kd-cols__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(2rem, 5vw, 4rem);
}
.kog-kd-col__eyebrow { margin-bottom: 1rem; }
.kog-kd-col__head {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.4rem, 2.4vw, 1.85rem);
	line-height: 1.2;
	color: var(--wp--preset--color--charcoal);
	margin: 0 0 1.25rem;
}
.kog-kd-col__head em { font-style: italic; color: var(--wp--preset--color--gold); }
.kog-kd-col p { font-size: 1.05rem; line-height: 1.7; color: var(--wp--preset--color--charcoal); }

/* outcomes list — gold tick rules instead of bullets */
.kog-kd-outcomes { list-style: none; margin: 0; padding: 0; }
.kog-kd-outcomes li {
	position: relative;
	padding: 1rem 0 1rem 2.25rem;
	font-size: 1.06rem;
	line-height: 1.6;
	color: var(--wp--preset--color--charcoal);
	border-top: 1px solid var(--wp--preset--color--gold-border);
}
.kog-kd-outcomes li:last-child { border-bottom: 1px solid var(--wp--preset--color--gold-border); }
.kog-kd-outcomes li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.45rem;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background:
		linear-gradient(transparent, transparent),
		var(--wp--preset--color--gold);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>") center/contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>") center/contain no-repeat;
}

/* --------------------------------------------------------------------------
   5. Stat accent (single big figure)
   -------------------------------------------------------------------------- */
.kog-kd-stat {
	padding-block: clamp(3rem, 5vw, 4.5rem);
	text-align: center;
}
.kog-kd-stat__number {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(3.2rem, 8vw, 5.5rem);
	line-height: 1;
	color: var(--wp--preset--color--gold);
	font-weight: 600;
}
.kog-kd-stat__label {
	margin-top: 1rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--wp--preset--color--charcoal);
	max-width: 44ch;
	margin-inline: auto;
}

/* The qualifier that has to travel with the number. "$411 BILLION" on its own
   reads as a settled figure; it is the top of a range in a 2016 report, and the
   "UP TO" is what keeps that honest. Set tight above the number with almost no
   gap so the two read as one unit — far enough apart and it becomes a stray
   eyebrow that a reader can skip.

   Light-ground gold, since this band is cream: the child re-points
   `.kog-kd-stat__number` through its own selector list, but these are new and
   are not in it, so they carry the token directly with a parent fallback. */
.kog-kd-stat__qualifier {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--kg-gold-text, #8A6A1F);
	margin: 0 0 0.35rem;
}

/* The figure needs its provenance, and provenance is not headline copy — it
   steps down to a quieter size and a narrower measure than the label above it
   so the eye takes the number, then the claim, then the detail, in that order. */
.kog-kd-stat__note {
	margin: 1.25rem auto 0;
	max-width: 62ch;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--wp--preset--color--charcoal);
	opacity: 0.82;
}

.kog-kd-stat__source {
	display: block;
	margin-top: 0.9rem;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--kg-gold-text, #8A6A1F);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.kog-kd-stat__source:hover,
.kog-kd-stat__source:focus-visible {
	text-decoration-thickness: 2px;
}

/* Rx is the only stat block that carries a headline, and the headline runs the
   full inner width. A 44ch paragraph under it reads as a stray caption, so the
   measure opens up — but only for the variant that has a head. Performance
   Rehab's stat is number + label alone and keeps the tighter measure. */
.kog-kd-stat:has(.kog-kd-stat__head) .kog-kd-stat__label {
	max-width: 70ch;
}

/* Rx's credibility band carries a heading between the figure and the body.
   The Rehab page runs figure-plus-label with nothing in between, so this has
   no existing rule to inherit. */
.kog-kd-stat__head {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.35rem, 2.6vw, 2rem);
	line-height: 1.2;
	color: var(--wp--preset--color--charcoal);
	/* No cap — the sentence is short and reads better unbroken. */
	max-width: none;
	margin: 1.1rem auto 0;
	text-wrap: balance;
}

/* --------------------------------------------------------------------------
   6. Cross-sell — explore the other keynotes
   -------------------------------------------------------------------------- */
.kog-kd-cross { padding-block: clamp(3.5rem, 6vw, 5rem); }
.kog-kd-cross__head {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	color: var(--wp--preset--color--charcoal);
	margin: 0.75rem 0 2rem;
}
.kog-kd-cross__head em { font-style: italic; color: var(--wp--preset--color--gold); }
.kog-kd-cross__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2.5vw, 1.5rem);
}
.kog-kd-cross__card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.6rem 1.4rem;
	background-color: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--gold-border);
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	transition: background 0.3s ease, transform 0.3s ease;
}
.kog-kd-cross__card::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 100%; height: 2px;
	background: var(--wp--preset--color--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}
.kog-kd-cross__card:hover { background-color: var(--wp--preset--color--gold-pale); transform: translateY(-3px); }
.kog-kd-cross__card:hover::after { transform: scaleX(1); }
.kog-kd-cross__cat {
	font-size: 0.7rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gray);
}
.kog-kd-cross__title {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 1.4rem;
	line-height: 1.15;
	color: var(--wp--preset--color--charcoal);
	margin: 0;
}
.kog-kd-cross__title em { font-style: italic; color: var(--wp--preset--color--gold); }
.kog-kd-cross__desc {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--wp--preset--color--charcoal);
	margin: 0;
}
.kog-kd-cross__link {
	margin-top: auto;
	padding-top: 0.75rem;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--wp--preset--color--forest);
	text-decoration: none;
}
.kog-kd-cross__card a.kog-kd-cross__cardlink { position: absolute; inset: 0; z-index: 2; text-indent: -9999px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.kog-kd-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
	.kog-kd-hero__figure { order: -1; }
	.kog-kd-hero__figure img { height: clamp(300px, 70vw, 460px); }
	.kog-kd-cols__grid { grid-template-columns: 1fr; }
	.kog-kd-cross__grid { grid-template-columns: 1fr; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
	.kog-kd-cross__card { transition: none; }
}

/* --------------------------------------------------------------------------
   Keynotes index — 4-up cross grid (used by keynote-grid-cross pattern).
   Placed last so it wins over the base 3-up + single-column rules above.
   -------------------------------------------------------------------------- */
.kog-kd-cross__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
	.kog-kd-cross__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.kog-kd-cross__grid--4 { grid-template-columns: 1fr; }
}

/* 2-up variant — cross-sell grids that carry only two cards (workshop pages). */
.kog-kd-cross__grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) {
	.kog-kd-cross__grid--2 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Image placeholders — used by detail pages built before real photography
   exists (e.g. the workshop pages). Forest→gold brand wash with a centered,
   clearly-marked label so the slot reads as "drop a photo here", not filler.
   -------------------------------------------------------------------------- */
.kog-kd-ph {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background:
		linear-gradient(135deg,
			var(--wp--preset--color--forest) 0%,
			var(--wp--preset--color--forest-mid) 55%,
			var(--wp--preset--color--gold) 150%);
}
.kog-kd-ph::after {
	content: attr(data-ph);
	padding: 0.55rem 1rem;
	border: 1px solid rgba(245, 232, 192, 0.4);
	border-radius: 3px;
	color: rgba(250, 248, 243, 0.78);
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
/* Hero portrait slot — rounded-top silhouette that butts the hero's base. */
.kog-kd-ph--portrait {
	width: min(380px, 84%);
	height: clamp(420px, 54vw, 600px);
	border-radius: 220px 220px 0 0;
}

/* Hero "pairs with" line + meta pills (workshop detail heroes) */
.kog-kd-hero__pairs {
	font-size: 0.9rem;
	color: var(--wp--preset--color--forest);
	/* Was -0.4rem, which cancelled the 1.15rem sibling gap and then pulled this
	   line up into the subtitle above it. Still tighter than a full sibling gap,
	   since the two belong together, but they no longer collide. */
	margin-top: 0.75rem;
}
.kog-kd-hero__pairs a {
	color: var(--wp--preset--color--gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.kog-kd-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.7rem;
}
.kog-kd-hero__meta .kog-kd-pill {
	display: inline-flex;
	flex-direction: column;
	gap: 0.1rem;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--wp--preset--color--gold-border);
	border-radius: 4px;
	background: rgba(196, 151, 58, 0.06);
}
.kog-kd-hero__meta .kog-kd-pill b {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--wp--preset--color--charcoal);
}
.kog-kd-hero__meta .kog-kd-pill span {
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gray);
}

/* --------------------------------------------------------------------------
   Hero "charisma" variant — vibrant light hero for keynote + workshop detail
   pages. Gold pill eyebrow, oversized headline with a gold marker-highlight on
   the accent word, CTAs, and the diagnosis line as a pull-statement beneath.
   Flexible: every page supplies its own eyebrow/title/subtitle/cutout/diagnosis.
   -------------------------------------------------------------------------- */
/* Header floats over the hero (position: fixed), so it no longer takes flow
   space above — the hero fills the full screen and reserves its own top
   clearance below instead. */
.kog-kd-hero--charisma {
	min-height: 100svh;
}
/* Block layout: title block on the left with the diagnosis line in normal flow
   directly beneath it, and the cutout as an absolute layer on the right — so the
   gap between the buttons and the statement is fixed and identical on every page,
   regardless of how tall the copy or the image is. Top padding clears the
   floating header (same clearance the home hero uses); bottom keeps the
   original breathing room. */
.kog-kd-hero--charisma .kog-kd-hero__inner {
	display: block;
	position: relative;
	min-height: inherit;
	padding-top: clamp(7rem, 10vw, 9rem);
	padding-bottom: clamp(1.75rem, 5vh, 3.5rem);
	box-sizing: border-box;
}
.kog-kd-hero--charisma .kog-kd-hero__text {
	width: min(58%, 660px);
	padding: 0;
}
/* Cutout — absolute layer pinned right, full height, bottom-aligned. */
.kog-kd-hero--charisma .kog-kd-hero__cutout {
	position: absolute;
	inset: 0 0 0 auto;
	width: 42%;
	margin: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	z-index: 0;
}
/* Cap the figure's height to the room actually available under the floating
   header so it stays bottom-anchored but never grows tall enough to reach it,
   regardless of viewport height. */
.kog-kd-hero--charisma .kog-kd-hero__cutout img {
	max-height: calc(100svh - clamp(7rem, 10vw, 9rem) - clamp(1rem, 3vh, 2rem));
}
/* Gold pill eyebrow */
.kog-kd-hero--charisma .kog-kd-hero__eyebrow {
	display: inline-block;
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--forest) !important;
	padding: 0.42rem 1rem;
	border-radius: 100px;
	font-weight: 700;
	margin: 0 0 1.5rem;
}

/* The line above the pill. Plain eyebrow, not a second pill — two stacked
   pills would read as a pair of tags rather than a label and its categories.

   !important because `.is-style-kog-eyebrow` sets `margin: 1rem !important`,
   which is right for eyebrows standing alone above a heading but leaves this
   one floating away from the pill it belongs to. */
.kog-kd-hero__kicker {
	margin: 0 0 0.9rem !important;
}

/* The pill is an inline-block and taller than the line it sits on, so it sits
   in a line box that keeps ~24px of leading above it. Margin does not reach
   that: set margin-top to -0.8rem and the measured gap does not move at all.
   `display: table` is the fix — still shrink-to-fit, so the pill keeps its
   shape, but block-level, so there is no line box and the margin governs.
   Scoped to the adjacency, so a pill standing on its own is untouched. */
.kog-kd-hero__kicker + .kog-kd-hero__eyebrow {
	display: table;
	margin-top: 0.15rem;
}
/* Oversized, confident headline */
.kog-kd-hero--charisma .kog-kd-hero__title {
	font-size: clamp(3rem, 6.4vw, 5.5rem);
	line-height: 0.98;
	margin: 0 0 1.25rem;
}

/* Same problem the alt homepage hero had: this title caps at 5.5rem, so a
   trademark set at full weight is an 88px glyph reading as part of the word.
   Sized in `em` so it tracks the clamp down, raised by its own measure to sit
   at the cap line, and `line-height: 1` keeps it out of the line box so it
   cannot shift the headline. Upright while "Rehab" is italic — the mark is a
   legal symbol, not part of the word it follows. */
.kog-kd-hero__tm {
	font-size: 0.38em;
	line-height: 1;
	/* Raise resolves against the mark's OWN size, so it has to come down as the
	   mark grows — 1.5em was tuned for 0.28em and would throw this one well
	   above the cap line. */
	vertical-align: 1.1em;
	/* Playfair leaves no sidebearing worth the name after the "b", so the mark
	   was sitting flush against it. The space is explicit. */
	margin-left: 0.28em;
	font-style: normal;
	letter-spacing: 0;
}
/* Gold marker-highlight swiped across the accent word. box-decoration-break so
   it survives a word wrapping to two lines on narrower pages. */
.kog-kd-hero--charisma .kog-kd-hero__title em {
	font-style: italic;
	color: var(--wp--preset--color--gold);
	background-image: linear-gradient(transparent 56%, var(--wp--preset--color--gold-pale) 56%, var(--wp--preset--color--gold-pale) 94%, transparent 94%);
	background-repeat: no-repeat;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	padding-inline: 0.06em;
}
.kog-kd-hero--charisma .kog-kd-hero__actions { margin-top: 1.6rem !important; }
/* Diagnosis line — normal flow directly beneath the title block, so it keeps a
   fixed gap below the buttons/meta on every page; wide + centred so it reads
   across the frame and over the cutout. */
.kog-kd-hero--charisma .kog-kd-hero__statement {
	position: relative;
	z-index: 1;
	margin-top: clamp(1.25rem, 2.6vh, 1.75rem);
	width: min(1080px, 100%);
	text-align: center;
	max-width: none;
}
.kog-kd-hero--charisma .kog-kd-hero__stmt-line {
	font-size: clamp(1.4rem, 2.9vw, 2.7rem);
	line-height: 1.14;
	text-wrap: balance;
}
/* Denser copy (workshops + aftercare) — step the headline down so long titles
   hold to two lines, and size the diagnosis line to sit under the meta pills. */
.kog-kd-hero--charisma:has(.kog-kd-hero__meta) .kog-kd-hero__title {
	font-size: clamp(2.4rem, 4.6vw, 4rem);
}
.kog-kd-hero--charisma:has(.kog-kd-hero__meta) .kog-kd-hero__stmt-line {
	font-size: clamp(1.3rem, 2.4vw, 2.2rem);
}
.kog-kd-hero__stmt-line {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.4rem, 2.1vw, 2.05rem);
	line-height: 1.22;
	font-weight: 600;
	color: var(--wp--preset--color--charcoal);
	margin: 0;
}
.kog-kd-hero__stmt-line em { font-style: italic; color: var(--wp--preset--color--gold); }
@media (max-width: 1024px) {
	/* Stacked, normal-flow: title block, cutout, statement. */
	.kog-kd-hero--charisma { min-height: 0; }
	.kog-kd-hero--charisma .kog-kd-hero__inner {
		min-height: 0;
		padding-top: clamp(7rem, 10vw, 9rem);
		padding-bottom: clamp(2rem, 8vw, 3.5rem);
	}
	.kog-kd-hero--charisma .kog-kd-hero__text { width: 100%; }
	.kog-kd-hero--charisma .kog-kd-hero__cutout {
		position: static;
		inset: auto;
		width: 100%;
		margin-top: 1.5rem;
	}
	/* Stacked below the text, clear of the header — drop the viewport-height
	   cap and go back to the default figure sizing. */
	.kog-kd-hero--charisma .kog-kd-hero__cutout img {
		max-height: clamp(480px, 66vw, 700px);
	}
	/* Opt-in: the cutout is the last thing in this hero, and the portrait should
	   run into the section below rather than float above a band of white. On
	   desktop that happens for free — the figure is absolutely positioned to the
	   inner's padding box and overhangs the hero's bottom edge by a few pixels,
	   which `overflow: hidden` trims. Stacked, the figure is back in normal flow
	   and this padding lands under it, so it comes off.

	   A modifier rather than a blanket rule: Rx and Performance Rehab have not
	   asked for this, and any hero that stacks something after its cutout — as
	   The Recovery Edge did until its statement moved out to its own band —
	   still needs the padding. */
	.kog-kd-hero--flush .kog-kd-hero__inner {
		padding-bottom: 0;
	}
	.kog-kd-hero--charisma .kog-kd-hero__statement {
		width: 100%;
		margin-top: 1.75rem;
	}
	.kog-kd-hero--charisma .kog-kd-hero__stmt-line {
		font-size: clamp(1.9rem, 6vw, 2.6rem);
	}
}

/* ==========================================================================
   Standalone culture statement
   --------------------------------------------------------------------------
   The Human Side of Change opens on a two-sentence statement that used to ride
   inside the hero, as `.kog-kd-hero__statement` still does on The Recovery
   Edge. In a hero carrying a five-word title, a hook, a supporting paragraph
   and two buttons it had nowhere to sit without crowding the portrait, so here
   it is its own band between the hero and the narrative section.

   Deliberately plain: warm-white ground, no eyebrow, no rule, no attribution.
   The whole effect is the space around it, so the vertical padding is the one
   value worth guarding — it is what makes this read as a beat rather than as a
   stray paragraph.

   The two sentences are separate block-level lines rather than one paragraph
   with a <br>, so each wraps on its own and the second can take the gold
   italic without dragging the first into it.
   ========================================================================== */

.kog-kd-statement {
	padding-block: clamp(4.5rem, 9vw, 8rem);
	text-align: center;
}

.kog-kd-statement__line {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.6rem, 3.6vw, 3rem);
	line-height: 1.18;
	font-weight: 600;
	color: var(--wp--preset--color--charcoal);
	/* Room for the longer second sentence to hold two lines at most on desktop,
	   and `balance` so it breaks evenly rather than leaving one orphan word. */
	max-width: 22ch;
	margin: 0 auto;
	text-wrap: balance;
}

.kog-kd-statement__line + .kog-kd-statement__line {
	margin-top: 0.5rem;
}

.kog-kd-statement__line em {
	font-style: italic;
	/* The light-ground gold, not the brand gold. This band is gold-pale, and
	   full-strength gold on it measures 1.6:1 — the line was legible only
	   because it is set at 48px. Same var-with-fallback the book page uses;
	   the fallback is for the parent theme running on its own, where it clears
	   4.2:1 on the parent's gold-pale. */
	color: var(--kg-gold-text, #8A6A1F);
}

@media (max-width: 640px) {
	/* 22ch of display type is narrower than a phone wants; let it use the
	   column and wrap naturally. */
	.kog-kd-statement__line { max-width: 100%; }
}

/* ==========================================================================
   Inside the keynote
   --------------------------------------------------------------------------
   The three parts of the performance environment, then the hand-off to the
   methodology on the homepage.

   Warm-white on purpose. It lands between the dark split section and the
   cream "20+ Years" band, and cream here would butt into that band with no
   seam between them.
   ========================================================================== */

.kog-kd-method {
	padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.kog-kd-method__head {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.9rem, 3.6vw, 2.75rem);
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--charcoal);
	margin: 0.75rem 0 0;
}

.kog-kd-method__intro {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--wp--preset--color--gray);
	max-width: 60ch;
	margin: 1rem 0 0;
}

.kog-kd-method__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2.5vw, 1.5rem);
	margin-top: clamp(2rem, 4vw, 3rem);
}

/* Same chip as the cross-links at the foot of the page — cream on warm-white
   behind a gold hairline — so the page's two card rows read as one family
   rather than two inventions. */
.kog-kd-method__card {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.6rem 1.4rem;
	background-color: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--gold-border);
	border-radius: 4px;
}

.kog-kd-method__card p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--wp--preset--color--charcoal);
	margin: 0;
}

/* The methodology hand-off. Ruled off rather than boxed: it is a different
   thought from the three cards, not a fourth one. */
.kog-kd-method__next {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--wp--preset--color--gold-border);
	max-width: 62ch;
}

.kog-kd-method__sub {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.15;
	color: var(--wp--preset--color--charcoal);
	margin: 0.75rem 0 0;
}

.kog-kd-method__next p {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--wp--preset--color--gray);
	margin: 1rem 0 1.75rem;
}

/* The page's ghost button is drawn for dark grounds — cream text, which would
   vanish here. The light repaint exists already but is scoped to the hero, so
   this section needs its own. */
.kog-kd-method .kog-kd-btn--ghost {
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--charcoal);
}

.kog-kd-method .kog-kd-btn--ghost:hover {
	background: var(--wp--preset--color--gold-pale);
}

@media (max-width: 781px) {
	.kog-kd-method__grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Hero with both a positioning line and a descriptor
   --------------------------------------------------------------------------
   The other keynote pages run a subtitle on its own, where the small tracked
   gold works. This one carries a second, longer line underneath, and the
   positioning line is the one that should lead — so here the two swap weight.

   Not a straight swap of the two rules. Set the descriptor in the tracked
   uppercase and it becomes a 130-character all-caps run; set the positioning
   line in the descriptor's size and it is still the quieter of the two. Each
   keeps a voice that suits its length instead.

   `:has()` scopes this to heroes carrying both lines, so the single-subtitle
   pages are untouched. The file already leans on `:has()` for the meta-pill
   variant, so this is not a new dependency.
   -------------------------------------------------------------------------- */

/* The title carries a trademark and the positioning line under it is set at
   display size, so the default 1.25rem closes them up. Scoped to the hero that
   runs both lines, like the pair of rules below it. */
.kog-kd-hero:has(.kog-kd-hero__tagline) .kog-kd-hero__title {
	margin-bottom: 2.1rem;
}

.kog-kd-hero:has(.kog-kd-hero__tagline) .kog-kd-hero__subtitle {
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: clamp(1.35rem, 2.4vw, 1.9rem);
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	max-width: 26ch;
	margin-top: 0.85rem;
}

.kog-kd-hero:has(.kog-kd-hero__subtitle) .kog-kd-hero__tagline {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-style: normal;
	font-size: 1rem;
	line-height: 1.7;
	max-width: 54ch;
	margin-top: 1.1rem;
}

/* The audience line under "this one's for". Set apart from the paragraph above
   it by a change of voice — tracked caps rather than prose — and a short gold
   rule, the same marker the thesis band uses. A full-width hairline was the
   first attempt: at the child theme's gold-border alpha it is invisible on
   cream, which is no distinction at all.

   Gold comes from the preset, which the KG child re-points at its light-ground
   gold; at full strength #EEBA2B this would sit on cream at about 1.5:1.

   Selector carries the element because `.kog-kd-col p` sets font-size, colour
   and line-height at one specificity point higher than a lone class — a plain
   `.kog-kd-col__audience` loses all three and renders as body copy. */
.kog-kd-col p.kog-kd-col__audience {
	position: relative;
	margin-top: 1.6rem;
	padding-top: 1.5rem;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.9;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
}

.kog-kd-col p.kog-kd-col__audience::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 2px;
	background: var(--wp--preset--color--gold);
}

/* ==========================================================================
   Workshop pages
   ==========================================================================
   The workshop overview and the three workshop detail pages are built from
   the kog-kd-* components above. What follows is only what those pages need
   on top of them: a card number, the participation section, the continuation
   teaser, the per-page closing panel, and the two Recovery-only sections.
   Nothing here is referenced by the keynote pages.
   ========================================================================== */

/* The workshops hero jumps here. The site header is a fixed overlay about
   100px deep, so the anchor has to clear it with room to spare — at the
   home page's 96px the eyebrow lands flush against the nav's lower edge. */
#workshops {
	scroll-margin-top: 130px;
}

/* Card number, above the category line. Deliberately quieter than the
   category: it is an index, not a label, so it reads as forest rather than
   competing with the gold the title already carries. */
.kog-kd-cross__num {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--forest);
}

/* --------------------------------------------------------------------------
   How the workshops work
   --------------------------------------------------------------------------
   Text beside the photo, callouts underneath. The supplied photograph is
   512px wide, so the image column is capped at its natural width instead of
   being stretched to fill half the row — upscaling a 512px source across a
   600px column is visibly soft.
   -------------------------------------------------------------------------- */
.kog-workshop-how {
	padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.kog-workshop-how__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 512px);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

/* The section carries two tracked lines — the section label and the eyebrow.
   The label is set in forest so the gold eyebrow below it still leads. */
.kog-workshop-how__label {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--forest);
	margin: 0 0 0.75rem;
}

.kog-workshop-how__head {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.9rem, 3.4vw, 2.6rem);
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--charcoal);
	margin: 0.75rem 0 0;
}

.kog-workshop-how__head em {
	font-style: italic;
	color: var(--wp--preset--color--gold);
}

.kog-workshop-how__body {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--wp--preset--color--charcoal);
	max-width: 58ch;
	margin: 1.25rem 0 0;
}

/* Full landscape composition, never cropped: the facilitator sits at the top
   of the frame and the participants at the bottom, so a fixed-ratio crop
   loses one or the other. */
.kog-workshop-how__figure {
	margin: 0;
	justify-self: end;
	width: 100%;
	max-width: 512px;
}

.kog-workshop-how__figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
	border: 1px solid var(--wp--preset--color--gold-border);
}

@media (max-width: 900px) {
	.kog-workshop-how__grid {
		grid-template-columns: 1fr;
	}
	/* Image after the body, before the callouts. */
	.kog-workshop-how__figure {
		justify-self: start;
	}
}

/* --------------------------------------------------------------------------
   Continue the work — overview teaser
   -------------------------------------------------------------------------- */
/* Asymmetric on purpose. The section's last element is a gold pill, and the
   band underneath it is a full-bleed dark photo with a hard edge — at even
   padding the button reads as sitting on that edge rather than closing this
   section. The extra below gives it room to land. */
.kog-continue-teaser {
	padding-block: clamp(3.5rem, 6vw, 5rem) clamp(5.5rem, 8vw, 7rem);
}

.kog-continue-teaser__head {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	line-height: 1.15;
	color: var(--wp--preset--color--charcoal);
	margin: 0;
}

.kog-continue-teaser__head em {
	font-style: italic;
	color: var(--wp--preset--color--gold);
}

.kog-continue-teaser__body {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--wp--preset--color--charcoal);
	max-width: 62ch;
	margin: 1.25rem 0 0;
}

/* Section label above the pathway row. Forest rather than the gold eyebrow:
   the CTA underneath repeats this wording, and two golds that close together
   read as the same control twice. */
.kog-continue-teaser__label {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--forest);
	margin: clamp(2rem, 4vw, 3rem) 0 0;
}

/* The three pathways share one CTA, so they are described cards rather than
   links — nothing inside them is clickable, and the row below is the single
   thing to act on. Same cream chip on a gold hairline as the workshop cards
   and the Inside the Workshop trio, so the page reads as one family.

   `align-items: stretch` is what keeps the three balanced when the middle
   title wraps to two lines and the others do not. */
.kog-continue-teaser__paths {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
	gap: clamp(1rem, 2.5vw, 1.5rem);
	margin: 1rem 0 0;
	padding: 0;
}

.kog-continue-teaser__path {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.6rem 1.4rem;
	background-color: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--gold-border);
	border-radius: 4px;
}

/* Tracked gold caps, the same voice the Inside the Workshop cards use for
   their labels. Set on a heading for the outline rather than a paragraph,
   which is why the eyebrow block style is not reused here — it carries an
   !important margin meant for paragraphs. */
.kog-continue-teaser__path-title {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.6;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
	margin: 0;
}

.kog-continue-teaser__path p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--wp--preset--color--charcoal);
	margin: 0;
}

@media (max-width: 900px) {
	.kog-continue-teaser__paths {
		grid-template-columns: 1fr;
	}
}

/* Clear of the card row above it — at the old 1.75rem the button sat closer
   to the cards than the cards sit to each other. */
.kog-continue-teaser__cta {
	margin-top: clamp(2.25rem, 3.5vw, 3rem);
}

/* --------------------------------------------------------------------------
   Per-page closing panel
   --------------------------------------------------------------------------
   Each workshop closes on its own wording, so these pages leave the shared
   gold global-cta part out of the template and end here instead. Deep green
   so the page's last band is not a third warm-white section in a row.
   -------------------------------------------------------------------------- */
.kog-kd-close {
	padding-block: clamp(3.75rem, 6.5vw, 5.5rem);
	text-align: center;
}

.kog-kd-close__head {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.8rem, 3.2vw, 2.5rem);
	line-height: 1.15;
	color: var(--wp--preset--color--warm-white);
	margin: 0.85rem 0 0;
}

.kog-kd-close__head em {
	font-style: italic;
	color: var(--wp--preset--color--gold);
}

.kog-kd-close__body {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--wp--preset--color--cream);
	max-width: 62ch;
	margin: 1.25rem auto 0;
}

.kog-kd-close .kog-kd-btn {
	margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

.kog-kd-close__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

.kog-kd-close__actions .kog-kd-btn {
	margin-top: 0;
}

/* Ghost button beside the gold one, drawn for the dark ground. */
.kog-kd-close .kog-kd-btn--ghost {
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--cream);
}

.kog-kd-close .kog-kd-btn--ghost:hover {
	background: rgba(196, 151, 58, 0.18);
}

/* --------------------------------------------------------------------------
   A tracked scan line on its own
   --------------------------------------------------------------------------
   Same voice as .kog-kd-col__audience, but usable outside the two-column
   block — Recovery's credentials line and the continuation page's audience
   lists both need it without the surrounding column.
   -------------------------------------------------------------------------- */
.kog-kd-scan {
	position: relative;
	margin: 1.6rem 0 0;
	padding-top: 1.5rem;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.9;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
}

.kog-kd-scan::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 2px;
	background: var(--wp--preset--color--gold);
}

/* --------------------------------------------------------------------------
   Recovery by Design — optional Rest Tech™ add-on
   --------------------------------------------------------------------------
   Copy beside the photograph. The headset branding sits in the top-left of
   the frame, so this image is never cropped either — full landscape, sized
   to its column.
   -------------------------------------------------------------------------- */
/* Same asymmetry as the continuation teaser, for the same reason: this
   section ends on a gold pill and the conference testimonial below it is a
   full-bleed dark photo with a hard edge. */
.kog-kd-resttech {
	padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(5.5rem, 8vw, 7rem);
}

.kog-kd-resttech__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem);
	align-items: start;
}

/* Three direct children — text, photo, CTA — rather than a text column with
   the CTA inside it. On desktop the photo spans both rows beside them; on
   narrow screens the grid collapses to one column and the source order is
   already the order the copy asks for: body, then photo, then the CTA. */
.kog-kd-resttech__figure {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	margin: 0;
	width: 100%;
}

.kog-kd-resttech__figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.kog-kd-resttech__head {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.8rem, 3.2vw, 2.4rem);
	line-height: 1.15;
	color: var(--wp--preset--color--charcoal);
	margin: 0.75rem 0 0;
}

.kog-kd-resttech__head em {
	font-style: italic;
	color: var(--wp--preset--color--gold);
}

.kog-kd-resttech__body {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--wp--preset--color--charcoal);
	max-width: 56ch;
	margin: 1.25rem 0 0;
}

.kog-kd-resttech__cta {
	justify-self: start;
	align-self: start;
}

@media (max-width: 900px) {
	.kog-kd-resttech__grid {
		grid-template-columns: 1fr;
	}
	.kog-kd-resttech__figure {
		grid-column: auto;
		grid-row: auto;
	}
}

/* --------------------------------------------------------------------------
   Workshop bridge — the section label above the eyebrow
   -------------------------------------------------------------------------- */
.kog-workshop-bridge__label {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--cream);
	opacity: 0.72;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Testimonial with no named attribution
   --------------------------------------------------------------------------
   Two of the supplied quotes arrived without a name, role or organization.
   Rather than borrow another testimonial's identity, the attribution row
   carries the single line on its own and drops the headshot slot entirely.
   -------------------------------------------------------------------------- */
.kog-featured-testimonial-attr--anon {
	justify-content: center;
}

.kog-featured-testimonial-attr--anon .kog-featured-testimonial-name {
	letter-spacing: 0.14em;
	opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Continuation page — offer summary cards
   -------------------------------------------------------------------------- */
.kog-kd-cross__meta {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--forest);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Continue the Work — page-internal anchors and layout
   -------------------------------------------------------------------------- */
#strategy-session,
#coaching {
	scroll-margin-top: 130px;
}

/* The takeaway list under the coaching narrative. Ruled off the same way the
   method section's hand-off is, so the two offers close alike. */
.kog-kd-lead__outcomes {
	margin-top: clamp(2rem, 4vw, 2.75rem);
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid var(--wp--preset--color--gold-border);
	max-width: 62ch;
}

.kog-kd-lead__outcomes .is-style-kog-eyebrow {
	margin-bottom: 1.1rem;
}

/* Scoped to the list, not to the eyebrow: the Performance Rehab keynote uses
   the same hand-off block for a heading and paragraph, and spacing the
   eyebrow there would move that page. */
.kog-kd-method__next .kog-kd-outcomes {
	margin-top: 1.1rem;
}

/* Both audiences in one section: a label, an eyebrow, then the two scan
   lines side by side. Each column's heading names the offer, so the scan
   lines cannot be read against the wrong one. */
.kog-kd-audience__label {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--forest);
	margin: 0 0 0.75rem;
}

.kog-kd-audience__grid {
	margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

.kog-kd-audience__grid .kog-kd-col__head {
	margin-top: 0;
}

/* --------------------------------------------------------------------------
   Focus rings for the new gold buttons
   --------------------------------------------------------------------------
   These three sit on grounds where the UA's blue ring is close to invisible
   — a gold pill on deep green, or on cream. Scoped to the workshop-page
   buttons so the keynote pages keep the focus treatment they already have.
   -------------------------------------------------------------------------- */
.kog-kd-close .kog-kd-btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--warm-white);
	outline-offset: 3px;
}

.kog-continue-teaser__cta:focus-visible,
.kog-kd-resttech__cta:focus-visible {
	outline: 2px solid var(--wp--preset--color--forest);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Continue the Work — the third pathway
   --------------------------------------------------------------------------
   The workshops overview offers three ways to continue; two of them are
   detailed offers on this page and the third is the workshop catalogue
   itself. Rather than invent a third card with nothing behind it, the
   pathway stays reachable as a quiet line under the pair.
   -------------------------------------------------------------------------- */
.kog-kd-cross__aside {
	margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--wp--preset--color--gray);
}

.kog-kd-cross__aside a {
	color: var(--wp--preset--color--forest);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--gold-border);
	padding-bottom: 1px;
	transition: border-color 240ms ease-out, color 240ms ease-out;
}

.kog-kd-cross__aside a:hover {
	color: var(--wp--preset--color--gold);
	border-bottom-color: var(--wp--preset--color--gold);
}

.kog-kd-cross__aside a:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}
