@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
	--ivory: #f8f5ef;
	--paper: #fffdf9;
	--sage: #8fa89a;
	--sage-dark: #49665c;
	--teal: #3d7e7d;
	--teal-dark: #245d5c;
	--ink: #263b39;
	--muted: #62736f;
	--sand: #e7d7c5;
	--line: #d9e2dc;
	--white: #ffffff;
	--shadow: 0 18px 55px rgba(38, 59, 57, 0.1);
	--radius-lg: 2rem;
	--radius-md: 1.25rem;
	--radius-sm: 0.75rem;
	--shell: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: auto;
}

body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font-family: 'Montserrat', 'Segoe UI', sans-serif;
	font-size: 1rem;
	line-height: 1.65;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: var(--teal-dark);
	text-underline-offset: 0.2em;
}

a[href^='tel:'] {
	white-space: nowrap;
}

button,
input,
select,
textarea {
	font: inherit;
}

.shell {
	width: min(calc(100% - 2.5rem), var(--shell));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.6rem 1rem;
	background: var(--teal-dark);
	color: var(--white);
}

.skip-link:focus {
	top: 1rem;
}

.site-header {
	position: relative;
	z-index: 20;
	background: rgba(255, 253, 249, 0.97);
	box-shadow: 0 1px 0 rgba(73, 102, 92, 0.12);
}

.header-top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.25rem;
	min-height: 7.5rem;
	padding-block: 1rem;
}

.header-side {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.82rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.header-side-right {
	justify-content: flex-end;
	text-align: right;
}

.header-side-right span {
	max-width: 12rem;
	color: var(--muted);
	line-height: 1.35;
}

.header-side a {
	font-weight: 700;
	text-decoration: none;
}

.brand-link {
	justify-self: center;
	width: min(14rem, 42vw);
}

.brand-link img {
	width: 100%;
	height: auto;
}

.nav-bar {
	border-top: 1px solid var(--line);
	background: var(--paper);
}

.desktop-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(0.75rem, 2vw, 2rem);
	min-height: 3.5rem;
}

.desktop-nav a,
.mobile-nav a {
	color: var(--ink);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
	color: var(--teal);
}

.mobile-nav-wrap {
	display: none;
}

.mobile-nav-wrap summary {
	padding: 0.85rem 1rem;
	color: var(--ink);
	cursor: pointer;
	font-weight: 700;
	letter-spacing: 0.08em;
	list-style: none;
	text-align: center;
	text-transform: uppercase;
}

.mobile-nav-wrap summary::-webkit-details-marker {
	display: none;
}

.mobile-nav-wrap summary::before {
	margin-right: 0.5rem;
	content: '\f0c9';
	font-family: 'Font Awesome 7 Pro';
}

.mobile-nav {
	display: grid;
	gap: 0.75rem;
	padding: 0 1.25rem 1.25rem;
	text-align: center;
}

.hero {
	position: relative;
	display: grid;
	min-height: 38rem;
	align-items: end;
	overflow: hidden;
	background: var(--teal-dark);
}

.hero::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(31, 75, 70, 0.78),
		rgba(31, 75, 70, 0.42) 54%,
		rgba(31, 75, 70, 0.18)
	);
	content: '';
	z-index: 1;
}

.hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-content {
	position: relative;
	z-index: 2;
	width: min(calc(100% - 2.5rem), var(--shell));
	margin: 0 auto;
	padding: 7rem 0 5rem;
	color: var(--white);
}

.eyebrow {
	margin: 0 0 1rem;
	color: var(--sand);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 500;
	line-height: 1.08;
}

h1 {
	max-width: 14ch;
	font-size: clamp(2.75rem, 7vw, 5.8rem);
	letter-spacing: -0.04em;
}

h2 {
	font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
	font-size: 1.45rem;
}

.hero p {
	max-width: 42rem;
	margin: 1.5rem 0 0;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	flex-wrap: wrap;
	min-height: 3.1rem;
	padding: 0.8rem 1.2rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--teal);
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
	max-width: 100%;
	min-width: 0;
	text-align: center;
	white-space: normal;
}

