/* Christlike Intelligence: 2026-10 sales-first redesign.
   Loaded last and unlayered, so it overrides the layered base styles. */

:root {
	--navy: #0e1c33;
	--navy-2: #16294a;
	--slate: #22324d;
	--gold: #c9a23a;
	--gold-2: #e0bd5c;
	--gold-ink: #7a5c12;
	--cream: #f8f3e8;
	--paper: #fffdf8;
	--ink: #1c2333;
	--ink-2: #46506a;
	--line: #e6dcc6;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(14, 28, 51, .12);
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* remap the existing theme tokens so older page styles follow the new look */
	--container-bg-texture: var(--paper);
	--container-text-color: var(--ink);
	--container-link-color: var(--gold-ink);
	--container-link-accent: var(--navy);
	--main-bg-primary: var(--paper);
	--main-bg-secondary: var(--cream);
	--main-bg-accent: #fff;
	--main-bg-texture: var(--paper);
	--main-text-color: var(--ink);
	--main-text-muted: var(--ink-2);
	--main-text-accent: var(--navy);
	--main-text-highlight: #fbefc4;
	--main-link-color: var(--gold-ink);
	--main-link-accent: var(--navy);
	--main-link-on-color: #fff;
	--main-border: var(--line);
	--main-selection-bg: #f3dc8f;
	--main-selection-fg: var(--ink);
	--container-selection-bg: #f3dc8f;
	--container-selection-fg: var(--ink);
	--wash-strong: rgba(14, 28, 51, .18);
	--wash-accent: rgba(14, 28, 51, .10);
	--wash-muted: rgba(14, 28, 51, .06);
	--wash-subtle: rgba(14, 28, 51, .04);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* ---------- header ---------- */
body > header.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: .75rem clamp(1rem, 4vw, 3rem);
	background: rgba(14, 28, 51, .97);
	backdrop-filter: blur(6px);
	box-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.site-header .brand {
	display: flex;
	align-items: center;
	gap: .6rem;
	color: #fff;
	text-decoration: none;
}
.site-header .brand-mark { color: var(--gold); font-size: 1.4rem; }
.site-header .brand-text {
	font-family: var(--serif);
	font-weight: 700;
	font-size: 1.45rem;
	line-height: 1;
	letter-spacing: .01em;
}
.site-header .brand-text small {
	display: block;
	font-family: var(--sans);
	font-weight: 600;
	font-size: .68rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold-2);
	margin-top: .3rem;
}
body > header.site-header nav ul {
	display: flex;
	align-items: center;
	gap: clamp(.8rem, 1.8vw, 1.6rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
body > header.site-header nav a {
	color: #e9ecf3;
	font-weight: 600;
	font-size: .98rem;
	text-decoration: none;
	white-space: nowrap;
}
body > header.site-header nav a:hover { color: var(--gold-2); text-decoration: none; }
body > header.site-header nav .nav-cta a {
	background: var(--gold);
	color: var(--navy);
	padding: .55rem 1rem;
	border-radius: 999px;
}
body > header.site-header nav .nav-cta a:hover { background: var(--gold-2); color: var(--navy); }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: .5rem;
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px 0;
	background: #fff;
	border-radius: 2px;
}

@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	body > header.site-header { flex-wrap: wrap; }
	body > header.site-header nav {
		display: none;
		width: 100%;
	}
	body > header.site-header nav.open { display: block; }
	body > header.site-header nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: .5rem 0 1rem;
	}
	body > header.site-header nav li a {
		display: block;
		padding: .75rem .25rem;
		border-top: 1px solid rgba(255, 255, 255, .08);
	}
	body > header.site-header nav .nav-cta a {
		margin-top: .75rem;
		text-align: center;
		border-top: 0;
	}
}

/* ---------- main frame ---------- */
body > main {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
	gap: 3rem;
	justify-content: center;
}
body > main::before { display: none; }

