/*
Theme Name: Assured Assistance Canvas
Theme URI: https://jasonshaffer.net
Author: Jason Shaffer Group
Author URI: https://jasonshaffer.net
Description: Canvas theme fork for Assured Assistance, LLC (assuredassistance.org). Version 6 chrome from the Haven design, Lora and Manrope, cream and ink tokens. Base JSG Custom Theme 1.7.1.
Version: 1.1.9
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jsg-custom-theme
*/

/* =========================================================
   1. DESIGN TOKENS — global font & color swaps happen here.
   Pasted pages can (and should) reference these variables.
   ========================================================= */
:root {
	--jsg-font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
	--jsg-font-heading: "Lora", Georgia, "Times New Roman", serif;

	--jsg-color-bg: #f7f9f6;
	--jsg-color-text: #1f2b21;
	--jsg-color-muted: #4b5a4c;
	--jsg-color-accent: #5c7a5d;
	--jsg-color-accent-hover: #2d4a2f;

	--jsg-header-bg: #f7f9f6;
	--jsg-header-text: #2d4a2f;
	--jsg-footer-bg: #688569;
	--jsg-footer-text: #ffffff;

	--jsg-container: 1160px;
}

/* =========================================================
   2. BASE — intentionally light so pasted pages aren't fought
   ========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--jsg-font-body);
	color: var(--jsg-color-text);
	background: var(--jsg-color-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--jsg-color-accent);
}

a:hover {
	color: var(--jsg-color-accent-hover);
}

.jsg-container {
	max-width: var(--jsg-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.jsg-main {
	min-height: 50vh;
}

/* Accessibility helpers */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 20px;
	background: var(--jsg-color-accent);
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
}

/* =========================================================
   3. HEADER + NAV
   ========================================================= */
.jsg-header {
	background: var(--jsg-header-bg);
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
	position: relative;
	z-index: 100;
}

.jsg-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}

.jsg-site-title {
	font-family: var(--jsg-font-heading);
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--jsg-header-text);
	text-decoration: none;
}

.custom-logo {
	max-height: 48px;
	width: auto;
	display: block;
}

.jsg-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jsg-menu a {
	display: block;
	padding: 10px 14px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--jsg-header-text);
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.15s ease, color 0.15s ease;
}

.jsg-menu a:hover,
.jsg-menu .current-menu-item > a,
.jsg-menu .current_page_item > a {
	color: var(--jsg-color-accent);
	background: rgba(37, 99, 235, 0.08);
}

/* Dropdowns (desktop) */
.jsg-menu li {
	position: relative;
}

.jsg-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	display: none;
	flex-direction: column;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 8px;
	background: var(--jsg-header-bg);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.jsg-menu li:hover > .sub-menu,
.jsg-menu li:focus-within > .sub-menu {
	display: flex;
}

/* Mobile toggle (hidden on desktop) */
.jsg-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 10px;
	background: none;
	border: 0;
	cursor: pointer;
}

.jsg-nav-toggle-bar {
	width: 22px;
	height: 2px;
	background: var(--jsg-header-text);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 899px) {
	.jsg-nav-toggle {
		display: flex;
	}

	.jsg-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--jsg-header-bg);
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
		box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
		padding: 12px 24px 20px;
	}

	body.jsg-nav-open .jsg-nav {
		display: block;
	}

	body.jsg-nav-open .jsg-nav-toggle-bar:nth-child(2) {
		transform: translateY(7px) rotate(45deg);
	}

	body.jsg-nav-open .jsg-nav-toggle-bar:nth-child(3) {
		opacity: 0;
	}

	body.jsg-nav-open .jsg-nav-toggle-bar:nth-child(4) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.jsg-menu {
		flex-direction: column;
		align-items: stretch;
	}

	.jsg-menu .sub-menu {
		position: static;
		display: flex;
		border: 0;
		box-shadow: none;
		padding: 0 0 0 16px;
	}
}

/* =========================================================
   4. FOOTER
   ========================================================= */
.jsg-footer {
	background: var(--jsg-footer-bg);
	color: var(--jsg-footer-text);
	margin-top: 0;
}

.jsg-footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding-top: 40px;
	padding-bottom: 40px;
	text-align: center;
}

.jsg-footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jsg-footer-menu a {
	color: var(--jsg-footer-text);
	text-decoration: none;
	font-size: 0.92rem;
}

.jsg-footer-menu a:hover {
	color: #ffffff;
}

.jsg-copyright {
	margin: 0;
	font-size: 0.85rem;
	opacity: 0.7;
}

/* =========================================================
   5. REGULAR EDITOR PAGES / POSTS ONLY
   (scoped so raw HTML pages are untouched)
   ========================================================= */
.jsg-page,
.jsg-archive {
	padding-top: 56px;
	padding-bottom: 72px;
}

.jsg-page-title {
	font-family: var(--jsg-font-heading);
	font-size: 2.4rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 8px;
}

.jsg-post-meta {
	color: var(--jsg-color-muted);
	margin: 0 0 24px;
}

.jsg-entry-content {
	font-size: 1.05rem;
	max-width: 760px;
}

.jsg-entry-content h2,
.jsg-entry-content h3 {
	font-family: var(--jsg-font-heading);
	letter-spacing: -0.01em;
	margin-top: 2em;
}

.jsg-entry-content .alignwide {
	max-width: var(--jsg-container);
}

.jsg-entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

.jsg-archive-item {
	padding: 24px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.jsg-archive-title {
	margin: 0 0 6px;
}

.jsg-archive-title a {
	color: var(--jsg-color-text);
	text-decoration: none;
}

.jsg-archive-title a:hover {
	color: var(--jsg-color-accent);
}

.jsg-archive-header {
	margin: 0 0 12px;
}

.jsg-archive-date {
	font-size: 0.85rem;
	color: var(--jsg-color-muted);
	margin: 0 0 4px;
	letter-spacing: 0.02em;
}

.jsg-archive-excerpt {
	color: var(--jsg-color-muted);
}

.jsg-archive-readmore {
	display: inline-block;
	margin-top: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}

.jsg-single-back {
	display: inline-block;
	margin-top: 40px;
	font-weight: 600;
	text-decoration: none;
}

.jsg-archive .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 24px 4px 0 0;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	text-decoration: none;
	color: var(--jsg-color-text);
}

.jsg-archive .page-numbers.current,
.jsg-archive .page-numbers:hover {
	background: var(--jsg-color-accent);
	border-color: var(--jsg-color-accent);
	color: #fff;
}

/* =========================================================
   6. SHARED COMPONENTS
   ========================================================= */
.jsg-btn {
	display: inline-block;
	padding: 14px 32px;
	background: var(--jsg-color-accent);
	color: #ffffff;
	border: 0;
	border-radius: 10px;
	font-family: var(--jsg-font-body);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.jsg-btn:hover {
	background: var(--jsg-color-accent-hover);
	color: #ffffff;
	transform: translateY(-1px);
}

/* 404 fallback */
.jsg-404 {
	max-width: 560px;
	margin: 0 auto;
	padding: 110px 24px 130px;
	text-align: center;
}

.jsg-404-code {
	font-family: var(--jsg-font-heading);
	font-size: 5rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--jsg-color-accent);
	margin: 0;
	line-height: 1;
}

.jsg-404-title {
	font-family: var(--jsg-font-heading);
	font-size: 1.8rem;
	margin: 12px 0 8px;
}

.jsg-404-text {
	color: var(--jsg-color-muted);
	margin: 0 0 32px;
}

/* =========================================================
   7. FORMS — Contact Form 7 baseline (scoped; inert without CF7)
   ========================================================= */
.wpcf7 {
	font-family: var(--jsg-font-body);
}

.wpcf7 form {
	display: grid;
	gap: 6px;
}

.wpcf7 form p {
	margin: 0 0 14px;
}

.wpcf7 label {
	display: block;
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(15, 23, 42, 0.18);
	border-radius: 10px;
	background: #ffffff;
	color: var(--jsg-color-text);
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--jsg-color-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.wpcf7 textarea {
	min-height: 140px;
	resize: vertical;
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
	display: inline-block;
	padding: 14px 32px;
	background: var(--jsg-color-accent);
	color: #ffffff;
	border: 0;
	border-radius: 10px;
	font-family: var(--jsg-font-body);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
	background: var(--jsg-color-accent-hover);
}

.wpcf7 .wpcf7-not-valid-tip {
	color: #dc2626;
	font-size: 0.85rem;
	margin-top: 4px;
}

.wpcf7 .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border: 1px solid var(--jsg-color-accent);
	border-radius: 10px;
	font-size: 0.95rem;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #16a34a;
	color: #166534;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc2626;
	color: #991b1b;
}