.button-phone {
	white-space: nowrap;
}

.button:hover,
.button:focus-visible {
	background: var(--teal-dark);
	color: var(--white);
}

.button-light {
	background: var(--white);
	color: var(--teal-dark);
}

.button-light:hover,
.button-light:focus-visible {
	background: var(--sand);
	color: var(--ink);
}

.button-outline {
	border-color: currentColor;
	background: transparent;
	color: inherit;
}

.button-outline:hover,
.button-outline:focus-visible {
	background: var(--white);
	color: var(--teal-dark);
}

.section {
	padding: clamp(4rem, 9vw, 8rem) 0;
}

.section-tight {
	padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-sage {
	background: #e6eee8;
}

.section-cream {
	background: var(--paper);
}

.section-teal {
	background: var(--teal-dark);
	color: var(--white);
}

.section-heading {
	max-width: 44rem;
	margin-bottom: 2.5rem;
}

.section-heading p,
.intro-copy,
.prose p {
	max-width: 45rem;
	margin: 1rem 0 0;
	color: var(--muted);
	font-size: 1.08rem;
}

.section-teal .section-heading p,
.section-teal .intro-copy {
	color: #dce9e2;
}

.grid-3,
.grid-4,
.grid-2 {
	display: grid;
	gap: 1.25rem;
}

.grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature,
.modality,
.team-card,
.form-panel,
.info-panel,
.comparison-panel {
	padding: 1.6rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--paper);
}

.section-sage .feature,
.section-sage .modality,
.section-sage .team-card {
	background: rgba(255, 253, 249, 0.68);
}

.feature-icon,
.modality-icon {
	display: grid;
	width: 3.6rem;
	height: 3.6rem;
	margin-bottom: 1.25rem;
	place-items: center;
	border-radius: 50%;
	background: var(--sand);
	color: var(--teal-dark);
	font-size: 1.4rem;
}

.feature p,
.modality p,
.team-card p,
.info-panel p,
.comparison-panel p {
	margin: 0.75rem 0 0;
	color: var(--muted);
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 7vw, 6rem);
	align-items: center;
}

