/* ==========================================================================
   Build to Stack
   Light paper, deep green ink, emerald + sky blue. Stacked blocks are the
   brand motif: buttons, ticks and section accents all use the same block.
   ========================================================================== */

:root {
	--paper: #FBFCFA;
	--white: #FFFFFF;
	--ink: #14261D;
	--muted: #4A5D52;
	--line: #D5E2DA;
	--emerald: #0C7F55;
	--emerald-dark: #096443;
	--emerald-bright: #19B37C;
	--mint: #E2F5EB;
	--sky: #2368C4;
	--sky-dark: #1B54A0;
	--sky-tint: #E6EFFB;

	--sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;

	--r-block: 10px;
	--r-panel: 24px;
	--wrap: 1180px;
	--wrap-text: 720px;
	--gutter: clamp(1.15rem, 4vw, 2.5rem);
	--space: clamp(4rem, 9vw, 7.5rem);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--emerald-dark); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 750; line-height: 1.12; letter-spacing: -.015em; font-stretch: 90%; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mint); color: var(--ink); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 1rem; left: 1rem; width: auto; height: auto; clip: auto;
	z-index: 100; padding: .75rem 1rem; background: var(--ink); color: var(--white); border-radius: var(--r-block);
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(var(--wrap-text) + var(--gutter) * 2); }
.wrap--wide { max-width: calc(1000px + var(--gutter) * 2); }

.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head .section-title { margin: 0; }

/* Buttons ------------------------------------------------------------------ */
.button, button.button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .7rem 1.35rem;
	font: 650 1rem/1.2 var(--sans); font-stretch: 95%;
	color: var(--white); background: var(--emerald);
	border: 0; border-radius: var(--r-block);
	box-shadow: 0 4px 0 var(--emerald-dark);
	text-decoration: none; cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.button:hover, .wp-block-button__link:hover { color: var(--white); background: var(--emerald-dark); }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--emerald-dark); }
.button--large { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.075rem; }
.button--small { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; box-shadow: 0 3px 0 var(--emerald-dark); }
.button--ghost { color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink), 0 4px 0 var(--ink); }
.button--ghost:hover { color: var(--ink); background: var(--mint); }
.button--ghost:active { box-shadow: inset 0 0 0 1.5px var(--ink), 0 1px 0 var(--ink); }

.text-link { font-weight: 650; color: var(--emerald); text-decoration: underline; text-decoration-thickness: 2px; }

.pill {
	display: inline-block; padding: .2rem .65rem; margin-bottom: .75rem;
	font-size: .85rem; font-weight: 600; color: var(--sky-dark); background: var(--sky-tint);
	border-radius: 6px; text-decoration: none;
}
.pill:hover { color: var(--ink); background: #D4E3F7; }

.meta { font-size: .9rem; color: var(--muted); }
.meta__sep { margin: 0 .45rem; color: var(--line); }

/* Ticks: little emerald blocks instead of bullets */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: .35em; width: 1.05rem; height: .8rem;
	background: var(--emerald); border-radius: 3px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 13'%3E%3Cpath d='M0 0h17v13H0z' fill='%23000'/%3E%3Cpath d='M4.5 6.6l2.6 2.6 5.4-5.4' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 13'%3E%3Cpath d='M0 0h17v13H0z' fill='%23000'/%3E%3Cpath d='M4.5 6.6l2.6 2.6 5.4-5.4' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Header ------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 252, 250, .9);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__word { font-size: 1.25rem; font-weight: 800; font-stretch: 100%; letter-spacing: -.02em; line-height: 1; }