body > main > article {
	flex: 0 1 820px;
	max-width: 820px;
	min-width: 0;
}
body > main > article > h1 {
	font-family: var(--serif);
	font-weight: 700;
	font-size: clamp(2.2rem, 4.5vw, 3.3rem);
	line-height: 1.1;
	color: var(--navy);
	margin: 0 0 1.5rem;
}
body > main article h2 {
	font-family: var(--serif);
	font-weight: 700;
	color: var(--navy);
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	line-height: 1.2;
	margin: 2.5rem 0 .75rem;
}
body > main article h3 {
	font-family: var(--serif);
	color: var(--navy);
	font-size: 1.45rem;
	margin: 2rem 0 .5rem;
}
body > main article p,
body > main article li { color: var(--ink); }
body > main article p { margin: 0 0 1.1rem; }
body > main article a { color: var(--gold-ink); text-underline-offset: 3px; }
body > main article a:hover { color: var(--navy); }
body > main article strong { color: var(--navy); }

/* the seven-capacities side panel: keep on capacity pages, hide where it competes with selling */
#dimension-nav {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.25rem;
	box-shadow: var(--shadow);
	color: var(--ink);
	font-size: .95rem;
}
#dimension-nav a, #dimension-nav a:visited { color: var(--navy); }
#dimension-nav > a { color: var(--gold-ink); font-weight: 600; }
body:has(article:is(#index, #books, #library, #capacities, #author, #contact, #copyright)) :is(#dimension-nav, #dimension-toggle) {
	display: none !important;
}

/* ---------- buttons ---------- */
.btn,
body > main article a.btn {
	display: inline-block;
	font-family: var(--sans);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	padding: .8rem 1.35rem;
	border-radius: 999px;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
	text-align: center;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-lg, body > main article a.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-gold, body > main article a.btn-gold, footer a.btn-gold {
	background: var(--gold);
	color: var(--navy);
	box-shadow: 0 6px 18px rgba(201, 162, 58, .35);
}
.btn-gold:hover, body > main article a.btn-gold:hover, footer a.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-ghost, body > main article a.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover, body > main article a.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline, body > main article a.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover, body > main article a.btn-outline:hover { background: var(--navy); color: #fff; }

.eyebrow {
	font-family: var(--sans);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold-ink);
	margin: 0 0 .75rem;
}
.center { text-align: center; }
.lede, body > main article p.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 720px; }
.lede.center { margin-left: auto; margin-right: auto; }

/* ---------- home page (full-bleed bands) ---------- */
body:has(main > article#index) > main { padding: 0; display: block; }
body > main > article#index { max-width: none; width: 100%; }
main > article#index > h1 {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
article#index .wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
article#index .wrap.narrow { max-width: 820px; }
article#index .band { padding: clamp(3.5rem, 8vw, 6rem) 0; }
article#index .band-cream { background: var(--cream); }
article#index .band-navy { background: var(--navy); }
article#index .band-slate { background: var(--slate); }
article#index :is(.band-navy, .band-slate) :is(p, li, h2, strong) { color: #eef1f7; }
article#index :is(.band-navy, .band-slate) .eyebrow { color: var(--gold-2); }
article#index .section-title,
body > main article .section-title {
	font-family: var(--serif);
	font-size: clamp(2rem, 4.2vw, 3rem);
	line-height: 1.12;
	margin: 0 0 1.25rem;
}
article#index .section-title.center { max-width: 860px; margin-left: auto; margin-right: auto; }

/* hero */
article#index .hero {
	background:
		radial-gradient(1200px 600px at 85% 30%, rgba(201, 162, 58, .18), transparent 60%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
	padding: clamp(3.5rem, 8vw, 6.5rem) 0;
	overflow: hidden;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 3rem;
	align-items: center;
}
article#index .hero .eyebrow { color: var(--gold-2); }
article#index .hero-title {
	font-family: var(--serif);
	font-weight: 700;
	font-size: clamp(2.5rem, 5.6vw, 4.4rem);
	line-height: 1.04;
	color: #fff;
	margin: 0 0 1.5rem;
}
article#index .hero-title em { color: var(--gold-2); font-style: italic; }
article#index .hero-sub { font-size: 1.22rem; color: #d7deeb; max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.5rem 0 0; }
.hero-actions.center { justify-content: center; }
article#index .hero-note { color: #9fb0cc; font-size: .95rem; margin-top: 1.25rem; }
.hero-art { position: relative; height: 470px; }
.hero-art .cover {
	position: absolute;
	width: 58%;
	border-radius: 4px 10px 10px 4px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}
.hero-art .c1 { left: 0; top: 40px; transform: rotate(-8deg); }
.hero-art .c3 { right: 0; top: 40px; transform: rotate(8deg); }
.hero-art .c2 { left: 21%; top: 0; z-index: 2; }

/* pain picker */
.pain-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
	margin: 2.5rem 0;
}
article#index a.pain-card {
	display: grid;
	grid-template-columns: 76px 1fr;
	grid-template-rows: auto auto 1fr;
	column-gap: 1rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.1rem;
	text-decoration: none;
	color: var(--ink);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