/* ==== assured-assistance additions below (generated by tools/build_theme.py) ==== */

/* =========================================================
   Assured Assistance chrome, version 6 (the "Haven" design).
   Appended to the fork's style.css by tools/build_theme.py.
   Top bar, cream header (scrolls with the page, not sticky), one button,
   ink footer, call bar at the bottom of the screen on phones. Everything reads the fork tokens.
   ========================================================= */
:root {
	--aa-ink: var(--jsg-header-text);
	--aa-green: #5c7a5d;
	--aa-peach: #ffffff;
	--aa-line: rgba(45, 74, 47, 0.12);
	/* the rest of the palette, so page fragments carry no hex (fork 1.1.0; the client's greens from 1.1.4) */
	--aa-accent: #688569;
	--aa-accent-dark: #587559;
	--aa-sand: #c2dfc1;
	--aa-sand-2: #e4efe3;
	--aa-muted-2: #4f5c50;
	/* 1.1.4: the band (areas behind white text) and the callout (the stats bands, dark text) */
	--aa-band: #688569;
	--aa-callout: #9ab79b;
	--aa-callout-text: #1f2b21;
}

/* ---------- top bar ---------- */
.aa-topbar {
	background: var(--jsg-footer-bg);
	color: var(--jsg-footer-text);
	font-size: 12px;
	font-weight: 600;
	padding: 8px 24px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.aa-topbar__note {
	display: flex;
	align-items: center;
	gap: 8px;
}
.aa-topbar__note::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--aa-sand);
	flex: 0 0 auto;
}
.aa-topbar__links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.aa-topbar a {
	color: var(--jsg-footer-text);
	text-decoration: none;
	min-height: 24px;
	display: inline-flex;
	align-items: center;
}
.aa-topbar a:hover {
	color: var(--aa-peach);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
.aa-topbar a.aa-topbar__tel {
	font-weight: 800;
}

/* ---------- header ---------- */
.jsg-header {
	position: relative;
	z-index: 100;
	background: var(--jsg-header-bg);
	border-bottom: 1px solid rgba(28, 42, 37, 0.08);
}
.jsg-header-inner {
	min-height: 72px;
	gap: 24px;
	max-width: 1200px;
}
.aa-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--jsg-font-heading);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--jsg-header-text);
	text-decoration: none;
	white-space: nowrap;
}
.aa-logo__mark {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--jsg-color-accent);
	display: grid;
	place-items: center;
	color: #fff;
	font-family: var(--jsg-font-body);
	font-size: 16px;
	font-weight: 800;
}
.custom-logo {
	max-height: 60px;
	width: auto;
}
.jsg-menu {
	gap: 4px;
}
.jsg-menu a {
	padding: 10px 11px;
	font-size: 14px;
	font-weight: 600;
	color: var(--jsg-header-text);
	border-radius: 6px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
.jsg-menu a:hover,
.jsg-menu .current-menu-item > a,
.jsg-menu .current-menu-ancestor > a,
.jsg-menu .current_page_item > a,
.jsg-menu .current_page_ancestor > a {
	color: var(--jsg-color-accent);
	background: transparent;
}
.jsg-menu .sub-menu {
	background: var(--jsg-header-bg);
	border-color: rgba(28, 42, 37, 0.1);
	border-radius: 12px;
}
.jsg-menu .sub-menu a {
	border-radius: 8px;
}
.jsg-nav-toggle-bar {
	background: var(--jsg-header-text);
}

/* the one button, header and footer strip */
.aa-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 6px;
	background: var(--jsg-color-accent);
	color: #fff;
	font-family: var(--jsg-font-body);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	touch-action: manipulation;
	transition: background-color 180ms ease, transform 100ms ease;
}
.aa-cta:hover {
	background: var(--jsg-color-accent-hover);
	color: #fff;
}
.aa-cta:active {
	transform: translateY(1px);
}
.aa-topbar a:focus-visible,
.aa-cta:focus-visible,
.jsg-menu a:focus-visible,
.aa-logo:focus-visible,
.aa-footer a:focus-visible,
.aa-callbar a:focus-visible {
	outline: 3px solid var(--jsg-color-accent);
	outline-offset: 3px;
}
.aa-topbar a:focus-visible,
.aa-footer a:focus-visible {
	outline-color: var(--aa-peach);
}

@media (max-width: 899px) {
	.aa-topbar {
		justify-content: center;
	}
	.aa-topbar__note,
	.aa-topbar__links a:not(.aa-topbar__tel) {
		display: none;
	}
	.jsg-header-inner .aa-cta {
		display: none;
	}
	.custom-logo {
		max-height: 44px;
	}
	.jsg-nav {
		background: var(--jsg-header-bg);
		border-bottom: 1px solid rgba(28, 42, 37, 0.08);
		box-shadow: none;
	}
	.jsg-menu a {
		padding: 10px 4px;
		border-radius: 0;
	}
}

/* ---------- footer ---------- */
.aa-footer {
	background: var(--jsg-footer-bg);
	color: var(--jsg-footer-text);
	font-size: 13px;
	line-height: 1.6;
	padding: 0;
}
.aa-footer a {
	color: var(--jsg-footer-text);
	text-decoration: none;
}
.aa-footer a:hover {
	color: var(--aa-peach);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
/* the footer's button on the band: mint with ink text (1.1.4) */
.aa-footer a.aa-cta {
	background: var(--aa-sand);
	color: var(--aa-ink);
}
.aa-footer a.aa-cta:hover {
	background: var(--aa-white, #fff);
	color: var(--aa-ink);
	text-decoration: none;
}
.aa-footer__in {
	max-width: 1200px;
	padding-top: 48px;
	padding-bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 44px;
}
.aa-footer__ask {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 36px;
}
.aa-footer__ask h2 {
	font-family: var(--jsg-font-heading);
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	margin: 0;
}
.aa-footer__ask p {
	margin: 6px 0 0;
}
.aa-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 36px;
}
.aa-footer__cols h3 {
	font-family: var(--jsg-font-body);
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 10px;
}
.aa-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.aa-footer__menu a {
	display: inline-flex;
	min-height: 28px;
	align-items: center;
}
.aa-footer__menu a:hover {
	opacity: 1;
}
.aa-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.aa-footer__brand p {
	margin: 0;
}
.aa-logo--footer {
	color: #fff;
}
.aa-logo__icon {
	width: 32px;
	height: 32px;
}
.aa-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12px;
}
.aa-footer__bottom div {
	display: flex;
	gap: 16px;
}
.aa-footer .jsg-copyright {
	margin: 0;
	font-size: 12px;
	opacity: 1;
}

/* ---------- sticky call bar, phones only ---------- */
.aa-callbar {
	display: none;
}
@media (max-width: 899px) {
	.aa-callbar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		background: var(--jsg-header-bg);
		border-top: 1px solid rgba(28, 42, 37, 0.1);
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		gap: 12px;
		align-items: center;
		justify-content: center;
		transform: translateY(110%);
		transition: transform 200ms ease;
	}
	.aa-callbar.is-shown {
		transform: none;
	}
	.aa-callbar__more {
		color: var(--aa-green);
		font-weight: 700;
		font-size: 14px;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		text-decoration: none;
	}
	body.aa-has-sticky {
		padding-bottom: 72px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.aa-cta,
	.aa-callbar {
		transition: none;
	}
}

/* ---------- Contact Form 7 in the version 6 palette ---------- */
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
	font-family: var(--jsg-font-body);
	font-size: 16px;
	color: var(--jsg-color-text);
	background: #fff;
	border: 1px solid rgba(28, 42, 37, 0.2);
	border-radius: 8px;
	padding: 12px;
	width: 100%;
}
.wpcf7 input:focus-visible,
.wpcf7 select:focus-visible,
.wpcf7 textarea:focus-visible {
	outline: 3px solid var(--jsg-color-accent);
	outline-offset: 2px;
}
.wpcf7 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 12px 22px;
	border: 0;
	border-radius: 6px;
	background: var(--jsg-color-accent);
	color: #fff;
	font-family: var(--jsg-font-body);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
