:root {
	--color-bg: #ffffff;
	--color-surface: #f5f7f6;
	--color-text: #101820;
	--color-muted: #55635f;
	--color-border: #dfe7e3;
	--color-purple: #0f766e;
	--color-purple-dark: #0b4f4a;
	--color-purple-light: #e5f3f0;
	--color-ink: #0d1d22;
	--color-amber: #b88732;
	--shadow-soft: 0 18px 42px rgba(13, 29, 34, 0.09);
	--radius: 8px;
	--container: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

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

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--color-purple);
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.65em;
	line-height: 1.08;
	letter-spacing: 0;
	font-weight: 800;
}

h1 {
	max-width: 920px;
	font-size: clamp(2.25rem, 6vw, 4.5rem);
}

h2 {
	font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
	font-size: 1.25rem;
}

h4 {
	font-size: 1.05rem;
}

p {
	margin: 0 0 1rem;
}

ul,
ol {
	margin-top: 0;
}

.container {
	width: min(100% - 32px, var(--container));
	margin: 0 auto;
}

.section {
	padding: 48px 0;
}

.section--muted,
.hero {
	background: var(--color-surface);
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -80px;
	z-index: 20;
	padding: 10px 14px;
	background: var(--color-text);
	color: #fff;
	border-radius: var(--radius);
}

.skip-link:focus {
	top: 16px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid var(--color-border);
	backdrop-filter: blur(10px);
}

.site-header__inner {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
}

.site-brand {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	min-width: 168px;
	text-decoration: none;
}

.site-brand__mark {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	flex: 0 0 auto;
	border-radius: var(--radius);
	background: linear-gradient(135deg, var(--color-ink), var(--color-purple));
	color: #fff;
	font-weight: 800;
}

.site-brand__text {
	display: grid;
	line-height: 1.2;
}

.site-brand__text small {
	color: var(--color-muted);
	font-size: 0.78rem;
}

.primary-nav__list,
.footer-links {
	display: flex;
	gap: 18px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav {
	flex: 1 1 auto;
}

.primary-nav__toggle {
	display: none;
}

.primary-nav__list {
	justify-content: center;
	gap: 8px;
}

.primary-nav__list li {
	position: relative;
}

.primary-nav__list a,
.footer-links a {
	color: var(--color-muted);
	font-size: 0.92rem;
	text-decoration: none;
}

.primary-nav__list > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	border-radius: var(--radius);
	padding: 0 10px;
	font-weight: 700;
	white-space: nowrap;
}

.primary-nav__list > li > a:hover,
.primary-nav__list > li:focus-within > a {
	background: var(--color-purple-light);
	color: var(--color-purple);
}

.primary-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	display: grid;
	grid-template-columns: repeat(2, minmax(190px, 1fr));
	width: min(520px, calc(100vw - 32px));
	margin: 0;
	padding: 12px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-soft);
	list-style: none;
	opacity: 0;
	pointer-events: none;
	transition: opacity 120ms ease;
}

.primary-nav__list > li:nth-last-child(-n+3) > .sub-menu {
	right: 0;
	left: auto;
}

.primary-nav__list > li:nth-child(n+3) > .sub-menu {
	grid-template-columns: 1fr;
	width: min(320px, calc(100vw - 32px));
}

.primary-nav__list li:hover > .sub-menu,
.primary-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
}

.primary-nav__list .sub-menu a {
	display: block;
	border-radius: var(--radius);
	padding: 9px 10px;
	font-weight: 700;
}

.primary-nav__list .sub-menu a:hover,
.primary-nav__list .sub-menu a:focus {
	background: var(--color-purple-light);
	color: var(--color-purple);
}

.site-header__phone {
	display: grid;
	gap: 2px;
	color: var(--color-text);
	font-size: 0.86rem;
	line-height: 1.15;
	text-align: right;
	text-decoration: none;
	white-space: nowrap;
}

.site-header__phone span {
	color: var(--color-muted);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.site-header__phone strong {
	color: var(--color-purple);
	font-size: 0.96rem;
}

.site-header__cta {
	flex: 0 0 auto;
	min-width: 172px;
	max-width: 190px;
	padding-inline: 14px;
	line-height: 1.12;
	text-wrap: balance;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.75rem 1rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-weight: 700;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button--primary {
	background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
	color: #fff;
	box-shadow: 0 12px 26px rgba(15, 118, 110, 0.2);
}

.button--primary:hover {
	background: var(--color-purple-dark);
	color: #fff;
}

.button--secondary {
	background: #fff;
	border-color: var(--color-border);
	color: var(--color-text);
}

.ag-home-hero .button--secondary,
.ag-home-booking .button--secondary,
.ag-home-final .button--secondary {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(255, 255, 255, 0.52);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 1.5rem;
}

.hero__grid {
	display: grid;
	gap: 32px;
	align-items: center;
}

.hero__lede {
	max-width: 760px;
	color: var(--color-muted);
	font-size: 1.12rem;
}

.hero__content > *:last-child,
.hero-panel > *:last-child,
.card > *:last-child,
.sidebar-card > *:last-child,
.entry-content > *:last-child,
.cta > *:last-child {
	margin-bottom: 0;
}

.hero--compact h1 {
	font-size: clamp(2rem, 5vw, 3.75rem);
}

.eyebrow {
	margin-bottom: 0.75rem;
	color: var(--color-purple);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero-panel,
.card,
.sidebar-card,
.cta {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.hero-panel {
	padding: 24px;
}

.ag-page-panel-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	margin-bottom: 18px;
	border-radius: var(--radius);
}

.hero-panel p {
	color: var(--color-muted);
	font-weight: 700;
}

.hero-panel strong {
	display: block;
	margin-bottom: 1rem;
	font-size: 1.35rem;
	line-height: 1.2;
}

.hero-panel ul,
.check-list,
.mini-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding-left: 1.1rem;
}

.hero-panel li,
.check-list li,
.mini-list li {
	padding-left: 2px;
}

.mini-list {
	margin: 16px 0;
	color: var(--color-muted);
	font-size: 0.95rem;
}

.section-heading {
	max-width: 760px;
	margin-bottom: 28px;
}

.section-heading p {
	color: var(--color-muted);
}

.card-grid {
	display: grid;
	gap: 16px;
}

.card {
	padding: 22px;
}

.card h3 {
	margin-bottom: 0.55rem;
}

.service-hub-card {
	display: grid;
	gap: 12px;
	align-content: start;
}

.service-hub-card__link {
	align-self: end;
	margin-top: 4px;
}

.card p,
.sidebar-card p,
.cta p {
	color: var(--color-muted);
}

.text-link {
	color: var(--color-purple);
	font-weight: 800;
	text-decoration: none;
}

.split,
.content-layout {
	display: grid;
	gap: 28px;
}

.audience-grid {
	display: grid;
	gap: 10px;
	align-content: start;
}

.audience-pill {
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: #fff;
	padding: 12px 14px;
	color: var(--color-text);
	font-weight: 800;
	box-shadow: var(--shadow-soft);
}

.sidebar-card {
	align-self: start;
	padding: 22px;
}

.sidebar-card__link {
	display: inline-flex;
	margin-top: 14px;
}

.entry-content {
	max-width: 780px;
}

.entry-card {
	max-width: none;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
	padding: 24px;
	box-shadow: var(--shadow-soft);
}

.entry-content .agis-inline-cta {
	margin: 28px 0 0;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-purple-light);
	padding: 22px;
	box-shadow: var(--shadow-soft);
}

.entry-content .agis-inline-cta h2 {
	margin-top: 0;
}

.entry-content .agis-service-examples {
	margin: 28px 0;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
	padding: 22px;
	box-shadow: var(--shadow-soft);
}

.entry-content .agis-service-examples h2 {
	margin-top: 0;
}

.entry-content .agis-service-examples ul {
	display: grid;
	gap: 10px;
	padding-left: 1.1rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2 {
	margin-top: 2rem;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.entry-content h3 {
	margin-top: 1.5rem;
}

.entry-content p,
.entry-content li {
	color: var(--color-muted);
}

.entry-content a {
	color: var(--color-purple);
	font-weight: 700;
}

.entry-content img,
.entry-content figure,
.wp-block-image {
	margin: 24px 0;
}

.entry-content figure img,
.wp-block-image img {
	border-radius: var(--radius);
}

.entry-content .wp-block-buttons,
.entry-content .wp-block-button {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0;
}

.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: var(--radius);
	background: var(--color-purple);
	padding: 0.75rem 1rem;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.entry-content .wp-block-button__link:hover {
	background: var(--color-purple-dark);
	color: #fff;
}

.entry-content form,
.entry-content .wpforms-container,
.entry-content .wpcf7,
.entry-content .gform_wrapper {
	margin-top: 20px;
}

.entry-content label {
	display: block;
	margin-bottom: 6px;
	color: var(--color-text);
	font-weight: 800;
}

.entry-content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.entry-content select,
.entry-content textarea {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
	padding: 10px 12px;
	color: var(--color-text);
	font: inherit;
}

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

.entry-content input[type="submit"],
.entry-content button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--color-purple);
	padding: 0.75rem 1rem;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 160ms ease;
}

.entry-content input[type="submit"]:hover,
.entry-content button[type="submit"]:hover {
	background: var(--color-purple-dark);
}

.entry-content .wp-block-contact-form-7-contact-form-selector,
.entry-content .wp-block-jetpack-contact-form,
.entry-content form p {
	margin-bottom: 16px;
}

.faq {
	max-width: 860px;
}

.faq details {
	border-top: 1px solid var(--color-border);
	padding: 18px 0;
}

.faq details:last-child {
	border-bottom: 1px solid var(--color-border);
}

.faq summary {
	cursor: pointer;
	font-weight: 800;
}

.faq details p {
	margin-top: 0.75rem;
	color: var(--color-muted);
}

.cta {
	display: grid;
	gap: 20px;
	align-items: center;
	padding: 28px;
	background: var(--color-purple-light);
}

.cta h2 {
	font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.cta__contact {
	font-weight: 800;
}

.cta__contact a {
	color: var(--color-purple);
	text-decoration: none;
	white-space: nowrap;
}

.cta .button {
	justify-self: start;
}

.outcome-grid {
	display: grid;
	gap: 16px;
}

.outcome-card {
	border-left: 4px solid var(--color-purple);
	border-radius: var(--radius);
	background: #fff;
	padding: 22px;
	box-shadow: var(--shadow-soft);
}

.outcome-card span {
	display: inline-flex;
	margin-bottom: 14px;
	color: var(--color-purple);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.outcome-card p {
	color: var(--color-muted);
}

.ag-design-panels-section {
	padding-top: clamp(22px, 3vw, 36px);
	padding-bottom: clamp(22px, 3vw, 36px);
}

.ag-design-panels {
	display: grid;
	grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
	gap: clamp(18px, 3vw, 28px);
	align-items: stretch;
}

.ag-design-panels__intro,
.ag-design-panel {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(216, 227, 223, 0.92);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--shadow-soft);
}

.ag-design-panels__intro {
	display: grid;
	align-content: center;
	gap: 14px;
	padding: clamp(20px, 3vw, 28px);
}

.ag-design-panels__intro::before,
.ag-design-panel::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--color-purple), rgba(184, 135, 50, 0.72));
	opacity: 0.86;
}

