/* ==========================================================================
   20-home.css — Active Tahoe
   Owned by the "home" worker. Scoped to .at-* classes used on the homepage
   (post 36) and the six topic pages. Do not use these classes elsewhere.
   ========================================================================== */

.at-sec,
.at-topic-page {
	--at-ink: #171717;
	--at-ink-soft: #3d4a44;
	--at-green: #005A39;
	--at-green-mid: #047857;
	--at-green-light: #279B7A;
	--at-surface: #ffffff;
	--at-tint: #dce8e2;
	--at-line: #c6d3cd;
	--at-photo-bg: #dbe4df;
	--at-radius: 14px;

	box-sizing: border-box;
	color: var(--at-ink);
	padding-block: clamp(1.25rem, 4vw, 3.25rem);
	padding-inline: clamp(1rem, 4vw, 2rem);
	margin-block: 0 !important;
	overflow-wrap: break-word;
}

.at-sec :where(h1, h2, h3, h4) { color: var(--at-ink); }
.at-sec :where(p, li) { color: var(--at-ink-soft); line-height: 1.55; }
.at-sec :where(strong) { color: var(--at-ink); }
.at-sec :where(a) { color: var(--at-green); }
.at-sec img { max-width: 100%; height: auto; }

/* Deterministic vertical rhythm: WordPress emits per-block layout rules that
   zero child margins and apply a uniform block gap. Pin our own instead so the
   section spacing does not depend on which rule happens to win. */
.at-sec > * { margin-block: 0 !important; }
.at-sec > * + * { margin-block-start: var(--at-gap, 0.9rem) !important; }
.at-hero__text > * { margin-block: 0 !important; }
.at-quote > * { margin-block: 0 !important; }
.at-card__body > * { margin-block: 0 !important; }
.at-who__item > *, .at-stat > * { margin-block: 0 !important; }

