/*
Theme Name: Synergy Canvas
Theme URI: https://jasonshaffer.net
Author: Jason Shaffer Group
Author URI: https://jasonshaffer.net
Description: Custom canvas theme for Synergy Mind & Wellness PLLC. Indigo booking-forward design, Fraunces + Source Sans 3.
Version: 1.1.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jsg-custom-theme
*/

/* =========================================================
   0. SELF-HOSTED FONTS — Fraunces + Source Sans 3 (variable),
   served from this theme. No third-party font requests.
   ========================================================= */
@font-face {
	font-family: "Fraunces";
	src: url("assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Source Sans 3";
	src: url("assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Source Sans 3";
	src: url("assets/fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}

/* =========================================================
   1. DESIGN TOKENS — global font & color swaps happen here.
   Pasted pages can (and should) reference these variables.
   ========================================================= */
:root {
	--jsg-font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
	--jsg-font-heading: "Fraunces", Georgia, serif;

	--jsg-color-bg: #fbfbfd;
	--jsg-color-text: #191a2e;
	--jsg-color-muted: #4c4d66;
	--jsg-color-accent: #3f3dbb;
	--jsg-color-accent-hover: #32309f;

	--jsg-header-bg: #ffffff;
	--jsg-header-text: #191a2e;
	--jsg-footer-bg: #191a2e;
	--jsg-footer-text: #a4a5c0;

	--jsg-container: 1160px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.jsg-menu a:hover,
.jsg-menu .current-menu-item > a,
.jsg-menu .current_page_item > a {
	color: var(--jsg-color-accent);
	background: rgba(63, 61, 187, 0.08);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* =========================================================
   8. SMW — extended tokens (Synergy Mind & Wellness)
   ========================================================= */
:root {
	--smw-ink: #191a2e;
	--smw-tint: #f2f1fb;
	--smw-line: #e7e6f2;
	--smw-line-soft: #ececf4;
	--smw-border-accent: #d9d8f2;
	--smw-lav: #8c8aef;
	--smw-faint: #7a7b96;
}

/* =========================================================
   9. SMW — header chrome
   ========================================================= */
.smw-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.smw-brand-mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--jsg-color-accent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--jsg-font-heading);
	font-size: 1.2rem;
	font-weight: 600;
}

.smw-brand-name {
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: 1.3rem;
	color: var(--jsg-header-text);
	letter-spacing: -0.01em;
}

.smw-header-cta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.smw-header-portal {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--jsg-color-accent);
	border: 1.5px solid var(--smw-border-accent);
	background: #fff;
	padding: 9px 16px;
	border-radius: 8px;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.smw-header-portal:hover {
	border-color: var(--jsg-color-accent);
	color: var(--jsg-color-accent-hover);
}

.smw-header-book {
	background: var(--jsg-color-accent);
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 10px 20px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.15s ease;
}

.smw-header-book:hover {
	background: var(--jsg-color-accent-hover);
	color: #fff;
}

@media (max-width: 1080px) {
	.smw-header-portal {
		display: none;
	}
}

/* =========================================================
   10. SMW — footer chrome
   ========================================================= */
.smw-footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 0.9fr 1fr;
	gap: 40px;
	padding: 60px 0 44px;
	text-align: left;
}

.smw-footer-brand {
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: 1.2rem;
	color: #fff;
	margin: 0 0 10px;
}

.smw-footer-tag {
	margin: 0 0 18px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--jsg-footer-text);
	max-width: 300px;
}

.smw-footer-head {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--smw-lav);
	margin: 0 0 14px;
}

.smw-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 0.95rem;
	line-height: 1.55;
}

.smw-footer-list a {
	color: var(--jsg-footer-text);
	text-decoration: none;
	transition: color 0.15s ease;
}

.smw-footer-list a:hover {
	color: #fff;
}

.smw-footer-crisis {
	border: 1px solid rgba(140, 138, 239, 0.35);
	border-radius: 12px;
	padding: 16px 22px;
	margin: 4px 0 30px;
}

.smw-footer-crisis p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.65;
	color: #c7c8dd;
}

.smw-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	padding: 0 0 40px;
}

.smw-footer-legal {
	list-style: none;
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0;
	font-size: 0.85rem;
}

.smw-footer-legal a {
	color: var(--jsg-footer-text);
	text-decoration: none;
}

.smw-footer-legal a:hover {
	color: #fff;
}