.ag-design-panels__intro h2 {
	font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.ag-design-panels__intro p:not(.eyebrow),
.ag-design-panel p {
	color: var(--color-muted);
}

.ag-design-panels__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.ag-design-panel {
	display: grid;
	align-content: start;
	gap: 10px;
	padding: clamp(18px, 2vw, 22px);
}

.ag-design-panel span {
	color: var(--color-purple);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ag-design-panel h3 {
	font-size: clamp(1.12rem, 1.8vw, 1.35rem);
}

.ag-tech-badges-section {
	padding-top: clamp(28px, 4vw, 54px);
	padding-bottom: clamp(28px, 4vw, 54px);
}

.ag-tech-badge-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.ag-tech-badge-grid img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	filter: saturate(0.94);
}

.ag-tech-badges-note {
	max-width: 820px;
	margin: 18px auto 0;
	color: var(--color-muted);
	font-size: 0.86rem;
	text-align: center;
}

.site-footer {
	background: #111827;
	color: #fff;
}

.site-footer__grid {
	display: grid;
	gap: 28px;
	padding: 48px 0 24px;
}

.site-footer__summary {
	max-width: 360px;
	margin-top: 16px;
	color: rgba(255, 255, 255, 0.72);
}

.site-brand--footer .site-brand__text small,
.site-footer .footer-links a {
	color: rgba(255, 255, 255, 0.72);
}

.footer-heading {
	margin-bottom: 0.85rem;
	font-size: 1rem;
}

.site-footer .footer-links {
	display: grid;
	gap: 8px;
}

.site-footer .footer-links span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.92rem;
}

.footer-contact-label {
	font-weight: 800;
}

.site-footer__bottom {
	padding: 20px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.9rem;
}

.post-summary {
	padding: 24px 0;
	border-bottom: 1px solid var(--color-border);
}

.social-proof__header {
	display: grid;
	gap: 24px;
	align-items: start;
	margin-bottom: 24px;
}

.social-proof__header p {
	color: var(--color-muted);
}

.rating-badges {
	display: grid;
	gap: 12px;
}

.rating-badge,
.proof-pill,
.testimonial-card,
.review-empty {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.rating-badge {
	padding: 18px;
}

.rating-badge strong {
	display: block;
	color: var(--color-purple);
	font-size: 1.3rem;
	line-height: 1.1;
}

.rating-badge span {
	color: var(--color-muted);
	font-size: 0.92rem;
}

.proof-grid {
	display: grid;
	gap: 10px;
	margin: 20px 0 24px;
}

.proof-pill {
	padding: 12px 14px;
	color: var(--color-text);
	font-weight: 800;
}

.review-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 22px;
}

.review-filters a {
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 8px 12px;
	color: var(--color-muted);
	font-weight: 700;
	text-decoration: none;
}

.testimonial-carousel {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	padding-bottom: 8px;
}

.testimonial-card {
	display: grid;
	gap: 14px;
	padding: 22px;
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), #fff),
		linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(184, 135, 50, 0.08));
}

.testimonial-card::before {
	content: "★★★★★";
	color: var(--color-amber);
	font-size: 0.95rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.testimonial-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: var(--color-purple);
	font-size: 0.85rem;
	font-weight: 800;
	text-transform: uppercase;
}

.testimonial-card blockquote {
	margin: 0;
	color: var(--color-text);
	font-size: 1rem;
	line-height: 1.55;
}

.testimonial-card__author {
	margin: 0;
	color: var(--color-muted);
	font-weight: 800;
}

.review-empty {
	padding: 20px;
	color: var(--color-muted);
}

.review-empty p {
	margin: 0;
}

.review-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

@media (min-width: 720px) {
	.section {
		padding: 72px 0;
	}

	.hero__grid,
	.split {
		grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	}

	.card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.content-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.page-content-layout {
		align-items: start;
	}

	.cta {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.social-proof__header {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.proof-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.audience-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ag-design-panels__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ag-tech-badge-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 980px) {
	.card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.card-grid--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.card-grid--four,
	.outcome-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ag-tech-badge-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.proof-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.site-footer__grid {
		grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(120px, 1fr));
	}
}

@media (min-width: 1180px) {
	.card-grid--four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.site-header__inner {
		flex-wrap: wrap;
	}

	.primary-nav {
		order: 3;
		flex-basis: 100%;
	}

	.primary-nav__list {
		justify-content: flex-start;
	}

	.site-header__cta {
		margin-left: auto;
	}
}

@media (max-width: 1160px) and (min-width: 861px) {
	.site-header__cta {
		min-width: 156px;
		max-width: 168px;
		font-size: 0.92rem;
	}
}

@media (max-width: 980px) {
	.site-header__phone {
		order: 2;
		margin-left: auto;
	}

	.testimonial-carousel {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.site-header__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px;
		align-items: center;
	}

	.site-brand {
		min-width: 0;
	}

	.site-brand__mark {
		width: 40px;
		height: 40px;
	}

	.site-brand__text small {
		display: none;
	}

	.site-header__phone {
		grid-column: 1 / -1;
		order: 2;
		margin-left: 0;
		text-align: left;
	}

	.primary-nav {
		order: 3;
		grid-column: 1 / -1;
		width: 100%;
	}

	.primary-nav__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 44px;
		border: 1px solid var(--color-border);
		border-radius: var(--radius);
		background: #fff;
		padding: 0 14px;
		color: var(--color-text);
		font-weight: 800;
		cursor: pointer;
		box-shadow: var(--shadow-soft);
	}

	.primary-nav__toggle::after {
		content: "+";
		color: var(--color-purple);
		font-size: 1.25rem;
		line-height: 1;
	}

	.primary-nav__toggle[aria-expanded="true"]::after {
		content: "-";
	}

	.primary-nav__list {
		display: none;
	}

	.primary-nav.is-open .primary-nav__list {
		display: grid;
		gap: 6px;
		margin-top: 10px;
	}

	.primary-nav__list > li > a {
		width: 100%;
		justify-content: space-between;
		min-height: 42px;
		padding: 0 10px;
		background: #fff;
	}

	.primary-nav__list,
	.primary-nav__list li,
	.primary-nav__list a {
		width: 100%;
	}

	.primary-nav__list .sub-menu {
		display: none;
	}

	.primary-nav__list > li.menu-item-has-children > a::after {
		content: "View";
		margin-left: auto;
		color: var(--color-purple);
		font-size: 0.72rem;
		font-weight: 800;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	.site-header__cta {
		display: none;
	}
}

@media (max-width: 560px) {
	h1 {
		font-size: clamp(2rem, 10vw, 3rem);
	}

	h2 {
		font-size: clamp(1.55rem, 8vw, 2.25rem);
	}

	.container {
		width: min(100% - 24px, var(--container));
	}

	.section {
		padding: 40px 0;
	}

	.button,
	.entry-content .wp-block-button__link,
	.entry-content input[type="submit"],
	.entry-content button[type="submit"] {
		width: 100%;
	}

	.entry-card,
	.hero-panel,
	.sidebar-card,
	.card,
	.cta,
	.ag-design-panels__intro,
	.ag-design-panel {
		padding: 20px;
	}

	.hero__grid,
	.split,
	.content-layout,
	.card-grid,
	.outcome-grid,
	.ag-design-panels,
	.ag-design-panels__grid,
	.social-proof__header {
		gap: 18px;
	}

	.ag-design-panels,
	.ag-design-panels__grid {
		grid-template-columns: 1fr;
	}

	.ag-tech-badge-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.testimonial-carousel {
		grid-template-columns: 1fr;
	}

	.site-footer__grid {
		gap: 22px;
	}
}

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

.ag-home-hero {
	position: relative;
	display: grid;
	align-items: center;
	min-height: calc(100vh - 76px);
	overflow: hidden;
	isolation: isolate;
}

.ag-home-hero__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ag-home-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(249, 247, 240, 0.98) 0%, rgba(249, 247, 240, 0.92) 35%, rgba(249, 247, 240, 0.38) 68%, rgba(249, 247, 240, 0.16) 100%),
		linear-gradient(0deg, rgba(15, 29, 34, 0.22), rgba(15, 29, 34, 0));
}

.ag-home-hero__content {
	padding-top: clamp(72px, 11vw, 132px);
	padding-bottom: clamp(72px, 12vw, 148px);
}