.wpcf7 input[type="submit"]:hover {
	background: var(--jsg-color-accent-hover);
}
.wpcf7 .wpcf7-not-valid-tip {
	color: #9a2f1c;
	font-size: 13px;
	margin-top: 4px;
}
.wpcf7 .wpcf7-response-output {
	border-radius: 8px;
	padding: 12px 16px;
	margin: 16px 0 0;
}

/* =========================================================
   Assured Assistance design system (.aa-*)
   Append to the fork's style.css after the base tokens.
   Fork tokens (set by fork_theme.py or Theme Styling):
     --jsg-font-body / --jsg-font-heading  Source Sans 3
     --jsg-color-bg #FCFCFC  --jsg-color-text #404040
     --jsg-color-muted #5E6B5E
     --jsg-color-accent #395836  --jsg-color-accent-hover #30592F
     --jsg-header-bg #FCFCFC  --jsg-header-text #30592F
     --jsg-footer-bg #30592F  --jsg-footer-text #FCFCFC
     --jsg-container 1152px
   Fragments reference tokens only. No hex in fragments.
   ========================================================= */
:root {
	--aa-forest: #30592F;
	--aa-sage: #9BB69B;
	--aa-panel: #E6EFE6;
	--aa-white: #FFFFFF;
	--aa-measure: 34rem;
	--aa-radius: 6px;
	--aa-space-1: 8px;
	--aa-space-2: 16px;
	--aa-space-3: 24px;
	--aa-space-4: 40px;
	--aa-space-5: 64px;
	--aa-space-6: 96px;
	--aa-ease: cubic-bezier(0.2, 0, 0, 1);
}

/* ---------- layout ---------- */
.aa-section {
	padding-top: var(--aa-space-5);
	padding-bottom: var(--aa-space-5);
	background: var(--jsg-color-bg);
	color: var(--jsg-color-text);
}
.aa-section--panel {
	background: var(--aa-panel);
}
.aa-section--band {
	background: var(--aa-band, var(--aa-forest));
	color: var(--aa-white);
}
.aa-section--tight {
	padding-top: var(--aa-space-4);
	padding-bottom: var(--aa-space-4);
}
.aa-wrap {
	max-width: var(--jsg-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--aa-space-3);
	padding-right: var(--aa-space-3);
}
.aa-text {
	max-width: var(--aa-measure);
}
.aa-grid-2 {
	display: grid;
	gap: var(--aa-space-4);
}
.aa-grid-2--sticky > :first-child {
	align-self: start;
}
@media (min-width: 768px) {
	.aa-section {
		padding-top: var(--aa-space-6);
		padding-bottom: var(--aa-space-6);
	}
	.aa-section--tight {
		padding-top: var(--aa-space-5);
		padding-bottom: var(--aa-space-5);
	}
	.aa-grid-2 {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: var(--aa-space-5);
	}
	.aa-grid-2--even {
		grid-template-columns: 1fr 1fr;
	}
	.aa-grid-2--sticky > :first-child {
		position: sticky;
		top: var(--aa-space-3);
	}
}

/* ---------- type ---------- */
.aa-section h1,
.aa-section h2,
.aa-section h3 {
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	color: var(--aa-forest);
	text-wrap: balance;
	margin: 0 0 var(--aa-space-2);
}
.aa-section--band h1,
.aa-section--band h2,
.aa-section--band h3 {
	color: var(--aa-white);
}
.aa-section h1 {
	font-size: clamp(2.5rem, 1.6rem + 4vw, 5rem);
	font-weight: 700;
	line-height: 1.0;
	letter-spacing: -0.02em;
	max-width: 20ch;
}
.aa-section h2 {
	font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -0.015em;
	max-width: 26ch;
	margin-top: var(--aa-space-4);
}
.aa-section h2:first-child,
.aa-section .aa-wrap > h2:first-child,
.aa-section .aa-text > h2:first-child {
	margin-top: 0;
}
.aa-section h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.4375rem);
	line-height: 1.3;
	margin-top: var(--aa-space-3);
}
.aa-section p,
.aa-section li {
	font-size: 1.0625rem;
	line-height: 1.6;
}
.aa-section p {
	margin: 0 0 var(--aa-space-2);
	max-width: var(--aa-measure);
}
.aa-lead {
	font-size: 1.1875rem;
	line-height: 1.5;
	color: var(--jsg-color-text);
}
.aa-small {
	font-size: 0.9375rem;
	color: var(--jsg-color-muted);
}
.aa-section--band p,
.aa-section--band .aa-small {
	color: var(--aa-white);
}
@media (min-width: 768px) {
	.aa-section p,
	.aa-section li {
		font-size: 1.125rem;
	}
	.aa-lead {
		font-size: 1.3125rem;
	}
}
.aa-section a {
	color: var(--jsg-color-accent);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	text-decoration-thickness: 1px;
}
.aa-section a:hover {
	color: var(--jsg-color-accent-hover);
	text-decoration-thickness: 2px;
}
.aa-section--band a {
	color: var(--aa-white);
}
.aa-section ul,
.aa-section ol {
	padding-left: 1.25em;
	margin: 0 0 var(--aa-space-2);
	max-width: var(--aa-measure);
}
.aa-section li {
	margin-bottom: var(--aa-space-1);
}
.aa-num {
	font-variant-numeric: tabular-nums;
}

/* the turn-down, set at heading size with no decoration */
.aa-stance {
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
	line-height: 1.25;
	color: var(--aa-forest);
	max-width: 30ch;
	margin: var(--aa-space-4) 0;
	text-wrap: balance;
}

/* a review, plain */
.aa-quote {
	margin: 0 0 var(--aa-space-3);
	padding: 0;
	max-width: var(--aa-measure);
}
.aa-quote p {
	font-size: 1.1875rem;
	line-height: 1.45;
	margin: 0 0 var(--aa-space-1);
}
.aa-quote footer {
	font-size: 0.9375rem;
	color: var(--jsg-color-muted);
}

/* ---------- buttons and links ---------- */
.aa-btn,
.aa-section .aa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	background: var(--jsg-color-accent);
	color: var(--aa-white);
	border: 2px solid var(--jsg-color-accent);
	border-radius: var(--aa-radius);
	font-family: var(--jsg-font-body);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	touch-action: manipulation;
	transition: background-color 180ms var(--aa-ease), border-color 180ms var(--aa-ease), transform 100ms var(--aa-ease);
}
.aa-btn:active,
.aa-section .aa-btn:active {
	transform: translateY(1px);
}
.aa-btn:hover,
.aa-section .aa-btn:hover {
	background: var(--jsg-color-accent-hover);
	border-color: var(--jsg-color-accent-hover);
	color: var(--aa-white);
}
.aa-btn--quiet,
.aa-section .aa-btn--quiet {
	background: transparent;
	color: var(--jsg-color-accent);
	border-color: var(--jsg-color-accent);
}
.aa-btn--quiet:hover,
.aa-section .aa-btn--quiet:hover {
	background: var(--aa-panel);
	color: var(--jsg-color-accent-hover);
}
.aa-section.aa-section--band .aa-btn {
	background: var(--jsg-color-bg);
	color: var(--aa-forest);
	border-color: var(--jsg-color-bg);
}
.aa-section.aa-section--band .aa-btn:hover {
	background: var(--aa-panel);
	border-color: var(--aa-panel);
	color: var(--aa-forest);
}
.aa-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--aa-space-2);
	align-items: center;
	margin: var(--aa-space-3) 0 0;
}
.aa-phone,
.aa-section .aa-phone {
	font-family: var(--jsg-font-heading);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--jsg-color-accent);
	text-decoration: none;
	white-space: nowrap;
	touch-action: manipulation;
}
.aa-phone--big,
.aa-phone--huge,
.aa-section .aa-phone--big,
.aa-section .aa-phone--huge {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 4px 0;
}
.aa-phone--big {
	font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.aa-section.aa-section--band .aa-phone {
	color: var(--aa-white);
}

/* focus, everywhere, including the theme chrome */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--jsg-color-accent);
	outline-offset: 3px;
}
.aa-section a:focus-visible,
.aa-section button:focus-visible,
.aa-section input:focus-visible,
.aa-section select:focus-visible,
.aa-section textarea:focus-visible,
.aa-sticky a:focus-visible {
	outline: 3px solid var(--jsg-color-accent);
	outline-offset: 3px;
}
.aa-section--band a:focus-visible,
.aa-section--band button:focus-visible,
.aa-section--band input:focus-visible,
.aa-close--photo a:focus-visible,
.aa-hero--bleed a:focus-visible,
.aa-hero--layered .aa-hero__panel a:focus-visible {
	outline-color: var(--jsg-color-bg);
}

