/**
 * KOG · About (Baseline) — pattern styles
 * -----------------------------------------------------------------------------
 * Second About variant, built from the baseline "About Khaliah" design as the
 * source of truth: Newsreader + Hanken Grotesk, the #173B2C/#D6A23C palette,
 * 7px buttons, stat strips, editorial two-columns, gold-top-border stat bands,
 * scrimmed stage bands, and centered pull quotes.
 *
 * All selectors are scoped under `.kog-abb*` and all custom properties are
 * namespaced `--kog-b-*` so this file never collides with about-patterns.css
 * (the editorial/mockup variant) or the rest of the theme.
 */

:root {
	--kog-b-green:      #173B2C;
	--kog-b-green-deep: #0F2A1F;
	--kog-b-green-mid:  #1F4A39;
	--kog-b-line:       rgba(245, 239, 226, 0.16);
	--kog-b-cream:      #F5EFE2;
	--kog-b-cream-2:    #FBF7EE;
	--kog-b-gold:       #D6A23C;
	--kog-b-gold-soft:  #E4BE72;
	--kog-b-ink:        #18211C;
	--kog-b-ink-soft:   #51604F;
	--kog-b-serif:      'Newsreader', Georgia, 'Times New Roman', serif;
	--kog-b-sans:       'Hanken Grotesk', system-ui, -apple-system, sans-serif;
}

/* ---------------------------------------------------------------------------
 * Section shells + backgrounds
 * ------------------------------------------------------------------------- */
.kog-abb-section {
	font-family: var(--kog-b-sans);
	padding-block: clamp(4rem, 8vw, 6rem);
	padding-inline: clamp(1.25rem, 5vw, 2rem);
}
.kog-abb-section p { line-height: 1.08; }

.kog-abb--cream  { background: var(--kog-b-cream-2); color: var(--kog-b-ink); }
.kog-abb--cream2 { background: var(--kog-b-cream);   color: var(--kog-b-ink); }
.kog-abb--green  { background: var(--kog-b-green);      color: var(--kog-b-cream); }
.kog-abb--deep   { background: var(--kog-b-green-deep); color: var(--kog-b-cream); }
.kog-abb--green p,
.kog-abb--deep p { color: rgba(245, 239, 226, 0.86); }
.kog-abb-muted   { color: var(--kog-b-ink-soft); }

/* Butt the stacked baseline bands together. WordPress core adds a 1.5rem
   block gap via `:root :where(.is-layout-constrained) > *` (zero specificity);
   this real selector overrides it for the top-level sections only. */
.entry-content > .kog-abb-section { margin-block-start: 0; }

/* ---------------------------------------------------------------------------
 * Shared type
 * ------------------------------------------------------------------------- */
.kog-abb-kicker {
	font-family: var(--kog-b-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--kog-b-gold);
	margin: 0 0 1.1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}
.kog-abb-kicker::before {
	content: "";
	width: 26px;
	height: 1px;
	background: currentColor;
	display: inline-block;
	flex: none;
}
.kog-abb-kicker.is-centered { justify-content: center; }

/* About-baseline page only: chapter eyebrow uses the page's gold (not the editorial grey). */
.page-id-55 .kog-ed .kog-ed-chapnum { color: var(--kog-b-gold); }

.kog-abb-h1,
.kog-abb-h2,
.kog-abb-h3 {
	font-family: var(--kog-b-serif);
	font-weight: 500;
	letter-spacing: -0.01em;
	margin: 0;
}
.kog-abb-h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.03; }
.kog-abb-h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.06; }
.kog-abb-h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.15; }

.kog-abb-h1 em,
.kog-abb-h2 em,
.kog-abb-h3 em,
.kog-abb-pull em,
.kog-abb-bignote em { color: var(--kog-b-gold); font-style: italic; }

.kog-abb-lead { font-size: clamp(1.12rem, 1.7vw, 1.35rem); line-height: 1.6; }
.kog-abb-note {
	font-family: var(--kog-b-serif);
	font-style: italic;
	font-size: clamp(1.25rem, 2.2vw, 1.7rem);
	line-height: 1.4;
	color: var(--kog-b-ink);
}
.kog-abb--green .kog-abb-note,
.kog-abb--deep .kog-abb-note { color: var(--kog-b-cream); }

/* Body copy — brand kit: DM Sans · 15px · weight 400 · line-height ~1.7.
   Headlines stay Newsreader; eyebrows/buttons/chips keep the baseline sans.
   Targets unclassed reading paragraphs + muted; excludes stats, notes, quotes.
   NOTE: WP 7.0+ stamps every paragraph with `wp-block-paragraph`, so a bare
   `p:not([class])` stops matching reading paragraphs. Also catch paragraphs
   whose only class is wp-block-paragraph (i.e. no kog-abb-* role class). */
.kog-abb-section :is(.kog-abb-body, .kog-abb-statement, .kog-abb-copy) p:not([class]),
.kog-abb-section :is(.kog-abb-body, .kog-abb-statement, .kog-abb-copy) p.wp-block-paragraph:not([class*="kog-abb-"]):not([class*="kog-rk-"]),
.kog-abb-section p.kog-abb-muted {
	font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
	font-size: 0.9375rem;
	line-height: 1.7;
	font-weight: 400;
}
.kog-abb-section .kog-abb-lead {
	font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}

/* ---------------------------------------------------------------------------
 * Buttons (7px, baseline)
 * ------------------------------------------------------------------------- */
.kog-abb-btn-gold  > .wp-block-button__link,
.kog-abb-btn-ghost > .wp-block-button__link,
.kog-abb-btn-dark  > .wp-block-button__link {
	font-family: var(--kog-b-sans);
	font-weight: 600;
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	padding: 0.95rem 1.6rem;
	border-radius: 7px;
	transition: transform 0.25s cubic-bezier(0.2,0.7,0.3,1), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.kog-abb-btn-gold  > .wp-block-button__link { background: var(--kog-b-gold); color: var(--kog-b-green-deep); border: 1px solid var(--kog-b-gold); }
.kog-abb-btn-gold  > .wp-block-button__link:hover { background: var(--kog-b-gold-soft); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(214,162,60,0.7); }
.kog-abb-btn-ghost > .wp-block-button__link { background: transparent; color: var(--kog-b-cream); border: 1px solid var(--kog-b-line); }
.kog-abb-btn-ghost > .wp-block-button__link:hover { border-color: var(--kog-b-gold-soft); color: var(--kog-b-gold-soft); transform: translateY(-2px); }
.kog-abb-btn-dark  > .wp-block-button__link { background: transparent; color: var(--kog-b-ink); border: 1px solid rgba(24,33,28,0.22); }
.kog-abb-btn-dark  > .wp-block-button__link:hover { border-color: var(--kog-b-ink); transform: translateY(-2px); }


/* ---------------------------------------------------------------------------
 * Role chips
 * ------------------------------------------------------------------------- */
/* Credentials carry the /kg-style-test/ hero's treatment rather than the
   outlined pills they used to: plain sentence-case text with one of the
   design's hand-drawn gold marker underlines swiped beneath it.

   The marks are the same five PNGs that hero uses, referenced in place rather
   than copied — they live under assets/images/kg-style/ and are already the
   exact #EEBA2B the underlines are drawn in, so they need no tinting on this
   green ground.

   That hero positions its five marks absolutely on a fixed 1440x768 canvas,
   one hard-coded rect each. This row wraps, so the mark rides the text instead:
   an ::after sized to the credential's own width, cycling through the five with
   nth-child so no two neighbours repeat and a seventh credential does not need
   a sixth drawing. */
.kog-abb-chips { gap: 0.4rem 1.9rem !important; }
.kog-abb-chip {
	position: relative;
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--kog-b-cream);
	white-space: nowrap;
	/* Room under the baseline for the mark to sit in. Sized in em, with the
	   ::after flush to the bottom, so the clear space above the stroke lands at
	   the 0.25em the reference hero uses (its mark tops sit 6px under a 24px
	   chip) and holds if the credential size ever changes. */
	padding: 0 0 1.05em;
	margin: 0;
}