.custom-logo { max-height: 48px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav__list { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-nav__list a { color: var(--ink); text-decoration: none; font-weight: 550; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav__list a:hover { border-bottom-color: var(--emerald-bright); }
.site-nav__list .current-menu-item > a, .site-nav__list .current_page_parent > a { border-bottom-color: var(--emerald); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 48px; height: 48px; padding: 0; border: 1.5px solid var(--ink); border-radius: var(--r-block);
		background: var(--white); cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease;
	}
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 1rem;
		padding: 1rem var(--gutter) 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line);
	}
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
	.site-nav__list a:hover, .site-nav__list .current-menu-item > a { border-bottom-color: var(--line); color: var(--emerald); }
	.site-header__inner { position: static; }
	.site-header { position: sticky; }
}

/* Hero --------------------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 var(--space); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6.2vw, 4.75rem); font-weight: 800; font-stretch: 80%; line-height: .98; letter-spacing: -.025em; margin-bottom: 1.5rem; }
.hero__text { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34rem; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }

/* The stack */
.stack { position: relative; padding-bottom: 14px; }
.stack__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 10px; }
.stack__block {
	display: flex; align-items: center; min-height: 68px; padding: .9rem 1.25rem;
	border-radius: var(--r-block);
	font-weight: 650; font-size: clamp(.98rem, 1.4vw, 1.1rem); font-stretch: 92%; line-height: 1.25;
	animation: bts-drop .6s cubic-bezier(.2, 1.4, .4, 1) both;
	animation-delay: calc(var(--i) * 130ms + 150ms);
}
.stack__block--a { width: 100%; margin-left: 0; background: var(--emerald); color: var(--white); box-shadow: 0 5px 0 var(--emerald-dark); }
.stack__block--b { width: 88%; margin-left: 7%; background: var(--sky); color: var(--white); box-shadow: 0 5px 0 var(--sky-dark); transform: rotate(-.8deg); }
.stack__block--c { width: 93%; margin-left: 2%; background: var(--mint); color: var(--ink); box-shadow: inset 0 0 0 2px var(--emerald), 0 5px 0 var(--emerald); }
.stack__block--d { width: 80%; margin-left: 15%; background: var(--sky-tint); color: var(--ink); box-shadow: inset 0 0 0 2px var(--sky), 0 5px 0 var(--sky); transform: rotate(.9deg); }
.stack__block--e { width: 66%; margin-left: 24%; background: transparent; color: var(--emerald); border: 2px dashed var(--emerald); }
.stack__ground { position: absolute; left: -4%; right: 0; bottom: 0; height: 2px; background: var(--ink); border-radius: 2px; }

@keyframes bts-drop {
	from { opacity: 0; translate: 0 -48px; }
	to { opacity: 1; translate: 0 0; }
}

/* Starter kit -------------------------------------------------------------- */
.kit { padding-bottom: var(--space); }
.kit__panel {
	display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
	padding: clamp(1.75rem, 5vw, 3.5rem);
	background: var(--mint); border-radius: var(--r-panel);
}
.kit__copy h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.kit__text { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.5rem; }
.kit__form { background: var(--white); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 6px 0 var(--emerald); }
.kit__form-title { font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; }
.kit__form .signup__fields, .course-hero__form .signup__fields { flex-direction: column; align-items: stretch; }
.kit__form .field, .course-hero__form .field { flex: none; }