/* ---------- the hour list: a schedule, hour by hour, as plain text ---------- */
.aa-section .aa-hours {
	list-style: none;
	padding: 0;
	margin: 0;
	max-width: 36rem;
}
.aa-hours li {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	gap: var(--aa-space-2);
	padding: 10px 0;
	margin: 0;
	border-top: 1px solid var(--aa-sage);
	font-size: 1.0625rem;
	line-height: 1.45;
}
.aa-hours li:last-child {
	border-bottom: 1px solid var(--aa-sage);
}
.aa-hours time {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--aa-forest);
}
.aa-section--band .aa-hours li {
	border-color: rgba(252, 252, 252, 0.3);
	color: var(--aa-white);
}
.aa-section--band .aa-hours time {
	color: var(--aa-white);
}

/* ---------- steps (a real sequence) ---------- */
.aa-section .aa-steps {
	list-style: none;
	counter-reset: step;
	padding: 0;
	margin: 0;
	max-width: none;
}
.aa-steps > li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);
	gap: var(--aa-space-2);
	padding: var(--aa-space-3) 0;
	border-top: 1px solid var(--aa-sage);
	margin: 0;
}
.aa-steps > li::before {
	content: counter(step);
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--aa-forest);
	font-variant-numeric: tabular-nums;
}
.aa-steps h3 {
	margin-top: 0;
}
.aa-steps__more {
	background: none;
	border: 0;
	padding: 0;
	min-height: 44px;
	font: inherit;
	font-weight: 600;
	color: var(--jsg-color-accent);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	cursor: pointer;
}
.aa-steps__panel[hidden] {
	display: none;
}
.aa-steps__panel {
	margin-top: var(--aa-space-1);
}

/* ---------- structures that replace paragraphs ---------- */
/* a rules list: bold lead, one sentence, a rule between */
.aa-section .aa-rules {
	list-style: none;
	padding: 0;
	margin: var(--aa-space-3) 0 0;
	max-width: 44rem;
}
.aa-rules li {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 4px var(--aa-space-3);
	padding: var(--aa-space-2) 0;
	margin: 0;
	border-top: 1px solid var(--aa-sage);
	color: var(--jsg-color-text);
}
.aa-rules li:last-child {
	border-bottom: 1px solid var(--aa-sage);
}
.aa-rules strong {
	color: var(--aa-forest);
	font-weight: 600;
}
@media (min-width: 700px) {
	.aa-rules li {
		grid-template-columns: 12rem minmax(0, 1fr);
	}
}
/* the operating numbers, each with its sentence */
.aa-section .aa-nums {
	list-style: none;
	padding: 0;
	margin: var(--aa-space-3) 0 0;
	max-width: none;
	display: grid;
	gap: var(--aa-space-3);
}
.aa-nums li {
	margin: 0;
	border-top: 2px solid var(--aa-forest);
	padding-top: var(--aa-space-2);
	color: var(--jsg-color-text);
	font-size: 1rem;
	line-height: 1.45;
}
.aa-nums strong {
	display: block;
	font-family: var(--jsg-font-heading);
	font-weight: 700;
	font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--aa-forest);
	font-variant-numeric: tabular-nums;
	margin-bottom: 8px;
}
@media (min-width: 700px) {
	.aa-section .aa-nums {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--aa-space-4);
	}
}
/* a pull quote, the sentence that matters, set large */
.aa-pull {
	margin: var(--aa-space-3) 0;
	padding: 0;
	max-width: 30ch;
}
.aa-pull p {
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: clamp(1.375rem, 1.1rem + 1.3vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--aa-forest);
	margin: 0 0 var(--aa-space-1);
	max-width: none;
	text-wrap: balance;
}
.aa-pull footer {
	font-size: 0.9375rem;
	color: var(--jsg-color-muted);
}
.aa-section--band .aa-pull p {
	color: var(--aa-white);
}
/* a row of service blocks, varied by content, not by decoration */
.aa-section .aa-blocks {
	list-style: none;
	padding: 0;
	margin: var(--aa-space-4) 0 0;
	max-width: none;
	display: grid;
	gap: var(--aa-space-4);
}
.aa-blocks > li {
	margin: 0;
	color: var(--jsg-color-text);
}
.aa-blocks h3 {
	margin-top: 0;
}
.aa-blocks p:last-child {
	margin-bottom: 0;
}
@media (min-width: 700px) {
	.aa-section .aa-blocks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1100px) {
	.aa-section .aa-blocks--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--aa-space-4);
	}
}
/* two columns that share a row */
.aa-pair {
	display: grid;
	gap: var(--aa-space-5);
	align-items: start;
}
.aa-pair > * > h2:first-child {
	margin-top: 0;
}
@media (min-width: 900px) {
	.aa-pair {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--aa-space-6);
	}
	.aa-pair--photo {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
}

/* ---------- facts table ---------- */
.aa-facts {
	width: 100%;
	max-width: 44rem;
	border-collapse: collapse;
	margin: var(--aa-space-3) 0;
	font-size: 1rem;
}
.aa-facts th,
.aa-facts td {
	text-align: left;
	vertical-align: top;
	padding: 12px 12px 12px 0;
	border-bottom: 1px solid var(--aa-sage);
	line-height: 1.45;
}
.aa-facts tr:first-child th,
.aa-facts tr:first-child td {
	border-top: 2px solid var(--aa-forest);
}
.aa-facts th {
	font-weight: 600;
	color: var(--aa-forest);
	width: 38%;
}

/* ---------- people ---------- */
.aa-person {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--aa-space-3);
	padding: var(--aa-space-4) 0;
	border-top: 1px solid var(--aa-sage);
}
.aa-person img {
	width: 180px;
	height: 200px;
	object-fit: cover;
	border-radius: var(--aa-radius);
	display: block;
}
.aa-person h3 {
	margin-top: 0;
}
.aa-person__title {
	color: var(--jsg-color-muted);
	margin-top: -8px;
}
@media (min-width: 700px) {
	.aa-person {
		grid-template-columns: 200px minmax(0, 1fr);
		gap: var(--aa-space-4);
	}
	.aa-person:nth-child(even) {
		grid-template-columns: minmax(0, 1fr) 200px;
	}
	.aa-person:nth-child(even) img {
		order: 2;
	}
}

/* ---------- faces ---------- */
.aa-faces {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: var(--aa-space-4) 0 0;
	max-width: none;
}
.aa-faces li {
	margin: 0;
}
.aa-faces img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 9 / 10;
	object-fit: cover;
	border-radius: 3px;
}
@media (min-width: 700px) {
	.aa-faces {
		grid-template-columns: repeat(7, 1fr);
		gap: 8px;
	}
}
.aa-portrait {
	display: block;
	width: 100%;
	max-width: 320px;
	height: auto;
	border-radius: var(--aa-radius);
}

/* ---------- figure and image slot ---------- */
.aa-figure {
	margin: 0;
}
.aa-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--aa-radius);
}
.aa-figure figcaption {
	font-size: 0.9375rem;
	color: var(--jsg-color-muted);
	margin-top: var(--aa-space-1);
}
.aa-slot {
	display: grid;
	place-items: center;
	min-height: 240px;
	border: 1px dashed var(--aa-sage);
	border-radius: var(--aa-radius);
	background: var(--aa-panel);
	color: var(--jsg-color-muted);
	font-size: 0.9375rem;
	padding: var(--aa-space-3);
	text-align: center;
}

/* ---------- closing band ---------- */
.aa-close {
	display: grid;
	gap: var(--aa-space-3);
	align-items: end;
}
.aa-close p {
	max-width: var(--aa-measure);
}
@media (min-width: 900px) {
	.aa-close {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	.aa-close > :last-child {
		justify-self: end;
		text-align: right;
	}
}

/* =========================================================
   Version 4, the design playbook structures (September 8)
   Heroes by archetype, photographs as structure, the schedule
   line, the ledger, the inline CTA panel, the photo closing band.
   ========================================================= */

/* the second action is a text link, never a matching button */
.aa-section .aa-textlink {
	font-weight: 600;
	color: var(--jsg-color-accent);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 2px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	touch-action: manipulation;
}
.aa-section.aa-section--band .aa-textlink,
.aa-hero--bleed .aa-textlink,
.aa-close--photo .aa-textlink {
	color: var(--aa-white);
}

/* the schedule line: a time in forest numerals, then the fact */
.aa-sched {
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--jsg-color-muted);
	max-width: var(--aa-measure);
}
.aa-sched b,
.aa-sched time {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--aa-forest);
	margin-right: 8px;
	white-space: nowrap;
}
.aa-section--band .aa-sched,
.aa-section--band .aa-sched b,
.aa-close--photo .aa-sched,
.aa-close--photo .aa-sched b {
	color: var(--aa-white);
}