.kog-abb-chip::after {
	content: '';
	position: absolute;
	/* The design's marks overshoot the words at both ends — that overshoot is
	   most of what makes them read as hand-drawn rather than as a rule. */
	left: -0.35em;
	right: -0.35em;
	bottom: 0;
	height: 0.8em;
	background-repeat: no-repeat;
	background-position: left center;
	/* `auto` height, not 100%: the five drawings run from 797x70 to 800x53, and
	   stretching them all to one box height would flatten the differences that
	   make them look drawn by hand. Width drives, aspect follows, and the box is
	   tall enough for the deepest of them. */
	background-size: 100% auto;
	pointer-events: none;
}

.kog-abb-chip:nth-child(5n + 1)::after { background-image: url('../images/kg-style/mark-u1.png'); }
.kog-abb-chip:nth-child(5n + 2)::after { background-image: url('../images/kg-style/mark-u2.png'); }
.kog-abb-chip:nth-child(5n + 3)::after { background-image: url('../images/kg-style/mark-u3.png'); }
.kog-abb-chip:nth-child(5n + 4)::after { background-image: url('../images/kg-style/mark-u4.png'); }
.kog-abb-chip:nth-child(5n + 5)::after { background-image: url('../images/kg-style/mark-u5.png'); }

/* One credential per row once the portrait moves in behind the copy. Paired up,
   the second of a pair starts around 55% across, which on a phone puts it on
   the lit sleeve of the cutout — cream text on a white shirt. Stacked, every
   credential starts at the copy's left edge and the longest still ends short of
   where the portrait's ink begins. Sizing the row narrower instead would work
   for six of the seven and overflow on "Founder of Performance Rehab™", which
   is `nowrap` and cannot shrink. */
@media (max-width: 781px) {
	.kog-abb-herofig .kog-abb-chips {
		flex-direction: column;
		align-items: flex-start;
	}
	/* Stacking is not enough on its own. The cutout bleeds in from the right and
	   its ink starts around x218 on a 390px screen, while "Founder of
	   Performance Rehab™" runs to x257 at the desktop size — the tail lands on
	   the white shirt sleeve and measures 1.13:1, which is not text any more.
	   0.78rem is the size at which the longest credential stops short of the
	   sleeve; the others have room to spare. */
	.kog-abb-herofig .kog-abb-chip { font-size: 0.78rem; }
}
/* Thesis pull-statement — elevates a closing line into a serif italic accent
   with a gold rule. Forest ink on cream, gold on the emphasised word. */
.kog-abb-section .kog-abb-thesis {
	font-family: var(--kog-b-serif);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	line-height: 1.36;
	color: var(--kog-b-green);
	margin-top: 1.9rem !important;
	padding-left: 1.15rem;
	border-left: 3px solid var(--kog-b-gold);
}
.kog-abb-section .kog-abb-thesis em {
	font-style: italic;
	color: var(--kog-b-gold);
}

/* ---------------------------------------------------------------------------
 * Hero / stage cover sections
 * ------------------------------------------------------------------------- */
/* Hero: deep-green field + gold halo + grain + left scrim, knocked-out portrait. */
.kog-abb-herofig {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	display: flex;
	align-items: center;
	color: var(--kog-b-cream);
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E"),
		radial-gradient(56% 62% at 75% 58%, rgba(214,162,60,0.30), rgba(214,162,60,0.05) 46%, transparent 72%),
		radial-gradient(130% 120% at 20% 8%, #204c3a 0%, transparent 56%),
		linear-gradient(158deg, #1c4233 0%, #143527 52%, #0f2a1f 100%);
}
/* Concentric gold halo behind the figure (outer gold ring + inner cream ring),
   centred on the portrait's own axis rather than on a round 6%.

   The offset is derived, not picked. The figure sits `max(0px, (100% - 1340px)
   / 2)` in from the right and is 132vh tall; the portrait is 639x1500, so
   `width: auto` gives it 56.25vh and its centre is half that further in. The
   halo is 80vh across, so its `right` is the figure's centre minus 40vh —
   i.e. the figure's own offset, minus 11.875vh.

   Moving the halo rather than the portrait is deliberate. Centring her on a
   fixed 6% halo pulls her left into the copy: at 1440x900 the tail of the
   headline and the last credential land on her white shirt at 1.1:1. The halo
   is decorative and aria-hidden, so it can move without hitting anything; at
   tall viewports it now runs off the right edge by 40-60px, which reads as a
   partial arc rather than a mistake. */
.kog-abb-herofig::before {
	content: "";
	position: absolute;
	right: calc(max(0px, (100% - 1340px) / 2) - 11.875vh); top: 50%;
	width: 80vh; height: 80vh;
	transform: translateY(-50%);
	border-radius: 50%;
	border: 1px solid rgba(214,162,60,0.42);
	background: radial-gradient(circle, transparent 82%, rgba(245,239,226,0.12) 82.5%, rgba(245,239,226,0.12) 83.4%, transparent 83.9%);
	box-shadow: 0 0 160px rgba(214,162,60,0.14);
	pointer-events: none;
	z-index: 0;
}
/* left legibility scrim */
.kog-abb-herofig::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(15,42,31,0.9) 0%, rgba(15,42,31,0.55) 34%, rgba(15,42,31,0.12) 60%, transparent 80%),
		linear-gradient(0deg, rgba(15,42,31,0.45) 0%, transparent 36%);
}
/* knocked-out transparent portrait, bottom-right. The halo is centred on THIS,
   not the other way round — see the ::before rule above for why. */
.kog-abb-hero-figure {
	position: absolute;
	bottom: 0;
	top: 30px;
	right: max(0px, calc((100% - 1340px) / 2));
	height: 132vh;
	width: auto;
	margin: 0;
	z-index: 1;
	pointer-events: none;
}
.kog-abb-hero-figure img {
	height: 100%;
	width: auto;
	max-width: none;
	object-fit: contain;
	object-position: bottom;
	filter: drop-shadow(-20px 14px 36px rgba(0,0,0,0.45));
}
.kog-abb-herofig .kog-abb-hero-inner {
	position: relative;
	z-index: 2;
	width: min(1180px, 100%);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 5vw, 2rem);
}
/* Wider measure so the headline fills more horizontal space (was 36ch). Stays
   clear of the bottom-right portrait. */
.kog-abb-herofig .kog-abb-copy { max-width: 40rem; }
.kog-abb-herofig .kog-abb-h1 { color: var(--kog-b-cream); }
.kog-abb-herofig .kog-abb-lead { color: rgba(245, 239, 226, 0.92); }

/* Stage band (full-bleed cover). The skydiving photo is a very bright,
   blown-out-sky shot, so the copy needs real contrast to sit on it — not
   just at the far left where the old gradient bottomed out near-transparent
   by 82%. A flat low-opacity wash sits under the left-anchored gradient so
   the sky never goes fully raw-bright, even past where the gradient fades. */