.ag-home-hero h1 {
	max-width: 760px;
	margin-bottom: 22px;
	font-size: clamp(2.75rem, 7vw, 5.75rem);
	line-height: 0.98;
}

.ag-home-hero__lede {
	max-width: 650px;
	color: #334541;
	font-size: clamp(1.08rem, 1.8vw, 1.35rem);
	line-height: 1.55;
}

.ag-home-proof {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 640px;
	margin-top: 30px;
}

.ag-home-proof div,
.ag-home-service-picker,
.ag-home-card-grid article,
.ag-home-panel,
.ag-home-list div {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(22, 33, 38, 0.12);
	border-radius: 8px;
}

.ag-home-proof div {
	padding: 16px;
}

.ag-home-proof strong,
.ag-home-proof span {
	display: block;
}

.ag-home-proof strong {
	font-size: 1.35rem;
}

.ag-home-proof span {
	color: var(--color-muted);
	font-weight: 700;
}

.ag-home-booking {
	background: #102126;
	color: #fff;
}

.ag-home-booking .eyebrow,
.ag-home-final .eyebrow {
	color: #74c9bd;
}

.ag-home-booking__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.ag-home-booking p {
	color: rgba(255, 255, 255, 0.76);
}

.ag-home-service-picker {
	display: grid;
	gap: 12px;
	padding: 14px;
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.16);
}

.ag-home-service-picker a {
	display: grid;
	gap: 6px;
	padding: 18px;
	color: #fff;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	text-decoration: none;
}

.ag-home-service-picker strong {
	font-size: 1.05rem;
}

.ag-home-service-picker span {
	color: rgba(255, 255, 255, 0.74);
	line-height: 1.5;
}

.ag-home-card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ag-home-card-grid article {
	display: grid;
	gap: 10px;
	padding: 24px;
}

.ag-home-card-grid p,
.ag-home-list span {
	color: var(--color-muted);
}

.ag-home-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: #fff;
	background: #127c73;
	border-radius: 8px;
	font-size: 0.8rem;
	font-weight: 900;
}

.ag-home-ops {
	background:
		linear-gradient(180deg, #ffffff 0%, #f3f7f6 100%);
}

.ag-home-ops__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.ag-home-ops p {
	max-width: 680px;
	color: var(--color-muted);
}

.ag-home-dashboard {
	display: grid;
	gap: 12px;
	border: 1px solid rgba(15, 118, 110, 0.18);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(13, 29, 34, 0.96), rgba(13, 42, 45, 0.94)),
		var(--color-ink);
	padding: clamp(18px, 3vw, 28px);
	color: #fff;
	box-shadow: 0 28px 70px rgba(13, 29, 34, 0.22);
}

.ag-home-dashboard__top,
.ag-home-metric {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.07);
	padding: 14px;
}

.ag-home-dashboard__top {
	background: rgba(255, 255, 255, 0.1);
}

.ag-home-dashboard__top span,
.ag-home-metric span {
	color: rgba(255, 255, 255, 0.72);
	font-weight: 700;
}

.ag-home-dashboard__top strong,
.ag-home-metric strong {
	color: #8ee7d5;
}

.ag-home-signal {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	align-items: end;
	min-height: 92px;
	margin-top: 6px;
}

.ag-home-signal span {
	display: block;
	border-radius: 8px 8px 0 0;
	background: linear-gradient(180deg, #8ee7d5, #0f766e);
}

.ag-home-signal span:nth-child(1) {
	height: 42%;
}

.ag-home-signal span:nth-child(2) {
	height: 68%;
}

.ag-home-signal span:nth-child(3) {
	height: 54%;
}

.ag-home-signal span:nth-child(4) {
	height: 86%;
}

.ag-home-signal span:nth-child(5) {
	height: 72%;
}

.ag-home-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

.ag-home-panel,
.ag-home-list div {
	padding: 24px;
}

.ag-home-list {
	display: grid;
	gap: 14px;
}

.ag-home-list div {
	display: grid;
	gap: 8px;
}

.ag-home-pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ag-home-pill-row span {
	padding: 10px 14px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	color: #31423f;
	font-weight: 800;
}

.ag-home-projects {
	background: var(--color-ink);
	color: #fff;
}

.ag-home-projects .section-heading p,
.ag-home-projects .eyebrow {
	color: #8ee7d5;
}

.ag-home-project-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ag-home-project-grid a {
	display: grid;
	min-height: 240px;
	align-content: end;
	gap: 12px;
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(13, 29, 34, 0.15), rgba(13, 29, 34, 0.92)),
		linear-gradient(135deg, rgba(15, 118, 110, 0.62), rgba(184, 135, 50, 0.32));
	padding: 24px;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.ag-home-project-grid a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(13, 29, 34, 0.08), rgba(13, 29, 34, 0.9)),
		linear-gradient(90deg, rgba(13, 29, 34, 0.7), rgba(13, 29, 34, 0.18));
}

.ag-home-project-grid img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.ag-home-project-grid a:hover img,
.ag-home-project-grid a:focus img {
	transform: scale(1.04);
}

.ag-home-project-grid span {
	position: relative;
	z-index: 2;
	color: #8ee7d5;
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.ag-home-project-grid strong {
	position: relative;
	z-index: 2;
	max-width: 260px;
	font-size: 1.25rem;
	line-height: 1.15;
}

.ag-home-project-grid em {
	position: relative;
	z-index: 2;
	color: rgba(255, 255, 255, 0.76);
	font-style: normal;
	line-height: 1.45;
}

.ag-home-final {
	background: #102126;
	color: #fff;
}

.ag-home-final__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.ag-home-final p {
	max-width: 680px;
	color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 1100px) {
	.ag-home-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ag-home-booking__grid,
	.ag-home-ops__grid,
	.ag-home-split {
		grid-template-columns: 1fr;
	}

	.ag-home-project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.ag-home-hero {
		min-height: auto;
	}

	.ag-home-hero__overlay {
		background: linear-gradient(180deg, rgba(249, 247, 240, 0.98), rgba(249, 247, 240, 0.84));
	}

	.ag-home-proof,
	.ag-home-card-grid,
	.ag-home-project-grid {
		grid-template-columns: 1fr;
	}

	.ag-home-final__inner {
		align-items: stretch;
		flex-direction: column;
	}
}

.ag-landing-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: #102126;
	color: #fff;
}

.ag-landing-hero__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ag-landing-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(13, 29, 34, 0.94), rgba(13, 29, 34, 0.78) 50%, rgba(13, 29, 34, 0.32)),
		linear-gradient(180deg, rgba(13, 29, 34, 0.24), rgba(13, 29, 34, 0.86));
}

.ag-landing-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
	min-height: calc(100vh - 76px);
	padding-top: clamp(64px, 8vw, 112px);
	padding-bottom: clamp(56px, 8vw, 104px);
}

.ag-landing-hero__copy {
	max-width: 820px;
}

.ag-landing-hero .eyebrow,
.ag-landing-final .eyebrow {
	color: #8ee7d5;
}

.ag-landing-hero h1 {
	max-width: 820px;
	font-size: clamp(2.4rem, 6vw, 5.25rem);
	line-height: 0.98;
}

.ag-landing-hero__copy > p {
	max-width: 690px;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(1.06rem, 1.8vw, 1.3rem);
}

.ag-landing-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.ag-landing-trust span {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	padding: 9px 12px;
	color: rgba(255, 255, 255, 0.86);
	font-weight: 800;
}

.ag-landing-card {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.94);
	padding: 18px;
	color: var(--color-text);
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.ag-landing-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 18px;
}

.ag-landing-card p {
	margin-bottom: 8px;
	color: var(--color-purple);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ag-landing-card strong {
	display: block;
	margin-bottom: 14px;
	font-size: 1.25rem;
	line-height: 1.2;
}

.ag-landing-card ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding-left: 1.1rem;
	color: var(--color-muted);
}

.ag-landing-proof-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.ag-landing-proof-grid h2 {
	max-width: 760px;
}

.ag-landing-checks {
	display: grid;
	gap: 14px;
}

.ag-landing-checks div {
	display: grid;
	gap: 6px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: #fff;
	padding: 20px;
	box-shadow: var(--shadow-soft);
}

.ag-landing-checks span {
	color: var(--color-muted);
}

.ag-landing-photo-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.ag-landing-photo-grid figure {
	position: relative;
	min-height: 250px;
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	background: var(--color-ink);
	box-shadow: var(--shadow-soft);
}

.ag-landing-photo-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.ag-landing-photo-grid figure:hover img {
	transform: scale(1.03);
}

.ag-landing-photo-grid figcaption {
	position: absolute;
	right: 12px;
	bottom: 12px;
	left: 12px;
	border-radius: 8px;
	background: rgba(13, 29, 34, 0.78);
	padding: 10px 12px;
	color: #fff;
	font-weight: 800;
	line-height: 1.2;
}

.ag-landing-final {
	background: #102126;
	color: #fff;
}

.ag-landing-final__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.ag-landing-final p {
	max-width: 740px;
	color: rgba(255, 255, 255, 0.76);
}