@media (max-width: 960px) {
	.smw-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.smw-footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* =========================================================
   11. SMW — page design system (consumed by canvas fragments)
   ========================================================= */
.smw-section {
	padding: 76px 0;
}

.smw-section--tight {
	padding: 52px 0;
}

.smw-section--panel {
	background: #fff;
	border-top: 1px solid var(--smw-line-soft);
	border-bottom: 1px solid var(--smw-line-soft);
}

.smw-wrap {
	max-width: var(--jsg-container);
	margin: 0 auto;
	padding: 0 24px;
}

.smw-wrap--narrow {
	max-width: 820px;
}

.smw-eyebrow {
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--jsg-color-accent);
	margin: 0 0 18px;
}

.smw-display {
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: clamp(2.3rem, 4.8vw, 3.45rem);
	line-height: 1.07;
	letter-spacing: -0.012em;
	color: var(--smw-ink);
	margin: 0 0 18px;
	text-wrap: balance;
}

.smw-h2 {
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: clamp(1.65rem, 3vw, 2.15rem);
	line-height: 1.14;
	letter-spacing: -0.008em;
	color: var(--smw-ink);
	margin: 0 0 14px;
	text-wrap: balance;
}

.smw-h3 {
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.25;
	color: var(--smw-ink);
	margin: 0 0 8px;
}

.smw-lead {
	font-size: 1.13rem;
	line-height: 1.65;
	color: var(--jsg-color-muted);
	margin: 0 0 26px;
}

.smw-body {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--jsg-color-muted);
	margin: 0 0 16px;
}

.smw-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: center;
}

.smw-btn {
	display: inline-block;
	background: var(--jsg-color-accent);
	color: #fff;
	font-family: var(--jsg-font-body);
	font-size: 1rem;
	font-weight: 600;
	padding: 15px 30px;
	border: 0;
	border-radius: 10px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

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

.smw-btn--ghost {
	background: #fff;
	color: var(--jsg-color-accent);
	border: 1.5px solid var(--smw-border-accent);
	padding: 14px 28px;
}

.smw-btn--ghost:hover {
	background: #fff;
	color: var(--jsg-color-accent-hover);
	border-color: var(--jsg-color-accent);
}

.smw-btn--light {
	background: #fff;
	color: var(--smw-ink);
}

.smw-btn--light:hover {
	background: var(--smw-tint);
	color: var(--smw-ink);
}

.smw-trust {
	font-size: 0.86rem;
	font-weight: 500;
	color: var(--smw-faint);
}

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

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

.smw-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 980px) {
	.smw-grid--3,
	.smw-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 620px) {
	.smw-grid--2,
	.smw-grid--3,
	.smw-grid--4 {
		grid-template-columns: 1fr;
	}
}

.smw-card {
	background: #fff;
	border: 1px solid var(--smw-line);
	border-radius: 14px;
	padding: 26px;
}

a.smw-card {
	display: block;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.smw-card:hover {
	border-color: var(--smw-border-accent);
	box-shadow: 0 12px 32px rgba(25, 26, 46, 0.08);
	transform: translateY(-2px);
}

.smw-card-title {
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: 1.18rem;
	color: var(--smw-ink);
	margin: 0 0 8px;
}

.smw-card-text {
	font-size: 0.97rem;
	line-height: 1.6;
	color: var(--jsg-color-muted);
	margin: 0 0 14px;
}

.smw-card-link {
	color: var(--jsg-color-accent);
	font-weight: 600;
	font-size: 0.95rem;
}

.smw-band {
	background: var(--smw-ink);
	border-radius: 18px;
	padding: 46px 48px;
	color: #fff;
}

.smw-band .smw-h2 {
	color: #fff;
}

.smw-band-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin: 0 0 34px;
}

.smw-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

@media (max-width: 900px) {
	.smw-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 540px) {
	.smw-steps {
		grid-template-columns: 1fr;
	}

	.smw-band {
		padding: 34px 26px;
	}
}

.smw-step-num {
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: 1.35rem;
	color: var(--smw-lav);
	margin: 0 0 6px;
}

.smw-step-title {
	font-weight: 600;
	color: #fff;
	margin: 0 0 6px;
	font-size: 1.02rem;
}

.smw-step-text {
	color: #a4a5c0;
	font-size: 0.93rem;
	line-height: 1.55;
	margin: 0;
}

.smw-faq details {
	background: #fff;
	border: 1px solid var(--smw-line);
	border-radius: 12px;
	padding: 18px 22px;
}

.smw-faq details + details {
	margin-top: 12px;
}

.smw-faq summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--smw-ink);
	font-size: 1.03rem;
	list-style: none;
	position: relative;
	padding-right: 32px;
}

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

.smw-faq summary::after {
	content: "+";
	position: absolute;
	right: 2px;
	top: 50%;
	translate: 0 -50%;
	color: var(--jsg-color-accent);
	font-weight: 600;
	font-size: 1.35rem;
	line-height: 1;
	transition: rotate 0.15s ease;
}