.kog-abb-stage { position: relative; overflow: hidden; min-height: clamp(520px, 72vh, 780px); }
.kog-abb-stage > .wp-block-cover__background {
	background:
		/* Bottom-weighted, for the copy that now sits down there on the right.
		   The left-to-right scrim below all but runs out past 80%, and what is
		   under that corner is cloud top — near-white, which left the paragraph
		   at about 1.6:1. This reads as depth rather than a panel because it
		   follows the cloud line, and it leaves the faces, which are above the
		   midpoint, untouched. */
		linear-gradient(to top, rgba(15,42,31,0.76) 0%, rgba(15,42,31,0.58) 22%, rgba(15,42,31,0.26) 46%, rgba(15,42,31,0.04) 66%, transparent 78%),
		linear-gradient(90deg, rgba(15,42,31,0.72) 0%, rgba(15,42,31,0.5) 50%, rgba(15,42,31,0.2) 80%, rgba(15,42,31,0.05) 100%),
		linear-gradient(rgba(10,18,12,0.28), rgba(10,18,12,0.28))
		!important;
	opacity: 1 !important;
}
/* Lighter overlay lets the skydiving photo read brighter; a soft shadow keeps
   the copy legible over the brighter right/center of the frame. */
.kog-abb-stage .kog-abb-copy :is(h2, p) {
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.4);
}
/* This box was also centred (margin-inline:auto) regardless of the cover
   block's own "left" position setting, so on wide viewports the column sat
   in a centred 1180px box with empty margin to its left — not actually on
   the left side of the section. Anchor it to the true left edge instead.
   1340 rather than 1180: the band is now two columns, and at 1180 the right
   one had no room to clear the skydivers. */
.kog-abb-stage .wp-block-cover__inner-container {
	width: min(1340px, 100%);
	margin-left: 0;
	margin-right: auto;
	padding-inline: clamp(1.25rem, 5vw, 2rem);
}

/* Headline top-left, supporting copy bottom-right — the paragraph sits on the
   second grid row so it always begins below the whole headline block, which is
   what keeps it off the two faces.
 *
 * That clearance is not a guess. Both faces sit at x 0.55–0.67 and y 0.16–0.53
 * of the source JPEG, and the cover crops it vertically (the photo is 3:2 and
 * the band is far wider), so the lower face clears at about half the band's
 * height. Putting the copy on its own row puts its top at the headline's
 * bottom, and the headline block — five lines plus the scribble — is always
 * the taller of the two, so the copy starts below the midpoint by construction
 * rather than by a hand-set offset that would drift with the crop. Measured at
 * 86–180px of clearance from 1024 to 1920.
 *
 * `margin-left` was also fighting WP's auto-generated per-block layout class
 * (.wp-container-core-group-is-layout-*), which sets margin-left/right:auto
 * with !important of its own and otherwise wins regardless of specificity. */
.kog-abb-stage .kog-abb-copy {
	max-width: none;
	margin-left: 0 !important;
	margin-right: auto !important;
}

/* Fractions, not a fixed 720px first column: fixed, the second column was
   whatever happened to be left, which at 1280 and below was a 200px measure.
   That also broke the clearance above — a paragraph squeezed into nine lines
   is tall enough to out-grow the headline block, and the row that is supposed
   to sit below the faces rises past them. */
.kog-abb-stage__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	column-gap: clamp(2rem, 4vw, 3.5rem);
}

/* Capped so the headline stops short of the skydivers on wide screens; the
   column itself is wider than this past about 1500. */
.kog-abb-stage__head  { grid-column: 1; grid-row: 1; max-width: 720px; }
.kog-abb-stage__aside { grid-column: 2; grid-row: 2; max-width: 34rem; }

.kog-abb-stage__head .kog-abb-h2 { margin: 0; }
.kog-abb-stage__aside p { margin: 0; }

/* The kg-style closing band's mark, swiped under the gold line. There it runs
   430px under a headline spanning the full 1440 canvas; here it is sized off
   its own column so it stays a partial swipe under the last gold line rather
   than a rule as long as it. Pulled up into the line's descender space and a
   little left of the text, as that band does. */
.kog-abb-stage__scribble {
	display: block;
	width: clamp(180px, 40%, 320px);
	margin: -0.55rem 0 0 -0.6rem;
	line-height: 0;
	pointer-events: none;
}

.kog-abb-stage__scribble img {
	display: block;
	width: 100%;
	height: auto;
}

/* One column below 900: two columns put the copy in a measure too narrow to
   read, and the crop turns width-driven down there, which moves the faces. */
@media (max-width: 900px) {
	.kog-abb-stage__grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
	/* 30rem is the measure this band has always used on one column, and it is
	   load-bearing rather than typographic: the crop zooms hard at these widths
	   and a headline any wider runs straight across both faces. */
	.kog-abb-stage__head  { grid-column: 1; grid-row: auto; max-width: 30rem; }
	.kog-abb-stage__aside { grid-column: 1; grid-row: auto; max-width: 30rem; }
	/* Flatter than the wide scrim, which fades to 0.05 on the right. Below 900
	   the crop turns height-driven, so the frame fills with the middle of the
	   photo and the copy runs the full width — straight out onto open sky. That
	   measured 2.3:1 on the headline and 4.2:1 on the paragraph at 390.
	   These numbers are the lightest that clear 5:1: rasterising the crop with
	   the overlay and sampling under the text, they give 5.1/5.5 at 390 and
	   5.6/5.6 at 768. A quarter more opacity buys 8:1 and costs the photo. */
	.kog-abb-stage > .wp-block-cover__background {
		background:
			linear-gradient(to top, rgba(15,42,31,0.54) 0%, rgba(15,42,31,0.44) 45%, rgba(15,42,31,0.38) 100%),
			linear-gradient(90deg, rgba(15,42,31,0.41) 0%, rgba(15,42,31,0.34) 60%, rgba(15,42,31,0.30) 100%),
			linear-gradient(rgba(10,18,12,0.21), rgba(10,18,12,0.21))
			!important;
	}
}

.kog-abb-stage-caption {
	position: absolute;
	right: 24px; bottom: 18px;
	z-index: 2; margin: 0;
	font-family: var(--kog-b-serif);
	font-style: italic;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	color: rgba(245, 239, 226, 0.78);
}

/* ---------------------------------------------------------------------------
 * Stat strip (3-up, left dividers)
 * ------------------------------------------------------------------------- */
.kog-abb-statstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.kog-abb-stat { padding: 2.4rem 0; margin: 0; }
.kog-abb-stat + .kog-abb-stat { border-left: 1px solid var(--kog-b-line); padding-left: 2.2rem; }
.kog-abb-stat-num {
	font-family: var(--kog-b-serif);
	font-size: clamp(2.4rem, 4.5vw, 3.4rem);
	line-height: 1;
	color: var(--kog-b-gold);
	font-weight: 500;
	margin: 0;
}
.kog-abb-stat-label {
	margin: 0.7rem 0 0;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	color: rgba(245, 239, 226, 0.78);
	line-height: 1.4;
}

/* ---------------------------------------------------------------------------
 * Editorial two-column (heading left, body right)
 * ------------------------------------------------------------------------- */
.kog-abb-editorial { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; max-width: 1180px; margin-inline: auto; }
.kog-abb-editorial .kog-abb-body > * + * { margin-top: 1.3rem; }

/* Gold-top-border stat band (boardroom) */
.kog-abb-bandstats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.8rem; }
.kog-abb-bandstats.is-3 { grid-template-columns: repeat(3, 1fr); }
.kog-abb-bandstats > * { margin-block: 0; }
.kog-abb-bandstat { border-top: 2px solid var(--kog-b-gold); padding-top: 1.2rem; }
.kog-abb-bandstat-num { font-family: var(--kog-b-serif); font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 0.95; color: var(--kog-b-cream); margin: 0; }
.kog-abb-bandstat-label { margin: 0.6rem 0 0; font-size: 0.92rem; color: rgba(245, 239, 226, 0.8); }
.kog-abb-bignote {
	margin-top: 2.6rem;
	font-family: var(--kog-b-serif);
	font-style: italic;
	font-size: clamp(1.3rem, 2.4vw, 1.9rem);
	line-height: 1.4;
	color: var(--kog-b-cream);
}