/* Signup forms ------------------------------------------------------------- */
.signup__fields { display: flex; flex-wrap: wrap; gap: .85rem; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: .35rem; flex: 1 1 180px; }
.field--grow { flex: 2 1 240px; }
.field__label { font-size: .9rem; font-weight: 600; }
input[type="email"], input[type="text"], input[type="search"], input[type="url"], textarea {
	width: 100%; min-height: 48px; padding: .7rem .9rem;
	font: 400 1rem/1.3 var(--sans); color: var(--ink);
	background: var(--white); border: 1.5px solid #B8C9BF; border-radius: var(--r-block);
}
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; border-color: var(--sky); }
input::placeholder { color: #7A8B81; }
.signup__note { margin: .85rem 0 0; font-size: .875rem; color: var(--muted); }
.signup__error { margin: .85rem 0 0; padding: .6rem .8rem; font-size: .95rem; color: #8A1C1C; background: #FDECEC; border-radius: 8px; }
.signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup__done { display: grid; gap: .85rem; justify-items: start; padding: 1.25rem; background: var(--white); border: 2px solid var(--emerald); border-radius: 14px; }
.signup__done p { margin: 0; font-weight: 600; font-size: 1.1rem; }

/* Paths -------------------------------------------------------------------- */
.paths { padding-bottom: var(--space); }
.paths .section-title { margin-bottom: 2rem; }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.path {
	display: flex; flex-direction: column; padding: 1.75rem;
	color: var(--ink); text-decoration: none;
	background: var(--white); border: 1.5px solid var(--line); border-radius: 18px;
	transition: border-color .15s ease;
}
.path:hover { color: var(--ink); border-color: var(--emerald); }
.path h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.path p { color: var(--muted); flex: 1; }
.path__link { font-weight: 650; color: var(--emerald); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.path__blocks { display: flex; flex-direction: column-reverse; gap: 4px; height: 52px; justify-content: flex-start; margin-bottom: 1.25rem; }
.path__blocks i { display: block; height: 14px; border-radius: 4px; background: var(--emerald); }
.path__blocks i:nth-child(1) { width: 56px; }
.path__blocks i:nth-child(2) { width: 46px; margin-left: 6px; background: var(--sky); }
.path__blocks i:nth-child(3) { width: 38px; margin-left: 14px; background: var(--emerald-bright); }

/* Guides list -------------------------------------------------------------- */
.latest { padding-bottom: var(--space); }
.latest__grid { display: grid; grid-template-columns: 1.25fr 1fr; column-gap: clamp(1.5rem, 4vw, 3.5rem); }
.latest__grid > .post-item--featured { grid-row: span 4; padding: 0; border: 0; }
.post-item { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.post-item__title { font-size: 1.25rem; margin: 0 0 .35rem; }
.post-item__title a { color: var(--ink); text-decoration: none; }
.post-item__title a:hover { color: var(--emerald); text-decoration: underline; text-decoration-thickness: 2px; }
.post-item .pill { margin-bottom: .5rem; }
.post-item--featured .post-item__title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.08; }
.post-item--featured .post-item__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; margin-bottom: 1.25rem; }
.post-item__excerpt { color: var(--muted); font-size: 1.1rem; }
.latest__grid > .post-item--featured + .post-item { border-top: 0; padding-top: 0; }
.listing .latest__grid { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
.listing .latest__grid > .post-item--featured { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; padding-bottom: 2.5rem; }
.listing .latest__grid > .post-item--featured:not(:has(.post-item__img)) { grid-template-columns: 1fr; }
.listing .latest__grid > .post-item--featured .post-item__img img { margin: 0; }
.listing .latest__grid > .post-item--featured + .post-item { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.listing { padding-bottom: var(--space); }

.empty { padding: 2rem; background: var(--white); border: 1.5px dashed #B8C9BF; border-radius: 18px; max-width: 46rem; }
.empty p { font-size: 1.1rem; color: var(--muted); }
.empty p:last-child { margin: 0; }

/* Proof ------------------------------------------------------------------- */
.proof { padding-bottom: var(--space); }
.proof__head { max-width: 44rem; margin-bottom: 2rem; }
.proof__head p { color: var(--muted); font-size: 1.1rem; }
.proof__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.proof__grid--1 { grid-template-columns: 1fr; max-width: 900px; }
.proof__grid--3 > :first-child { grid-column: 1 / -1; }
.proof__item { margin: 0; }
.proof__img { display: block; padding: .6rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; transition: border-color .15s ease; }
.proof__img:hover { border-color: var(--sky); }
.proof__img img { width: 100%; border-radius: 10px; }
.proof__item figcaption { margin-top: .7rem; font-size: .95rem; color: var(--muted); }

/* Method (an upward staircase of three stages) ------------------------------ */
.method { padding-bottom: var(--space); }
.method__intro { color: var(--muted); font-size: 1.15rem; max-width: 38rem; margin-bottom: 2.5rem; }
.method__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: end; }
.step { padding: 1.75rem; border-radius: 18px; }
.step h3 { font-size: 1.75rem; font-stretch: 82%; font-weight: 800; }
.step p { margin: 0; }
.step--build { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.step--grow { background: var(--sky-tint); padding-bottom: 3.5rem; }
.step--stack { background: var(--emerald); color: var(--white); padding-bottom: 5.5rem; box-shadow: 0 6px 0 var(--emerald-dark); }

/* Case studies ------------------------------------------------------------- */
.cases { padding-bottom: var(--space); }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-item { padding: 1.5rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; }
.case-item__img img { border-radius: 12px; margin-bottom: 1rem; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.case-item__title { font-size: 1.3rem; }
.case-item__title a { color: var(--ink); text-decoration: none; }
.case-item__title a:hover { color: var(--emerald); }
.case-item p { color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; margin: 1.5rem 0 0; }
.facts div { padding: .8rem 1rem; background: var(--mint); border-radius: var(--r-block); }
.facts dt { font-size: .8rem; color: var(--muted); }
.facts dd { margin: .1rem 0 0; font-weight: 700; font-size: 1.1rem; font-stretch: 92%; }
.facts--compact { grid-template-columns: 1fr; gap: .4rem; margin-top: 1rem; }
.facts--compact div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem .75rem; }
.facts--compact dd { margin: 0; font-size: 1rem; }

/* Waitlist ----------------------------------------------------------------- */
.waitlist { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--sky-tint); }
.waitlist__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.waitlist h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.waitlist p { color: var(--muted); font-size: 1.1rem; }
.waitlist .button { background: var(--sky); box-shadow: 0 4px 0 var(--sky-dark); }
.waitlist .button:hover { background: var(--sky-dark); }
.waitlist .text-link { color: var(--sky-dark); }

/* FAQ ---------------------------------------------------------------------- */
.faq { padding: var(--space) 0; }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 1.15rem 0; font-weight: 650; font-size: 1.15rem; cursor: pointer; list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
	content: ""; flex: none; width: 14px; height: 14px;
	background: linear-gradient(var(--emerald), var(--emerald)) center/14px 2.5px no-repeat, linear-gradient(var(--emerald), var(--emerald)) center/2.5px 14px no-repeat;
	transition: transform .2s ease;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--muted); padding-bottom: 1.15rem; margin: 0; max-width: 38rem; }

/* Page heads --------------------------------------------------------------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.page-head__title { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; font-stretch: 82%; letter-spacing: -.025em; line-height: 1.02; }
.page-head__intro { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.page-head--center { text-align: center; }
.page-head--center .bts-mark { margin: 0 auto 1.5rem; }
.page-head--center .page-head__intro { margin-inline: auto; }
.page-head--center .search-form { margin: 1.5rem auto; }

.topics { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.topic { padding: .45rem .95rem; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-block); }
.topic:hover { color: var(--ink); border-color: var(--emerald); }
.topic.is-current { color: var(--white); background: var(--emerald); border-color: var(--emerald); }

.search-form { display: flex; gap: .6rem; max-width: 30rem; margin-top: 1.5rem; }

.page-body { padding-bottom: var(--space); }

/* Articles ----------------------------------------------------------------- */
.article__head { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: 2rem; }
.article__title { font-size: clamp(2.2rem, 4.8vw, 3.4rem); font-weight: 800; font-stretch: 84%; letter-spacing: -.02em; line-height: 1.04; }
.article__lede { font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; color: var(--muted); }
.article__meta { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; }
.article__hero { margin-top: 0; margin-bottom: 2.5rem; }
.article__hero img { width: 100%; border-radius: 20px; }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.article__body { width: 100%; max-width: var(--wrap-text); }
.article__foot { padding-bottom: var(--space); }
.article__tags a { display: inline-block; margin: 0 .4rem .4rem 0; padding: .2rem .6rem; font-size: .85rem; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }

.toc { width: 100%; max-width: var(--wrap-text); margin-bottom: 2rem; padding: 1.25rem 1.5rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; }
.toc__title { font-weight: 700; margin-bottom: .5rem; }
.toc__list { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.toc__list a { color: var(--ink); text-decoration: none; }
.toc__list a:hover, .toc__list a.is-active { color: var(--emerald); text-decoration: underline; }

@media (min-width: 1180px) {
	.article__layout { grid-template-columns: 230px minmax(0, var(--wrap-text)) 230px; gap: 3rem; justify-content: center; align-items: start; }
	.toc { position: sticky; top: 7rem; padding: 0; background: none; border: 0; font-size: .95rem; }
	.toc__list { padding-left: 0; list-style: none; border-left: 2px solid var(--line); }
	.toc__list a { display: block; padding: .2rem 0 .2rem 1rem; margin-left: -2px; border-left: 2px solid transparent; }
	.toc__list a.is-active { border-left-color: var(--emerald); text-decoration: none; }
	.toc[hidden] + .article__body { grid-column: 2; }
}

/* Prose (guides and pages) -------------------------------------------------- */
.prose { font-family: var(--serif); font-size: 1.15rem; line-height: 1.75; }
.prose > * { margin-top: 0; margin-bottom: 1.35rem; }
.prose h2, .prose h3, .prose h4 { font-family: var(--sans); margin-top: 2.5rem; margin-bottom: .75rem; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 1.95rem); }
.prose h3 { font-size: 1.35rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--emerald); }
.prose strong { font-weight: 700; }
.prose blockquote, .prose .wp-block-quote { margin-inline: 0; padding: .25rem 0 .25rem 1.4rem; border-left: 4px solid var(--emerald-bright); font-style: italic; }
.prose img, .prose .wp-block-image img { border-radius: 12px; }
.prose figcaption { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.prose code { font-size: .9em; padding: .1em .35em; background: var(--mint); border-radius: 4px; }
.prose pre { overflow-x: auto; padding: 1rem 1.25rem; background: var(--ink); color: #E8F2EC; border-radius: 12px; font-size: .95rem; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 1rem; }
.prose th, .prose td { padding: .65rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-weight: 700; background: var(--mint); }
.prose hr { border: 0; height: 2px; background: var(--line); margin: 2.5rem 0; }
.prose .wp-block-button__link { font-family: var(--sans); }
.prose a { color: var(--emerald); }
.page-body.prose { font-size: 1.125rem; }

/* Kit box at the end of a guide */
.kit-box { margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--mint); border-radius: var(--r-panel); }
.kit-box .bts-mark { margin-bottom: 1rem; }
.kit-box h2 { font-size: 1.7rem; }
.kit-box p { color: var(--muted); }
.kit-box .signup { margin-top: 1.25rem; }

/* Related */
.related { padding-bottom: var(--space); }
.related .section-title { margin-bottom: 1rem; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }

/* Course page --------------------------------------------------------------- */
.course-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--space); }
.course-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.course-hero__form { padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line), 0 6px 0 var(--sky); }
.course-hero__form .signup__fields { flex-direction: column; align-items: stretch; }
.course-hero__form .button { background: var(--sky); box-shadow: 0 4px 0 var(--sky-dark); }
.outline { padding-bottom: var(--space); }
.outline .section-title { margin-bottom: 2rem; }
.outline__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.outline__module { padding: 1.75rem; background: var(--white); border-radius: 18px; border-top: 10px solid var(--emerald); box-shadow: inset 0 0 0 1.5px var(--line); }
.outline__module--2 { border-top-color: var(--sky); }
.outline__module--3 { border-top-color: var(--emerald-bright); }
.outline__module h3 { font-size: 1.6rem; font-stretch: 82%; font-weight: 800; }
.outline__note { margin-top: 1.5rem; color: var(--muted); }