.split.reverse {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.image-frame {
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.image-frame img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.check-list,
.plain-list {
	display: grid;
	gap: 0.85rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.check-list li,
.plain-list li {
	position: relative;
	padding-left: 1.8rem;
}

.check-list li::before {
	position: absolute;
	left: 0;
	color: var(--teal);
	content: '\f058';
	font-family: 'Font Awesome 7 Pro';
}

.plain-list li::before {
	position: absolute;
	left: 0.35rem;
	color: var(--teal);
	content: '\2022';
	font-size: 1.1rem;
}

.quote {
	margin: 2rem 0 0;
	padding: 1.5rem 1.75rem;
	border-left: 4px solid var(--teal);
	background: rgba(255, 253, 249, 0.72);
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(1.35rem, 3vw, 2rem);
	font-style: italic;
	line-height: 1.3;
}

.when-hospice-section .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--teal-dark);
}

.when-hospice-section .eyebrow::before {
	width: 1.4rem;
	height: 1px;
	background: var(--teal);
	content: '';
}

.when-hospice-section .button {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	max-width: 34rem;
	padding: 0.8rem 0.9rem;
	border-color: rgba(48, 111, 109, 0.28);
	border-radius: 1rem;
	background: rgba(255, 253, 249, 0.88);
	box-shadow: 0 10px 24px rgba(38, 59, 57, 0.08);
	color: var(--teal-dark);
	text-align: left;
}

.when-hospice-section .button-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.5rem 0.7rem;
	border: 0;
	border-radius: 999px;
	background: var(--teal-dark);
	color: var(--white);
	font-size: 0.9em;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

@media (max-width: 539px) {
	.when-hospice-section .button {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.when-hospice-section .button-phone {
		justify-self: center;
	}
}

.button[href^='tel:'] {
	white-space: normal;
}

.quote-feature {
	position: relative;
	max-width: 34rem;
	margin-top: 2rem;
	padding: 1.2rem 1.35rem 1.2rem 3.5rem;
	border: 1px solid rgba(73, 102, 92, 0.18);
	border-left: 3px solid var(--teal);
	border-radius: 1.25rem;
	background: rgba(255, 253, 249, 0.78);
	box-shadow: 0 14px 30px rgba(38, 59, 57, 0.08);
	color: var(--teal-dark);
	font-size: clamp(1.05rem, 1.5vw, 1.35rem);
	font-style: italic;
	line-height: 1.35;
}

.quote-feature::before {
	position: absolute;
	left: 1.25rem;
	top: 0.8rem;
	color: var(--teal);
	content: '\201C';
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2.7rem;
	font-style: normal;
	line-height: 1;
}

.services-comparison .grid-2 {
	align-items: start;
}

.services-comparison .comparison-panel {
	align-self: start;
}

.comparison-quote {
	position: relative;
	max-width: 34rem;
	margin-top: 1.75rem !important;
	padding: 1.1rem 1.25rem 1.1rem 3.35rem;
	border: 1px solid rgba(73, 102, 92, 0.18);
	border-left: 3px solid var(--teal);
	border-radius: 1.15rem;
	background: rgba(230, 238, 232, 0.6);
	box-shadow: 0 12px 24px rgba(38, 59, 57, 0.06);
	color: var(--teal-dark) !important;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(1.05rem, 1.45vw, 1.35rem);
	font-style: italic;
	line-height: 1.35;
}

.comparison-quote::before {
	position: absolute;
	left: 1.15rem;
	top: 0.7rem;
	color: var(--teal);
	content: '\201C';
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2.65rem;
	font-style: normal;
	line-height: 1;
}

.cta-band {
	position: relative;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: clamp(2rem, 6vw, 7rem);
	overflow: hidden;
	padding: clamp(2.75rem, 6vw, 4.75rem) clamp(1.5rem, 5vw, 4.5rem);
	border: 1px solid rgba(255, 253, 249, 0.16);
	border-radius: 1.75rem;
	background: #19342e;
	color: var(--white);
}

.cta-band::before {
	position: absolute;
	right: -7rem;
	top: -11rem;
	width: 28rem;
	height: 28rem;
	border: 1px solid rgba(255, 253, 249, 0.12);
	border-radius: 50%;
	content: '';
}

.cta-band::after {
	position: absolute;
	right: 2.5rem;
	top: 2.5rem;
	width: 12rem;
	height: 12rem;
	border: 1px solid rgba(147, 168, 146, 0.22);
	border-radius: 50%;
	content: '';
}

.cta-band > * {
	position: relative;
	z-index: 1;
}

.cta-copy {
	/* max-width: 42rem; */
}

.cta-eyebrow {
	display: block;
	margin: 0 0 1.75rem;
	color: var(--sand);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.cta-eyebrow::before {
	display: inline-block;
	width: 1.25rem;
	height: 1px;
	margin: 0 0.65rem 0.2rem 0;
	background: var(--sand);
	content: '';
}

.cta-eyebrow span {
	margin-inline: 0.65rem;
	color: var(--sage);
}

.cta-band h2 {
	max-width: 36rem;
	margin: 0;
	color: var(--paper);
	font-size: clamp(2.25rem, 5vw, 4.25rem);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1.02;
}

.cta-band h2 em {
	color: #a9c2ae;
	font-style: italic;
	font-weight: 500;
}

.cta-phone {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
	color: rgba(255, 253, 249, 0.72);
	font-size: 0.95rem;
}

.cta-dot {
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: #c6d8c2;
}

.cta-phone a {
	color: var(--white);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration-color: rgba(255, 253, 249, 0.4);
	text-underline-offset: 0.2em;
}

.cta-actions {
	display: flex;
	align-items: flex-end;
	flex-shrink: 0;
	flex-direction: column;
	gap: 1.25rem;
	padding-bottom: 0.1rem;
}

.cta-badge {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 253, 249, 0.72);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.cta-badge i {
	color: #a9c2ae;
	font-size: 0.85rem;
}

.cta-band .button-row {
	position: relative;
	z-index: 1;
	justify-content: flex-end;
	margin-top: 0;
}

.cta-band .button {
	min-height: 3.25rem;
	padding-inline: 1.35rem;
}

.cta-band .button-outline {
	border-color: rgba(255, 253, 249, 0.3);
	color: var(--paper);
}

.cta-band .button-outline:hover,
.cta-band .button-outline:focus-visible {
	border-color: var(--sand);
	background: transparent;
	color: var(--sand);
}

.page-hero {
	padding: 5.5rem 0;
	background: var(--sage-dark);
	color: var(--white);
}

.page-hero h1 {
	max-width: 30ch;
	font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.page-hero p {
	max-width: 48rem;
	margin: 1rem 0 0;
	color: #e5f1eb;
	font-size: 1.2rem;
}

.faq-list {
	display: grid;
	gap: 0.75rem;
}

.faq-list details {
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--paper);
}

.faq-list summary {
	cursor: pointer;
	font-weight: 700;
}

.faq-list details p,
.faq-list details ul {
	margin: 1rem 0 0;
	color: var(--muted);
}

.callout {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 2px solid var(--sand);
	border-radius: var(--radius-lg);
	background: #fff8ed;
}

.callout strong {
	color: var(--teal-dark);
	font-size: 1.15rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.form-panel {
	box-shadow: var(--shadow);
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.field {
	display: grid;
	gap: 0.35rem;
}

.field-full {
	grid-column: 1 / -1;
}

.field label {
	font-size: 0.9rem;
	font-weight: 700;
}

.field input,
.field textarea,
.field select {
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid #c7d5cd;
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--ink);
}

.field textarea {
	min-height: 9rem;
	resize: vertical;
}

.form-panel form > .button {
	margin-top: 1.25rem;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
	outline: 3px solid rgba(61, 126, 125, 0.25);
	border-color: var(--teal);
}

.form-note {
	margin: 1rem 0 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.site-footer {
	padding: 4rem 0 2rem;
	background: #203c39;
	color: #e5f1eb;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
	color: var(--white);
}

.site-footer h2 {
	font-size: 2rem;
}

.site-footer h3 {
	font-family: 'Montserrat', 'Segoe UI', sans-serif;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.site-footer p {
	margin: 0.75rem 0 0;
}

.site-footer a {
	color: #f6e5cb;
}

.footer-links {
	display: grid;
	gap: 0.4rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(229, 241, 235, 0.2);
	color: #bcd0c8;
	font-size: 0.85rem;
}

.blog-banner {
	position: relative;
	overflow: hidden;
	min-height: 19rem;
	padding: clamp(3.5rem, 7vw, 6rem) 0;
	background: var(--sage-dark);
	background-image:
		radial-gradient(
			circle at 82% 24%,
			rgba(230, 238, 232, 0.14) 0 0.18rem,
			transparent 0.22rem
		),
		radial-gradient(
			circle at 88% 34%,
			rgba(230, 238, 232, 0.1) 0 0.32rem,
			transparent 0.36rem
		);
	color: var(--white);
}

.blog-banner::after {
	position: absolute;
	right: -8rem;
	bottom: -13rem;
	width: 30rem;
	height: 30rem;
	border: 1px solid rgba(230, 238, 232, 0.18);
	border-radius: 50%;
	box-shadow:
		0 0 0 2rem rgba(230, 238, 232, 0.04),
		0 0 0 4rem rgba(230, 238, 232, 0.03);
	content: '';
	pointer-events: none;
}

.blog-banner > .shell {
	position: relative;
	z-index: 1;
}

.blog-banner h1 {
	max-width: 16ch;
}

.blog-post-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 12rem;
	align-items: end;
	gap: 3rem;
}

.blog-post-hero-copy {
	min-width: 0;
}

.blog-post-hero .eyebrow {
	margin-bottom: 1.25rem;
	color: #f2dfc6;
}

.blog-post-hero h1 {
	max-width: 18ch;
	font-size: clamp(2.5rem, 5.5vw, 5.2rem);
	letter-spacing: -0.045em;
}

.blog-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.25rem;
	margin-top: 1.75rem;
	color: #e5f1eb;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.blog-post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.blog-post-meta i {
	color: #f2dfc6;
	font-size: 1rem;
}

.blog-post-hero-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.blog-post-hero-tags span {
	padding: 0.32rem 0.7rem;
	border: 1px solid rgba(230, 238, 232, 0.35);
	border-radius: 999px;
	color: #f4f7f2;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.blog-post-hero-mark {
	display: grid;
	justify-items: center;
	gap: 0.8rem;
	padding: 1.5rem 1rem;
	border: 1px solid rgba(230, 238, 232, 0.25);
	border-radius: 50% 50% 1.5rem 1.5rem;
	background: rgba(255, 253, 249, 0.08);
	color: #f2dfc6;
	text-align: center;
}

.blog-post-hero-mark i {
	font-size: 2.4rem;
}

.blog-post-hero-mark span {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1rem;
	font-style: italic;
	line-height: 1.25;
}

.blog-post-page .blog-banner {
	min-height: 23rem;
}

.blog-post-page .blog-page-content {
	grid-template-columns: minmax(0, 1fr) 20rem;
	gap: clamp(1em, 1vw, 5rem);
	align-items: start;
	padding: 0 0.5em;
	padding-top: clamp(2.25rem, 4vw, 3.5rem);
}

.blog-post-page .article {
	min-width: 0;
	padding: clamp(1em, 1.5vw, 2.5rem);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: 0 22px 60px rgba(38, 59, 57, 0.08);
}

/* .blog-post-page .article > h1 {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	clip-path: inset(50%);
} */

.blog-post-page .article img {
	border-radius: var(--radius-lg);
}

.blog-post-page .article > p,
.blog-post-page .article > h2,
.blog-post-page .article > h3,
.blog-post-page .article > ul,
.blog-post-page .article > ol,
.blog-post-page .article > blockquote {
	max-width: 44rem;
	margin-right: auto;
	margin-left: auto;
}

.blog-post-page .article p {
	margin-top: 1.15rem;
	font-size: 1.06rem;
	line-height: 1.85;
}

.blog-post-page .article h2,
.blog-post-page .article h3 {
	margin-top: 2.8rem;
	color: var(--ink);
}

.blog-post-page .article h2 {
	font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.blog-post-page .article h3 {
	font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.blog-post-page .article h3::before {
	display: block;
	width: 2.5rem;
	height: 0.18rem;
	margin-bottom: 0.8rem;
	border-radius: 999px;
	background: var(--teal);
	content: '';
}

.blog-post-page .article ul,
.blog-post-page .article ol {
	padding-left: 1.4rem;
	color: var(--muted);
}

.blog-post-page .article li + li {
	margin-top: 0.55rem;
}

.blog-post-page .article blockquote {
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding: 1.5rem 1.75rem;
	border-left: 3px solid var(--teal);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: #e6eee8;
	color: var(--ink);
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.35rem;
	font-style: italic;
}

.site-sidebar {
	position: sticky;
	top: 10rem;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: 0 16px 45px rgba(38, 59, 57, 0.06);
}

.sidebar-kicker {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.85rem;
	color: var(--teal-dark) !important;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sidebar-kicker i {
	color: var(--teal);
	font-size: 1rem;
}

.site-sidebar h2 {
	font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.site-sidebar > p:not(.sidebar-kicker):not(.sidebar-note) {
	margin: 0.9rem 0 0;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.sidebar-rule {
	width: 100%;
	height: 1px;
	margin: 1.5rem 0;
	background: var(--line);
}

.sidebar-note {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0 0 1.5rem;
	color: var(--teal-dark) !important;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.02rem;
	font-style: italic;
	line-height: 1.4;
}

.sidebar-note i {
	flex: 0 0 auto;
	margin-top: 0.25rem;
	color: var(--teal);
	font-style: normal;
}

.site-sidebar iframe {
	width: 100%;
	height: 17rem;
	min-height: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.blog-embed-page {
	background: transparent;
}

.blog-embed-page .blog-page-content {
	width: 100%;
	margin: 0;
	padding: 0;
}

.blog-embed-page .post-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem;
}

.blog-embed-page .post-card {
	padding: 0.8rem 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.blog-embed-page .post-card:last-child {
	border-bottom: 0;
}

.blog-embed-page .post-card-tags,
.blog-embed-page .post-card-description,
.blog-embed-page .post-card-readmore {
	display: none;
}

.blog-embed-page .post-card-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 1.05rem;
	line-height: 1.18;
}

.sidebar-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

.sidebar-link i {
	color: var(--teal);
}

.blog-page-content {
	width: min(calc(100% - 2.5rem), var(--shell));
	margin-inline: auto;
	padding: clamp(3rem, 7vw, 6rem) 0;
}

.blog-home-page .blog-page-content {
	display: block;
}

.post-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	padding: 0;
}

.post-card {
	display: flex;
	min-width: 0;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--paper);
	box-shadow: none;
}

.post-card-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.6rem;
	font-weight: 500;
}

.post-card-title-link {
	color: inherit;
	text-decoration: none;
}

.post-card-title-link:hover,
.post-card-title-link:focus-visible {
	color: var(--teal-dark);
}

.post-card-description {
	max-height: none;
	margin: 0.75rem 0 0;
	color: var(--muted);
	text-align: left;
}

.post-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

.post-tag {
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	background: #e6eee8;
	color: var(--teal-dark);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.post-card-readmore {
	align-self: flex-start;
	margin-top: 1.25rem;
	padding: 0;
	font-weight: 700;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.pagination-link {
	font-weight: 700;
}

.blog-newsletter {
	margin-top: 2rem;
	padding: 1.5rem;
	border-radius: var(--radius-md);
	background: #e6eee8;
	color: var(--ink);
}

.blog-newsletter p {
	margin: 0.5rem 0 0;
}

@media (max-width: 980px) {
	.header-top {
		grid-template-columns: 1fr auto 1fr;
	}

	.desktop-nav {
		gap: 0.75rem;
	}

	.desktop-nav a {
		font-size: 0.72rem;
	}

	.grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.shell,
	.hero-content {
		width: min(calc(100% - 1.5rem), var(--shell));
	}

	.header-top {
		display: flex;
		width: min(calc(100% - 1.5rem), var(--shell));
		gap: 0.65rem;
		min-height: 0;
		padding-block: 0.8rem;
		align-items: center;
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}

	.header-side-left {
		order: -1;
		justify-content: center;
	}

	.brand-link {
		order: -2;
		width: min(13rem, 60vw);
	}

	.header-side-right {
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}

	.nav-bar {
		padding: 0;
	}

	.desktop-nav {
		display: none;
	}

	.mobile-nav-wrap {
		display: block;
		position: relative;
	}

	.mobile-nav {
		position: absolute;
		top: calc(100% + 0.5rem);
		right: 1rem;
		z-index: 30;
		width: min(22rem, calc(100vw - 2rem));
		padding: 1.25rem 1.35rem;
		border: 1px solid var(--line);
		border-radius: var(--radius-md);
		background: var(--paper);
		box-shadow: 0 18px 50px rgba(38, 59, 57, 0.2);
		text-align: left;
	}

	.mobile-nav a {
		padding: 0.45rem 0;
		text-align: left;
	}

	.hero {
		min-height: 34rem;
	}

	.hero-content {
		padding: 5rem 0 3.5rem;
	}

	.grid-2,
	.grid-3,
	.grid-4,
	.split,
	.split.reverse,
	.form-grid,
	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.cta-band {
		align-items: flex-start;
		flex-direction: column;
		gap: 2rem;
		padding: 2rem 1.5rem;
	}

	.cta-band::before {
		right: -12rem;
		top: -12rem;
	}

	.cta-band::after {
		right: 1rem;
		top: 1rem;
	}

	.cta-band .button-row {
		justify-content: flex-start;
	}

	.cta-eyebrow {
		font-size: 0.68rem;
		letter-spacing: 0.12em;
	}

	.cta-actions {
		align-items: flex-start;
		width: 100%;
	}

	.page-hero {
		padding: 4rem 0;
	}

	.blog-page-content {
		width: min(calc(100% - 1.5rem), var(--shell));
	}

	.blog-post-page .blog-page-content {
		grid-template-columns: 1fr;
	}

	.blog-post-page .blog-banner {
		min-height: 0;
	}

	.blog-post-hero {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.blog-post-hero h1 {
		max-width: 14ch;
	}

	.blog-post-hero-mark {
		grid-template-columns: auto 1fr;
		align-items: center;
		justify-items: start;
		width: min(100%, 18rem);
		padding: 0.9rem 1.1rem;
		border-radius: var(--radius-md);
		text-align: left;
	}

	.blog-post-hero-mark i {
		font-size: 1.8rem;
	}

	.blog-post-page .article {
		padding: 1.25rem;
		border-radius: var(--radius-md);
	}

	.site-sidebar {
		position: static;
	}

	.post-list {
		width: 100%;
		grid-template-columns: 1fr;
	}

	.post-card {
		width: 100%;
		min-width: 0;
		max-width: none;
	}
}

@media (max-width: 540px) {
	.header-side-left {
		display: none;
	}
}

#join-our-team {
	scroll-margin-top: 5.5rem;
}

/* The full masthead remains in document flow while this fixed bar is visible. */
.site-header.is-compact::before {
	position: fixed;
	inset: 0 0 auto;
	z-index: 20;
	height: 4.25rem;
	background: rgba(255, 253, 249, 0.98);
	box-shadow: 0 8px 24px rgba(38, 59, 57, 0.14);
	content: '';
	animation: compact-header-in 180ms ease-out both;
	backdrop-filter: blur(12px);
}

.site-header.is-compact .header-top {
	display: flex;
	position: fixed;
	top: 0;
	left: max(0.75rem, calc((100vw - var(--shell)) / 2));
	right: 5.25rem;
	z-index: 21;
	width: auto;
	height: 4.25rem;
	min-height: 0;
	margin: 0;
	padding: 0.5rem 0;
	align-items: center;
	flex-direction: row;
	gap: 0.75rem;
	animation: compact-header-in 180ms ease-out both;
}

.site-header.is-compact .header-side-left,
.site-header.is-compact .header-side-right span {
	display: none;
}

.site-header.is-compact .brand-link {
	flex: 0 0 3.25rem;
	order: 0;
	width: 3.25rem;
	height: 3.25rem;
	margin: 0;
}

.site-header.is-compact .brand-link img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	content: url('../images/favicon.webp');
}

.site-header.is-compact .header-side-right {
	display: flex;
	min-width: 0;
	margin: 0 0 0 auto;
	align-items: center;
	flex: 0 1 auto;
	flex-direction: row;
	justify-content: flex-end;
	order: 0;
	text-align: right;
}

.site-header.is-compact .header-side-right a {
	font-size: 0.88rem;
}

@media (min-width: 821px) {
	.site-header.is-compact .header-top {
		right: 6.75rem;
	}

	.site-header.is-compact .brand-link {
		order: -2;
	}

	.site-header.is-compact .header-side-left {
		display: flex;
		margin-left: 0.15rem;
		padding-left: 1rem;
		border-left: 1px solid var(--sand);
		flex: 0 0 auto;
		order: -1;
		font-size: 0.72rem;
		white-space: nowrap;
	}

	.site-header.is-compact .header-side-left a {
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
		color: var(--sage-dark);
	}

	.site-header.is-compact .header-side-left i {
		color: var(--teal);
		font-size: 0.9rem;
	}

	.site-header.is-compact .header-side-right {
		min-width: 19rem;
		padding: 0 1.25rem;
		border-left: 1px solid var(--line);
		align-items: flex-end;
		flex-direction: column;
		gap: 0.18rem;
	}

	.site-header.is-compact .header-side-right span {
		display: block;
		max-width: none;
		color: var(--muted);
		font-size: 0.66rem;
		line-height: 1.1;
		letter-spacing: 0.035em;
		text-transform: none;
		white-space: nowrap;
	}

	.site-header.is-compact .header-side-right a {
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
		color: var(--teal-dark);
		font-size: 0.96rem;
		line-height: 1.15;
		letter-spacing: 0.055em;
	}

	.site-header.is-compact .header-side-right a:hover,
	.site-header.is-compact .header-side-right a:focus-visible {
		color: var(--teal);
	}
}

.site-header.is-compact .nav-bar {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 22;
	width: 5.25rem;
	height: 4.25rem;
	border-top: 0;
	border-left: 1px solid var(--line);
	background: transparent;
	animation: compact-header-in 180ms ease-out both;
}

.site-header.is-compact .nav-bar > .shell {
	width: 100%;
	height: 100%;
	margin: 0;
}

.site-header.is-compact .desktop-nav {
	display: none;
}

.site-header.is-compact .mobile-nav-wrap {
	display: block;
	position: relative;
	height: 100%;
}

.site-header.is-compact .mobile-nav-wrap summary {
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 0.75rem;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
}

.site-header.is-compact .mobile-nav {
	position: fixed;
	top: 4.75rem;
	right: 1rem;
	z-index: 30;
	width: min(22rem, calc(100vw - 2rem));
	padding: 1.25rem 1.35rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--paper);
	box-shadow: 0 18px 50px rgba(38, 59, 57, 0.2);
	text-align: left;
	max-height: calc(100vh - 5.75rem);
	overflow-y: auto;
	overscroll-behavior-y: contain;
}

.site-header.is-compact .mobile-nav a {
	padding: 0.45rem 0;
	text-align: left;
}

@media (min-width: 821px) {
	.site-header.is-compact .nav-bar {
		width: 6.75rem;
		background: rgba(61, 126, 125, 0.035);
		transition: background-color 160ms ease-out;
	}

	.site-header.is-compact .mobile-nav-wrap summary {
		padding-inline: 1rem;
		color: var(--ink);
		font-size: 0.78rem;
		letter-spacing: 0.07em;
		transition:
			background-color 160ms ease-out,
			color 160ms ease-out;
	}

	.site-header.is-compact .mobile-nav-wrap summary:hover,
	.site-header.is-compact .mobile-nav-wrap summary:focus-visible {
		background: rgba(61, 126, 125, 0.08);
		color: var(--teal-dark);
	}
}

@keyframes compact-header-in {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 820px) {
	.site-header.is-compact .header-top {
		padding-right: 1.25rem;
	}
}

@media (max-width: 420px) {
	.site-header.is-compact .header-top {
		left: 0.6rem;
		right: 4.6rem;
		padding-right: 0.75rem;
		gap: 0.45rem;
	}

	.site-header.is-compact .brand-link {
		flex-basis: 2.75rem;
		width: 2.75rem;
		height: 2.75rem;
	}

	.site-header.is-compact .header-side-right a {
		font-size: 0.75rem;
		letter-spacing: 0.02em;
	}

	.site-header.is-compact .nav-bar {
		width: 4.6rem;
	}
}

@media (max-width: 320px) {
	h1,
	h2,
	h3 {
		overflow-wrap: anywhere;
	}

	.button {
		max-width: 100%;
		min-width: 0;
		white-space: normal;
	}

	a.button[href^='tel:'] {
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-header.is-compact::before,
	.site-header.is-compact .header-top,
	.site-header.is-compact .nav-bar {
		animation: none;
	}
}