/* ---------------------------------------------------------------------------
 * Split (statement + media)
 * ------------------------------------------------------------------------- */
.kog-abb-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 1180px; margin-inline: auto; }
.kog-abb-split .kog-abb-statement > * + * { margin-top: 1.3rem; }
.kog-abb-media {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 40px 80px -45px rgba(0, 0, 0, 0.5);
	line-height: 0;
}
.kog-abb-media .wp-block-image,
.kog-abb-media figure { margin: 0; }
.kog-abb-media img { width: 100%; object-fit: cover; display: block; }
.kog-abb-caption {
	position: absolute;
	right: 1rem;
	bottom: 0.9rem;
	margin: 0;
	font-family: var(--kog-b-serif);
	font-style: italic;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	color: rgba(245, 239, 226, 0.85);
}

/* ---------------------------------------------------------------------------
 * Pull quote / closing
 * ------------------------------------------------------------------------- */
.kog-abb-pull-wrap { text-align: center; max-width: 900px; margin-inline: auto; }
.kog-abb-pull {
	font-family: var(--kog-b-serif);
	font-weight: 500;
	font-size: clamp(2.2rem, 5.2vw, 4rem);
	line-height: 1.08;
	color: var(--kog-b-cream);
	max-width: 20ch;
	margin: 0 auto;
}
.kog-abb--cream .kog-abb-pull,
.kog-abb--cream2 .kog-abb-pull { color: var(--kog-b-green); }

/* Longer pull quotes. The base rule is built for a two-beat line of around 70
   characters — at 20ch and 4rem, the 119-character Central Florida quote ran to
   six lines and stopped reading as a pull quote at all. This steps the size down
   and opens the measure so it lands at four, and balances the wrap so no line is
   left with an orphan. A modifier because the closing quote and the deep-green
   pull quote share `.kog-abb-pull` and are both still short. */
.kog-abb-pull--long {
	font-size: clamp(1.9rem, 4.2vw, 3.1rem);
	line-height: 1.14;
	max-width: 34ch;
	text-wrap: balance;
}
.kog-abb-mark { font-family: var(--kog-b-serif); font-size: 4.5rem; line-height: 0.6; color: var(--kog-b-gold); display: block; margin: 0 auto 0.4rem; }
.kog-abb-cite { margin-top: 1.6rem; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--kog-b-gold); }

/* ---------------------------------------------------------------------------
 * Story band — the kg-style-test story section's look, laid out in flow
 * ---------------------------------------------------------------------------
 * That band is a fixed 1440x3317 canvas: every column is absolutely positioned
 * at a top measured off the Canva original. The About copy is about a fifth
 * longer than the copy those numbers were taken for — poured in as-is the first
 * column overruns its slot by 125px and the third by 77, printing over the
 * column beneath. Re-measuring the tops would fix it until the next copy edit,
 * and this section has been edited repeatedly, so the VERTICAL is flow here.
 *
 * The HORIZONTAL is not. What makes that band read as a collage is that the
 * cutouts are big and the copy sits over them — the denim runs from the left
 * edge to 56% while the copy starts at 48%, and the polka-dot one bleeds 17%
 * off the right edge. A first pass put figure and copy in tidy non-overlapping
 * grid columns and lost the whole effect. So the columns below are placed on a
 * percentage grid at the reference's own measured fractions, sharing a row so
 * they overlap, with the copy painting over the portrait.
 *
 * Measured off /kg-style-test/ at 1440 (band-relative, as % of 1440):
 *   denim  35 → 810   =  2.4% → 56.3%      colA  686 → 1356 = 47.6% → 94.2%
 *   polka 685 → 1680  = 47.6% → 116.7%     colB  112 →  752 =  7.8% → 52.2%
 *   Yo!    503 → 1423 = 34.9% → 98.8%      colC  255 → 1170 = 17.7% → 81.3%
 *
 * Type is borrowed rather than restated: .kgx-body and .kgx-callout come from
 * kg-style.css, so the scale matches the reference and there is one place to
 * change it. Both are `position: absolute` on that canvas and are put back in
 * flow here. The band keeps .kgx-section so `--u` resolves, which is what makes
 * the borrowed type track the viewport the same way it does over there.
 * ------------------------------------------------------------------------- */

/* Doubled selector on purpose. `.kgx-story` pins a 3317-unit height and
   `.kgx-section` clips its overflow, both at one class of specificity — and
   kg-style.css loads after this file, so a lone `.kog-abb-story` ties and
   loses. Left as it was, the band stayed 3317 tall and would have silently
   clipped any copy that ran past it.

   `overflow-x: clip` rather than `hidden`, because the polka cutout is meant to
   bleed off the right edge while the band still has to grow downward with its
   copy — `hidden` on one axis forces `auto` on the other and would have given
   the band its own scrollbar. */
.kgx-story.kog-abb-story {
	height: auto;
	overflow-x: clip;
	overflow-y: visible;
	padding-block: clamp(3rem, 7vw, 6.5rem);
}

.kog-abb-story .kgx-body,
.kog-abb-story .kgx-callout {
	position: static;
	max-width: none;
}

/* Full-bleed on purpose, with no max-width and no padding. The reference's
   placements are fractions of the whole 1440 band and its own gutters are in
   those fractions — the denim starts at 2.4%, col B at 7.8%. Capping this to a
   1240 inner resolved every percentage against the wrong box and pulled the
   whole collage inward. Like the reference, it scales with the viewport rather
   than stopping at a measure; `--u` does the same for the type. */
.kog-abb-story__inner {
	width: 100%;
}

/* 100 tracks so a placement can be written as the reference's own percentage.
   `grid-row: 1` on both children is what makes them share the row and overlap;
   `align-items: start` keeps the copy at the top of the cell rather than
   centred against a much taller portrait. */
.kog-abb-story__act {
	display: grid;
	grid-template-columns: repeat(100, 1fr);
	align-items: start;
	position: relative;
}

.kog-abb-story__act > * { grid-row: 1; }

.kog-abb-story__act--a .kog-abb-story__fig { grid-column: 3 / 57; }
.kog-abb-story__act--a .kog-abb-story__col { grid-column: 48 / 95; }

.kog-abb-story__act--b .kog-abb-story__col { grid-column: 8 / 53; }
.kog-abb-story__act--b .kog-abb-story__fig {
	grid-column: 48 / 101;
	/* The reference lets this one run 17% past the right edge; the band clips it. */
	width: 128%;
}

.kog-abb-story__act--c .kog-abb-story__col { grid-column: 18 / 82; }

/* Copy over portrait, as on the reference where both sit above the cutouts. */
.kog-abb-story__fig { z-index: 0; }
.kog-abb-story__col,
.kog-abb-story__yo { position: relative; z-index: 2; }

.kog-abb-story .kog-abb-story__col > * + * { margin-top: calc(33 * var(--u)); }
.kog-abb-story .kog-abb-story__col > .kgx-callout { margin-block: calc(40 * var(--u)); }

.kog-abb-story__fig {
	position: relative;
	margin: 0;
	line-height: 0;
}

.kog-abb-story__fig img {
	display: block;
	width: 100%;
	height: auto;
}

/* `.hero-figure` is on the markup so these cutouts sit in the same family as
   the rest of the theme's: section-animations.js fades and lifts them in on
   entry, then drives `--hero-scroll-scale` so each one grows ~18% as it
   traverses the viewport. Nothing band-specific is needed here.

   A note for the next person who tries to verify it in a headless/background
   tab and concludes it is broken: it will look broken. Both halves ride the
   rendering lifecycle — requestAnimationFrame and IntersectionObserver are both
   frozen while `document.hidden` is true — so the scale stays pinned at its
   load-time value and `.is-visible` never lands, which leaves these two at
   `opacity: 0`. Foreground the tab (a screenshot is enough) before measuring. */

