/* Holistic Soul Healing — colours carried over from the original site */
:root {
	--teal: #007f82;
	--teal-dark: #00676a;
	--purple: #61206b;
	--gold: #b1a374;
	--ink: #3f3335;
	--muted: #767676;
	--tint: #f4f1ea;
	--line: #e4ded2;
	--white: #fff;
	--radius: 10px;
	--wrap: 72rem;
	--narrow: 46rem;
	--font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-weight: 300;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 0.15em; }
a:hover { color: var(--purple); }
strong { font-weight: 500; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.25; color: var(--purple); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: var(--narrow); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--purple); color: #fff; padding: 0.5rem 1rem; z-index: 10; }
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header { background: var(--white); border-bottom: 3px solid var(--teal); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--purple); font-weight: 500; font-size: 1.25rem; margin-right: auto; }
.brand img { width: 48px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.site-nav a { display: block; padding: 0.5rem 0.85rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 400; }
.site-nav a:hover { background: var(--tint); color: var(--teal); }
.site-nav a[aria-current="page"] { background: var(--teal); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--purple); padding: 0.5rem; cursor: pointer; }

@media (max-width: 52rem) {
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; inset: 100% 0 auto 0; background: var(--white); border-bottom: 3px solid var(--teal); }
	.site-nav.open { display: block; }
	.site-nav ul { flex-direction: column; padding: 0.5rem 1.25rem 1rem; }
	.brand span { font-size: 1.05rem; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section.tint { background: var(--tint); }
.section-intro { margin-bottom: 1.75rem; text-align: center; max-width: var(--narrow); margin-inline: auto; }

.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.35em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 3px solid var(--gold); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .doc-image { margin: 1.5em 0; }
.prose .doc-image img { border-radius: var(--radius); }

.feature { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
.feature--flip { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.feature--flip .feature-media { order: 2; }
.feature--text-only { grid-template-columns: minmax(0, 1fr); max-width: var(--narrow); }
.feature-media img { border-radius: var(--radius); width: 100%; box-shadow: 0 10px 30px rgb(0 0 0 / 0.08); }
@media (max-width: 48rem) {
	.feature, .feature--flip { grid-template-columns: minmax(0, 1fr); }
	.feature--flip .feature-media { order: 0; }
	.feature-media { max-width: min(18rem, 70%); margin-inline: auto; }
	.feature-media img { max-height: 55vh; width: auto; margin-inline: auto; }
}

/* ---------- buttons ---------- */
.buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.button {
	display: inline-block;
	background: var(--teal);
	color: #fff;
	text-decoration: none;
	padding: 0.6rem 1.25rem;
	border-radius: 999px;
	font-weight: 400;
	border: 0;
	font: inherit;
	cursor: pointer;
	transition: background 0.15s;
}
.button:hover, .button:focus-visible { background: var(--purple); color: #fff; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--teal); }
.card .prose { font-size: 0.97rem; }
.prose a, .site-footer a { overflow-wrap: anywhere; }
.cards--events .card:nth-child(even) { border-top-color: var(--purple); }
.cards--videos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }

.video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1em; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 500; color: var(--purple); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details .prose { padding: 0 1.25rem 1.25rem; }

/* ---------- gallery & lightbox ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.gallery figure { margin: 0; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery-open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.3s; }
.gallery-open:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; text-align: center; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(20 10 22 / 0.9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(92vw, 1400px); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: 6px; }
.lightbox figcaption { color: #fff; margin-top: 0.75rem; }
.lightbox button { position: fixed; background: rgb(255 255 255 / 0.12); color: #fff; border: 0; width: 3rem; height: 3rem; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / 0.25); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 1rem; top: 50%; translate: 0 -50%; }

/* ---------- contact form ---------- */
.contact-form { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-form label { display: grid; gap: 0.3rem; font-weight: 400; }
.contact-form .optional { color: var(--muted); font-weight: 300; font-size: 0.9em; }
.contact-form input, .contact-form textarea { font: inherit; padding: 0.65rem 0.8rem; border: 1px solid #cfc7b8; border-radius: 8px; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* ---------- footer ---------- */
.site-footer { background: var(--purple); color: #f1e8f2; padding-top: 3rem; font-size: 0.97rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 0.6rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.site-footer p, .site-footer ul { margin: 0 0 0.4em; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer .buttons { display: block; }
.site-footer .button { background: none; padding: 0; border-radius: 0; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: auto repeat(3, minmax(0, 1fr)); }
.footer-logo img { width: 110px; background: #fff; border-radius: 50%; padding: 8px; }
.copyright { font-size: 0.85rem; opacity: 0.7; padding-block: 2rem 1.5rem; margin: 0; }
@media (max-width: 52rem) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
