/* ==========================================================================
   Haven — a calm, editorial one-page theme for a solo therapy practice
   ========================================================================== */

:root {
	--paper: #EEECE4;
	--paper-raised: #F8F6F1;
	--ink: #26242A;
	--ink-soft: #6E6A66;
	--ink-faint: #9A968E;
	--accent: #4E4368;
	--accent-soft: #E4DEEF;
	--accent-strong: #392F52;
	--line: #DAD3C6;

	--font-display: 'Fraunces', Georgia, serif;
	--font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--gap: 4.5rem;
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.wrap {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.wrap-wide {
	max-width: 1220px;
}

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

a {
	color: var(--accent);
	text-decoration-color: var(--accent-soft);
	text-underline-offset: 2px;
}

a:hover,
a:focus {
	color: var(--accent-strong);
}

h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.2;
	color: var(--ink);
	letter-spacing: -0.01em;
}

/* ==========================================================================
   Mini header (individual page view only)
   ========================================================================== */

.mini-header {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--line);
}

.mini-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.mini-header-name {
	font-family: var(--font-display);
	font-size: 1.15rem;
	color: var(--ink);
	text-decoration: none;
}

.mini-header-back {
	font-size: 0.9rem;
	color: var(--ink-soft);
	text-decoration: none;
}

.mini-header-back:hover {
	color: var(--accent);
}

/* ==========================================================================
   Hero (top banner) + page shell
   ========================================================================== */

.page-shell {
	padding: 0 0 3rem;
}

.page-shell-single {
	padding-top: 3.5rem;
}

.hero {
	padding: 4rem 0 3.5rem;
	text-align: center;
	background-color: var(--paper-raised);
	border-bottom: 1px solid var(--line);
	margin-bottom: 3rem;
}

.hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
}

.avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	background-color: var(--accent-soft);
}

.avatar-monogram {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 2.75rem;
	color: var(--accent);
	background-color: var(--accent-soft);
}

.practitioner-name {
	font-size: 2rem;
	margin: 0.4rem 0 0;
}

.practitioner-specialty {
	margin: 0;
	max-width: 520px;
	color: var(--ink-soft);
	font-size: 1.05rem;
	line-height: 1.55;
}

.cta-button {
	display: inline-block;
	margin-top: 0.5rem;
	background-color: var(--accent);
	color: #FFFFFF;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.85rem 1.8rem;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.cta-button:hover,
.cta-button:focus {
	background-color: var(--accent-strong);
	color: #FFFFFF;
	transform: translateY(-1px);
}

.hero-socials {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.hero-socials a {
	display: inline-block;
	font-size: 0.82rem;
	color: var(--ink-soft);
	text-decoration: none;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.3rem 0.8rem;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-socials a:hover,
.hero-socials a:focus {
	border-color: var(--accent);
	color: var(--accent);
}

/* ==========================================================================
   Content sections
   ========================================================================== */

.content-section-title {
	font-size: 1.7rem;
	text-align: center;
	margin: 0 0 2rem;
}

.content-section {
	padding: 0 0 3rem;
}

.content-section-empty {
	color: var(--ink-soft);
	font-style: italic;
	text-align: center;
}

.section-divider {
	width: 100%;
	max-width: 240px;
	margin: 0 auto 3rem;
	color: var(--accent);
	opacity: 0.45;
}

.section-divider svg {
	width: 100%;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}

/* --- Prose: styling for freely-authored page content (Bludit editor output) --- */

/* Pages that already write their own top-level h1/h2 as a section title —
   unify them to look identical to .content-section-title above (centered,
   same face/size/spacing), regardless of which heading level they used,
   and however deeply nested they are inside the page's own markup. */
.prose h1,
.prose h2 {
	font-size: 1.7rem;
	text-align: center;
	margin: 0 0 2rem;
	line-height: 1.25;
}

.prose h3 {
	font-size: 1.15rem;
	margin: 1.6rem 0 0.6rem;
}

.prose p {
	margin: 0 0 1.1rem;
	color: var(--ink);
}

.prose ul,
.prose ol {
	margin: 0 0 1.1rem;
	padding-left: 1.3rem;
}

.prose li {
	margin-bottom: 0.4rem;
}

.prose ul:not(.prose-plain) {
	list-style: none;
	padding-left: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.6rem;
}

.prose ul:not(.prose-plain) li {
	background-color: var(--paper-raised);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 0.7rem 1rem;
	margin: 0;
	font-size: 0.95rem;
}

.prose blockquote {
	margin: 1.4rem 0;
	padding-left: 1.1rem;
	border-left: 3px solid var(--accent-soft);
	color: var(--ink-soft);
	font-style: italic;
}

.prose img {
	border-radius: 10px;
	margin: 1rem 0;
}

.prose figure {
	margin: 1rem 0;
}

/* Pricing: a simple <dl> convention (dt = service name, dd = price) renders
   as clean rows; site owner authors it this way (see README.md). */

.prose dl {
	margin: 0;
	border-top: 1px solid var(--line);
}

.prose dl > div,
.prose dl {
	display: block;
}

.prose dt {
	font-weight: 600;
	padding-top: 0.9rem;
}

.prose dd {
	margin: 0 0 0.9rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--line);
	color: var(--accent);
	font-weight: 600;
}

/* FAQ: native <details>/<summary>, authored via the editor's HTML/source view */

.prose-faq details {
	border-bottom: 1px solid var(--line);
	padding: 1rem 0;
}

.prose-faq details:first-child {
	border-top: 1px solid var(--line);
}

.prose-faq summary {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.prose-faq summary::-webkit-details-marker {
	display: none;
}

.prose-faq summary::after {
	content: '+';
	font-family: var(--font-body);
	font-size: 1.3rem;
	color: var(--accent);
	flex-shrink: 0;
}

.prose-faq details[open] summary::after {
	content: '\2212';
}

.prose-faq details p {
	margin: 0.7rem 0 0;
	color: var(--ink-soft);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	border-top: 1px solid var(--line);
	padding: 2.5rem 0;
	margin-top: 2rem;
}

.footer-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1.5rem;
}

.footer-title {
	font-family: var(--font-display);
	margin: 0 0 0.6rem;
	font-size: 1.05rem;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

.footer-links a {
	text-decoration: none;
	font-size: 0.95rem;
}

.footer-meta {
	color: var(--ink-faint);
	font-size: 0.85rem;
	text-align: right;
}

.footer-meta p {
	margin: 0 0 0.3rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
	.hero {
		padding: 3rem 0 2.5rem;
	}

	.footer-row {
		flex-direction: column;
	}

	.footer-meta {
		text-align: left;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 1rem;
	}

	.practitioner-name {
		font-size: 1.5rem;
	}

	.content-section h2 {
		font-size: 1.3rem;
	}
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

a:focus-visible,
.cta-button:focus-visible,
.hero-socials a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