/* The giant gold word. KG Futura, not the Brown Sugar logo face — the
   reference sets no family on it, so it takes the band's sans. 44vw is its
   634.5px at the 1440 the design was measured at, and 1.25 its 792/634 leading;
   both kept viewport-relative so the word scales with the band. It spans from
   35% to the right edge and the first paragraph lands over its foot. */
.kog-abb-story__yo {
	grid-column: 36 / 100;
	margin: 0;
	font-family: var(--kgx-sans);
	font-weight: 700;
	font-size: 44vw;
	line-height: 1.25;
	letter-spacing: 0.03em;
	text-transform: none;
	color: var(--kgx-gold);
	pointer-events: none;
	user-select: none;
}

/* Vertical offsets, measured off the reference at 1440 and kept in vw so they
   scale with the band the way its canvas does. Within each act, taking the
   act's own top as zero:
 *
 *   act A   Yo!  -70 → -4.86vw    denim -130 → -9.03vw
 *   act B   polka   0
 *
 *   act A   copy 526 → 36.53vw      act B   copy 430 → 29.86vw
 *
 * Those land the reference's own ratios — copy top at 47.6% of the denim's
 * height and 24.3% of the polka's. An earlier pass "corrected" them upward,
 * which was really compensating for `.hero-figure`'s intro transform shifting
 * the measured top: the figures had not been revealed yet, so they were still
 * translated and scaled down when the tape went on them. Measure the settled
 * state — the ratios, not the pixels — if this ever moves again.
 *
 * The copy starting part-way down the cutout is the whole relationship — 47.6%
 * down the denim, 24.3% down the polka. Aligned at the top, which is what the
 * first pass did, the two read as separate columns rather than one collage. */
.kog-abb-story__act--a .kog-abb-story__yo { margin-top: -4.86vw; }
.kog-abb-story__act--a .kog-abb-story__fig { margin-top: -9.03vw; }
.kog-abb-story__act--a .kog-abb-story__col { margin-top: 36.53vw; }
.kog-abb-story__act--b .kog-abb-story__col { margin-top: 29.86vw; }

/* The acts have to OVERLAP, or act B opens 567px of white below act A. On the
   reference the polka starts 986px below the denim's top while the denim runs
   on to 1377 — the second cutout is already climbing the page before the first
   has finished. Stacked end to end, as normal flow does it, that 391px of
   overlap turns into 391px of gap, and the band reads as two columns handing
   off rather than one collage.
 *
 * 27.5vw is that overlap at the 1440 the design was measured at. It lands both
 * the polka and act B's copy exactly where the reference puts them, measured
 * from the denim's top: 986 and 1416. It also brings act B's first paragraph
 * to within ~16px of the denim's marker rule — tight, but the reference is
 * tighter at 4px, and the two are checked against each other by raster. */
.kog-abb-story__act--b { margin-top: -27.5vw; }

/* The marker rule hides the hard edge where each cutout was cropped. Both
   portraits are cut flat at the bottom of their PNG — the denim's across x
   16.6%–66.0% of the image, the polka's across 20.2%–61.8% — and the mark has
   to have ink ON that line the whole way, or you read the crop instead of the
   swoosh.
 *
 * That is fussier than it sounds, because mark-long.png is not a rule. It is a
 * tapering brush stroke whose ink climbs about 78% of its own height from left
 * to right, so laid flat it crosses a horizontal cut at one point and floats
 * above it everywhere else — which is what it was doing, and what the reference
 * does too. Three things fix it, and all three came out of solving the PNG's
 * alpha profile against the cut rather than nudging by eye:
 *
 *   - a small rotation, which cancels most of the stroke's rise
 *   - drawn ~30% thicker than its natural aspect, so the ink band is deep
 *     enough to stay on the line through the residual curve
 *   - placed so the cut lands about a fifth of the way down the mark
 *
 * The span the mark has to cover is the cut at its WIDEST. `.hero-figure img`
 * scales the portrait about `center bottom`, so the bottom edge holds still
 * while the cut spreads sideways — and the scale is already 1.12–1.18 by the
 * time that edge is on screen, never 1.0. The numbers below cover the 1.18
 * case, which covers every narrower one. Margin is about +/-8px on the denim
 * and +/-10px on the polka at a 778px figure.
 *
 * Re-solve, do not nudge, if the portraits or the mark are ever replaced. */
.kog-abb-story__fig .kog-abb-story__rule {
	position: absolute;
	left: var(--rule-left);
	width: var(--rule-width);
	bottom: var(--rule-bottom);
	aspect-ratio: var(--rule-aspect);
	z-index: 2;
	line-height: 0;
	pointer-events: none;
	/* Solved for a mark pivoting on its own middle. Stated explicitly because
	   `.hero-figure img` puts `center bottom` on everything in this figure. */
	transform: rotate(var(--rule-tilt));
	transform-origin: 50% 50%;
}

.kog-abb-story__fig .kog-abb-story__rule img {
	display: block;
	width: 100%;
	height: 100%;
	/* This is decoration, not a cutout, so it opts out of the scroll-bound
	   scale. It was not opting out: `.hero-figure img` matched it too, and its
	   `center bottom` origin turned the old `scale(-1, -1)` flip into a
	   translation a full mark-height down the page, which dropped the polka's
	   mark clear of the crop and onto the question below it. */
	transform: none;
	transform-origin: 50% 50%;
}

.kog-abb-story__fig--denim .kog-abb-story__rule {
	--rule-left: 9.15%;
	--rule-width: 95.56%;
	--rule-aspect: 10.08;
	--rule-tilt: 4.75deg;
	--rule-bottom: -4.22%;
}

.kog-abb-story__fig--polka .kog-abb-story__rule {
	--rule-left: 13.92%;
	--rule-width: 91.75%;
	--rule-aspect: 9.70;
	--rule-tilt: 5.75deg;
	--rule-bottom: -4.32%;
}

/* The gold question closes act B, so it is set in act B's column rather than
   centred on the whole band — columns 8–53 of the 100-track grid, which is the
   box the paragraph immediately above it sits in. Dropped to the size of the
   band's other callouts: at the full gold 51.3px it was both shouting over the
   paragraph it answers and, in a half-width column, wrapping to four lines.
 *
 * Needs the extra class to land: `.kgx-callout` sets `margin: 0` at the same
 * specificity from kg-style.css, which is enqueued after this file. */
.kog-abb-story .kog-abb-story__question {
	margin: clamp(2.5rem, 6vw, 4.5rem) 48% clamp(2.5rem, 6vw, 4.5rem) 7%;
	width: auto;
	font-size: clamp(1.375rem, 2.55vw, 2.3rem);
	line-height: 1.12;
}

/* `.wp-block-button` is a block, so centring it needs a shrink-to-fit width
   before the auto margins have anything to balance. */
.kog-abb-story__cta {
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
	margin-inline: auto;
	width: fit-content;
}

/* The kgx band drops to one column at 1024; match it so the two never disagree
   about when the canvas stops. */