.ag-landing-final .button--secondary {
	background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1180px) {
	.ag-landing-photo-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.ag-landing-hero__grid,
	.ag-landing-proof-grid {
		grid-template-columns: 1fr;
	}

	.ag-landing-hero__grid {
		min-height: auto;
	}

	.ag-landing-card {
		max-width: 440px;
	}

	.ag-landing-final__inner {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (max-width: 620px) {
	.ag-landing-hero__overlay {
		background:
			linear-gradient(180deg, rgba(13, 29, 34, 0.52), rgba(13, 29, 34, 0.94)),
			linear-gradient(90deg, rgba(13, 29, 34, 0.9), rgba(13, 29, 34, 0.62));
	}

	.ag-landing-photo-grid {
		grid-template-columns: 1fr;
	}

	.ag-landing-photo-grid figure {
		min-height: 230px;
	}
}

@media (max-width: 700px) {
.ag-home-hero {
min-height: 720px;
align-items: end;
}

.ag-home-hero__image {
object-position: 66% center;
}

.ag-home-hero__overlay {
background:
linear-gradient(180deg, rgba(245, 247, 246, 0.12) 0%, rgba(245, 247, 246, 0.58) 34%, rgba(245, 247, 246, 0.96) 66%, rgba(245, 247, 246, 1) 100%),
linear-gradient(90deg, rgba(245, 247, 246, 0.96) 0%, rgba(245, 247, 246, 0.72) 52%, rgba(245, 247, 246, 0.22) 100%);
}

.ag-home-hero__content {
padding-top: 220px;
padding-bottom: 32px;
}

.ag-home-hero h1 {
max-width: 11ch;
}
}

@media (max-width: 420px) {
.ag-home-hero {
min-height: 760px;
}

.ag-home-hero__image {
object-position: 70% center;
}

.ag-home-hero__content {
padding-top: 250px;
}
}

/* Amelia booking page skin so the widget matches the site palette. */
body.page-id-40 .site-main,
body.page-id-1119 .site-main {
	background: var(--color-bg);
}

body.page-id-40 .entry-content,
body.page-id-1119 .entry-content {
	background: transparent;
}

body.page-id-40 .entry-content > section,
body.page-id-1119 .entry-content > section {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	padding: 22px;
	margin-top: 24px !important;
	box-shadow: var(--shadow-soft);
}

body.page-id-40 .entry-content > section:first-child,
body.page-id-1119 .entry-content > section:first-child {
	background: transparent;
	border: 0;
	padding: 0;
	margin-top: 0 !important;
	box-shadow: none;
}

body.page-id-40 .entry-content > section > div,
body.page-id-1119 .entry-content > section > div {
	background: var(--color-surface) !important;
	border: 1px solid var(--color-border) !important;
	border-left: 4px solid var(--color-purple) !important;
	border-radius: 10px !important;
	box-shadow: var(--shadow-soft);
}

body.page-id-40 .entry-content h2,
body.page-id-1119 .entry-content h2 {
	color: var(--color-ink);
}

body.page-id-40 .entry-content ul,
body.page-id-1119 .entry-content ul {
	color: var(--color-muted);
}

/* 2026 theme refresh: cleaner surfaces, stronger contrast, and better mobile rhythm. */
:root {
	--color-bg: #fbfcfb;
	--color-surface: #f2f6f4;
	--color-text: #10201f;
	--color-muted: #52615e;
	--color-border: #d8e3df;
	--color-purple: #0b7c72;
	--color-purple-dark: #07534f;
	--color-purple-light: #e3f4f0;
	--color-ink: #0b1f24;
	--shadow-soft: 0 14px 34px rgba(11, 31, 36, 0.08);
	--shadow-lift: 0 22px 56px rgba(11, 31, 36, 0.13);
	--radius: 8px;
}

body {
	background:
		linear-gradient(180deg, #ffffff 0, var(--color-bg) 680px),
		var(--color-bg);
	color: var(--color-text);
	-webkit-font-smoothing: antialiased;
}

html,
body {
	max-width: 100%;
	overflow-x: clip;
}

a,
button,
input,
select,
textarea {
	outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid rgba(11, 124, 114, 0.28);
}

.site-header {
	background: rgba(251, 252, 251, 0.9);
	border-bottom-color: rgba(216, 227, 223, 0.78);
	box-shadow: 0 10px 30px rgba(11, 31, 36, 0.05);
}

.site-header__inner {
	padding: 12px 0;
}

.site-brand__mark {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
		linear-gradient(135deg, var(--color-ink), var(--color-purple));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px rgba(11, 31, 36, 0.16);
}

.primary-nav__list > li > a {
	min-height: 38px;
	border: 1px solid transparent;
}

.primary-nav__list > li > a:hover,
.primary-nav__list > li:focus-within > a {
	border-color: rgba(11, 124, 114, 0.14);
	background: rgba(227, 244, 240, 0.88);
}

.primary-nav__list .sub-menu {
	border-color: rgba(216, 227, 223, 0.92);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: var(--shadow-lift);
}

.site-header__phone {
	border: 1px solid rgba(216, 227, 223, 0.9);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.72);
	padding: 8px 10px;
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	width: auto;
	border: 1px solid rgba(216, 227, 223, 0.95);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	padding: 0 12px;
	color: var(--color-text);
	font: inherit;
	font-size: 0.86rem;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(11, 31, 36, 0.06);
}

.theme-toggle__icon {
	display: block;
	width: 16px;
	height: 16px;
	border: 2px solid var(--color-purple);
	border-radius: 999px;
	background: linear-gradient(90deg, var(--color-purple) 0 50%, transparent 50% 100%);
}

.button,
.entry-content .wp-block-button__link,
.entry-content input[type="submit"],
.entry-content button[type="submit"] {
	min-height: 46px;
	max-width: 100%;
	border-radius: 8px;
	box-shadow: none;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
	overflow-wrap: anywhere;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.entry-content .wp-block-button__link:hover,
.entry-content input[type="submit"]:hover,
.entry-content button[type="submit"]:hover {
	transform: translateY(-1px);
}

.button--primary,
.entry-content .wp-block-button__link,
.entry-content input[type="submit"],
.entry-content button[type="submit"] {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
		linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
	box-shadow: 0 14px 28px rgba(11, 124, 114, 0.22);
}

.button--secondary {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(216, 227, 223, 0.95);
}

.section {
	padding: clamp(44px, 7vw, 84px) 0;
}

.section--muted,
.hero {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(242, 246, 244, 0.98)),
		var(--color-surface);
}

.hero__grid {
	gap: clamp(24px, 5vw, 56px);
}

.hero__lede {
	color: #41524f;
}

.hero.section .eyebrow::after,
.ag-landing-hero .eyebrow::after {
	content: "";
	display: block;
	width: 72px;
	height: 4px;
	margin-top: 12px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--color-purple), rgba(184, 135, 50, 0.72));
}

.hero-panel,
.card,
.sidebar-card,
.entry-card,
.cta,
.rating-badge,
.proof-pill,
.testimonial-card,
.review-empty,
.outcome-card,
.audience-pill,
.entry-content .agis-inline-cta,
.entry-content .agis-service-examples {
	border-color: rgba(216, 227, 223, 0.92);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--shadow-soft);
}

.card,
.sidebar-card,
.entry-card,
.hero-panel,
.ag-landing-card,
.cta,
.outcome-card,
.entry-content .agis-inline-cta,
.entry-content .agis-service-examples {
	position: relative;
	overflow: hidden;
}

.card::before,
.sidebar-card::before,
.entry-card::before,
.hero-panel::before,
.ag-landing-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--color-purple), rgba(184, 135, 50, 0.72));
	opacity: 0.86;
	transition: opacity 160ms ease;
}

.cta::after,
.outcome-card::after,
.entry-content .agis-inline-cta::after,
.entry-content .agis-service-examples::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--color-purple), rgba(184, 135, 50, 0.72));
	opacity: 0.86;
}

.card:hover::before,
.sidebar-card:hover::before,
.entry-card:hover::before,
.hero-panel:hover::before,
.cta:hover::after,
.outcome-card:hover::after,
.entry-content .agis-inline-cta:hover::after,
.entry-content .agis-service-examples:hover::after {
	opacity: 1;
}

.card:hover,
.service-hub-card:hover,
.testimonial-card:hover,
.outcome-card:hover {
	box-shadow: var(--shadow-lift);
	transform: translateY(-2px);
}