.at-h1 {
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 0.6em;
	text-wrap: balance;
}
.at-h2 {
	font-size: clamp(1.35rem, 4.2vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
.at-h3 {
	font-size: clamp(1.1rem, 3vw, 1.35rem);
	font-weight: 700;
	line-height: 1.25;
	margin-block: 0 !important;
	margin-block-start: 1.6rem !important;
}
.at-sub { font-size: clamp(0.95rem, 2.4vw, 1.05rem); max-width: 46em; }
.at-note { font-size: 0.8rem; margin: 0.9rem 0 0; opacity: 0.85; }
.at-lead { font-size: clamp(1.05rem, 2.8vw, 1.3rem); line-height: 1.5; color: var(--at-ink); }

/* ---------- buttons ---------- */
.at-buttons { gap: 0.6rem; margin: 0; }
.at-buttons > * { margin: 0 !important; }
.at-btn .wp-block-button__link {
	border-radius: 999px;
	padding: 0.72rem 1.35rem;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	display: inline-block;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.at-btn--primary .wp-block-button__link {
	background: var(--at-green); color: #fff; border: 2px solid var(--at-green);
}
.at-btn--primary .wp-block-button__link:hover,
.at-btn--primary .wp-block-button__link:focus { background: #003d27; border-color: #003d27; color: #fff; }
.at-btn--secondary .wp-block-button__link {
	background: transparent; color: var(--at-green); border: 2px solid var(--at-green);
}
.at-btn--secondary .wp-block-button__link:hover,
.at-btn--secondary .wp-block-button__link:focus { background: var(--at-green); color: #fff; }

/* ---------- who this is for ---------- */
.at-who__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.at-who__grid > * { margin-block: 0 !important; }
@media (min-width: 782px) { .at-who__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.at-who__item {
	background: var(--at-surface); border: 1px solid var(--at-line);
	border-radius: var(--at-radius); padding: 0.75rem 0.85rem;
}
.at-who__text { margin: 0; font-size: 0.82rem; line-height: 1.4; }
.at-who__text br { display: none; }
.at-who__text strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }

/* ---------- credentials strip ---------- */
.at-stats { background: var(--at-green); }
.at-sec.at-stats p,
.at-sec.at-stats span,
.at-sec.at-stats a,
.at-sec.at-stats h2 { color: #fff; }
.at-stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; text-align: center; }
.at-stats__grid > * { margin-block: 0 !important; }
@media (min-width: 782px) { .at-stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.at-stat__text { margin: 0; }
.at-stat__text br { display: none; }
.at-stat__value { display: block; font-size: clamp(1.25rem, 4.4vw, 1.8rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
.at-stat__label { display: block; font-size: 0.78rem; line-height: 1.3; margin-top: 0.25rem; opacity: 0.85; }
.at-morelink { margin: 1.25rem 0 0; font-size: 0.9rem; }
.at-morelink a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- topic cards ---------- */
.at-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.at-cards > * { margin-block: 0 !important; }
@media (min-width: 782px) { .at-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.at-card {
	background: var(--at-surface); border: 1px solid var(--at-line);
	border-radius: var(--at-radius); overflow: hidden;
	display: flex; flex-direction: column;
}
.at-card > * { margin-block: 0 !important; }
.at-card__media { margin: 0; background: var(--at-photo-bg); line-height: 0; }
.at-card__media a { display: block; }
.at-card__media img {
	display: block; width: 100%; height: auto;
	aspect-ratio: 4 / 3; object-fit: cover;
	background: var(--at-photo-bg);
	border-radius: 0;
}
.at-card__body { padding: 0.75rem 0.85rem 1rem; }
.at-card__body > * { margin-block: 0 !important; }
.at-card__title { font-size: clamp(0.95rem, 2.6vw, 1.1rem); font-weight: 700; line-height: 1.25; margin: 0 0 0.3rem !important; }
.at-card__title a { text-decoration: none; color: var(--at-green); }
.at-card__title a:hover, .at-card__title a:focus { text-decoration: underline; }
.at-card__desc { font-size: 0.84rem; line-height: 1.45; margin: 0; }

/* ---------- how it works ---------- */
.at-steps { list-style: none; counter-reset: atstep; margin: 0 0 0.5rem; padding: 0; display: grid; gap: 10px; }
@media (min-width: 782px) { .at-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; } }
.at-steps li { counter-increment: atstep; position: relative; padding-left: 2.5rem; font-size: 0.92rem; line-height: 1.45; }
.at-steps li::before {
	content: counter(atstep);
	position: absolute; left: 0; top: 0.05rem;
	width: 1.75rem; height: 1.75rem; border-radius: 50%;
	background: var(--at-green); color: #fff;
	display: grid; place-items: center;
	font-size: 0.85rem; font-weight: 700;
}
.at-prices { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 8px; }
@media (min-width: 782px) { .at-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.at-prices li {
	background: var(--at-surface); border: 1px solid var(--at-line);
	border-radius: 10px; padding: 0.6rem 0.8rem; font-size: 0.88rem; line-height: 1.4;
}

/* ---------- testimonials ---------- */
.at-quotes__grid { display: grid; gap: 12px; }
.at-quotes__grid > * { margin-block: 0 !important; }
@media (min-width: 782px) { .at-quotes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.at-quote {
	background: var(--at-surface);
	border-left: 4px solid var(--at-green-light);
	border-radius: 0 var(--at-radius) var(--at-radius) 0;
	padding: 0.85rem 0.95rem; margin: 0;
}
.at-quote p { font-size: 0.9rem; line-height: 1.5; margin: 0 0 0.45rem; }
.at-quote cite { font-style: normal; font-size: 0.82rem; font-weight: 600; color: var(--at-green); }

/* ---------- substack band ---------- */
.at-substack {
	background: var(--at-tint);
	border-block: 1px solid var(--at-line);
	text-align: center;
}
.at-substack .at-sub { margin-inline: auto; }

/* ---------- final CTA band ---------- */
.at-sec.at-cta--final { background: var(--at-green); }
.at-sec.at-cta--final h2,
.at-sec.at-cta--final p,
.at-sec.at-cta--final li,
.at-sec.at-cta--final span,
.at-sec.at-cta--final a { color: #fff; }
.at-cta--final .at-btn--primary .wp-block-button__link { background: #fff; color: var(--at-green); border-color: #fff; }
.at-cta--final .at-btn--primary .wp-block-button__link:hover { background: #e3efe9; color: var(--at-green); }
.at-cta--final .at-btn--secondary .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.at-cta--final .at-btn--secondary .wp-block-button__link:hover { background: #fff; color: var(--at-green); }
.at-cta--final .at-tel a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.at-tel { margin: 1rem 0 0; font-size: 0.92rem; }

/* ---------- topic-page CTA (light) ---------- */
.at-sec.at-cta { background: var(--at-tint); text-align: center; }
.at-sec.at-cta--final { background: var(--at-green); }
.at-cta .at-buttons { justify-content: center; }

/* ---------- topic page body ---------- */
.at-page-body { --at-measure: 46rem; --at-gap: 0.95rem; }
.at-page-body > * { max-width: var(--at-measure) !important; margin-inline: auto !important; }
.at-page-body h2 { margin-block-start: 1.9rem !important; }
.at-page-body p, .at-page-body ul { max-width: none; }
.at-banner { margin-block-end: 1.4rem !important; }
.at-banner img {
	display: block; width: 100%; height: auto;
	aspect-ratio: 3 / 2; object-fit: cover;
	border-radius: var(--at-radius);
	background: var(--at-photo-bg);
}
.at-page-body .at-note {
	background: var(--at-tint); border-radius: 10px;
	padding: 0.85rem 1rem; font-size: 0.9rem; opacity: 1;
	margin-block-start: 1.6rem !important;
}
.at-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.at-checklist li { position: relative; padding-left: 1.6rem; line-height: 1.5; }
.at-checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--at-green-light); font-weight: 700; }

/* ---------- topic page title (rendered by the page template) ---------- */
.at-topic-page .wp-block-post-title {
	font-size: clamp(1.9rem, 5.5vw, 3rem) !important;
	line-height: 1.08;
	letter-spacing: -0.02em;
	font-weight: 700;
	color: #171717;
	box-sizing: border-box;
	max-width: calc(46rem + 2 * clamp(1rem, 4vw, 2rem));
	margin: clamp(1.25rem, 4vw, 2.5rem) auto 0;
	padding-inline: clamp(1rem, 4vw, 2rem);
}
.at-topic-page .wp-block-post-title.has-text-align-center { text-align: left; }
.at-topic-page .at-page-body { padding-block-start: clamp(0.75rem, 2vw, 1.25rem); }

/* Constrained-layout belt and braces: the theme emits per-block layout styles,
   this guarantees the same measure if those are ever stripped/minified away. */
.at-sec > * { max-width: var(--wp--style--global--content-size, 1200px); margin-inline: auto; }
.at-sec > .alignfull, .at-sec > .alignwide { max-width: none; }

/* ---------- phone tightening ---------- */
@media (max-width: 600px) {
	.at-card__media img { aspect-ratio: 16 / 10; }
	.at-card__body { padding: 0.55rem 0.6rem 0.7rem; }
	.at-card__title { font-size: 0.9rem; margin-bottom: 0.2rem !important; }
	.at-card__desc { font-size: 0.78rem; line-height: 1.35;
		display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.at-cards { gap: 12px; }
}

/* ---------- per-section gap tuning ---------- */
.at-hero { --at-gap: 0; }
.at-who, .at-stats, .at-topics, .at-quotes { --at-gap: 0.85rem; }
.at-how { --at-gap: 0.9rem; }
.at-substack, .at-cta { --at-gap: 0.75rem; }
.at-hero__text > * + * { margin-block-start: 0 !important; }
.at-h1 { margin-block-end: 0.5em !important; }
.at-hero__sub { margin-block-end: 1.25rem !important; }
.at-quote p { margin-block-end: 0.45rem !important; }
.at-card__title { margin-block-end: 0.25rem !important; }
.at-who__text strong { margin-block-end: 0.2rem; }
.at-morelink { margin-block-start: 1.1rem !important; }
.at-tel { margin-block-start: 0.85rem !important; }
.at-banner { margin-block-end: 1.6rem !important; }


/* ==========================================================================
   v2 revisions (2026-09-23): lake-photo hero, quieter sections, contact
   section replaces the final green band. Later rules win over the ones above.
   ========================================================================== */

/* ---------- hero: full-bleed lake cover with forest scrim ---------- */
.at-hero.wp-block-cover {
	--at-gap: 0;
	min-height: 0 !important;
	padding-block: clamp(2.25rem, 6vw, 4.75rem);
	padding-inline: clamp(1rem, 4vw, 2rem);
	color: #ffffff;
	text-align: left;
	background: #062a1e;
}
.at-hero.wp-block-cover > .wp-block-cover__image-background,
.at-hero.wp-block-cover > .wp-block-cover__background {
	max-width: none !important;
	margin: 0 !important;
}
.at-hero.wp-block-cover .wp-block-cover__image-background { object-position: 60% 45%; }
.at-hero.wp-block-cover .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(100deg, rgba(6, 42, 30, .93) 0%, rgba(6, 42, 30, .82) 40%, rgba(6, 42, 30, .48) 72%, rgba(6, 42, 30, .34) 100%) !important;
}
.at-hero.wp-block-cover > .wp-block-cover__inner-container {
	width: 100%;
	max-width: var(--wp--style--global--content-size, 1200px);
	margin: 0 auto !important;
}
.at-hero__cols { align-items: center; gap: 2.5rem; }
.at-hero__text > * { margin-block: 0 !important; }
.at-hero .at-h1 {
	color: #ffffff;
	font-size: clamp(2.125rem, 5.4vw, 4rem);
	margin-block-end: 0.45em !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.at-hero .at-hero__sub {
	color: rgba(255, 255, 255, .92);
	font-size: clamp(1rem, 2.3vw, 1.15rem);
	line-height: 1.55;
	max-width: 34em;
	margin-block-end: 1.4rem !important;
}
.at-hero .at-btn--primary .wp-block-button__link.wp-element-button {
	background: #ffffff; color: var(--at-green); border-color: #ffffff;
}
.at-hero .at-btn--primary .wp-block-button__link.wp-element-button:hover,
.at-hero .at-btn--primary .wp-block-button__link.wp-element-button:focus {
	background: var(--at-tint); color: var(--at-green); border-color: var(--at-tint);
}
.at-hero .at-btn--secondary .wp-block-button__link.wp-element-button:not(:hover):not(:focus) {
	background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, .8);
}
.at-hero .at-btn--secondary .wp-block-button__link.wp-element-button:hover,
.at-hero .at-btn--secondary .wp-block-button__link.wp-element-button:focus {
	background: #ffffff; color: var(--at-green); border-color: #ffffff;
}
.at-hero__media { max-width: 360px; margin-inline: auto; }
.at-portrait { margin: 0; }
.at-portrait img {
	display: block; width: 100%; height: auto;
	aspect-ratio: 3 / 4; object-fit: cover;
	border-radius: var(--at-radius);
	border: 3px solid rgba(255, 255, 255, .9);
	background: var(--at-photo-bg);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
@media (max-width: 781px) {
	.at-hero__cols { gap: 1.5rem; }
	.at-hero__media { max-width: 300px; }
}
@media (max-width: 600px) {
	.at-hero.wp-block-cover .wp-block-cover__image-background { object-position: 55% 40%; }
	.at-hero.wp-block-cover .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(6, 42, 30, .93) 0%, rgba(6, 42, 30, .86) 48%, rgba(6, 42, 30, .55) 72%, rgba(6, 42, 30, .32) 100%) !important;
	}
	.at-hero__cols { gap: 1.25rem; }
	.at-hero__media { max-width: 200px; margin-inline: 0; }
	.at-hero .at-h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
}

/* ---------- explicit section backgrounds (was: theme grey almost everywhere) ---------- */
.at-sec.at-who { background: #ffffff; }
.at-sec.at-topics { background: var(--at-tint); }
.at-sec.at-how { background: #ffffff; }
.at-sec.at-quotes { background: var(--at-tint); }
.at-sec.at-substack { background: #ffffff; border-block: 1px solid var(--at-line); }
.at-sec.at-contact { background: var(--at-tint); }

/* ---------- who this is for: plain items, no card kit ---------- */
.at-who__item {
	background: transparent; border: 0; border-radius: 0;
	border-top: 2px solid var(--at-green-light);
	padding: 0.75rem 0 0;
}
.at-who__text { font-size: 0.92rem; line-height: 1.45; }
.at-who__text strong { font-size: 1.05rem; margin-bottom: 0.25rem; }
.at-who__grid { gap: 16px 20px; }
@media (min-width: 782px) { .at-who__grid { gap: 28px; } }

/* ---------- pricing: three plain lines, not chips ---------- */
.at-prices { gap: 0.5rem 2rem; }
.at-prices li {
	background: transparent; border: 0; border-radius: 0;
	border-left: 3px solid var(--at-green-light);
	padding: 0.15rem 0 0.15rem 0.8rem; font-size: 0.92rem;
}

/* ---------- topic cards on phones: one column, thumbnail on the left ---------- */
@media (max-width: 600px) {
	.at-cards { grid-template-columns: 1fr; gap: 10px; }
	.at-card { flex-direction: row; align-items: stretch; }
	.at-card__media { flex: 0 0 118px; }
	.at-card__media a { display: block; height: 100%; }
	.at-card__media img { aspect-ratio: auto; height: 100%; min-height: 104px; object-fit: cover; }
	.at-card__body { padding: 0.6rem 0.8rem; align-self: center; }
	.at-card__title { font-size: 0.98rem; margin-bottom: 0.2rem !important; }
	.at-card__desc { font-size: 0.82rem; line-height: 1.4; -webkit-line-clamp: 2; }
}

/* ---------- contact section (replaces the final green band) ---------- */
.at-sec.at-contact { --at-gap: 0; scroll-margin-top: 80px; }
.at-contact__cols { gap: clamp(1.5rem, 4vw, 3.5rem); align-items: flex-start; }
.at-contact__cols > .wp-block-column > * { margin-block: 0 !important; }
.at-contact__cols > .wp-block-column > * + * { margin-block-start: 1rem !important; }
.at-contact__copy .at-sub { max-width: 30em; }
.at-contact__copy .at-tel { margin-block-start: 1rem !important; }
.at-contact__note { font-size: 0.9rem; color: var(--at-ink-soft); }
.at-contact__form {
	background: #ffffff;
	border: 1px solid var(--at-line);
	border-radius: var(--at-radius);
	padding: clamp(1.1rem, 3vw, 1.75rem);
	box-shadow: 0 8px 24px rgba(0, 45, 30, .08);
}
.at-contact__form > * { margin-block: 0 !important; }
.at-contact__form > * + * { margin-block-start: 0.5rem !important; }
.at-contact__formtitle { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.at-contact__formsub { font-size: 0.9rem; }
.at-contact__form .wpforms-container { margin: 0.75rem 0 0 !important; }
.at-contact__form .wpforms-field { padding: 0.55rem 0 !important; }
.at-contact__form .wpforms-field-label { color: var(--at-ink) !important; font-weight: 600 !important; font-size: 0.92rem !important; margin-bottom: 0.3rem !important; }
.at-contact__form .wpforms-required-label { color: #b3261e !important; }
.at-contact__form .wpforms-field-description { color: var(--at-ink-soft) !important; font-size: 0.82rem !important; margin-top: 0.35rem !important; }
.at-contact__form input[type="text"],
.at-contact__form input[type="email"],
.at-contact__form input[type="tel"],
.at-contact__form textarea {
	width: 100% !important; max-width: none !important;
	min-height: 46px;
	background: #ffffff !important;
	color: var(--at-ink) !important;
	border: 1px solid #9fb3aa !important;
	border-radius: 8px !important;
	padding: 0.6rem 0.8rem !important;
	font: inherit !important; font-size: 1rem !important;
	box-shadow: none !important;
}
.at-contact__form textarea { min-height: 120px; }
.at-contact__form input:focus,
.at-contact__form textarea:focus {
	outline: 3px solid rgba(4, 112, 79, .35) !important;
	outline-offset: 1px;
	border-color: var(--at-green) !important;
}
.at-contact__form .wpforms-submit-container { padding-top: 0.5rem !important; }
.at-contact__form .wpforms-submit,
.at-contact__form button[type="submit"] {
	background: var(--at-green) !important;
	color: #ffffff !important;
	border: 2px solid var(--at-green) !important;
	border-radius: 999px !important;
	padding: 0.72rem 1.5rem !important;
	font: inherit !important; font-weight: 600 !important; font-size: 0.95rem !important;
	min-height: 44px; cursor: pointer;
	box-shadow: none !important;
}
.at-contact__form .wpforms-submit:hover,
.at-contact__form .wpforms-submit:focus { background: #003d27 !important; border-color: #003d27 !important; }
.at-contact__form .wpforms-submit:focus-visible { outline: 3px solid rgba(4, 112, 79, .4); outline-offset: 2px; }

/* ==========================================================================
   v3 (2026-09-23 pm): alignment, step/price tiles, approach section, orphans
   ========================================================================== */

/* Left-aligned sections: a narrow intro paragraph sits at the content edge, not centered as a block. */
.at-sec > .at-sub:not(.has-text-align-center) {
	margin-inline: max(0px, calc((100% - var(--wp--style--global--content-size, 1200px)) / 2)) auto !important;
}

/* Orphan control. */
.at-sec p { text-wrap: pretty; }
.at-sub.has-text-align-center, .at-hero__sub, .at-card__title, .at-step__title, .at-h3 { text-wrap: balance; }
.at-substack .at-sub { max-width: 36em; }

/* ---------- approach: boulder photo + restored copy ---------- */
.at-sec.at-approach { background: #ffffff; --at-gap: 0; }
.at-approach__cols { gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.at-approach__cols > .wp-block-column > * { margin-block: 0 !important; }
.at-approach__cols > .wp-block-column > * + * { margin-block-start: 0.9rem !important; }
.at-approach__copy > .at-h3 { margin-block-start: 1.5rem !important; }
.at-approach__copy > .at-buttons { margin-block-start: 1.4rem !important; }
.at-approach__copy p { max-width: 38em; }
.at-approach__media { max-width: 460px; margin-inline: auto; }
.at-photo { margin: 0; }
.at-photo img {
	display: block; width: 100%; height: auto;
	aspect-ratio: 3 / 4; object-fit: cover;
	border-radius: var(--at-radius);
	background: var(--at-photo-bg);
	box-shadow: 0 12px 30px rgba(0, 45, 30, .14);
}
@media (max-width: 781px) {
	.at-approach__cols { flex-direction: column; }
	.at-approach__media { max-width: 420px; }
}

/* ---------- how it works: numbered tiles ---------- */
.at-steps {
	display: grid; grid-template-columns: 1fr; gap: 12px;
	counter-reset: atstep; list-style: none; margin: 0; padding: 0;
}
.at-steps > * { margin-block: 0 !important; }
@media (min-width: 600px) { .at-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .at-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.at-step {
	counter-increment: atstep;
	background: var(--at-tint);
	border-radius: var(--at-radius);
	padding: 1.1rem 1.1rem 1.2rem;
	display: flex; flex-direction: column;
}
.at-step > * { margin-block: 0 !important; }
.at-step::before {
	content: counter(atstep);
	width: 2rem; height: 2rem; border-radius: 50%;
	background: var(--at-green); color: #ffffff;
	display: grid; place-items: center;
	font-size: 0.95rem; font-weight: 700;
	margin-bottom: 0.8rem;
}
.at-step__title { font-size: 1.02rem; font-weight: 700; line-height: 1.25; margin: 0 0 0.35rem !important; color: var(--at-ink); }
.at-step__desc { font-size: 0.9rem; line-height: 1.45; margin: 0 !important; }

/* ---------- pricing tiles ---------- */
.at-prices { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; }
.at-prices > * { margin-block: 0 !important; }
@media (min-width: 600px) { .at-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.at-price {
	background: #ffffff; border: 1px solid var(--at-line);
	border-radius: var(--at-radius); padding: 1rem 1.1rem 1.1rem;
}
.at-price > * { margin-block: 0 !important; }
.at-price__amount { font-size: 1.5rem; font-weight: 700; line-height: 1.1; color: var(--at-green); margin: 0 0 0.3rem !important; }
.at-price__desc { font-size: 0.9rem; line-height: 1.45; margin: 0 !important; }
.at-how .at-h3 { margin-block-start: 1.75rem !important; }
.at-how > .at-buttons { margin-block-start: 1.4rem !important; }

/* ---------- testimonial attribution: centered on the page ---------- */
.at-sec.at-quotes > .at-note { max-width: none; text-align: center; margin-block-start: 0.9rem !important; }

/* v3 phone tightening + approach type size */
.at-approach__copy p { font-size: 1rem; }
.at-approach__copy .at-lead { font-size: clamp(1.05rem, 2.6vw, 1.2rem); }
@media (max-width: 599px) {
	.at-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.at-step { padding: 0.85rem 0.85rem 0.95rem; }
	.at-step::before { width: 1.7rem; height: 1.7rem; font-size: 0.85rem; margin-bottom: 0.6rem; }
	.at-step__title { font-size: 0.92rem; }
	.at-step__desc { font-size: 0.82rem; line-height: 1.4; }
	.at-prices { gap: 8px; }
	.at-price { padding: 0.7rem 0.9rem 0.75rem; display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
	.at-price__amount { font-size: 1.25rem; margin: 0 !important; }
	.at-price__desc { font-size: 0.85rem; flex: 1 1 12em; }
	.at-approach__media { max-width: 320px; }
	.at-approach__cols { gap: 1.1rem; }
}

/* ==========================================================================
   Inner pages (2026-09-23): About, Services, Testimonials, Contact, Book now
   use the same components as the homepage. Section classes below are new.
   ========================================================================== */

/* Narrow intros in any left-aligned section sit at the content edge. */
.at-sec > :is(.at-sub, .at-lead, .at-note, .at-ratingline, .at-pullquote):not(.has-text-align-center) {
	margin-inline: max(0px, calc((100% - var(--wp--style--global--content-size, 1200px)) / 2)) auto !important;
}
.at-sec > .at-ratingline { display: inline-flex; }

/* ---------- page hero ---------- */
.at-sec.at-pagehero { background: var(--at-tint); padding-block: clamp(1.75rem, 5vw, 3.5rem); --at-gap: 0.9rem; }
.at-pagehero .at-h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-block: 0 !important; }
.at-pagehero .at-lead { max-width: 36em; }
.at-pagehero > .at-buttons { margin-block-start: 1.4rem !important; }
.at-pagehero__cols { align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.at-pagehero__cols > .wp-block-column > * { margin-block: 0 !important; }
.at-pagehero__cols > .wp-block-column > * + * { margin-block-start: 0.9rem !important; }
.at-pagehero__cols > .wp-block-column > .at-buttons { margin-block-start: 1.4rem !important; }
.at-pagehero__media { max-width: 420px; margin-inline: auto; }
.at-pagehero__media .at-photo img { aspect-ratio: 4 / 5; }
.at-pagehero__media .at-photo--square img { aspect-ratio: 1 / 1; }
@media (max-width: 781px) {
	.at-pagehero__cols { flex-direction: column; }
	.at-pagehero__media { max-width: 360px; margin-inline: 0; }
	.at-pagehero__media .at-photo img { aspect-ratio: 4 / 3; }
}

/* ---------- section background variants ---------- */
.at-sec.at-sec--white { background: #ffffff; }
.at-sec.at-sec--tint { background: var(--at-tint); }
.at-sec--tint .at-step { background: #ffffff; border: 1px solid var(--at-line); }
.at-sec--white .at-quote { border: 1px solid var(--at-line); border-left-width: 4px; }

/* ---------- prose ---------- */
.at-prose__body { max-width: 46rem; }
.at-prose__body > * { margin-block: 0 !important; }
.at-prose__body > * + * { margin-block-start: 1rem !important; }
.at-prose__body p { font-size: 1.02rem; line-height: 1.6; }
.at-prose__body .at-h3 { margin-block-start: 1.6rem !important; }
.at-sec > .at-prose__body {
	margin-inline: max(0px, calc((100% - var(--wp--style--global--content-size, 1200px)) / 2)) auto !important;
}

/* ---------- plans (pricing cards with a list and a button) ---------- */
.at-plans { display: grid; grid-template-columns: 1fr; gap: 14px; }
.at-plans > * { margin-block: 0 !important; }
@media (min-width: 782px) { .at-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.at-plan {
	background: #ffffff; border: 1px solid var(--at-line); border-radius: var(--at-radius);
	padding: clamp(1.1rem, 3vw, 1.75rem); display: flex; flex-direction: column;
}
.at-plan > * { margin-block: 0 !important; }
.at-plan--featured { border: 2px solid var(--at-green); }
.at-plan__title { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.at-plan__amount { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; line-height: 1; color: var(--at-green); margin-block-start: 0.5rem !important; }
.at-plan__amount .at-plan__unit { font-size: 0.42em; font-weight: 600; color: var(--at-ink-soft); }
.at-plan__sub { font-size: 0.95rem; margin-block-start: 0.5rem !important; }
.at-plan__list { margin: 0.9rem 0 0 !important; padding: 0 0 0 1.15rem; font-size: 0.92rem; line-height: 1.5; }
.at-plan__list li { margin: 0.3rem 0; }
.at-plan > .at-buttons { margin-block-start: 1.2rem !important; margin-top: auto !important; padding-top: 1.2rem; }
.at-plan__tag {
	align-self: flex-start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
	color: var(--at-green); background: var(--at-tint); border-radius: 999px; padding: 0.2rem 0.65rem;
	margin-block-end: 0.6rem !important;
}

/* ---------- areas of focus ---------- */
.at-focus__grid { display: grid; grid-template-columns: 1fr; gap: 16px 24px; }
.at-focus__grid > * { margin-block: 0 !important; }
@media (min-width: 600px) { .at-focus__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .at-focus__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 28px; } }
.at-focus__item { border-top: 2px solid var(--at-green-light); padding-top: 0.75rem; }
.at-focus__item > * { margin-block: 0 !important; }
.at-focus__title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-block-end: 0.3rem !important; text-wrap: balance; }
.at-focus__desc { font-size: 0.92rem; line-height: 1.5; }

/* ---------- pull quote ---------- */
.at-pullquote { max-width: 46rem; }
.at-pullquote p { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.45; font-style: italic; color: var(--at-ink); }
.at-pullquote cite { font-style: normal; font-weight: 600; color: var(--at-green); font-size: 0.9rem; }

/* ---------- inner-page CTA band ---------- */
.at-sec.at-cta { text-align: center; }
.at-cta .at-sub { margin-inline: auto !important; }
.at-cta .at-tel { margin-block-start: 0.9rem !important; }
.at-sec.at-cta.at-sec--white { background: #ffffff; border-top: 1px solid var(--at-line); }

/* ---------- contact page: white variant of the homepage contact section ---------- */
.at-sec.at-contact.at-sec--white { background: #ffffff; }
.at-contact__list { list-style: none; margin: 0 !important; padding: 0; display: grid; gap: 0.45rem; font-size: 0.98rem; }
.at-contact__list li { margin: 0; }
.at-contact__list strong { color: var(--at-ink); }

/* ---------- stats band without the extra link ---------- */
.at-stats .at-stats__grid { margin-block: 0 !important; }

.at-approach__media .at-photo--wide img { aspect-ratio: 4 / 3; }
.at-approach__media .at-photo--square img { aspect-ratio: 1 / 1; }

.at-pullquote { margin-block-end: 2rem !important; }
.at-pullquote cite { display: block; margin-top: 0.5rem; }

/* The theme puts a 27px block gap between <main> and the footer template part; the last
   section is a full-bleed band, so the gap shows as a strip of page background. */
.wp-site-blocks > footer.wp-block-template-part { margin-block-start: 0 !important; }

/* Topic pages use the theme's default template, which pads <body> 52px 32px; the page-no-title
   template does not. Remove it so header, bands and footer run edge to edge like every other page. */
body.page-template-default { padding: 0 !important; }
/* …and their centered 46rem measure must not be pulled to the content edge by the intro rule above. */
.at-sec.at-page-body > :is(.at-lead, .at-note, .at-sub):not(.x) { margin-inline: auto !important; }

/* ---------- About: bio with Ki Gong photos alongside ---------- */
.at-prose__cols { gap: clamp(1.5rem, 4vw, 4rem); align-items: flex-start; }
.at-prose__cols > .wp-block-column > * { margin-block: 0 !important; }
.at-prose__col .at-prose__body { max-width: 46rem; }
.at-prose__media { position: sticky; top: 96px; }
.at-prose__photos { display: grid; gap: 1.25rem; max-width: 400px; margin-inline: auto; }
.at-prose__photos > * { margin-block: 0 !important; }
.at-prose__photos .at-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.at-prose__photos .at-photo:nth-of-type(2) img { aspect-ratio: 4 / 3; object-position: center 22%; }
.at-photo__caption { font-size: 0.85rem; line-height: 1.4; color: var(--at-ink-soft); margin-block: -0.6rem 0 !important; }
@media (max-width: 781px) {
	.at-prose__cols { flex-direction: column; }
	.at-prose__media { position: static; }
	.at-prose__photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; max-width: none; gap: 0.35rem 0.75rem; align-items: start; }
	.at-prose__photos figure.at-photo:nth-of-type(1) { grid-area: 1 / 1; }
	.at-prose__photos figure.at-photo:nth-of-type(2) { grid-area: 1 / 2; }
	.at-prose__photos p.at-photo__caption:nth-of-type(1) { grid-area: 2 / 1; }
	.at-prose__photos p.at-photo__caption:nth-of-type(2) { grid-area: 2 / 2; }
	.at-photo__caption { margin-block: 0 !important; font-size: 0.78rem; }
}

/* ---------- centered display section (heading, intro and grid share one width) ---------- */
.at-sec.at-sec--center { --at-display-w: 1040px; }
.at-sec--center > .at-h2, .at-sec--center > .at-sub { text-align: center; max-width: 42em !important; margin-inline: auto !important; }
.at-sec--center > .at-sub { --at-gap: 0.75rem; }
.at-sec--center > .at-steps { max-width: var(--at-display-w); margin-inline: auto !important; margin-block-start: 1.5rem !important; }
.at-steps--3 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .at-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .at-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 599px) { .at-steps--3 { grid-template-columns: 1fr; } .at-steps--3 .at-step { padding: 1rem 1.1rem 1.1rem; } .at-steps--3 .at-step__title { font-size: 1rem; } .at-steps--3 .at-step__desc { font-size: 0.9rem; } }

/* ---------- topic modal (homepage cards, 768px and up) ---------- */
html.at-modal-open { overflow: hidden; }
.at-modal {
	--at-ink: #171717; --at-ink-soft: #3d4a44; --at-green: #005A39; --at-green-light: #279B7A;
	--at-tint: #dce8e2; --at-line: #c6d3cd; --at-radius: 14px;
	width: min(860px, 92vw);
	max-height: min(88vh, 960px);
	padding: 0; border: 0; border-radius: 16px;
	background: #ffffff; color: var(--at-ink);
	box-shadow: 0 30px 80px rgba(0, 25, 15, .35);
	overflow: hidden;
}
.at-modal::backdrop { background: rgba(4, 32, 22, .62); backdrop-filter: blur(2px); }
.at-modal__panel { max-height: min(88vh, 960px); overflow-y: auto; overscroll-behavior: contain; }
.at-modal__bar {
	position: sticky; top: 0; z-index: 2;
	display: flex; align-items: center; justify-content: space-between;
	padding: 0.9rem 1rem 0.9rem clamp(1.25rem, 4vw, 2.5rem);
	background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--at-line);
}
.at-modal__kicker { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--at-green); }
.at-modal__close {
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--at-tint); color: var(--at-green);
	display: grid; place-items: center; padding: 0;
}
.at-modal__close svg { width: 22px; height: 22px; }
.at-modal__close:hover, .at-modal__close:focus-visible { background: var(--at-green); color: #ffffff; }
.at-modal__close:focus-visible { outline: 3px solid rgba(4, 112, 79, .4); outline-offset: 2px; }
.at-modal__title { color: var(--at-ink);
	font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
	margin: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 0.5rem; text-wrap: balance;
}
.at-modal__body { padding: 0 clamp(1.25rem, 4vw, 2.5rem) 0.5rem; }
.at-modal__loading { color: var(--at-ink-soft); padding-block: 2rem; }
.at-modal .at-banner { margin: 0.75rem 0 1.25rem !important; }
.at-modal .at-banner img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--at-radius); }
.at-modal__body > * { margin-block: 0; max-width: none; }
.at-modal__body > * + * { margin-block-start: 0.95rem; }
.at-modal__body h2 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-block-start: 1.6rem; color: var(--at-ink); }
.at-modal__body p, .at-modal__body li { font-size: 1rem; line-height: 1.6; color: var(--at-ink-soft); text-wrap: pretty; }
.at-modal__body .at-lead { font-size: 1.15rem; color: var(--at-ink); }
.at-modal__body .at-note { background: var(--at-tint); border-radius: 10px; padding: 0.85rem 1rem; font-size: 0.92rem; margin-block-start: 1.4rem; }
.at-modal__body .at-checklist { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.at-modal__body .at-checklist li { position: relative; padding-left: 1.6rem; }
.at-modal__body .at-checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--at-green-light); font-weight: 700; }
.at-modal__foot {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem;
	padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem; margin-top: 1rem;
	border-top: 1px solid var(--at-line); background: #f6faf8;
}
.at-modal__book {
	display: inline-block; background: var(--at-green); color: #ffffff !important; text-decoration: none;
	border-radius: 999px; padding: 0.72rem 1.35rem; font-weight: 600; font-size: 0.95rem; line-height: 1.2;
}
.at-modal__book:hover, .at-modal__book:focus-visible { background: #003d27; }
.at-modal__page { color: var(--at-green); font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
	.at-modal[open] { animation: at-modal-in .18s ease-out; }
	@keyframes at-modal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