@media (max-width: 1024px) {
	/* Flex rather than block so the cutouts can be ordered last, as the
	   reference does with `order: 99` — in act A the figure precedes the copy
	   in source order, and a full-length portrait above the words pushes them
	   off the first screen. */
	.kog-abb-story__act { display: flex; flex-direction: column; }
	.kog-abb-story__act > * { grid-column: auto; }
	.kog-abb-story__fig { order: 99; }
	/* The percentage gutters go with the grid, so the inner takes over. */
	.kog-abb-story__inner {
		width: min(780px, 100%);
		margin-inline: auto;
		padding-inline: clamp(1.25rem, 5vw, 2rem);
		box-sizing: border-box;
	}
	/* Copy first, portrait after — the same call the reference makes on one
	   column, and for the same reason: a full-length cutout above the words
	   pushes them off the first screen. */
	.kog-abb-story__fig {
		width: auto;
		max-width: 22rem;
		margin: 2rem auto 0;
		align-self: center;
	}
	.kog-abb-story__yo { display: none; }
	/* The vw offsets above place the copy against the cutout on the canvas;
	   stacked there is nothing to offset against. */
	.kog-abb-story__act--a .kog-abb-story__fig,
	.kog-abb-story__act--a .kog-abb-story__col,
	.kog-abb-story__act--b,
	.kog-abb-story__act--b .kog-abb-story__col { margin-top: 0; }
	/* The marker rules go too, as .kgx-mark does on the reference at this
	   breakpoint. They exist to hide the cutouts' cropped bottom edge on the
	   full canvas; beside a 22rem portrait they are clutter, and their -4%
	   overhang was pushing the page 41px wide at 1024. */
	.kog-abb-story__rule { display: none; }
	.kog-abb-story .kog-abb-story__col > * + * { margin-top: 1.1rem; }
	.kog-abb-story .kog-abb-story__col > .kgx-callout { margin-block: 1.6rem; }
	/* The question's side margins hold it in act B's grid column; stacked,
	   that column is the full measure, so it takes it too. */
	.kog-abb-story .kog-abb-story__question { margin-inline: 0; }
}

/* ---------------------------------------------------------------------------
 * TEDx band
 * Near-black rather than the baseline green: the photo behind it is a black
 * TEDx stage, and any green ground made the frame read as a cut-out pasted on
 * top. The copy and the poster are both triggers on the same lightbox.
 * ------------------------------------------------------------------------- */
.kog-abb-tedx {
	background: #0B0B0C;
	color: var(--kog-b-cream);
	padding-block: clamp(3.5rem, 7vw, 6rem);
}

.kog-abb-tedx__inner {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	width: min(1180px, 100%);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 5vw, 2rem);
	/* Load-bearing. The theme sets no global border-box, and the sibling inners
	   only get it from WordPress's own block classes — this one is hand-written
	   inside a wp:html block, so it would inherit content-box and add its 2rem
	   of padding on top of `width: 100%`. That pushed the page 32px wide at
	   1100 and below, where the padding clamp is at its max. */
	box-sizing: border-box;
}

.kog-abb-tedx__eyebrow {
	font-family: var(--kog-b-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--kog-b-gold);
	margin: 0 0 1rem;
}

.kog-abb-tedx__head {
	font-family: var(--kog-b-serif);
	font-weight: 500;
	font-size: clamp(2.1rem, 4.4vw, 3.4rem);
	line-height: 1.08;
	color: var(--kog-b-cream);
	margin: 0;
}

.kog-abb-tedx__body {
	font-family: var(--kog-b-sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: rgba(245, 239, 226, 0.84);
	max-width: 46ch;
	margin: 1.15rem 0 0;
}

.kog-abb-tedx__cta { margin-top: 1.9rem; }

/* Poster. A button, so it resets the UA's own chrome before anything else. */
.kog-abb-tedx__poster {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	line-height: 0;
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.3s;
}

.kog-abb-tedx__poster img {
	display: block;
	width: 100%;
	height: auto;
	/* The talk photo is 3:2 with her at the left and the TEDx letters at the
	   right, so the frame keeps its native ratio rather than being cropped to
	   16:9 — a wider crop loses her head or the letters depending on which edge
	   it takes from. */
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.kog-abb-tedx__poster:hover { box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.9); }
.kog-abb-tedx__poster:hover img { transform: scale(1.03); }

/* The play target. Drawn rather than shipped as an asset: a filled circle with
   a CSS triangle, so it stays crisp at any size and takes the brand gold
   without a second file to keep in sync. */
.kog-abb-tedx__play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: clamp(64px, 9vw, 104px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--kog-b-gold);
	box-shadow: 0 10px 40px -8px rgba(0, 0, 0, 0.6);
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.3s;
}

.kog-abb-tedx__play::after {
	content: "";
	position: absolute;
	/* Optical centring: a triangle's visual mass sits left of its bounding box,
	   so it is nudged right rather than centred on the maths. */
	left: 54%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 0.62em 0 0.62em 1.05em;
	border-color: transparent transparent transparent var(--kog-b-green-deep);
	font-size: clamp(18px, 2.4vw, 28px);
}

.kog-abb-tedx__poster:hover .kog-abb-tedx__play,
.kog-abb-tedx__poster:focus-visible .kog-abb-tedx__play {
	transform: translate(-50%, -50%) scale(1.08);
	background: var(--kog-b-gold-soft);
}

.kog-abb-tedx__poster:focus-visible {
	outline: 2px solid var(--kog-b-gold);
	outline-offset: 4px;
}

@media (max-width: 860px) {
	/* Copy above the poster: the poster is the payoff, and on one column a
	   large play button above the heading buries the words that set it up. */
	.kog-abb-tedx__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.kog-abb-tedx__poster,
	.kog-abb-tedx__poster img,
	.kog-abb-tedx__play { transition: none; }
	.kog-abb-tedx__poster:hover img { transform: none; }
}

/* ---------------------------------------------------------------------------
 * Gallery
 * ------------------------------------------------------------------------- */
.kog-abb-gallery {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr 1fr;
	grid-template-rows: 300px 240px;
	gap: 1rem;
	margin-top: 2.6rem;
}
.kog-abb-gallery .kog-abb-media { border-radius: 12px; height: 100%; }
.kog-abb-gallery .kog-abb-media .wp-block-image,
.kog-abb-gallery .kog-abb-media figure,
.kog-abb-gallery .kog-abb-media img { height: 100%; }
.kog-abb-g1 { grid-row: span 2; }
.kog-abb-g4 { grid-row: span 2; }

/* ---------------------------------------------------------------------------
 * Impact cards (gold-top-border proof points)
 * ------------------------------------------------------------------------- */