.card,
.service-hub-card,
.testimonial-card,
.outcome-card {
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.entry-content h2,
.section-heading h2 {
	letter-spacing: 0;
}

.entry-content p,
.entry-content li,
.card p,
.sidebar-card p,
.cta p,
.section-heading p {
	color: #52615e;
}

.cta {
	background:
		linear-gradient(135deg, rgba(227, 244, 240, 0.92), rgba(255, 255, 255, 0.94)),
		var(--color-purple-light);
}

.site-footer {
	background:
		linear-gradient(180deg, #0b1f24 0%, #071619 100%);
}

.site-footer__grid {
	padding-top: clamp(44px, 7vw, 72px);
}

.ag-home-hero {
	min-height: min(820px, calc(100vh - 72px));
}

.ag-home-hero__overlay {
	background:
		linear-gradient(90deg, rgba(251, 252, 251, 0.98) 0%, rgba(251, 252, 251, 0.92) 34%, rgba(251, 252, 251, 0.45) 66%, rgba(251, 252, 251, 0.2) 100%),
		linear-gradient(0deg, rgba(11, 31, 36, 0.18), rgba(11, 31, 36, 0));
}

.ag-home-hero h1 {
	text-wrap: balance;
}

.ag-home-proof div,
.ag-home-service-picker,
.ag-home-card-grid article,
.ag-home-panel,
.ag-home-list div {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(216, 227, 223, 0.9);
	box-shadow: 0 16px 34px rgba(11, 31, 36, 0.08);
}

.ag-home-booking,
.ag-home-final {
	background:
		linear-gradient(135deg, rgba(11, 124, 114, 0.18), rgba(184, 135, 50, 0.08)),
		linear-gradient(180deg, #0b1f24, #0d2528);
}

.ag-home-projects {
	background:
		linear-gradient(135deg, rgba(11, 124, 114, 0.14), rgba(184, 135, 50, 0.08)),
		var(--color-ink);
}

.ag-home-project-grid a {
	min-height: 280px;
}

.ag-home-project-grid a::before {
	background:
		linear-gradient(180deg, rgba(11, 31, 36, 0.04), rgba(11, 31, 36, 0.9)),
		linear-gradient(90deg, rgba(11, 31, 36, 0.66), rgba(11, 31, 36, 0.18));
}

.ag-home-pill-row span,
.audience-pill,
.review-filters a {
	background: rgba(255, 255, 255, 0.88);
}

@media (max-width: 860px) {
	.site-header {
		position: sticky;
	}

	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 10px 0;
	}

	.site-brand {
		grid-column: 1;
		grid-row: 1;
	}

	.site-header__phone {
		display: none;
	}

	.primary-nav__toggle {
		display: inline-flex !important;
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		min-width: 96px;
		width: auto;
		background: rgba(255, 255, 255, 0.9);
	}

	.theme-toggle {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: start;
		min-height: 36px;
		width: auto;
		padding: 0 10px;
		font-size: 0.82rem;
	}

	.primary-nav.is-open .primary-nav__list {
		grid-column: 1 / -1;
		border: 1px solid var(--color-border);
		border-radius: var(--radius);
		background: rgba(255, 255, 255, 0.96);
		padding: 8px;
		box-shadow: var(--shadow-soft);
	}

	.primary-nav__list > li > a {
		min-height: 46px;
	}

	.hero__grid,
	.split,
	.content-layout,
	.ag-home-booking__grid,
	.ag-home-ops__grid,
	.ag-home-split {
		gap: 22px;
	}

	.entry-card,
	.hero-panel,
	.sidebar-card,
	.card,
	.cta {
		padding: 22px;
	}

	.ag-home-project-grid a {
		min-height: 250px;
	}
}

@media (max-width: 700px) {
	.ag-home-hero {
		min-height: 660px;
		align-items: end;
		overflow: hidden;
	}

	.ag-home-hero__overlay {
		background:
			linear-gradient(180deg, rgba(251, 252, 251, 0.18) 0%, rgba(251, 252, 251, 0.66) 36%, rgba(251, 252, 251, 0.98) 72%, rgba(251, 252, 251, 1) 100%),
			linear-gradient(90deg, rgba(251, 252, 251, 0.96) 0%, rgba(251, 252, 251, 0.72) 52%, rgba(251, 252, 251, 0.28) 100%);
	}

	.ag-home-hero__content {
		max-width: 100%;
		overflow: hidden;
		padding-top: 190px;
		padding-bottom: 30px;
	}

	.ag-home-hero h1 {
		max-width: 10.5ch;
		font-size: clamp(2.05rem, 10vw, 2.9rem);
		line-height: 1;
	}

	.ag-home-hero .eyebrow,
	.ag-home-hero__lede,
	.ag-home-hero .button {
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	.ag-home-hero__lede {
		font-size: 1rem;
	}

	.ag-home-proof div {
		padding: 14px;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 15.5px;
	}

	.container {
		width: min(100% - 28px, var(--container));
	}

	.section {
		padding: 42px 0;
	}

	.button-row {
		gap: 10px;
		min-width: 0;
	}

	.button,
	.entry-content .wp-block-button__link,
	.entry-content input[type="submit"],
	.entry-content button[type="submit"] {
		min-height: 48px;
	}

	.theme-toggle {
		width: auto;
	}

	.site-brand__text strong {
		font-size: 0.95rem;
	}

	.entry-card,
	.hero-panel,
	.sidebar-card,
	.card,
	.cta {
		padding: 20px;
	}
}

/* Dark mode contrast pass. Keep the A&G brand, but make the mode genuinely dark. */
html[data-theme="dark"] {
	color-scheme: dark;
	--color-bg: #071416;
	--color-surface: #0d2024;
	--color-text: #edf7f5;
	--color-muted: #b7c8c4;
	--color-border: rgba(143, 177, 169, 0.28);
	--color-purple: #5ee0cf;
	--color-purple-dark: #24a99b;
	--color-purple-light: rgba(94, 224, 207, 0.14);
	--color-ink: #f3fbfa;
	--color-amber: #f4c873;
	--shadow-soft: 0 16px 38px rgba(0, 0, 0, 0.34);
	--shadow-lift: 0 24px 62px rgba(0, 0, 0, 0.48);
}

html[data-theme="dark"] body {
	background:
		radial-gradient(circle at 20% 0%, rgba(94, 224, 207, 0.09), transparent 32rem),
		linear-gradient(180deg, #071416 0, #091719 100%);
	color: var(--color-text);
}

html[data-theme="dark"] .site-header {
	background: rgba(7, 20, 22, 0.88);
	border-bottom-color: rgba(143, 177, 169, 0.22);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .site-brand__text strong,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4 {
	color: var(--color-text);
}

html[data-theme="dark"] .site-brand__text small,
html[data-theme="dark"] .primary-nav__list a,
html[data-theme="dark"] .footer-links a,
html[data-theme="dark"] .site-header__phone span {
	color: var(--color-muted);
}

html[data-theme="dark"] .site-header__phone,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .primary-nav__toggle {
	background: rgba(13, 32, 36, 0.82);
	border-color: rgba(143, 177, 169, 0.28);
	color: var(--color-text);
}

html[data-theme="dark"] .site-header__phone strong,
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .text-link,
html[data-theme="dark"] .entry-content a {
	color: var(--color-purple);
}

html[data-theme="dark"] .primary-nav__list > li > a:hover,
html[data-theme="dark"] .primary-nav__list > li:focus-within > a,
html[data-theme="dark"] .primary-nav__list .sub-menu a:hover,
html[data-theme="dark"] .primary-nav__list .sub-menu a:focus {
	background: rgba(94, 224, 207, 0.13);
	border-color: rgba(94, 224, 207, 0.22);
	color: var(--color-text);
}

html[data-theme="dark"] .primary-nav__list .sub-menu,
html[data-theme="dark"] .primary-nav.is-open .primary-nav__list {
	background: rgba(9, 23, 25, 0.98);
	border-color: rgba(143, 177, 169, 0.28);
}

html[data-theme="dark"] .button--primary,
html[data-theme="dark"] .entry-content .wp-block-button__link,
html[data-theme="dark"] .entry-content input[type="submit"],
html[data-theme="dark"] .entry-content button[type="submit"] {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
		linear-gradient(135deg, #1bbcab, #0f766e);
	color: #041111;
	box-shadow: 0 14px 30px rgba(27, 188, 171, 0.18);
}

html[data-theme="dark"] .button--primary:hover,
html[data-theme="dark"] .entry-content .wp-block-button__link:hover,
html[data-theme="dark"] .entry-content input[type="submit"]:hover,
html[data-theme="dark"] .entry-content button[type="submit"]:hover {
	background: #5ee0cf;
	color: #041111;
}

html[data-theme="dark"] .button--secondary,
html[data-theme="dark"] .ag-home-hero .button--secondary,
html[data-theme="dark"] .ag-home-booking .button--secondary,
html[data-theme="dark"] .ag-home-final .button--secondary {
	background: rgba(13, 32, 36, 0.88);
	border-color: rgba(143, 177, 169, 0.34);
	color: var(--color-text);
}

html[data-theme="dark"] .section--muted,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .ag-home-ops {
	background:
		linear-gradient(180deg, rgba(13, 32, 36, 0.92), rgba(7, 20, 22, 0.98)),
		var(--color-surface);
}

html[data-theme="dark"] .hero__lede,
html[data-theme="dark"] .entry-content p,
html[data-theme="dark"] .entry-content li,
html[data-theme="dark"] .card p,
html[data-theme="dark"] .sidebar-card p,
html[data-theme="dark"] .cta p,
html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .hero-panel p,
html[data-theme="dark"] .mini-list,
html[data-theme="dark"] .rating-badge span,
html[data-theme="dark"] .testimonial-card__author,
html[data-theme="dark"] .review-empty,
html[data-theme="dark"] .faq details p {
	color: var(--color-muted);
}

html[data-theme="dark"] .entry-content h1,
html[data-theme="dark"] .entry-content h2,
html[data-theme="dark"] .entry-content h3,
html[data-theme="dark"] .entry-content h4,
html[data-theme="dark"] .entry-card h1,
html[data-theme="dark"] .entry-card h2,
html[data-theme="dark"] .entry-card h3,
html[data-theme="dark"] .entry-card h4,
html[data-theme="dark"] body.page-id-40 .entry-content h1,
html[data-theme="dark"] body.page-id-40 .entry-content h2,
html[data-theme="dark"] body.page-id-1119 .entry-content h1,
html[data-theme="dark"] body.page-id-1119 .entry-content h2 {
	color: var(--color-text) !important;
}

html[data-theme="dark"] .entry-content p,
html[data-theme="dark"] .entry-content li,
html[data-theme="dark"] body.page-id-40 .entry-content p,
html[data-theme="dark"] body.page-id-40 .entry-content li,
html[data-theme="dark"] body.page-id-1119 .entry-content p,
html[data-theme="dark"] body.page-id-1119 .entry-content li {
	color: var(--color-muted) !important;
}

html[data-theme="dark"] .hero-panel,
html[data-theme="dark"] .card,
html[data-theme="dark"] .sidebar-card,
html[data-theme="dark"] .entry-card,
html[data-theme="dark"] .cta,
html[data-theme="dark"] .rating-badge,
html[data-theme="dark"] .proof-pill,
html[data-theme="dark"] .testimonial-card,
html[data-theme="dark"] .review-empty,
html[data-theme="dark"] .outcome-card,
html[data-theme="dark"] .audience-pill,
html[data-theme="dark"] .ag-design-panels__intro,
html[data-theme="dark"] .ag-design-panel,
html[data-theme="dark"] .entry-content .agis-inline-cta,
html[data-theme="dark"] .entry-content .agis-service-examples,
html[data-theme="dark"] .ag-home-pill-row span,
html[data-theme="dark"] .ag-landing-checks div {
	background: rgba(13, 32, 36, 0.9);
	border-color: rgba(143, 177, 169, 0.28);
	color: var(--color-text);
}

html[data-theme="dark"] .testimonial-card {
	background:
		linear-gradient(180deg, rgba(13, 32, 36, 0.96), rgba(9, 23, 25, 0.98)),
		linear-gradient(135deg, rgba(94, 224, 207, 0.12), rgba(244, 200, 115, 0.08));
}

html[data-theme="dark"] .testimonial-card blockquote,
html[data-theme="dark"] .proof-pill,
html[data-theme="dark"] .audience-pill,
html[data-theme="dark"] .ag-home-pill-row span {
	color: var(--color-text);
}

html[data-theme="dark"] .ag-home-hero__overlay {
	background:
		linear-gradient(90deg, rgba(7, 20, 22, 0.96) 0%, rgba(7, 20, 22, 0.88) 38%, rgba(7, 20, 22, 0.48) 70%, rgba(7, 20, 22, 0.2) 100%),
		linear-gradient(0deg, rgba(7, 20, 22, 0.58), rgba(7, 20, 22, 0.08));
}

html[data-theme="dark"] .ag-home-hero h1,
html[data-theme="dark"] .ag-home-hero__lede {
	color: var(--color-text);
}

html[data-theme="dark"] .ag-home-proof div,
html[data-theme="dark"] .ag-home-service-picker,
html[data-theme="dark"] .ag-home-card-grid article,
html[data-theme="dark"] .ag-home-panel,
html[data-theme="dark"] .ag-home-list div {
	background: rgba(13, 32, 36, 0.82);
	border-color: rgba(143, 177, 169, 0.28);
	color: var(--color-text);
}

html[data-theme="dark"] .ag-home-proof span,
html[data-theme="dark"] .ag-home-card-grid p,
html[data-theme="dark"] .ag-home-list span,
html[data-theme="dark"] .ag-home-ops p {
	color: var(--color-muted);
}

html[data-theme="dark"] .ag-home-booking,
html[data-theme="dark"] .ag-home-final,
html[data-theme="dark"] .ag-home-projects,
html[data-theme="dark"] .site-footer {
	background:
		linear-gradient(135deg, rgba(94, 224, 207, 0.1), rgba(244, 200, 115, 0.05)),
		linear-gradient(180deg, #071416, #050e10);
}

html[data-theme="dark"] .entry-content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] .entry-content select,
html[data-theme="dark"] .entry-content textarea {
	background: rgba(7, 20, 22, 0.84);
	border-color: rgba(143, 177, 169, 0.32);
	color: var(--color-text);
}

html[data-theme="dark"] body.page-id-40 .site-main,
html[data-theme="dark"] body.page-id-1119 .site-main,
html[data-theme="dark"] body.page-id-40 .entry-content > section,
html[data-theme="dark"] body.page-id-1119 .entry-content > section,
html[data-theme="dark"] body.page-id-40 .entry-content > section > div,
html[data-theme="dark"] body.page-id-1119 .entry-content > section > div {
	background: var(--color-surface) !important;
	border-color: rgba(143, 177, 169, 0.28) !important;
	color: var(--color-text) !important;
}

/* Book Online: give Amelia room and remove the old test-page feel. */
body.page-id-40 .hero.section,
body.page-id-1119 .hero.section {
	padding: var(--ag-space-section) 0;
}

body.page-id-40 .hero h1,
body.page-id-1119 .hero h1 {
	max-width: 680px;
	font-size: clamp(2.4rem, 5vw, 4.4rem);
}

body.page-id-40 .content-layout,
body.page-id-1119 .content-layout {
	display: block;
}

body.page-id-40 .entry-card,
body.page-id-1119 .entry-card {
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(16px, 2vw, 24px);
}

.ag-booking-page {
	display: grid;
	gap: 18px;
}

.ag-booking-concierge {
	gap: clamp(18px, 3vw, 26px);
}

.ag-booking-concierge-top {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: 16px;
	align-items: stretch;
}

body.page-id-40 .entry-content > .ag-booking-page,
body.page-id-1119 .entry-content > .ag-booking-page {
	margin-top: 0 !important;
	border: 0;
	background: transparent;
	padding: 0;
	box-shadow: none;
}

body.page-id-40 .entry-content > .ag-booking-page > div,
body.page-id-1119 .entry-content > .ag-booking-page > div {
	border-left: 0 !important;
	box-shadow: none;
}

.ag-booking-intro {
	max-width: 780px;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

.ag-booking-intro h2 {
	margin-top: 0;
	font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.ag-booking-calendar {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.94);
	padding: clamp(10px, 1.5vw, 16px);
	box-shadow: var(--shadow-soft);
}

.ag-booking-calendar-shell {
	position: relative;
	overflow: visible;
	border: 1px solid rgba(216, 227, 223, 0.92);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 249, 0.96)),
		#fff;
	padding: clamp(16px, 2vw, 24px);
	box-shadow: var(--shadow-soft);
}

.ag-booking-calendar-shell::before,
.ag-booking-assistant-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--color-purple), rgba(184, 135, 50, 0.72));
	opacity: 0.9;
}

.ag-booking-calendar-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: start;
	margin-bottom: 16px;
}

.ag-booking-calendar-head h2 {
	margin-top: 0;
	font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.ag-booking-calendar-head p:not(.eyebrow) {
	max-width: 760px;
	color: var(--color-muted);
}

.ag-booking-calendar-badge {
	border: 1px solid rgba(15, 118, 110, 0.24);
	border-radius: 999px;
	background: rgba(227, 244, 240, 0.82);
	padding: 10px 14px;
	color: var(--color-purple-dark);
	font-size: 0.82rem;
	font-weight: 900;
	line-height: 1.25;
	text-align: center;
	white-space: nowrap;
}

.ag-booking-notes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

.ag-booking-note {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-surface);
	padding: 16px;
}

.ag-booking-note h3 {
	margin-bottom: 8px;
	font-size: 1.05rem;
}

.ag-booking-note p {
	margin: 0;
}

.ag-booking-hero-copy,
.ag-booking-assistant-card,
.ag-booking-support,
.ag-booking-faq {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.94);
	padding: clamp(16px, 2vw, 22px);
	box-shadow: var(--shadow-soft);
}