/* edge alignment: text columns that sit beside a bleeding photo line up with the container */
.aa-edge-l {
	padding-left: max(var(--aa-space-3), calc((100vw - var(--jsg-container)) / 2 + var(--aa-space-3)));
	padding-right: var(--aa-space-4);
}
.aa-edge-r {
	padding-right: max(var(--aa-space-3), calc((100vw - var(--jsg-container)) / 2 + var(--aa-space-3)));
	padding-left: var(--aa-space-4);
}
@media (max-width: 899px) {
	.aa-edge-l,
	.aa-edge-r {
		padding-left: var(--aa-space-3);
		padding-right: var(--aa-space-3);
	}
}

/* ---------- hero, split (photo bleeding to one edge, a panel with the copy) ---------- */
.aa-hero {
	padding: 0;
}
.aa-hero__photo {
	margin: 0;
}
.aa-hero__photo img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.aa-hero__panel {
	padding-top: var(--aa-space-4);
	padding-bottom: var(--aa-space-4);
	align-self: center;
}
.aa-hero__panel > p {
	max-width: 30rem;
}
.aa-hero--split {
	display: grid;
	background: var(--aa-panel);
}
@media (min-width: 900px) {
	.aa-hero--split {
		grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
		min-height: 560px;
	}
	.aa-hero--split.aa-hero--even {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.aa-hero--split .aa-hero__photo img {
		aspect-ratio: auto;
		min-height: 560px;
	}
	.aa-hero--split .aa-hero__panel {
		padding-top: var(--aa-space-5);
		padding-bottom: var(--aa-space-5);
	}
	.aa-hero--split.aa-hero--photo-right .aa-hero__photo {
		order: 2;
	}
	.aa-hero--split.aa-hero--photo-right {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}
@media (max-width: 899px) {
	.aa-hero--split .aa-hero__panel {
		order: 1;
	}
	.aa-hero--split .aa-hero__photo {
		order: 2;
	}
}

/* ---------- hero, full-bleed photograph with the type set into its quiet side ---------- */
.aa-hero--bleed {
	position: relative;
	isolation: isolate;
	color: var(--jsg-color-bg);
	background: var(--aa-band, var(--aa-forest));
}
.aa-hero--bleed .aa-hero__photo {
	position: absolute;
	inset: 0;
	z-index: -2;
}
.aa-hero--bleed .aa-hero__photo img {
	aspect-ratio: auto;
	height: 100%;
}
.aa-hero--bleed::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(38, 71, 37, 0.96) 0%, rgba(38, 71, 37, 0.9) 40%, rgba(38, 71, 37, 0.55) 70%, rgba(38, 71, 37, 0.25) 100%);
}
.aa-hero--bleed .aa-wrap {
	padding-top: var(--aa-space-5);
	padding-bottom: var(--aa-space-5);
}
.aa-hero--bleed h1,
.aa-hero--bleed p,
.aa-hero--bleed .aa-phone,
.aa-section.aa-hero--bleed h1,
.aa-section.aa-hero--bleed p,
.aa-section.aa-hero--bleed .aa-phone {
	color: var(--jsg-color-bg);
}
.aa-section.aa-hero--bleed .aa-btn {
	background: var(--jsg-color-bg);
	color: var(--aa-forest);
	border-color: var(--jsg-color-bg);
}
.aa-hero--bleed .aa-hero__copy {
	max-width: 36rem;
}
@media (min-width: 900px) {
	.aa-hero--bleed .aa-wrap {
		padding-top: var(--aa-space-6);
		padding-bottom: var(--aa-space-6);
		min-height: 600px;
		display: grid;
		align-content: center;
	}
}
@media (max-width: 899px) {
	.aa-hero--bleed::before {
		background: rgba(38, 71, 37, 0.9);
	}
}

/* ---------- hero, layered (a forest panel overlapping a photo that bleeds to one edge) ---------- */
.aa-hero--layered {
	background: var(--jsg-color-bg);
	position: relative;
}
.aa-hero--layered .aa-hero__photo img {
	aspect-ratio: 4 / 3;
}
.aa-hero--layered .aa-hero__panel {
	background: var(--aa-band, var(--aa-forest));
	color: var(--jsg-color-bg);
	padding: var(--aa-space-4) var(--aa-space-3);
}
.aa-section.aa-hero--layered .aa-hero__panel h1,
.aa-section.aa-hero--layered .aa-hero__panel p,
.aa-section.aa-hero--layered .aa-hero__panel .aa-phone,
.aa-section.aa-hero--layered .aa-hero__panel .aa-textlink {
	color: var(--jsg-color-bg);
}
.aa-section.aa-hero--layered .aa-btn {
	background: var(--jsg-color-bg);
	color: var(--aa-forest);
	border-color: var(--jsg-color-bg);
}
@media (min-width: 900px) {
	.aa-hero--layered {
		display: grid;
		grid-template-columns: repeat(12, 1fr);
		grid-template-rows: var(--aa-space-5) auto var(--aa-space-5);
	}
	.aa-hero--layered .aa-hero__photo {
		grid-column: 5 / 13;
		grid-row: 1 / 4;
		max-height: 760px;
		overflow: hidden;
	}
	.aa-hero--layered .aa-hero__photo img {
		aspect-ratio: auto;
		min-height: 640px;
		max-height: 760px;
	}
	.aa-hero--layered .aa-hero__panel {
		grid-column: 1 / 8;
		grid-row: 2;
		z-index: 1;
		padding: var(--aa-space-5) var(--aa-space-5) var(--aa-space-5) 0;
		padding-left: max(var(--aa-space-3), calc((100vw - var(--jsg-container)) / 2 + var(--aa-space-3)));
	}
}

@media (max-width: 899px) {
	.aa-hero--layered {
		display: grid;
	}
	.aa-hero--layered .aa-hero__panel {
		order: 1;
	}
	.aa-hero--layered .aa-hero__photo {
		order: 2;
	}
	.aa-hero--layered .aa-hero__photo img {
		aspect-ratio: 4 / 3;
		max-height: 420px;
	}
}

/* ---------- hero, detail at scale (the object close, a small block of type on a card) ---------- */
.aa-hero--detail {
	position: relative;
	background: var(--aa-band, var(--aa-forest));
}
.aa-hero--detail .aa-hero__photo img {
	aspect-ratio: 16 / 9;
}
@media (max-width: 899px) {
	.aa-section.aa-hero--detail .aa-hero__card h1 {
		font-size: clamp(1.875rem, 1.4rem + 2.2vw, 2.5rem);
	}
}
.aa-hero--detail .aa-hero__card {
	background: var(--jsg-color-bg);
	padding: var(--aa-space-4) var(--aa-space-3);
}
@media (min-width: 900px) {
	.aa-hero--detail .aa-hero__photo img {
		aspect-ratio: 21 / 9;
		min-height: 560px;
		max-height: 720px;
	}
	.aa-hero--detail .aa-hero__card {
		position: absolute;
		left: max(var(--aa-space-3), calc((100vw - var(--jsg-container)) / 2 + var(--aa-space-3)));
		bottom: var(--aa-space-5);
		max-width: 38rem;
		padding: var(--aa-space-4);
		border-radius: var(--aa-radius);
	}
	.aa-section.aa-hero--detail .aa-hero__card h1 {
		font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
	}
}

/* ---------- hero, framed photograph (a small real photo inset on the panel, headline beside) ---------- */
.aa-hero--framed {
	background: var(--aa-panel);
	padding-top: var(--aa-space-5);
	padding-bottom: var(--aa-space-5);
}
.aa-hero--framed .aa-wrap {
	display: grid;
	gap: var(--aa-space-4);
	align-items: center;
}
.aa-hero--framed .aa-hero__frame {
	margin: 0;
	max-width: 360px;
}
.aa-hero--framed .aa-hero__frame img {
	display: block;
	width: 100%;
	height: auto;
	border: 10px solid var(--jsg-color-bg);
	box-shadow: 0 0 0 1px var(--aa-sage);
}
.aa-hero--framed .aa-hero__frame figcaption {
	margin-top: var(--aa-space-2);
}
@media (min-width: 900px) {
	.aa-hero--framed .aa-wrap {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: var(--aa-space-6);
	}
	.aa-hero--framed .aa-hero__frame {
		justify-self: end;
	}
}
@media (max-width: 899px) {
	.aa-hero--framed .aa-hero__frame {
		order: 2;
		max-width: 260px;
	}
}