.kog-abb-impact-banner { max-width: 1180px; margin: 0 auto 2.8rem; border-radius: 12px; overflow: hidden; line-height: 0; }
.kog-abb-impact-banner img { width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; }
.kog-abb-impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2.8rem; }
.kog-abb-impact { border-top: 2px solid var(--kog-b-gold); padding-top: 1.2rem; }
.kog-abb-impact h3 { font-family: var(--kog-b-serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 0.55rem; color: var(--kog-b-cream); }
.kog-abb-impact p { margin: 0; }

.kog-abb-rule { height: 1px; background: var(--kog-b-line); border: 0; margin: 1.6rem 0; }

/* Read-more disclosure (native <details>, no JS) */
.kog-abb-readmore { margin-top: 2.8rem; }
.kog-abb-readmore > summary {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
	color: var(--kog-b-gold);
	background: transparent;
	border: 1px solid var(--kog-b-line);
	border-radius: 100px;
	font-family: var(--kog-b-sans);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.78rem;
	padding: 0.85rem 1.5rem;
	transition: border-color 0.25s, background 0.25s;
}
.kog-abb-readmore > summary::-webkit-details-marker { display: none; }
.kog-abb-readmore > summary::after { content: "↓"; transition: transform 0.3s ease; }
.kog-abb-readmore[open] > summary::after { transform: rotate(180deg); }
.kog-abb-readmore > summary:hover { border-color: var(--kog-b-gold); background: rgba(214,162,60,0.08); }
.kog-abb-readmore .kog-abb-readmore-inner {
	max-width: 640px;
	margin: 2.6rem auto 0;
	text-align: left;
	border-top: 1px solid var(--kog-b-line);
	padding-top: 2.4rem;
}
.kog-abb-readmore .kog-abb-readmore-inner > * + * { margin-top: 1.3rem; }
.kog-abb-readmore .kog-abb-readmore-inner p { color: rgba(245, 239, 226, 0.88); }

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.kog-abb-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px; }
	.kog-abb-impact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.kog-abb-editorial { grid-template-columns: 1fr; gap: 1.8rem; }
	.kog-abb-split { grid-template-columns: 1fr; gap: 2.2rem; }
	.kog-abb-split.is-flip .kog-abb-media { order: 0; }
	.kog-abb-bandstats { grid-template-columns: 1fr; }
	.kog-abb-statstrip { grid-template-columns: 1fr; }
	.kog-abb-stat + .kog-abb-stat { border-left: 0; border-top: 1px solid var(--kog-b-line); padding-left: 0; }
	.kog-abb-stage { min-height: 85vh; }
	/* The 90deg desktop scrim leaves the right side at 0.15, but on mobile the
	   headline runs full-width across the bright subject — swap in an even
	   vertical scrim weighted at the copy band so white/gold text stays legible. */
	.kog-abb-stage > .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(15,42,31,0.50) 0%, rgba(15,42,31,0.80) 52%, rgba(15,42,31,0.72) 100%) !important;
	}
	/* Hero was min-height:100vh with top-aligned copy → a half-screen of empty
	   green below the portrait on phones. Snug it to the content + figure. */
	/* The seven stacked credentials push the copy past 68vh, so the hero is
	   content-sized here and the buttons were ending flush on its bottom edge
	   with the next section hard against them.
	   `!important` because the pattern carries `padding-bottom:0` inline, which
	   no selector can outrank. The `padding-top` beside it is overridden the
	   same way and has never applied — left as-is rather than forced, since
	   pushing the hero down 6.5rem is not what is being fixed here. */
	.kog-abb-herofig { min-height: 68vh; align-items: flex-start; padding-top: 6.5rem; padding-bottom: 3.5rem !important; }
	.kog-abb-herofig::before { right: -18%; width: 58vh; height: 58vh; }
	.kog-abb-herofig::after {
		background: linear-gradient(180deg, rgba(15,42,31,0.86) 0%, rgba(15,42,31,0.64) 44%, rgba(15,42,31,0.5) 100%);
	}
	.kog-abb-hero-figure { height: 58vh; right: -8vw; filter: none; opacity: 0.9; }
	.kog-abb-herofig .kog-abb-copy { max-width: 22rem; }
}
@media (max-width: 680px) {
	.kog-abb-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
	.kog-abb-gallery .kog-abb-media { height: 320px; }
	.kog-abb-g1, .kog-abb-g4 { grid-row: auto; }
	.kog-abb-impact-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.kog-abb-btn-gold > .wp-block-button__link,
	.kog-abb-btn-ghost > .wp-block-button__link,
	.kog-abb-btn-dark > .wp-block-button__link { transition: none; }
}

/* ---------------------------------------------------------------------------
 * Reckoning — cutout portrait + editorial prose.
 * Type deliberately alternates between the main style-kit fonts (Playfair +
 * DM Sans) and gold/forest/charcoal, distinct from the baseline serif rhythm.
 * ------------------------------------------------------------------------- */
.kog-abb-reckoning {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: end;
	max-width: 1180px;
	margin-inline: auto;
}
/* Ground the portrait to the section's bottom edge (the section drops its own
   bottom padding below — see .kog-abb-has-reckoning). The copy keeps its own
   bottom padding so the text isn't cramped against the edge. */
.kog-abb-has-reckoning { padding-bottom: 0; }
/* Figure column: an oversized "Yo!" fills the negative space up top while the
   portrait stays grounded at the bottom edge. */
.kog-abb-reckoning-figcol {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	min-width: 0;
}
.kog-abb-reckoning-yo {
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-weight: 700;
	font-size: clamp(4.5rem, 13vw, 12rem);
	line-height: 0.82;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--gold, #C4973A);
	margin: 0 0 0 -0.02em;
}
/* Intro copy sits under the "Yo!" in the left column; the portrait is pushed
   to the bottom of the column. */
.kog-abb-reckoning-figcol :is(.kog-rk-body, .kog-rk-lead) { max-width: 46ch; }
.kog-abb-reckoning-figcol :is(.kog-rk-body, .kog-rk-lead):first-of-type { margin-top: 1.75rem; }
.kog-abb-reckoning-figcol :is(.kog-rk-body, .kog-rk-lead) + :is(.kog-rk-body, .kog-rk-lead) { margin-top: 1.4rem; }
.kog-abb-reckoning-fig { margin: 2.5rem 0 0; margin-top: auto; }
.kog-abb-reckoning-copy { padding-bottom: clamp(4rem, 8vw, 6rem); }
.kog-abb-reckoning-fig img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 22px 48px rgba(23, 59, 44, 0.20));
}
.kog-abb-reckoning-copy > * + * { margin-top: 1.4rem; }

/* The story column's closing button. The owl rule above already gives every
   child 1.4rem, and a bare `.kog-rk-cta` ties with it on specificity and loses
   on order — so this is qualified by the parent to win, and takes a little more
   air than a paragraph gap because a button ending a run of prose wants it. */
.kog-abb-reckoning-copy > .kog-rk-cta { margin-top: 2.2rem; }
.kog-abb-section .kog-rk-lead {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.15rem, 1.9vw, 1.5rem);
	line-height: 1.4;
	font-weight: 500;
	color: var(--wp--preset--color--forest);
}
.kog-abb-reckoning .kog-rk-body {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.9688rem;
	line-height: 1.75;
	color: var(--wp--preset--color--charcoal);
}
.kog-abb-section .kog-rk-statement {
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: clamp(1.3rem, 2.3vw, 1.7rem);
	line-height: 1.36;
	color: var(--wp--preset--color--gold);
}
.kog-abb-section .kog-rk-statement em { font-style: normal; }

@media (max-width: 781px) {
	.kog-abb-reckoning { grid-template-columns: 1fr; gap: 2rem; }
	.kog-abb-reckoning-fig { display: none; }
}

/* ---------------------------------------------------------------------------
 * Rest Tech VR teaser band
 * Replaces the closing "I believe AI" pull quote on the About page. Same deep
 * ground and centred rhythm as that band, but sized as a promo rather than a
 * statement, so it reads as an offer without out-shouting the story above it.
 * ------------------------------------------------------------------------- */
.kog-abb-resttech {
	text-align: center;
}
.kog-abb-resttech__head {
	font-family: var(--kog-b-serif);
	font-weight: 500;
	font-size: clamp(2.25rem, 4.6vw, 3.5rem);
	line-height: 1.1;
	color: var(--kog-b-cream);
	max-width: 22ch;
	margin: 0 auto;
}
/* Sized so each sentence holds its own line. The pattern breaks the two with a
   <br>, but a forced break is no use if either half then wraps on its own, and
   the longer one — "I didn't just study recovery." — is the constraint at both
   ends of the range:
 *
 *   - at the 2.5rem this used to top out at, it measures 574px against the
 *     50/50 column's 522px, so the first sentence ran to two lines anyway.
 *     2.25rem brings it to 517px.
 *   - the old 1.75rem floor cut in around 900, where the column is down to
 *     ~395px and the sentence is 402px. 1.5rem clears it, and the band stacks
 *     to full width below 781 so the floor costs nothing there.
 *
 * Two lines at every width from 390 to 1920. Lives here rather than in
 * section-animations.css, which sets the size at the same specificity but is
 * enqueued earlier. */