.smw-faq details[open] summary::after {
	rotate: 45deg;
}

.smw-faq-a {
	margin: 12px 0 0;
	color: var(--jsg-color-muted);
	line-height: 1.65;
	font-size: 0.98rem;
}

.smw-note {
	font-size: 0.86rem;
	color: var(--smw-faint);
	line-height: 1.6;
}

.smw-avatar {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--smw-tint);
	color: var(--jsg-color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--jsg-font-heading);
	font-weight: 600;
	font-size: 1.15rem;
	flex-shrink: 0;
}

.smw-hero {
	background: linear-gradient(180deg, #fff 0%, var(--smw-tint) 100%);
	text-align: center;
	padding: 78px 0 66px;
}

.smw-hero .smw-display {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

.smw-hero .smw-lead {
	max-width: 660px;
	margin-left: auto;
	margin-right: auto;
}

.smw-hero .smw-actions {
	justify-content: center;
	margin: 0 0 20px;
}

@media (max-width: 540px) {
	.smw-section {
		padding: 56px 0;
	}

	.smw-hero {
		padding: 56px 0 48px;
	}
}

/* ------------------------------------------------------------------
   12. Folded from Customizer Additional CSS (jsg/v1/custom-css route),
   2026-08-13. After this version is uploaded and verified, clear the
   Customizer CSS to retire the duplicates.
   ------------------------------------------------------------------ */

/* Crisis notice block, used on mental health pages (managed remotely) */
.smw-crisis { border: 1px solid #d9d8f2; background: #fff; border-radius: 12px; padding: 16px 22px; font-size: 0.93rem; line-height: 1.65; color: #4c4d66; }
.smw-crisis strong { color: #191a2e; }

/* Shared components promoted from page fragments (fold into theme at 1.0.2) */
.smw-cred { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--jsg-color-accent); margin: 0 0 10px; }
.smw-value { background: var(--smw-tint); border-radius: 12px; padding: 20px 22px; }
.smw-value-title { font-weight: 600; color: var(--smw-ink); margin: 0 0 6px; }
.smw-value-text { font-size: 0.92rem; line-height: 1.55; color: var(--jsg-color-muted); margin: 0; }

/* Header logo: horizontal lockup, media id 47 (715x240). Added 2026-08-01. */
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { max-height: 56px; }
@media (max-width: 620px) { .custom-logo { max-height: 44px; } }

/* ===== Visual system additions (2026-08-01): hero glows, shared icon badge,
   stepper, art helpers. Fold into theme at 1.0.2. ===== */
.smw-hero { position: relative; overflow: hidden; }
.smw-hero .smw-wrap { position: relative; z-index: 1; }
.smw-hero::before, .smw-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.smw-hero::before { width: 560px; height: 560px; left: -160px; top: -200px; background: radial-gradient(circle, rgba(140,138,239,0.18) 0%, rgba(140,138,239,0) 65%); }
.smw-hero::after { width: 680px; height: 680px; right: -200px; bottom: -300px; background: radial-gradient(circle, rgba(63,61,187,0.10) 0%, rgba(63,61,187,0) 65%); }

.smw-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--smw-tint, #f2f1fb); color: var(--jsg-color-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; flex-shrink: 0; }

.smw-diagram { display: block; width: 100%; height: auto; }
.smw-diagram-note { font-size: 0.8rem; color: #7a7b96; margin: 8px 0 0; }

.smw-stepper { list-style: none; margin: 0; padding: 0; position: relative; }
.smw-stepper li { position: relative; padding: 0 0 22px 46px; }
.smw-stepper li::before { content: attr(data-step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--jsg-color-accent); color: #fff; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.smw-stepper li::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 4px; width: 2px; background: #d9d8f2; }
.smw-stepper li:last-child { padding-bottom: 0; }
.smw-stepper li:last-child::after { display: none; }

/* Photo placement helpers (2026-08-01) */
.smw-photo { display: block; width: 100%; height: auto; border-radius: 14px; }
.smw-photo-fig { margin: 26px 0 0; }
.smw-card--media { padding: 0; overflow: hidden; }
.smw-card--media .smw-card-media { display: block; width: 100%; height: auto; }
.smw-card--media .smw-card-body { padding: 22px 26px 26px; }

/* Fraunces optical size pinned to 30 on large type: tames the display-cut f
   while keeping heading contrast (Jason, 2026-08-12). Fold into theme 1.0.3. */
h1, h2, h3, h4,
.smw-display, .smw-h2, .smw-h3,
.exo-price, .spr-price,
.team-profile-name, .team-hub, .team-node .smw-avatar,
.home-review-quote, .smw-avatar {
	font-variation-settings: 'opsz' 30;
}