/* ---------- hero, poster and statement (a color field, the headline is the image) ---------- */
.aa-hero--field {
	padding-top: var(--aa-space-5);
	padding-bottom: var(--aa-space-5);
}
.aa-proof {
	display: flex;
	flex-wrap: wrap;
	gap: var(--aa-space-2) var(--aa-space-4);
	list-style: none;
	padding: 0;
	margin: var(--aa-space-3) 0 0;
	max-width: none;
}
.aa-proof li {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
}
.aa-proof b {
	display: block;
	font-family: var(--jsg-font-heading);
	font-weight: 700;
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--aa-forest);
}
.aa-section--band .aa-proof b {
	color: var(--aa-white);
}

/* ---------- full-bleed break, with a schedule line under it ---------- */
.aa-break {
	padding: 0;
	margin: 0;
}
.aa-break img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.aa-break .aa-wrap {
	padding-top: var(--aa-space-2);
	padding-bottom: var(--aa-space-2);
}
.aa-break__fig {
	margin: 0;
}
.aa-break__fig figcaption.aa-wrap {
	display: block;
	padding-top: var(--aa-space-2);
	padding-bottom: var(--aa-space-2);
}
.aa-break__cap .aa-sched {
	display: block;
}
@media (min-width: 900px) {
	.aa-break img {
		aspect-ratio: 21 / 9;
		max-height: 640px;
	}
}

/* ---------- image and text band, the photo bleeding to one edge, varied splits ---------- */
.aa-band {
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* 1.1.4: the implicit track grew past a phone's width on Areas */
}
.aa-band__photo {
	margin: 0;
	position: relative;
}
.aa-band__photo img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.aa-band__text {
	padding-top: var(--aa-space-4);
	padding-bottom: var(--aa-space-4);
	align-self: center;
}
.aa-band__text .aa-sched {
	margin-top: var(--aa-space-3);
}
@media (min-width: 900px) {
	.aa-band {
		grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
	}
	.aa-band--60 {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
	.aa-band--45 {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
	.aa-band--40 {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	}
	.aa-band__photo img {
		aspect-ratio: auto;
		min-height: 480px;
	}
	.aa-band--photo-right .aa-band__photo {
		order: 2;
	}
	.aa-band--photo-right.aa-band--60 {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
	.aa-band--photo-right.aa-band--45 {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
	.aa-band__text {
		padding-top: var(--aa-space-5);
		padding-bottom: var(--aa-space-5);
	}
}
@media (max-width: 899px) {
	.aa-band__text {
		order: 2;
	}
}

/* ---------- two-column long-form with a sticky figure ---------- */
.aa-longform {
	display: grid;
	gap: var(--aa-space-4);
	align-items: start;
}
.aa-longform__side .aa-figure {
	margin-top: var(--aa-space-3);
}
@media (min-width: 900px) {
	.aa-longform {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: var(--aa-space-6);
	}
	.aa-longform__side {
		position: sticky;
		top: var(--aa-space-3);
	}
	.aa-longform__side .aa-figure {
		max-width: 22rem;
	}
}

/* ---------- service ledger: name, a paragraph, and the shape of the schedule ---------- */
.aa-section .aa-ledger {
	list-style: none;
	padding: 0;
	margin: var(--aa-space-4) 0 0;
	max-width: none;
}
.aa-ledger > li {
	margin: 0;
	padding: var(--aa-space-3) 0;
	border-top: 1px solid var(--aa-sage);
	display: grid;
	gap: var(--aa-space-2);
}
.aa-ledger > li:last-child {
	border-bottom: 1px solid var(--aa-sage);
}
.aa-ledger h3 {
	margin: 0;
}
.aa-ledger p {
	margin: 0;
}
.aa-ledger p + p {
	margin-top: var(--aa-space-1);
}
.aa-ledger__when {
	font-size: 0.9375rem;
	color: var(--jsg-color-muted);
}
@media (min-width: 900px) {
	.aa-ledger > li {
		grid-template-columns: 13rem minmax(0, 1fr) 12rem;
		gap: var(--aa-space-4);
	}
	.aa-ledger--2 > li {
		grid-template-columns: 15rem minmax(0, 1fr);
	}
}

/* ---------- inline CTA panel, one sentence and the button ---------- */
.aa-cta-panel {
	margin: var(--aa-space-4) 0 0;
	padding: var(--aa-space-3);
	border-top: 3px solid var(--aa-forest);
	background: var(--aa-panel);
	max-width: 44rem;
}
.aa-section--panel .aa-cta-panel {
	background: var(--jsg-color-bg);
}
.aa-cta-panel p {
	margin: 0 0 var(--aa-space-2);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--aa-forest);
}
.aa-cta-panel .aa-actions {
	margin-top: 0;
}

/* ---------- closing band on a photograph under the forest overlay ---------- */
.aa-close--photo {
	position: relative;
	isolation: isolate;
	background: var(--aa-band, var(--aa-forest));
	color: var(--jsg-color-bg);
}
.aa-close--photo .aa-close__photo {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: -2;
}
.aa-close--photo .aa-close__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.aa-close--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(38, 71, 37, 0.84);
}
.aa-section.aa-close--photo h2,
.aa-section.aa-close--photo p,
.aa-section.aa-close--photo .aa-phone,
.aa-section.aa-close--photo a {
	color: var(--jsg-color-bg);
}
.aa-phone--huge,
.aa-section .aa-phone--huge {
	font-size: clamp(2.5rem, 1.5rem + 4.5vw, 4.5rem);
	line-height: 1;
	letter-spacing: -0.02em;
}
.aa-close--photo .aa-wrap {
	padding-top: var(--aa-space-5);
	padding-bottom: var(--aa-space-5);
}
@media (min-width: 900px) {
	.aa-close--photo .aa-wrap {
		padding-top: var(--aa-space-6);
		padding-bottom: var(--aa-space-6);
	}
}

/* ---------- the review wall, three to six verbatim reviews at varied lengths ---------- */
.aa-wall {
	display: grid;
	gap: var(--aa-space-4);
	margin-top: var(--aa-space-4);
}
.aa-wall .aa-quote:first-child p {
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
	line-height: 1.2;
	color: var(--aa-forest);
}
@media (min-width: 900px) {
	.aa-wall {
		grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
		gap: var(--aa-space-5);
	}
}

/* ---------- the broken grid of real faces ---------- */
.aa-section .aa-facegrid {
	list-style: none;
	padding: 0;
	margin: var(--aa-space-4) 0 0;
	max-width: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.aa-facegrid li {
	margin: 0;
}
.aa-facegrid li:first-child {
	grid-column: span 2;
	grid-row: span 2;
}
.aa-facegrid img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 9 / 10;
	object-fit: cover;
	border-radius: 3px;
}
.aa-facegrid figcaption {
	font-size: 0.9375rem;
	margin-top: 6px;
	color: var(--jsg-color-muted);
}
@media (min-width: 700px) {
	.aa-section .aa-facegrid {
		grid-template-columns: repeat(5, 1fr);
		gap: 12px;
	}
}

/* ---------- steps with the real duration of each ---------- */
.aa-steps__when {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--aa-forest);
	margin: -4px 0 var(--aa-space-1);
}

/* ---------- reading columns (the FAQ) ---------- */
@media (min-width: 900px) {
	.aa-columns-2 {
		columns: 2;
		column-gap: var(--aa-space-6);
	}
	.aa-columns-2 > * {
		break-inside: avoid;
	}
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.aa-btn,
	.aa-steps__panel,
	.aa-textlink {
		transition: none !important;
		animation: none !important;
	}
}


/* ---------- token bridge: the version 5 .aa-* pages on the version 6 palette ---------- */
:root {
	--aa-forest: #2d4a2f;
	--aa-sage: #9ab79b;
	--aa-panel: #e4efe3;
	--aa-white: #ffffff;
}




/* ==========================================================================
   Blog post template (fork 1.1.6 to 1.1.8, October 29, 2026). single.php and inc/blog-post.php.
   A brand band with Sherry's leaf in the top right corner; on desktop a fixed-width left bar (the
   post image at one size, the author and company card) stays in view beside the article, whose
   column opens with the H1 and the meta line.
   ========================================================================== */
.aa-post {
	background: var(--jsg-color-bg);
	color: var(--jsg-color-text);
}

/* the band */
.aa-post__band {
	position: relative;
	overflow: hidden;
	background: var(--aa-sand);
	padding: 52px 24px 108px;
}
.aa-post__band::before {
	content: "";
	position: absolute;
	left: -90px;
	bottom: -170px;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	pointer-events: none;
}
.aa-post__band::after {
	content: "";
	position: absolute;
	top: -40px;
	right: max(-30px, calc(50% - 660px));
	width: 300px;
	height: 404px;
	background: url("assets/img/aa-leaf-mark.png") center / contain no-repeat;
	opacity: 0.55;
	transform: rotate(14deg);
	pointer-events: none;
}
.aa-post__band-in {
	position: relative;
	z-index: 1;
	max-width: 1104px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
.aa-post__crumbs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}
.aa-post__crumbs li {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: var(--aa-muted-2);
}
.aa-post__crumbs a {
	color: var(--aa-muted-2);
	text-decoration: none;
}
.aa-post__crumbs a:hover {
	color: var(--aa-ink);
	text-decoration: underline;
}
.aa-post__crumbs li + li::before {
	content: "/";
	margin-right: 10px;
}
.aa-post__band-kicker {
	margin: 4px 0 0;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--aa-ink);
}
.aa-post__band-line {
	max-width: 620px;
	margin: 0;
	font-family: var(--jsg-font-heading);
	font-size: clamp(26px, 3.2vw, 38px);
	line-height: 1.15;
	color: var(--aa-ink);
}