.kog-abb-resttech .kog-abb-resttech__head {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.kog-abb-resttech__head em {
	font-style: italic;
	color: var(--kog-b-gold);
}
/* .kog-abb-section p sets line-height 1.08 for the display copy in the other
   bands; this is running text and needs its own. */
.kog-abb-resttech__sub {
	font-family: var(--kog-b-sans);
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	line-height: 1.5;
	max-width: 46ch;
	margin: 1.25rem auto 0;
}

/* The two statements carry equal weight on purpose: the pair is the idea, so
 * neither line is allowed to out-shout the other. Gold marks them as the turn
 * in the copy without making one of them the headline. */
.kog-abb-resttech__line {
	font-family: var(--kog-b-serif);
	font-size: clamp(1.25rem, 1.9vw, 1.6rem);
	line-height: 1.3;
	color: var(--kog-b-gold);
	max-width: 30ch;
	margin: 0 auto;
}
.kog-abb-resttech__sub + .kog-abb-resttech__line { margin-top: 1.5rem; }
/* The two statements are a pair, but at 0.35rem they were closer together than
   the leading inside either one, so they read as one wrapped sentence rather
   than as call and answer. */
.kog-abb-resttech__line + .kog-abb-resttech__line { margin-top: 0.9rem; }

/* The recap-video facade, borrowed from the Rest Tech page. Its own stylesheet
 * sizes it 16:9 and draws the play target; this only softens the corners to
 * match the band and keeps it from outgrowing the copy column beside it. */
.kog-abb-resttech__player {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.9);
}
.kog-abb-resttech__fallback {
	display: inline-block;
	margin-top: 0.75rem;
	color: var(--kog-b-gold);
}

/* ---------------------------------------------------------------------------
 * Closing CTA — the invitation held low in the portrait so her face stays clear.
 * The cover block's "bottom center" position does the placement; the extra
 * bottom-weighted scrim buys legibility for type sitting over the lit part of
 * the frame, and the tall min-height stops the button crowding the footer.
 * ------------------------------------------------------------------------- */
.kog-abb-cta {
	position: relative;
	overflow: hidden;
	min-height: clamp(680px, 92vh, 980px);
	/* .kog-abb-section centres every band's content; this one has to hold its
	   copy at the foot of the frame instead, or the headline lands across
	   Khaliah's face. The cover block's own "bottom center" setting can't win
	   on its own — that only sets the inner container's alignment, and the
	   section rule is what's doing the centring. */
	align-items: flex-end !important;
}
.kog-abb-cta .wp-block-cover__inner-container {
	margin-top: auto;
	width: 100%;
}
.kog-abb-cta > .wp-block-cover__background {
	background: linear-gradient(
		to bottom,
		rgba(10, 18, 12, 0.10) 0%,
		rgba(10, 18, 12, 0.18) 42%,
		rgba(10, 18, 12, 0.62) 68%,
		rgba(10, 18, 12, 0.88) 100%
	) !important;
	opacity: 1 !important;
}
.kog-abb-cta .kog-abb-cta__copy {
	width: min(760px, 100%);
	margin-inline: auto;
}
.kog-abb-cta__head {
	font-family: var(--kog-b-serif);
	font-weight: 500;
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	line-height: 1.12;
	margin: 0;
	text-wrap: balance;
}
.kog-abb-cta__head em {
	font-style: italic;
	color: var(--kog-b-gold);
}
.kog-abb-cta__sub {
	font-family: var(--kog-b-sans);
	font-size: clamp(1rem, 1.3vw, 1.125rem);
	line-height: 1.6;
	color: var(--kog-b-cream);
	max-width: 54ch;
	margin: 1.1rem auto 0;
}

/* Phones: the portrait is cropped tighter to keep her face in frame, and the
 * copy sits under it rather than across it. */
@media (max-width: 781px) {
	.kog-abb-cta {
		min-height: clamp(560px, 86vh, 760px);
	}
	.kog-abb-cta .wp-block-cover__image-background {
		object-position: 52% 6% !important;
	}
	.kog-abb-cta > .wp-block-cover__background {
		background: linear-gradient(
			to bottom,
			rgba(10, 18, 12, 0.08) 0%,
			rgba(10, 18, 12, 0.24) 38%,
			rgba(10, 18, 12, 0.78) 62%,
			rgba(10, 18, 12, 0.93) 100%
		) !important;
	}
}

/* ---------------------------------------------------------------------------
 * Recovery band — full-bleed seated portrait as the section background with the
 * "Recovery is your competitive advantage." copy over a warm-white left scrim.
 * Same recipe as the editorial CTA: portrait cover, top-biased crop so her face
 * reads, type held on the scrimmed left so the gold/forest treatment stays sharp.
 * ------------------------------------------------------------------------- */
.kog-recovery-band {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--cream);
	min-height: clamp(560px, 82vh, 900px);
	display: flex;
	align-items: center;
}
.kog-recovery-band__photo {
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 60% 4%;
}
/* Warm-white left scrim — opaque enough on the left to hold charcoal/gold/forest
   type, clearing to transparent over her on the right. */
.kog-recovery-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(90deg,
		rgba(240, 235, 222, 0.99) 0%,
		rgba(240, 235, 222, 0.96) 34%,
		rgba(240, 235, 222, 0.72) 50%,
		rgba(240, 235, 222, 0.28) 64%,
		rgba(240, 235, 222, 0) 74%);
}
.kog-recovery-band__inner {
	position: relative;
	z-index: 2;
	width: min(1200px, 100%);
	margin-inline: auto;
	padding-inline: clamp(1.5rem, 5vw, 3rem);
	padding-block: clamp(3rem, 6vw, 5rem);
	/* Raw-HTML div defaults to content-box; keep the padding inside the width so
	   width:100% on mobile doesn't overrun the viewport. */
	box-sizing: border-box;
}
.kog-recovery-band__content { max-width: 48%; }
.kog-recovery-band__content > * + * { margin-top: 1.5rem; }
.kog-recovery-band__head {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(2rem, 3.4vw, 3rem);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--charcoal);
	margin: 0;
}
.kog-recovery-band__head em { font-style: italic; color: var(--wp--preset--color--gold); }
.kog-recovery-band .kog-rk-statement {
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: clamp(1.3rem, 2.3vw, 1.7rem);
	line-height: 1.5;
	color: var(--wp--preset--color--gold);
	margin: 1.5rem 0 0;
}
.kog-recovery-band .kog-rk-lead {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.15rem, 1.9vw, 1.5rem);
	line-height: 1.5;
	font-weight: 500;
	color: var(--wp--preset--color--forest);
	margin: 1.9rem 0 0;
}

/* The closing line of the band carries the payoff, so it takes the gold the
   statement above it uses rather than the forest the other lead paragraphs do.
   Its own modifier because there are two .kog-rk-lead paragraphs here and only
   the second one turns. */
.kog-recovery-band .kog-rk-lead--gold {
	color: var(--wp--preset--color--gold);
}
@media (max-width: 860px) {
	/* Stack: photo becomes a full-width top banner, copy sits below on solid
	   cream. align-items:stretch so the photo/inner fill the width (the base
	   align-items:center would shrink the empty photo div to zero). */
	.kog-recovery-band {
		min-height: 0;
		flex-direction: column;
		align-items: stretch;
	}
	.kog-recovery-band__photo {
		position: relative;
		width: 100%;
		height: 60vw;
		max-height: 380px;
		/* Reset the desktop zoom/pan — the mobile banner uses a plain cover crop. */
		background-size: cover;
		background-position: 55% 22%;
	}
	/* Copy sits on solid cream below the photo, so drop the overlay scrim. */
	.kog-recovery-band::before { display: none; }
	.kog-recovery-band__inner {
		position: relative;
		width: 100%;
		padding-block: clamp(2rem, 8vw, 3rem);
	}
	.kog-recovery-band__content { max-width: 100%; }
	.kog-recovery-band__content > * + * { margin-top: 1rem; }
}