.ag-booking-hero-copy {
	display: grid;
	gap: 16px;
	background:
		linear-gradient(135deg, rgba(227, 244, 240, 0.88), rgba(255, 255, 255, 0.96)),
	#fff;
}

.ag-booking-assistant-card {
	display: grid;
	align-content: center;
	gap: 10px;
}

.ag-booking-assistant-card h3 {
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.ag-booking-assistant-card ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding-left: 1.1rem;
	color: var(--color-muted);
}

.ag-booking-hero-copy h2,
.ag-booking-support h2,
.ag-booking-faq h2 {
	margin-top: 0;
}

.ag-booking-pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ag-booking-pill-row span {
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	padding: 8px 11px;
	color: var(--color-text);
	font-size: 0.9rem;
	font-weight: 800;
}

.ag-booking-choice-grid,
.ag-booking-expect-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.ag-booking-choice,
.ag-booking-expect {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
	padding: 16px;
}

.ag-booking-choice h3,
.ag-booking-expect h3 {
	margin-bottom: 6px;
	font-size: 1.03rem;
}

.ag-booking-choice p,
.ag-booking-expect p,
.ag-booking-support p {
	margin-bottom: 0;
}

.ag-booking-support {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	background: var(--color-ink);
	color: #fff;
}

.ag-booking-support p {
	color: rgba(255, 255, 255, 0.82);
}

.ag-booking-support .button {
	white-space: nowrap;
}

.ag-booking-faq details {
	border-top: 1px solid var(--color-border);
	padding: 13px 0;
}

.ag-booking-faq details:first-of-type {
	border-top: 0;
}

.ag-booking-faq summary {
	cursor: pointer;
	color: var(--color-text);
	font-weight: 800;
}

.ag-booking-faq details p {
	margin: 8px 0 0;
}

body.page-id-40 .amelia-v2-booking,
body.page-id-1119 .amelia-v2-booking {
	padding: 0;
	overflow: visible;
}

body.page-id-40 .amelia-v2-booking .am-fs__wrapper,
body.page-id-1119 .amelia-v2-booking .am-fs__wrapper {
	max-width: 100%;
	border-radius: var(--radius);
	overflow: hidden;
}

body.page-id-40 .el-popper,
body.page-id-1119 .el-popper {
	z-index: 9999 !important;
}

html[data-theme="dark"] .ag-booking-calendar,
html[data-theme="dark"] .ag-booking-calendar-shell,
html[data-theme="dark"] .ag-booking-assistant-card,
html[data-theme="dark"] .ag-booking-note {
	background: rgba(13, 32, 36, 0.9);
	border-color: rgba(143, 177, 169, 0.28);
}

html[data-theme="dark"] .ag-booking-calendar-badge {
	background: rgba(94, 224, 207, 0.12);
	border-color: rgba(94, 224, 207, 0.3);
	color: var(--color-purple);
}

@media (max-width: 720px) {
	body.page-id-40 .hero.section,
	body.page-id-1119 .hero.section {
		padding: var(--ag-space-section-mobile) 0;
	}

	body.page-id-40 .hero h1,
	body.page-id-1119 .hero h1 {
		font-size: clamp(2rem, 9vw, 3rem);
	}

	body.page-id-40 .entry-card,
	body.page-id-1119 .entry-card {
		padding: 14px;
	}

	.ag-booking-calendar {
		margin-inline: -2px;
		padding: 8px;
	}

	.ag-booking-concierge-top,
	.ag-booking-calendar-head {
		grid-template-columns: 1fr;
	}

	.ag-booking-calendar-badge {
		justify-self: start;
		border-radius: 8px;
		text-align: left;
		white-space: normal;
	}

	.ag-booking-notes {
		grid-template-columns: 1fr;
	}

	body.page-id-40 .amelia-v2-booking,
	body.page-id-1119 .amelia-v2-booking {
		min-width: 0;
	}
}