article#index a.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.pain-card img { grid-row: 1 / 4; width: 76px; border-radius: 3px; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
.pain-card .pain { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; line-height: 1.2; color: var(--navy); }
.pain-card .book { font-size: .9rem; color: var(--ink-2); margin-top: .4rem; }
.pain-card .go { font-weight: 700; font-size: .9rem; color: var(--gold-ink); margin-top: .5rem; align-self: end; }
.text-link, body > main article a.text-link { font-weight: 700; color: var(--navy); }

article#index .pull {
	font-family: var(--serif);
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	line-height: 1.3;
	color: var(--gold-2);
	border-left: 3px solid var(--gold);
	padding-left: 1.25rem;
	margin-top: 2rem;
}

/* capacities */
.cap-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-top: 2.5rem;
}
body > main article a.cap-card {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.3rem;
	text-decoration: none;
	color: var(--ink);
	transition: transform .15s ease, box-shadow .15s ease;
}
body > main article a.cap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cap-num {
	display: inline-grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	background: var(--navy);
	color: var(--gold-2);
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: .5rem;
	flex: none;
}
.cap-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.cap-i { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.cap-when { font-size: .95rem; color: var(--ink-2); margin-top: .4rem; }
body > main article a.cap-card.cap-cta { background: var(--navy); border-color: var(--navy); justify-content: center; }
.cap-cta .cap-name { color: #fff; }
.cap-cta .cap-when { color: var(--gold-2); font-weight: 700; }

/* feature rows */
.feature {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.feature-rev { grid-template-columns: .6fr 1.4fr; }
.feature-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.feature-img.portrait img { max-width: 300px; margin: 0 auto; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0; }
.checks li { position: relative; padding-left: 1.9rem; margin: .5rem 0; }
.checks li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: .05rem;
	color: var(--gold-ink);
	font-weight: 700;
}

.split { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.split > div:first-child { max-width: 760px; }

/* ---------- inner pages ---------- */
.page-intro { margin-bottom: 2rem; }
.cap-list { display: grid; gap: 1rem; }
.cap-row {
	display: flex;
	gap: 1.2rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.4rem 1.5rem;
}
body > main article .cap-row h2 { margin: 0 0 .4rem; font-size: 1.7rem; }
.cap-row h2 small {
	font-family: var(--sans);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold-ink);
	margin-left: .5rem;
}
body > main article .cap-row p { margin-bottom: .5rem; }
.cap-links { font-weight: 600; font-size: .95rem; }

.cta-box {
	margin-top: 3rem;
	background: var(--navy);
	border-radius: var(--radius);
	padding: 2.5rem;
	text-align: center;
}
body > main article .cta-box h2 { color: #fff; margin-top: 0; }
body > main article .cta-box p { color: #d7deeb; }

.lib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
body > main article a.lib-card {
	display: block;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem;
	text-decoration: none;
	color: var(--ink);
	transition: transform .15s ease, box-shadow .15s ease;
}
body > main article a.lib-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
body > main article .lib-card h2 { margin: .25rem 0 .4rem; font-size: 1.5rem; }
body > main article .lib-card p { color: var(--ink-2); margin-bottom: .75rem; }
.lib-kind { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.go { font-weight: 700; color: var(--gold-ink); }

/* ---------- books page ---------- */
body > main > article#books { flex-basis: 1000px; max-width: 1000px; }
.books-start {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.75rem;
	margin-bottom: 2.5rem;
}
body > main article .books-start h2 { margin-top: 0; }
.need-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
body > main article .need-chips a {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: .45rem .95rem;
	font-size: .95rem;
	font-weight: 600;
	color: var(--navy);
	text-decoration: none;
}
body > main article .need-chips a:hover { border-color: var(--gold); background: #fffaf0; }
article#books > ul,
article#books > ul ul { list-style: none; margin: 0; padding: 0; }
article#books > ul > li {
	display: block;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem 1.5rem 1.5rem 190px;
	margin: 0 0 1.25rem;
	min-height: 260px;
	position: relative;
}
article#books > ul > li:target { outline: 3px solid var(--gold); }
body > main article#books > ul > li img {
	position: absolute;
	left: 1.5rem;
	top: 1.5rem;
	width: 145px;
	border-radius: 3px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
	margin: 0;
}
article#books > ul > li > p:first-child > a,
article#books > ul > li > a:not(:has(img)) { font-family: var(--serif); }
article#books > ul > li strong { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; display: block; margin-bottom: .5rem; }
article#books > ul > li br { display: none; }

/* ---------- footer ---------- */
body > footer.site-footer {
	display: block;
	background: var(--navy);
	color: #c6cfdf;
	padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 3rem) 1.5rem;
	box-shadow: none;
	font-size: .98rem;
}
.footer-grid {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 2rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
body > footer.site-footer a { color: #e9ecf3; text-decoration: none; }
body > footer.site-footer a:hover { color: var(--gold-2); text-decoration: none; }
body > footer.site-footer a.btn-gold { color: var(--navy); margin-top: .5rem; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: #fff; margin: 0 0 .5rem; }
.footer-head { font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 .5rem; }
.footer-legal {
	max-width: 1180px;
	margin: 2.5rem auto 0;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .88rem;
	color: #8f9cb4;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.hero-grid, .feature, .feature-rev { grid-template-columns: 1fr; }
	.hero-art { height: 340px; max-width: 420px; margin: 0 auto; width: 100%; }
	.pain-grid { grid-template-columns: repeat(2, 1fr); }
	.cap-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.split { flex-direction: column; align-items: flex-start; }
	.feature-img { order: -1; }
}
@media (max-width: 640px) {
	body { font-size: 17px; }
	.pain-grid, .cap-grid, .lib-grid { grid-template-columns: 1fr; }
	.hero-art { height: 260px; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero-actions .btn { width: 100%; }
	article#books > ul > li { padding: 1.25rem; }
	body > main article#books > ul > li img { position: static; width: 140px; margin-bottom: 1rem; }
	.cap-row { flex-direction: column; gap: .5rem; }
}

/* polish pass */
article#index .band-navy p.pull { color: var(--gold-2); }
article#index .feature-copy .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
body > footer.site-footer { background: #08111f; }
article#index .hero-sub { margin-bottom: .5rem; }
.book-code { display: none; }
body > main article#books .btn-buy { margin-top: .5rem; font-size: .95rem; padding: .65rem 1.2rem; }
article#books > ul > li a strong { text-decoration: none; }
article#books > ul > li > p:first-child a, article#books > ul > li > a { text-decoration: none; }
body > main article#books a.btn-buy { display: table; margin-top: 1rem; }
article#books > ul > li a strong { color: var(--navy); font-size: 1.6rem; }

/* professional / Phase 1 pages: move from dark glass panels to the new light cards */
body.phase1-focused > main { background: var(--paper); }
body.phase1-focused > main > article {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	max-width: 1080px;
}
body.phase1-focused .professional-card,
body > main .professional-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	box-shadow: 0 4px 14px rgba(14, 28, 51, .06);
}
body.phase1-focused .professional-card h2 { border-top: 0; margin-top: 0; color: var(--navy); }
body.phase1-focused .professional-cta,
body > main .professional-cta {
	background: var(--gold);
	color: var(--navy);
	border-radius: 999px;
	font-weight: 700;
}
body.phase1-focused .professional-cta:hover,
body > main .professional-cta:hover { background: var(--gold-2); color: var(--navy); }
body > main article :is(.diagnostic-choice) { background: #fff; color: var(--ink); }
body > main article :is(input, select, textarea) { background: #fff; color: var(--ink); border: 1px solid var(--line); }
body.phase1-focused > main > article { flex-basis: 1080px; }
body.phase1-focused .professional-card p, body.phase1-focused .professional-card li { font-size: 1rem; }

/* call to action closing every inner page */
.page-cta {
	margin-top: 3.5rem;
	background: var(--navy);
	border-radius: var(--radius);
	padding: 2rem 2.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1rem;
}
.page-cta .eyebrow { width: 100%; color: var(--gold-2); margin: 0; }
body > main article .page-cta .page-cta-title {
	width: 100%;
	font-family: var(--serif);
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	margin: 0 0 .75rem;
}
body > main article .page-cta a.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
body > main article .page-cta a.btn-outline:hover { background: rgba(255,255,255,.1); }
article:is(#index, #books, #capacities, #copyright) > .page-cta { display: none; }
#dimension-nav a.btn-gold, #dimension-nav a.btn-gold:visited { display: block; margin-top: 1rem; color: var(--navy); text-decoration: none; }
body > main article#author img { float: right; width: 300px; margin: 0 0 1.25rem 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 640px) { body > main article#author img { float: none; width: 220px; margin: 0 0 1.25rem; } }

/* ================= blog (2026-10 redesign) ================= */
body:has(#blog-shell) > main,
body:has(#blog-content) > main { display: block; padding: 0; }
#nav-toggle { display: none !important; }
.blog-hero {
	background:
		radial-gradient(900px 400px at 85% 0%, rgba(201, 162, 58, .2), transparent 60%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
	padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem) 0;
}
.blog-hero-inner { max-width: 1180px; margin: 0 auto; }
.blog-hero .eyebrow { color: var(--gold-2); }
.blog-hero-title { font-family: var(--serif); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; margin: 0 0 .75rem; }
.blog-hero-title a { color: #fff; text-decoration: none; }
.blog-hero-sub { color: #d7deeb; font-size: 1.15rem; max-width: 680px; margin: 0 0 1.75rem; }
.blog-subnav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; align-items: center; }
.blog-subnav a {
	color: #e9ecf3; font-weight: 700; text-decoration: none;
	padding: .9rem 0; border-bottom: 3px solid transparent;
}
.blog-subnav a:hover { color: var(--gold-2); border-bottom-color: var(--gold); }
.blog-subnav a.blog-subnav-cta { margin-left: auto; color: var(--gold-2); }

.blog-layout {
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2.5rem);
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}
#blog-content { min-width: 0; font-family: var(--sans); color: var(--ink); }
#blog-content > article { max-width: 760px; }
#blog-content > article > header h1,
#blog-content > header h1 {
	font-family: var(--serif); font-weight: 700; color: var(--navy);
	font-size: clamp(2.1rem, 4.2vw, 3rem); line-height: 1.1; margin: 0 0 1rem;
}
#blog-content h2 { font-family: var(--serif); color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.05rem); line-height: 1.2; margin: 2.5rem 0 .75rem; }
#blog-content h3 { font-family: var(--serif); color: var(--navy); font-size: 1.45rem; margin: 2rem 0 .5rem; }
#blog-content > article > h1 { font-family: var(--serif); color: var(--navy); font-size: 1.9rem; margin: 2rem 0 1rem; }
#blog-content p, #blog-content li { font-size: 1.12rem; line-height: 1.75; color: var(--ink); }
#blog-content p { margin: 0 0 1.25rem; }
#blog-content a { color: var(--gold-ink); text-underline-offset: 3px; }
#blog-content a:hover { color: var(--navy); }
#blog-content strong { color: var(--navy); }
#blog-content blockquote { border-left: 3px solid var(--gold); margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; font-family: var(--serif); font-size: 1.35rem; color: var(--navy); }
#blog-content img { max-width: 100%; height: auto; border-radius: 10px; }

/* byline */
#blog-content dl.byline {
	display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem;
	margin: 0 0 2rem; padding: 0 0 1.25rem; border-bottom: 1px solid var(--line);
	font-size: .95rem; color: var(--ink-2);
}
#blog-content dl.byline dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#blog-content dl.byline dd { margin: 0; }
#blog-content dl.byline dd:last-of-type { width: 100%; }
#blog-content .badge, #blog-side .tags .badge {
	display: inline-block; font-size: .8rem; font-weight: 600; text-decoration: none;
	color: var(--navy); background: var(--cream); border: 1px solid var(--line);
	border-radius: 999px; padding: .2rem .65rem; margin: .2rem .3rem .2rem 0;
}
#blog-content .badge:hover, #blog-side .tags .badge:hover { border-color: var(--gold); color: var(--navy); }
#blog-content article#index > header .byline { display: none; }

/* sidebar */
#blog-side { display: grid; gap: 1.25rem; position: sticky; top: 90px; }
#blog-side .side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
#blog-side h2, #blog-side summary { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.35rem; margin: 0 0 .75rem; }
#blog-side summary { cursor: pointer; margin: 0; }
#blog-side details[open] summary { margin-bottom: .75rem; }
#blog-side ul { list-style: none; margin: 0; padding: 0; }
#blog-side .recent-posts li { border-top: 1px solid var(--line); }
#blog-side .recent-posts li:first-child { border-top: 0; }
#blog-side .recent-posts a { display: block; padding: .7rem 0; text-decoration: none; }
#blog-side .recent-posts .title { display: block; font-weight: 700; color: var(--navy); line-height: 1.3; }
#blog-side .recent-posts time { display: block; font-size: .8rem; color: var(--ink-2); margin-top: .2rem; }
#blog-side .recent-posts .preview { display: none; }
#blog-side .recent-posts a:hover .title { color: var(--gold-ink); }
#blog-side .side-more { display: inline-block; margin-top: .5rem; font-weight: 700; color: var(--gold-ink); text-decoration: none; }
#blog-side .side-book { background: var(--navy); border-color: var(--navy); }
#blog-side .side-book .eyebrow { color: var(--gold-2); margin-bottom: .4rem; }
#blog-side .side-book-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; line-height: 1.2; color: #fff; margin: 0 0 1rem; }
#blog-side .tags { display: flex; flex-wrap: wrap; max-height: 320px; overflow-y: auto; }

/* blog home post index (built by blog.js) */
#post-index .post-featured { margin: 0 0 2rem; }
#post-index a.post-card {
	display: flex; flex-direction: column; gap: .35rem;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.25rem 1.35rem; text-decoration: none; color: var(--ink);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
#post-index a.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
#post-index a.post-card-featured { background: var(--cream); padding: 2rem; }
#post-index .post-flag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--gold); border-radius: 999px; padding: .25rem .7rem; }
#post-index .post-date { font-size: .85rem; color: var(--ink-2); }
#post-index .post-title { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; line-height: 1.2; color: var(--navy); }
#post-index .post-card-featured .post-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
#post-index .post-preview { font-size: 1rem; color: var(--ink-2); line-height: 1.55; }
#post-index .post-go { margin-top: auto; padding-top: .4rem; font-weight: 700; font-size: .92rem; color: var(--gold-ink); }
#post-index .post-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 1.25rem; }
#post-index .post-search-label { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--navy); }
#post-index .post-search { flex: 1 1 260px; max-width: 380px; font: inherit; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
#post-index .post-search:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
#post-index .post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
#post-index .post-none { color: var(--ink-2); }

/* production /sitemap page */
#blog-content > ul#sitemap,
#blog-content ul#sitemap { list-style: none; padding: 0; margin: 0; }
#blog-content ul#sitemap > li.sitemap-section > h2 { margin-top: 2rem; }
#blog-content ul#sitemap ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
#blog-content ul#sitemap li.sitemap-article > a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-decoration: none; color: var(--ink); }
#blog-content ul#sitemap li.sitemap-article > a:hover { border-color: var(--gold); box-shadow: var(--shadow); }
#blog-content ul#sitemap h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
#blog-content ul#sitemap .stem { display: block; font-family: var(--sans); font-size: .8rem; color: var(--ink-2); background: none; border: 0; padding: 0; }
#blog-content ul#sitemap .title { color: var(--navy); }
#blog-content ul#sitemap .preview { font-size: .98rem; color: var(--ink-2); margin: 0; }
body:not(:has(#blog-shell)) > main > #blog-content { max-width: 1100px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2.5rem); }

@media (max-width: 980px) {
	.blog-layout { grid-template-columns: 1fr; }
	#blog-side { position: static; }
	.blog-subnav a.blog-subnav-cta { margin-left: 0; }
}
@media (max-width: 640px) {
	#post-index .post-grid, #blog-content ul#sitemap ul { grid-template-columns: 1fr; }
	#blog-content p, #blog-content li { font-size: 1.05rem; }
}
#post-index [hidden] { display: none !important; }
#blog-shell:has(#blog-content article#index) #blog-side .side-card:first-child { display: none; }
#blog-content dl.byline dt { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
#blog-content dl.byline dd { margin-right: .75rem; color: var(--ink); }
#blog-content dl.byline dt:last-of-type { width: 100%; margin-top: .4rem; }
#blog-content .badge, #blog-side .tags .badge { font-family: var(--sans); }
#blog-shell:not(:has(#blog-content article#index)) .blog-hero-sub { display: none; }
#blog-shell:not(:has(#blog-content article#index)) .blog-hero-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
#blog-shell:not(:has(#blog-content article#index)) .blog-hero { padding-top: clamp(1.75rem, 4vw, 2.5rem); }
#blog-content dl.byline dt { text-align: left; margin-right: .35rem; }
#blog-content dl.byline dt::after { content: none !important; }
#blog-content ul#sitemap > li.sitemap-article { display: none; }
#blog-content ul#sitemap h3, #blog-content ul#sitemap .stem { text-align: left; }

/* professional call-to-action links rendered as real buttons everywhere */
body > main article a.professional-cta {
	display: inline-block;
	background: var(--gold);
	color: var(--navy);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	padding: .75rem 1.3rem;
	border: 0;
	border-radius: 999px;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(201, 162, 58, .3);
}
body > main article a.professional-cta:hover { background: var(--gold-2); color: var(--navy); text-decoration: none; }
body > main article a.btn.professional-cta.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
body > main article a.btn.professional-cta.btn-outline:hover { background: var(--navy); color: #fff; }
body > main article a.professional-cta.cta-secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; padding: .65rem 1.2rem; }
body > main article a.professional-cta.cta-secondary:hover { background: var(--navy); color: #fff; }
body > main article p.cta-line { margin: .5rem 0 .9rem; }