/* Newsletter band and footer ----------------------------------------------- */
.news-band { padding: clamp(3rem, 7vw, 4.5rem) 0; background: var(--mint); }
.news-band__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.news-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.news-band p { color: var(--muted); margin: 0; }
.news-band .signup__note { margin-top: .85rem; }

.site-footer { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; background: var(--paper); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.site-footer__brand p { color: var(--muted); margin: 1rem 0; max-width: 22rem; }
.site-footer__heading { font-size: 1rem; font-weight: 700; margin-bottom: .85rem; font-stretch: 100%; letter-spacing: 0; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer__nav a { color: var(--muted); text-decoration: none; }
.site-footer__nav a:hover { color: var(--emerald); text-decoration: underline; }
.site-footer__small { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 2rem; font-size: .875rem; color: var(--muted); }
.site-footer__small p { margin: 0; max-width: 48rem; }

.social { list-style: none; display: flex; gap: .5rem; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-block); }
.social a:hover { color: var(--white); background: var(--emerald); border-color: var(--emerald); }

/* Comments */
.comments-wrap { padding-bottom: var(--space); }
.comments__list { padding-left: 0; list-style: none; }
.comment-body { padding: 1rem 0; border-top: 1px solid var(--line); }
.comment-form label { display: block; font-weight: 600; margin-bottom: .3rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form input[type="submit"] { font: 650 1rem var(--sans); color: var(--white); background: var(--emerald); border: 0; border-radius: var(--r-block); padding: .8rem 1.3rem; cursor: pointer; }

.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .8rem; color: var(--ink); text-decoration: none; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-block); font-weight: 600; }
.pagination .page-numbers.current { color: var(--white); background: var(--emerald); border-color: var(--emerald); }