@media (max-width: 700px) {
	html[data-theme="dark"] .ag-home-hero__overlay {
		background:
			linear-gradient(180deg, rgba(7, 20, 22, 0.1) 0%, rgba(7, 20, 22, 0.58) 34%, rgba(7, 20, 22, 0.96) 72%, rgba(7, 20, 22, 1) 100%),
			linear-gradient(90deg, rgba(7, 20, 22, 0.96) 0%, rgba(7, 20, 22, 0.74) 55%, rgba(7, 20, 22, 0.36) 100%);
	}
}

/* Final contrast and booking reset: keep the page clean and let Amelia be the only framed calendar surface. */
.entry-content p,
.entry-content li,
.entry-content figcaption,
.section-heading p,
.hero p {
	color: var(--color-muted);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.section-heading h2,
.hero h1 {
	color: var(--color-ink);
}

.entry-content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.entry-content select,
.entry-content textarea {
	background: #ffffff;
	color: var(--color-text);
}

.ag-home-booking p,
.ag-home-final p {
	color: rgba(255, 255, 255, 0.86);
}

.ag-home-service-picker span,
.ag-home-project-grid em {
	color: rgba(255, 255, 255, 0.84);
}

body.page-id-40 .entry-card {
	max-width: 1120px;
	border: 0;
	background: transparent;
	padding: clamp(8px, 2vw, 18px);
	box-shadow: none;
	overflow: visible;
	position: relative;
	z-index: 2;
}

body.page-id-40 .entry-content {
	max-width: none;
	overflow: visible;
}

body.page-id-40 .entry-content > .ag-booking-page,
body.page-id-40 .entry-content > .ag-booking-page:first-child,
body.page-id-40 .entry-content > .ag-booking-page > div {
	margin-top: 0 !important;
}

body.page-id-40 .entry-content > .ag-booking-page,
body.page-id-40 .entry-content > .ag-booking-page:first-child {
	border: 0 !important;
	border-left: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
}

body.page-id-40 .entry-content > .ag-booking-page > div:not(.ag-booking-calendar-shell):not(.ag-booking-hero-copy):not(.ag-booking-assistant-card):not(.ag-booking-support):not(.ag-booking-faq) {
	border: 0 !important;
	border-left: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
}

body.page-id-40 .ag-booking-page {
	gap: 18px;
}

body.page-id-40 .ag-booking-calendar {
	overflow: visible;
	position: relative;
	z-index: 3;
}

body.page-id-40 .amelia-v2-booking {
	border-radius: var(--radius);
	padding: 0;
	overflow: visible;
	position: relative;
	z-index: 5;
}

body.page-id-40 .amelia-v2-booking .am-fs__wrapper {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	border-radius: var(--radius);
	overflow: visible !important;
}

body.page-id-40 .amelia-v2-booking .am-fs__main,
body.page-id-40 .amelia-v2-booking .am-fs__main-content {
	min-width: 0;
	overflow: visible !important;
}

body.page-id-40 .el-popper,
body.page-id-40 .el-select-dropdown,
body.page-id-40 .am-dropdown,
body.page-id-40 .am-select-popper,
body.page-id-40 [class*="el-popper"],
body.page-id-40 [class*="dropdown"] {
	z-index: 999999 !important;
}

html[data-theme="dark"] .entry-content p,
html[data-theme="dark"] .entry-content li,
html[data-theme="dark"] .entry-content figcaption,
html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .hero p {
	color: var(--color-muted);
}

html[data-theme="dark"] .entry-content h1,
html[data-theme="dark"] .entry-content h2,
html[data-theme="dark"] .entry-content h3,
html[data-theme="dark"] .entry-content h4,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .hero h1 {
	color: var(--color-text);
}

html[data-theme="dark"] body.page-id-40 .entry-card,
html[data-theme="dark"] body.page-id-40 .entry-content > .ag-booking-page,
html[data-theme="dark"] body.page-id-40 .entry-content > .ag-booking-page > div:not(.ag-booking-calendar-shell):not(.ag-booking-hero-copy):not(.ag-booking-assistant-card):not(.ag-booking-support):not(.ag-booking-faq) {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

html[data-theme="dark"] .ag-booking-hero-copy,
html[data-theme="dark"] .ag-booking-assistant-card,
html[data-theme="dark"] .ag-booking-calendar-shell,
html[data-theme="dark"] .ag-booking-faq,
html[data-theme="dark"] .ag-booking-choice,
html[data-theme="dark"] .ag-booking-expect {
	background: rgba(13, 32, 36, 0.9);
	border-color: rgba(143, 177, 169, 0.28);
}

html[data-theme="dark"] .ag-booking-pill-row span {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(143, 177, 169, 0.28);
	color: var(--color-text);
}

html[data-theme="dark"] .ag-booking-faq summary {
	color: var(--color-text);
}

@media (max-width: 720px) {
	body.page-id-40 .entry-card {
		padding: 0;
	}

	body.page-id-40 .amelia-v2-booking {
		border-radius: 8px;
	}

	.ag-booking-calendar-shell {
		padding: 12px;
	}

	.ag-booking-choice-grid,
	.ag-booking-expect-grid,
	.ag-booking-support {
		grid-template-columns: 1fr;
	}

	.ag-booking-support .button {
		justify-self: start;
		white-space: normal;
	}
}

/* Homepage light-mode contrast repair for the service picker and dashboard cards. */
html:not([data-theme="dark"]) .ag-home-booking .eyebrow {
	color: #8ee7d5;
}

html:not([data-theme="dark"]) .ag-home-service-picker {
	background: rgba(6, 26, 30, 0.72);
	border-color: rgba(255, 255, 255, 0.2);
}

html:not([data-theme="dark"]) .ag-home-service-picker a {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

html:not([data-theme="dark"]) .ag-home-service-picker a:hover,
html:not([data-theme="dark"]) .ag-home-service-picker a:focus-visible {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(142, 231, 213, 0.52);
}

html:not([data-theme="dark"]) .ag-home-service-picker strong {
	color: #ffffff;
}

html:not([data-theme="dark"]) .ag-home-service-picker span {
	color: rgba(255, 255, 255, 0.9);
}

html:not([data-theme="dark"]) .ag-home-dashboard {
	background: #092529;
}

html:not([data-theme="dark"]) .ag-home-dashboard__top,
html:not([data-theme="dark"]) .ag-home-metric {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

html:not([data-theme="dark"]) .ag-home-dashboard__top span,
html:not([data-theme="dark"]) .ag-home-metric span {
	color: rgba(255, 255, 255, 0.86);
}

html:not([data-theme="dark"]) .ag-home-dashboard__top strong,
html:not([data-theme="dark"]) .ag-home-metric strong {
	color: #8ee7d5;
}

/* Project Proof sits on a dark band, so keep its text light even in light mode. */
.ag-home-projects .section-heading,
.ag-home-projects .section-heading h2 {
	color: #ffffff;
}

.ag-home-projects .section-heading .eyebrow {
	color: #8ee7d5;
}

.ag-home-project-grid a,
.ag-home-project-grid strong {
	color: #ffffff;
}

.ag-home-project-grid em {
	color: rgba(255, 255, 255, 0.88);
}

/* Sitewide compact rhythm: keep the design polished, but reduce excess vertical spacing. */
:root {
	--ag-space-section: clamp(32px, 4vw, 56px);
	--ag-space-section-mobile: 28px;
	--ag-space-card: clamp(16px, 2vw, 20px);
	--ag-space-gap: clamp(14px, 2vw, 22px);
}

.section {
	padding: var(--ag-space-section) 0;
}

.section-heading {
	margin-bottom: clamp(18px, 2.5vw, 24px);
}

.section-heading p {
	margin-bottom: 0;
}

.hero__grid,
.split,
.content-layout,
.ag-home-booking__grid,
.ag-home-ops__grid,
.ag-home-split,
.ag-landing-hero__grid,
.ag-landing-proof-grid {
	gap: var(--ag-space-gap);
}

.hero-panel,
.card,
.sidebar-card,
.entry-card,
.cta,
.testimonial-card,
.rating-badge,
.outcome-card,
.ag-home-card-grid article,
.ag-home-panel,
.ag-home-list div,
.ag-landing-card,
.ag-landing-checks div,
.entry-content .agis-inline-cta,
.entry-content .agis-service-examples {
	padding: var(--ag-space-card);
}

.card-grid,
.outcome-grid,
.testimonial-carousel,
.ag-home-card-grid,
.ag-home-project-grid,
.ag-home-list,
.proof-grid,
.rating-badges,
.ag-landing-checks,
.ag-landing-photo-grid {
	gap: 12px;
}

.entry-content .agis-inline-cta,
.entry-content .agis-service-examples,
.entry-content img,
.entry-content figure,
.wp-block-image {
	margin: 20px 0;
}

.entry-content .agis-inline-cta {
	margin-top: 20px;
}

.entry-content h2 {
	margin-top: 1.55rem;
}

.entry-content h3 {
	margin-top: 1.15rem;
}

.entry-content .wp-block-buttons,
.entry-content .wp-block-button {
	margin: 16px 0;
}

.faq details {
	padding: 14px 0;
}

.social-proof__header,
.review-actions {
	gap: 14px;
	margin-bottom: 18px;
}

.proof-grid {
	margin: 16px 0 18px;
}

.site-footer__grid {
	gap: 22px;
	padding: 38px 0 20px;
}

.site-footer__summary {
	margin-top: 12px;
}

.site-footer__bottom {
	padding: 16px 0 22px;
}

.ag-home-hero__content {
	padding-top: clamp(54px, 8vw, 108px);
	padding-bottom: clamp(54px, 9vw, 116px);
}

.ag-home-hero h1 {
	margin-bottom: 16px;
}

.ag-home-proof {
	margin-top: 22px;
}

.ag-home-project-grid a {
	min-height: 248px;
	padding: 20px;
}

.ag-landing-hero__grid {
	padding-top: clamp(48px, 6vw, 88px);
	padding-bottom: clamp(44px, 6vw, 84px);
}

.ag-landing-trust {
	margin-top: 20px;
}

@media (max-width: 860px) {
	.section {
		padding: var(--ag-space-section-mobile) 0;
	}

	.section-heading {
		margin-bottom: 18px;
	}

	.entry-card,
	.hero-panel,
	.sidebar-card,
	.card,
	.cta {
		padding: 16px;
	}

	.site-footer__grid {
		padding-top: 30px;
	}
}

@media (max-width: 700px) {
	.ag-home-hero__content {
		padding-top: 200px;
		padding-bottom: 24px;
	}

	.ag-home-proof div {
		padding: 12px;
	}

	.ag-home-project-grid a {
		min-height: 218px;
	}
}

/* Book Online clean rebuild: keep Amelia as the main surface and stop old wrappers from competing with the plugin UI. */
body.page-id-40 .content-layout,
body.page-id-40 .page-content-layout {
	display: block;
}

body.page-id-40 .entry-card {
	max-width: 1180px;
	margin-inline: auto;
	border: 0;
	background: transparent;
	padding: 0;
	box-shadow: none;
	overflow: visible;
	position: relative;
	z-index: 2;
}

body.page-id-40 .entry-content {
	max-width: none;
	overflow: visible;
}

body.page-id-40 .ag-amelia-clean {
	display: grid;
	gap: clamp(18px, 3vw, 28px);
}

body.page-id-40 .ag-amelia-clean__intro,
body.page-id-40 .ag-amelia-clean__help {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-surface);
	padding: clamp(18px, 3vw, 30px);
	box-shadow: var(--shadow-soft);
}

body.page-id-40 .ag-amelia-clean__intro {
	max-width: 920px;
}

body.page-id-40 .ag-amelia-clean__intro h2,
body.page-id-40 .ag-amelia-clean__help h2 {
	margin-top: 0;
}

body.page-id-40 .ag-amelia-clean__intro ul {
	display: grid;
	gap: 8px;
	margin-bottom: 0;
}

body.page-id-40 .ag-amelia-native {
	overflow: visible;
	position: relative;
	z-index: 5;
}

body.page-id-40 .ag-amelia-native > * {
	max-width: 100%;
}

body.page-id-40 .amelia-v2-booking {
	width: 100%;
	max-width: 100%;
	padding: 0;
	overflow: visible;
	position: relative;
	z-index: 5;
}

body.page-id-40 .amelia-v2-booking .am-fs__wrapper,
body.page-id-40 .amelia-v2-booking .am-fc__wrapper,
body.page-id-40 .amelia-v2-booking .am-cat__wrapper {
	width: 100% !important;
	max-width: 100% !important;
	margin-inline: auto !important;
}

body.page-id-40 .el-popper,
body.page-id-40 .el-select-dropdown,
body.page-id-40 .el-picker__popper,
body.page-id-40 .am-select-popper,
body.page-id-40 [class*="el-popper"] {
	z-index: 999999 !important;
}

body.page-id-40 .ag-amelia-clean__help {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
}

body.page-id-40 .ag-amelia-clean__help p {
	margin-bottom: 0;
}

html[data-theme="dark"] body.page-id-40 .ag-amelia-clean__intro,
html[data-theme="dark"] body.page-id-40 .ag-amelia-clean__help {
	background: rgba(13, 32, 36, 0.9);
	border-color: rgba(143, 177, 169, 0.28);
}

@media (max-width: 720px) {
	body.page-id-40 .entry-card {
		padding: 0;
	}

	body.page-id-40 .ag-amelia-clean__help {
		grid-template-columns: 1fr;
	}

	body.page-id-40 .ag-amelia-clean__help .button-row,
	body.page-id-40 .ag-amelia-clean__help .button {
		width: 100%;
	}
}

body.page-id-40 .hero.section {
	padding: clamp(42px, 5vw, 76px) 0;
}

body.page-id-40 .hero__grid {
	grid-template-columns: minmax(0, 860px);
}

body.page-id-40 .hero-panel {
	display: none;
}

body.page-id-40 .hero h1 {
	max-width: 820px;
	font-size: clamp(2.4rem, 5vw, 4.25rem);
}

body.page-id-40 .hero__lede {
	max-width: 760px;
}

/* (Amelia booking width/alignment overrides removed 2026-07-19 — letting
   Amelia Catalog customization own the layout) */

/* ------------------------------------------------------------------
   Amelia booking widget — GLOBAL brand theming 2026-07-19.
   The step-by-step booking modal renders in a portal at <body> end,
   OUTSIDE .amelia-v2-booking, so container-scoped variables never
   reached it (it showed Amelia's default blue). Setting the Amelia
   CSS variables at :root so the modal/popup inherits the teal brand.
   These --am-* names are Amelia-specific; they affect nothing else.
   ------------------------------------------------------------------ */
:root {
	--am-c-primary: #0f766e;
	--am-c-primary-op05: rgba(15, 118, 110, 0.05);
	--am-c-primary-op10: rgba(15, 118, 110, 0.10);
	--am-c-primary-op80: rgba(15, 118, 110, 0.80);
	--am-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--am-rad-btn: 8px;
	--am-rad-input: 8px;
	--am-rad-inp: 8px;
	--am-rad-select: 8px;
	--am-rad-timeselect: 8px;
	--am-rad-pagination: 8px;
}

/* Recolor the step-booking modal's dark sidebar from default navy to
   the brand ink/teal, and make primary buttons teal in the portal. */
.amelia-app-booking .am-fs__sidebar,
.am-dialog .am-fs__sidebar,
.amelia-app-booking .am-booking-steps {
	background: #0d1d22 !important;
}

.amelia-app-booking .am-button--primary,
.am-dialog .am-button--primary,
.amelia-app-booking .am-fs__footer button:not(.am-button--text),
.amelia-app-booking .am-selected-slot {
	background-color: var(--am-c-primary) !important;
	border-color: var(--am-c-primary) !important;
}

/* ------------------------------------------------------------------
   Restore internal scrolling in the Amelia booking box 2026-07-19.
   Earlier `overflow: visible !important` overrides (added to stop the
   month/year dropdown clipping — but those dropdowns are already
   portal'd with high z-index) disabled the modal's own scroll, so
   time slots and the Continue button got cut off when a day had many
   available times. Give the box a max-height and let content scroll.
   ------------------------------------------------------------------ */
body.page-id-40 .amelia-v2-booking .am-fs__main,
.amelia-app-booking .am-fs__main,
.am-dialog .am-fs__main {
	max-height: 85vh !important;
	overflow: hidden !important;
}

body.page-id-40 .amelia-v2-booking .am-fs__main-content,
body.page-id-40 .amelia-v2-booking .am-fs__main-inner,
.amelia-app-booking .am-fs__main-content,
.amelia-app-booking .am-fs__main-inner,
.am-dialog .am-fs__main-content,
.am-dialog .am-fs__main-inner {
	overflow-y: auto !important;
	overflow-x: hidden !important;
}

/* ------------------------------------------------------------------
   Booking dropdowns hidden behind the modal — fix 2026-07-19.
   Amelia's booking modal (.am-dialog-popup) has z-index 99,999,999.
   Select dropdowns (el-popper / el-select-dropdown, teleported to
   <body>) were only 999,999, so they rendered BEHIND the modal — only
   the options extending past the modal's bottom edge were visible.
   Raise dropdown z-index to the browser max so it sits above the modal.
   ------------------------------------------------------------------ */
.el-popper,
.el-select-dropdown,
.el-select__popper,
[class*="el-popper"],
[class*="el-select-dropdown"] {
	z-index: 2147483647 !important;
}

/* Restore top-packing of testimonial card content (lost in a rebuild).
   Equal-height cards otherwise distribute rows vertically -> the CLIENT
   REVIEW label and text stagger across cards. */
.testimonial-card {
	align-content: start;
}

/* Booking catalog (page-id-40 = /book-online/): the category-card list (.am-fcl)
   had a bright-white slab background that clashed with the dark theme, and the 3
   cards were centered in a too-wide box (clustered look). Make the slab transparent
   so cards sit on the page, and distribute the 3 cards evenly. 2026-07-19 */
body.page-id-40 .am-fcl {
	background: transparent !important;
	justify-content: space-evenly !important;
	gap: 24px !important;
	padding: 0 !important;
}

/* Booking page: intro box was max-width 920 while the top gradient bar and the
   catalog below are full-width -> the "rainbow" line overhung the box. Make the
   intro box full-width so the gradient bar, intro, and catalog all align. 2026-07-19 */
body.page-id-40 .ag-amelia-clean__intro {
	max-width: none !important;
}

/* Technology badge wall — redone 2026-07-19: deduped, grouped, grayscale->color hover */
.ag-badge-group { margin-top: 30px; }
.ag-badge-group:first-of-type { margin-top: 10px; }
.ag-badge-group__label {
	font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
	letter-spacing: 0.07em; color: var(--color-purple); margin: 0 0 14px;
}
.ag-badge-wall {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
	gap: 14px;
}
.ag-badge-chip {
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 14px 18px;
	display: flex; align-items: center; justify-content: center;
	min-height: 78px;
	box-shadow: 0 2px 10px rgba(13, 29, 34, 0.06);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.ag-badge-chip img {
	max-height: 52px; width: auto; max-width: 100%; object-fit: contain;
	filter: grayscale(0.55) opacity(0.92);
	transition: filter 200ms ease;
}
.ag-badge-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--color-purple); }
.ag-badge-chip:hover img { filter: none; }
@media (max-width: 560px) { .ag-badge-wall { grid-template-columns: repeat(2, 1fr); } }