/* the layout: phones stack the title, the image, the article, then the card */
.aa-post__layout {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 768px;
	margin: -64px auto 0;
	padding: 0 20px;
	position: relative;
}
.aa-post__side,
.aa-post__main {
	display: contents;
}
.aa-post__head {
	order: 1;
}
.aa-post__image {
	order: 2;
}
.aa-post__body {
	order: 3;
}
.aa-post__about {
	order: 4;
}

/* the post image: one size on every post, in a white frame */
.aa-post__image {
	box-sizing: border-box;
	aspect-ratio: 4 / 3;
	margin: 0;
	padding: 8px;
	background: var(--aa-white);
	border-radius: 20px;
	box-shadow: 0 18px 40px rgba(31, 43, 33, 0.14);
}
.aa-post__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 13px;
}
.aa-post__image--mark {
	display: grid;
	place-items: center;
	background: var(--aa-sand-2);
	border: 8px solid var(--aa-white);
	padding: 0;
}
.aa-post__image--mark img {
	width: 96px;
	height: 96px;
	object-fit: contain;
	border-radius: 0;
}

/* the title and meta line over the article */
/* on phones and tablets the title sits on a cream sheet that rises over the band */
.aa-post__head {
	background: var(--jsg-color-bg);
	border-radius: 22px 22px 0 0;
	margin: 0 -20px;
	padding: 24px 20px 0;
}
.aa-post__chip {
	display: inline-flex;
	margin: 0 0 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--aa-sand-2);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aa-ink);
}
.aa-post__head h1 {
	margin: 0;
	font-family: var(--jsg-font-heading);
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--aa-ink);
	text-wrap: pretty;
}
.aa-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--jsg-color-muted);
}
/* the dot ends a line when the meta wraps, rather than starting the next one */
.aa-post__meta > :not(:last-child)::after {
	content: "\00B7";
	margin-left: 12px;
	color: var(--aa-muted-2);
}

/* the article */
.aa-post__body {
	min-width: 0;
	font-size: 18px;
	line-height: 1.75;
}
.aa-post__body::after {
	content: "";
	display: table;
	clear: both;
}
.aa-post__body > :first-child {
	margin-top: 0;
}
.aa-post__body p,
.aa-post__body ul,
.aa-post__body ol,
.aa-post__body figure,
.aa-post__body table,
.aa-post__body .wp-caption {
	margin: 0 0 1.25em;
}
.aa-post__body h1,
.aa-post__body h2 {
	font-family: var(--jsg-font-heading);
	font-size: 28px;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--aa-ink);
	margin: 1.8em 0 0.5em;
}
.aa-post__body h3 {
	font-family: var(--jsg-font-heading);
	font-size: 22px;
	line-height: 1.3;
	color: var(--aa-ink);
	margin: 1.6em 0 0.4em;
}
.aa-post__body h4,
.aa-post__body h5,
.aa-post__body h6 {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--aa-ink);
	margin: 1.4em 0 0.4em;
}
.aa-post__body a {
	color: var(--aa-green);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
.aa-post__body a:hover {
	color: var(--aa-ink);
	text-decoration-thickness: 2px;
}
.aa-post__body strong,
.aa-post__body b {
	font-weight: 700;
	color: var(--aa-ink);
}
.aa-post__body ul,
.aa-post__body ol {
	padding-left: 1.4em;
}
.aa-post__body li {
	margin: 0.35em 0;
}
.aa-post__body li::marker {
	color: var(--aa-accent);
}
.aa-post__body blockquote {
	margin: 1.6em 0;
	padding: 18px 22px;
	border-left: 4px solid var(--aa-accent);
	background: var(--aa-sand-2);
	border-radius: 0 12px 12px 0;
	font-family: var(--jsg-font-heading);
	font-size: 20px;
	line-height: 1.5;
	color: var(--aa-ink);
}
.aa-post__body blockquote p:last-child {
	margin-bottom: 0;
}
.aa-post__body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}
.aa-post__body .aligncenter {
	display: block;
	margin: 1.5em auto;
}
.aa-post__body .alignleft {
	float: left;
	max-width: 48%;
	margin: 0.35em 1.5em 1em 0;
}
.aa-post__body .alignright {
	float: right;
	max-width: 48%;
	margin: 0.35em 0 1em 1.5em;
}
.aa-post__body .wp-caption {
	max-width: 100%;
}
.aa-post__body .wp-caption img {
	display: block;
}
.aa-post__body .wp-caption-text,
.aa-post__body figcaption {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--jsg-color-muted);
	text-align: center;
}
.aa-post__body iframe,
.aa-post__body video,
.aa-post__body embed {
	max-width: 100%;
}
.aa-post__body iframe[src*="youtube"],
.aa-post__body iframe[src*="vimeo"] {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}
.aa-post__body hr {
	border: 0;
	border-top: 1px solid var(--aa-line);
	margin: 2.4em 0;
}
.aa-post__body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}
.aa-post__body th,
.aa-post__body td {
	border-bottom: 1px solid var(--aa-line);
	padding: 10px 12px;
	text-align: left;
}