/* WordPress alignments */
.alignwide { max-width: 1000px; }
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.has-ink-color { color: var(--ink); } .has-ink-background-color { background-color: var(--ink); }
.has-emerald-color { color: var(--emerald); } .has-emerald-background-color { background-color: var(--emerald); }
.has-mint-color { color: var(--mint); } .has-mint-background-color { background-color: var(--mint); }
.has-sky-color { color: var(--sky); } .has-sky-background-color { background-color: var(--sky); }
.has-sky-tint-color { color: var(--sky-tint); } .has-sky-tint-background-color { background-color: var(--sky-tint); }
.has-paper-color { color: var(--paper); } .has-paper-background-color { background-color: var(--paper); }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 960px) {
	.hero__grid, .kit__panel, .waitlist__inner, .faq__inner, .news-band__inner, .course-hero__grid { grid-template-columns: 1fr; }
	.stack { max-width: 520px; }
	.paths__grid, .cases__grid, .outline__grid { grid-template-columns: 1fr; }
	.latest__grid { grid-template-columns: 1fr; }
	.latest__grid > .post-item--featured { grid-row: auto; padding-bottom: 1.5rem; }
	.listing .latest__grid { grid-template-columns: 1fr 1fr; }
	.listing .latest__grid > .post-item--featured { grid-template-columns: 1fr; }
	.related__grid { grid-template-columns: 1fr; }
	.method__steps { grid-template-columns: 1fr; }
	.step--grow, .step--stack { padding-bottom: 1.75rem; }
	.method__steps { display: flex; flex-direction: column-reverse; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
	.site-footer__small { flex-direction: column; gap: .75rem; }
}
@media (max-width: 600px) {
	.listing .latest__grid { grid-template-columns: 1fr; }
	.proof__grid { grid-template-columns: 1fr; }
	.hero__actions .button { width: 100%; }
	.stack__block { min-height: 58px; padding: .75rem 1rem; }
	.section-head { flex-direction: column; gap: .5rem; }
	.search-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