/* the author and company card */
.aa-post__about {
	background: var(--aa-white);
	border: 1px solid var(--aa-line);
	border-radius: 18px;
	overflow: hidden;
}
.aa-post__author {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px;
}
.aa-post__author-who {
	display: flex;
	align-items: center;
	gap: 14px;
}
.aa-post__author-photo {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 20%;
}
.aa-post__author-label {
	margin: 0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--aa-muted-2);
}
.aa-post__author-name {
	margin: 2px 0 0;
	font-family: var(--jsg-font-heading);
	font-size: 20px;
	line-height: 1.2;
	color: var(--aa-ink);
}
.aa-post__author-bio {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--jsg-color-muted);
}
.aa-post__author-link,
.aa-post__company-lines a {
	font-size: 14px;
	font-weight: 700;
	color: var(--aa-green);
}
.aa-post__company {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px 22px 22px;
	background: var(--aa-sand-2);
	border-top: 1px solid var(--aa-line);
}
.aa-post__company-logo {
	display: block;
	width: 170px;
	height: auto;
}
.aa-post__company-address {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--jsg-color-text);
}
.aa-post__company-lines {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.aa-post__company-lines li {
	margin: 0;
	line-height: 1.5;
}
.aa-post__company-lines a {
	overflow-wrap: anywhere;
	text-decoration: none;
}
.aa-post__company-lines a:hover {
	color: var(--aa-ink);
	text-decoration: underline;
}
.aa-post__company-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	min-height: 44px;
	margin-top: 4px;
	padding: 11px 20px;
	border-radius: 6px;
	background: var(--jsg-color-accent);
	color: var(--aa-white);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.aa-post__company-btn:hover {
	background: var(--jsg-color-accent-hover);
	color: var(--aa-white);
}
.aa-post__company-btn:focus-visible,
.aa-post__company-lines a:focus-visible,
.aa-post__author-link:focus-visible {
	outline: 3px solid var(--jsg-color-accent);
	outline-offset: 3px;
}

/* desktop: the left bar beside the article */
@media (min-width: 960px) {
	.aa-post__layout {
		display: grid;
		grid-template-columns: 320px minmax(0, 720px);
		justify-content: center;
		align-items: start;
		gap: 64px;
		max-width: var(--jsg-container);
		margin-top: 0;
		padding: 0 24px;
	}
	.aa-post__side {
		display: flex;
		flex-direction: column;
		gap: 16px;
		margin-top: -72px;
	}
	.aa-post__main {
		display: block;
		padding-top: 44px;
	}
	.aa-post__head {
		background: none;
		margin: 0 0 34px;
		padding: 0 0 26px;
		border-bottom: 1px solid var(--aa-line);
		border-radius: 0;
	}
}
/* it stays in view while the article scrolls, when the window is tall enough to hold it */
@media (min-width: 960px) and (min-height: 740px) {
	.aa-post__side {
		position: sticky;
		top: 24px;
	}
}
/* tablets: the image stays a picture rather than a banner */
@media (min-width: 600px) and (max-width: 959px) {
	.aa-post__image {
		width: 100%;
		max-width: 480px;
	}
}

/* more from the blog */
.aa-post__more {
	background: var(--aa-sand-2);
	margin-top: 72px;
	padding: 64px 24px;
}
.aa-post__more-wrap {
	max-width: var(--jsg-container);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.aa-post__more-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 16px;
}
.aa-post__more-head h2 {
	margin: 0;
	font-family: var(--jsg-font-heading);
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.2;
	color: var(--aa-ink);
}
.aa-post__more-head a {
	font-weight: 700;
	color: var(--aa-green);
}
.aa-post__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}
.aa-post__cards > li {
	margin: 0;
}
.aa-post__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--aa-white);
	border: 1px solid var(--aa-line);
	border-radius: 14px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s var(--aa-ease), box-shadow 0.2s var(--aa-ease);
}
.aa-post__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(31, 43, 33, 0.1);
	color: inherit;
}
.aa-post__card:focus-visible {
	outline: 3px solid var(--jsg-color-accent);
	outline-offset: 3px;
}
.aa-post__card-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.aa-post__card-img--mark {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	background: var(--aa-sand);
}
.aa-post__card-img--mark img {
	width: 72px;
	height: 72px;
	aspect-ratio: auto;
	object-fit: contain;
}
.aa-post__card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px 22px;
}
.aa-post__card-body time {
	font-size: 13px;
	color: var(--aa-muted-2);
}
.aa-post__card-body h3 {
	margin: 0;
	font-family: var(--jsg-font-heading);
	font-size: 19px;
	line-height: 1.3;
	color: var(--aa-ink);
}
@media (min-width: 800px) {
	.aa-post__cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.aa-post__band {
		padding: 28px 20px 92px;
	}
	.aa-post__band::after {
		top: -24px;
		right: -36px;
		width: 160px;
		height: 216px;
		opacity: 0.45;
	}
	.aa-post__band-line {
		max-width: 260px;
		font-size: 24px;
	}
	.aa-post__body {
		font-size: 17px;
	}
	.aa-post__body .alignleft,
	.aa-post__body .alignright {
		float: none;
		display: block;
		max-width: 100%;
		margin: 1.2em auto;
	}
	.aa-post__more {
		margin-top: 56px;
		padding: 48px 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.aa-post__card {
		transition: none;
	}
	.aa-post__card:hover {
		transform: none;
	}
}

/* ==========================================================================
   The blog page, archives, and search (fork 1.1.9, October 29, 2026). index.php.
   The post template's band and cards; the page's first post as a large card rising into the band.
   ========================================================================== */
.aa-blog {
	background: var(--jsg-color-bg);
	padding-bottom: 80px;
}
.aa-blog__band {
	padding-bottom: 136px;
}
.aa-blog__title {
	max-width: 760px;
	margin: 6px 0 0;
	font-family: var(--jsg-font-heading);
	font-size: clamp(34px, 4.6vw, 56px);
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: var(--aa-ink);
}
.aa-blog__line {
	margin: 0;
	font-size: clamp(17px, 1.7vw, 20px);
	line-height: 1.5;
	color: var(--jsg-color-muted);
}
.aa-post__crumbs [aria-current] {
	color: var(--aa-ink);
}
.aa-blog__wrap {
	position: relative;
	max-width: 1104px;
	margin: -92px auto 0;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* the page's first post */
.aa-blog__lead {
	margin: 0;
}
.aa-blog__lead-link {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	background: var(--aa-white);
	border-radius: 22px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 18px 40px rgba(31, 43, 33, 0.12);
	transition: transform 0.2s var(--aa-ease), box-shadow 0.2s var(--aa-ease);
}
.aa-blog__lead-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 24px 48px rgba(31, 43, 33, 0.16);
	color: inherit;
}
.aa-blog__lead-link:focus-visible,
.aa-blog__card:focus-visible {
	outline: 3px solid var(--jsg-color-accent);
	outline-offset: 3px;
}
.aa-blog__lead-img {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--aa-sand-2);
}
.aa-blog__lead-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.aa-blog__mark {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}
.aa-blog__mark img {
	position: static;
	width: 150px;
	height: 202px;
	object-fit: contain;
	opacity: 0.85;
}
.aa-blog__lead-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	padding: 28px 24px 30px;
}
.aa-blog__kicker {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--jsg-color-accent-hover);
}
.aa-blog__lead h2 {
	margin: 0;
	font-family: var(--jsg-font-heading);
	font-size: clamp(26px, 2.8vw, 36px);
	line-height: 1.15;
	color: var(--aa-ink);
}
.aa-blog__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--aa-muted-2);
}
.aa-blog__meta > :not(:last-child)::after {
	content: "\00B7";
	margin-left: 10px;
}
.aa-blog__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--jsg-color-muted);
}
.aa-blog__lead .aa-blog__excerpt {
	font-size: 16px;
}
.aa-blog__more {
	margin-top: 4px;
	font-weight: 700;
	color: var(--aa-green);
}
.aa-blog__lead-link:hover .aa-blog__more {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
@media (min-width: 900px) {
	.aa-blog__lead-link {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	}
	.aa-blog__lead-img {
		aspect-ratio: auto;
		min-height: 380px;
	}
	.aa-blog__lead-text {
		padding: 44px 48px;
	}
}

/* the other posts */
.aa-blog__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}
.aa-blog__grid > li {
	margin: 0;
}
.aa-blog__card .aa-post__card-body {
	gap: 8px;
}
.aa-blog__card h2 {
	margin: 0;
	font-family: var(--jsg-font-heading);
	font-size: 20px;
	line-height: 1.3;
	color: var(--aa-ink);
}
.aa-blog__chip {
	align-self: flex-start;
	margin: 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--aa-sand-2);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aa-ink);
}
@media (min-width: 600px) {
	.aa-blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 960px) {
	.aa-blog__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* page links */
.aa-blog .pagination {
	margin: 8px 0 0;
}
.aa-blog .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.aa-blog .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--aa-line);
	border-radius: 999px;
	background: var(--aa-white);
	font-size: 14px;
	font-weight: 700;
	color: var(--aa-ink);
	text-decoration: none;
}
.aa-blog a.page-numbers:hover {
	background: var(--aa-sand-2);
	color: var(--aa-ink);
}
.aa-blog .page-numbers.current {
	background: var(--jsg-color-accent);
	border-color: transparent;
	color: var(--aa-white);
}
.aa-blog .page-numbers.dots {
	min-width: 0;
	padding: 0 4px;
	border: 0;
	background: none;
}
.aa-blog__empty {
	padding: 32px;
	border-radius: 18px;
	background: var(--aa-white);
	text-align: center;
}
@media (max-width: 599px) {
	.aa-blog__band {
		padding-bottom: 110px;
	}
	.aa-blog__wrap {
		margin-top: -72px;
		padding: 0 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.aa-blog__lead-link {
		transition: none;
	}
	.aa-blog__lead-link:hover {
		transform: none;
	}
}

/* since 1.1.6: the footer's email address wraps instead of running past its column (800 to 1024px) */
.aa-footer a[href^="mailto:"] {
	overflow-wrap: anywhere;
}
