/*
Theme Name: Bloom Psychology Group
Theme URI: https://bloompsychologync.com/
Author: Connect Web Design Studio
Author URI: https://connectwebdesignstudio.com
Description: Custom theme for Bloom Psychology Group (replaces Thrive Theme Builder, same look). Pages are Custom HTML blocks, one per section, using the classes below.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: bloom
*/

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
	font-family: "Raleway";
	src: url("fonts/raleway-latin.woff2") format("woff2");
	font-weight: 400 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Raleway";
	src: url("fonts/raleway-latin-italic.woff2") format("woff2");
	font-weight: 400 600;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Eyesome Script";
	src: url("fonts/eyesome-script.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ---------- Base ---------- */
:root {
	--mauve: #ad6f73;
	--mauve-dark: #8f5559;
	--cream: #faf6f3;
	--ink: #000;
	--muted: #6f6a68;
	--line: #e9dfdb;
	--wrap: 1080px;
	--gutter: 24px;
	--body: "Raleway", "Helvetica Neue", Arial, sans-serif;
	--script: "Eyesome Script", "Brush Script MT", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--body);
	font-size: 19px;
	line-height: 1.7;
	color: var(--ink);
	background: #fff;
	font-variant-numeric: oldstyle-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mauve); text-decoration: none; }
a:hover { color: var(--mauve-dark); }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
h1, h2, h3, h4, h5, h6 { font-family: var(--body); font-weight: 400; line-height: 1.3; margin: 0 0 .5em; color: var(--ink); }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; margin: 0;
	padding: 10px 18px; background: #fff; color: var(--mauve); z-index: 1000; box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(980px + var(--gutter) * 2); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header { padding: 12px 0 0; background: #fff; position: relative; z-index: 50; }
.site-header .brand { display: flex; align-items: center; gap: 56px; max-width: 1080px; margin: 0 auto; }
.site-header .brand::before,
.site-header .brand::after { content: ""; flex: 1; height: 1px; background: var(--mauve); }
.site-logo img { width: 278px; height: auto; }
.nav-toggle { display: none; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px 0; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav a { display: block; color: var(--mauve); font-size: 21px; line-height: 1.3; padding: 14px 31px 18px; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--mauve-dark); }
.main-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 0 4px 14px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	min-width: 290px; background: #fff; box-shadow: 0 10px 30px rgba(80, 50, 52, .14); border-top: 2px solid var(--mauve);
	opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav li.open > .sub-menu { opacity: 1; visibility: visible; }
.main-nav .sub-menu a { font-size: 17px; padding: 9px 24px; text-align: center; }

/* ---------- Sections ---------- */
main { display: block; }
.sec { padding: 56px 0; }
.sec.tight-top { padding-top: 24px; }
.sec.tight-bottom { padding-bottom: 24px; }
.sec + .sec { padding-top: 32px; }
.sec.space-top { padding-top: 88px; }
.sec:last-child { padding-bottom: 44px; }
.sections > :first-child .sec, .sections > .sec:first-child { padding-top: 52px; }
.sections > .sec.hero-top:first-child { padding-top: 4px; }
.sections > .sec.legal-sec:first-child { padding-top: 24px; }

.script {
	font-family: var(--script); font-weight: 400; color: var(--mauve);
	font-size: 42px; line-height: 1.75; margin: -.225em 0 .075em; /* tall lines like the old site; margins cancel the extra space */ letter-spacing: 0;
}
.script.md { font-size: 38px; }
.script.sm { font-size: 35px; }
.eyebrow { font-size: 17px; text-transform: uppercase; letter-spacing: 5px; line-height: 1.5; margin: 0 0 .7em; font-weight: 400; }
.statement { font-size: 35px; line-height: 1.4; margin: 0 auto .3em; max-width: 720px; }
.lead { font-weight: 500; font-size: 21px; line-height: 1.5; }
.lead.body-size { font-size: inherit; line-height: inherit; }
.kicker { font-size: 21px; line-height: 1.45; margin: 0 0 .5em; }
.kicker strong { font-weight: 500; }
.divider { display: block; width: 140px; height: auto; margin: 4px auto 22px; }
.split-text .divider, .frame .divider { margin-bottom: 18px; }
.prose p { margin-bottom: 1.15em; }
.prose > :last-child { margin-bottom: 0; }
.sub { font-size: 21px; font-weight: 500; line-height: 1.4; margin: 1.4em 0 .15em; }
.prose .sub + p { margin-top: 0; }
.sub:first-child { margin-top: 0; }

.btn, .entry .wp-block-button__link {
	display: inline-block; background: var(--mauve); color: #fff; font-family: var(--body);
	font-size: 18px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; line-height: 1.3;
	padding: 22px 42px; border: 0; border-radius: 0; cursor: pointer; text-align: center; transition: background .15s;
}
.btn:hover, .btn:focus-visible { background: var(--mauve-dark); color: #fff; }
.btn.sm { font-size: 16px; padding: 16px 21px; }
.btns { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 28px; }
.btns.left { justify-content: flex-start; }

/* Chevron bullet list */
.ticks { list-style: none; margin: 0 0 1em; padding: 0; text-align: left; }
.ticks li { position: relative; padding-left: 24px; margin: 0 0 6px; line-height: 1.45; }
.ticks li::before {
	content: ""; position: absolute; left: 2px; top: .52em; width: 7px; height: 7px;
	border-right: 2px solid var(--mauve); border-top: 2px solid var(--mauve); transform: rotate(45deg);
}
.ticks.roomy li { margin-bottom: 14px; }
.ticks-center { display: flex; justify-content: center; }
.ticks-center .ticks { display: inline-block; }

/* Framed cream panel: thin mauve inset line with a leaf at top-left and bottom-right */
.frame {
	--fi: 30px; --fg: 48px; --leaf: 48px;
	position: relative; padding: 64px 80px; text-align: center;
	background-color: var(--cream);
	background-image:
		url("img/leaf-tl.png"), url("img/leaf-br.png"),
		linear-gradient(var(--mauve), var(--mauve)), linear-gradient(var(--mauve), var(--mauve)),
		linear-gradient(var(--mauve), var(--mauve)), linear-gradient(var(--mauve), var(--mauve));
	background-repeat: no-repeat;
	background-size:
		var(--leaf) var(--leaf), var(--leaf) var(--leaf),
		calc(100% - var(--fi) * 2 - var(--fg)) 1px, 1px calc(100% - var(--fi) * 2 - var(--fg)),
		1px calc(100% - var(--fi) * 2 - var(--fg)), calc(100% - var(--fi) * 2 - var(--fg)) 1px;
	background-position:
		calc(var(--fi) - 8px) calc(var(--fi) - 8px), calc(100% - var(--fi) + 8px) calc(100% - var(--fi) + 8px),
		calc(var(--fi) + var(--fg)) var(--fi), var(--fi) calc(var(--fi) + var(--fg)),
		calc(100% - var(--fi)) var(--fi), var(--fi) calc(100% - var(--fi));
}
.frame > :last-child { margin-bottom: 0; }
.frame .script { margin-bottom: .075em; }
.frame.left { text-align: left; }
.frame-intro { max-width: 900px; margin: 0 auto 1.4em; }
.frame > .script + p, .hero-card .script + p, .frame-intro { font-size: 21px; line-height: 1.5; }
.frame.narrow { max-width: 980px; margin-left: auto; margin-right: auto; }

/* Hero: photo with a framed card overlapping its bottom edge */
.hero-photo { position: relative; }
.hero-photo > img { width: 100%; aspect-ratio: 1080 / 608; object-fit: cover; }
.hero-photo.short > img { aspect-ratio: 1080 / 608; }
.hero-card { width: calc(100% - 100px); max-width: 980px; margin: -98px auto 0; position: relative; padding: 58px 50px 56px; }
.hero-card .script { font-size: 38px; line-height: 1.75; margin: 0 0 .2em; }
.hero-card p { max-width: 840px; margin-left: auto; margin-right: auto; }
.down-arrow { display: block; width: 28px; height: 46px; margin: 10px auto 0; color: var(--mauve); }
.down-arrow svg { display: block; width: 100%; height: 100%; fill: currentColor; }

/* Two columns: text + photo */
.split { display: grid; grid-template-columns: 1fr 42%; gap: 30px; align-items: center; }
.split.rev { grid-template-columns: 42% 1fr; }
.split.rev .split-media { order: -1; }
.split.top { align-items: start; }
.split.split-even { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-top: 10px; }
.block + .block { margin-top: 88px; }
.sec.center .prose { max-width: 1060px; margin-left: auto; margin-right: auto; }
.split-text { text-align: center; padding: 0 2px; }
.split-text > :last-child { margin-bottom: 0; }
.split-text .ticks { display: inline-block; max-width: 100%; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 454 / 630; }
.split-media.tall img { aspect-ratio: 454 / 790; }
.split-media.square img { aspect-ratio: 1 / 1; }
.split-media.free img { aspect-ratio: auto; height: auto; }
.split-media.mid img { aspect-ratio: 454 / 560; }
/* Bio photos fill the height of the text beside them (like the old site) */
.split.fill { align-items: stretch; }
.split.fill .split-media { position: relative; min-height: 300px; }
.split.fill .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.split + .split { margin-top: 56px; }
.after-split { text-align: center; margin-top: 40px; }
.after-split .prose { max-width: 1040px; margin: 0 auto; }

/* Photo band with mauve border and a framed card inside (home "Who we help") */
.photo-band { position: relative; border: 3px solid var(--mauve); padding: 88px 48px 96px; overflow: hidden; }
.photo-band > img.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.photo-band > .frame { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; }
.photo-band.flush-top { padding-top: 90px; }

/* Services: 4 columns with icons */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 20px; margin-top: 36px; }
.svc { display: flex; flex-direction: column; align-items: center; }
.svc-icon {
	width: 36px; height: 38px; color: var(--mauve); margin: 0 auto 22px; padding: 4px 0;
	border-top: 1px solid var(--mauve); border-bottom: 1px solid var(--mauve); box-sizing: content-box;
	display: flex; align-items: center; justify-content: center;
}
.svc-icon svg { width: 28px; height: 28px; fill: currentColor; }
.svc h3 { font-size: 21px; font-weight: 500; color: var(--mauve); line-height: 1.5; margin: 0 0 .9em; }
.svc p { font-size: 18px; line-height: 1.65; flex: 1; }
.svc .btn { margin-top: 6px; }

/* Two cards side by side inside a frame (About / Services pages) */
.card-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; margin-top: 40px; }
.card-cols h2, .card-cols h3 { font-size: 21px; font-weight: 500; color: var(--mauve); line-height: 1.45; margin: 0 0 .7em; }
.card-cols p { font-size: 18px; }
.card-cols > div { display: flex; flex-direction: column; align-items: center; }
.card-cols > div p { flex: 1; }

/* Press logos */
.media-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 34px; margin: 30px auto 0; max-width: 790px; }
.media-logos a { flex: 0 0 33.333%; display: flex; justify-content: center; padding: 0 10px; }
.media-logos img { width: 210px; height: auto; max-width: 100%; }
.media-logos a:nth-child(3) img, .media-logos a:nth-child(6) img { width: 253px; }
.media-logos a:nth-child(7) img { width: 282px; }
.media-logos a:nth-child(n+7) { flex-basis: 45%; }
.media-note { font-style: italic; font-size: 17px; line-height: 1.45; }

/* Framed card over a full photo background (credentials) */
.photo-frame { position: relative; border: 3px solid var(--mauve); padding: 88px 88px; overflow: hidden; }
.photo-frame > img.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.photo-frame > .frame { position: relative; z-index: 1; }
.photo-frame .ticks { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Team members */
.member + .member { margin-top: 72px; }
.member .role { font-style: italic; }
.member-title { font-weight: 500; font-size: 21px; margin-bottom: .6em; }

/* FAQ accordion */
.faq-group + .faq-group { margin-top: 40px; }
.faq-group > .script { margin-bottom: .275em; }
.faq { text-align: left; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 21px; font-weight: 500; line-height: 2; margin: 0; }
.faq summary::after {
	content: ""; flex: 0 0 auto; width: 30px; height: 26px; background: var(--mauve);
	-webkit-mask: url("img/faq-arrow.svg") center / contain no-repeat; mask: url("img/faq-arrow.svg") center / contain no-repeat;
}
.faq[open] summary::after { transform: scaleY(-1); }
.faq summary:hover h3 { color: var(--mauve); }
.faq-body { padding: 4px 4px 22px; font-size: 18px; }
.faq-body .ticks { margin-top: -.4em; }
.price-name { font-weight: 600; letter-spacing: 1px; margin: 1.2em 0 .3em; }

/* Contact */
.contact-list p { margin-bottom: 1.2em; }
.contact-list strong { font-weight: 500; }
.contact-list .ask { font-size: 21px; font-weight: 400; }

/* Legal / plain pages */
.page-head { text-align: center; padding: 36px 0 8px; }
.page-head h1 { font-family: var(--script); color: var(--mauve); font-size: 46px; line-height: 1.25; margin: 0; }
.page-column { max-width: calc(860px + var(--gutter) * 2); margin: 0 auto; padding: 20px var(--gutter) 96px; }
/* Terms page: plain headings, full width, like the old site */
.entry.legal { font-size: 18px; line-height: 1.75; }
.entry.legal h1, .entry.legal h2 { font-family: var(--body); color: var(--ink); font-size: 40px; font-weight: 400; line-height: 1.3; margin: 1.1em 0 .45em; }
.entry.legal h1 { text-align: center; margin: 0 0 .3em; }
.entry.legal .modified { text-align: center; font-size: 19px; }
.entry.legal a { text-decoration: none; }
.entry.legal h3 { font-family: var(--body); color: var(--ink); font-size: 28px; font-weight: 400; margin: 1.2em 0 .45em; }

/* ---------- Blog ---------- */
.blog-layout { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 14px var(--gutter) 96px; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 50px; align-items: start; }
.blog-head { text-align: center; margin-bottom: 26px; }
.blog-head h1 { font-family: var(--script); color: var(--mauve); font-size: 46px; line-height: 1.25; margin: 0; }
.blog-head p { margin: .3em 0 0; }
.post-item { margin-bottom: 72px; }
.item-img { position: relative; display: block; margin-bottom: 26px; }
.item-img img { width: 100%; aspect-ratio: 731 / 380; object-fit: cover; }
.item-cat {
	position: absolute; left: 0; bottom: 0; background: var(--mauve); color: #fff; font-size: 12px; letter-spacing: 1px;
	text-transform: uppercase; padding: 6px 9px; line-height: 1.4;
}
.item-cat:hover { color: #fff; background: var(--mauve-dark); }
.item-date { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.post-item h2 { font-size: 34px; line-height: 1.38; margin: 0 0 .6em; }
.post-item h2 a { color: var(--mauve); }
.post-item h2 a:hover { color: var(--mauve-dark); }
.item-excerpt { font-size: 18px; line-height: 1.75; }
.read-more { display: inline-block; background: var(--mauve); color: #fff; font-size: 16px; font-weight: 500; letter-spacing: 1.5px; padding: 12px 8px; margin-top: 6px; }
.read-more:hover { background: var(--mauve-dark); color: #fff; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-block; min-width: 42px; padding: 8px 12px; border: 1px solid var(--mauve); color: var(--mauve); text-align: center; font-size: 16px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--mauve); color: #fff; }
.archive-intro { text-align: center; margin-bottom: 32px; }

/* Post page: wide photo on top, then article + sidebar (like the old site) */
.post-hero { max-width: calc(1040px + var(--gutter) * 2); margin: 0 auto; padding: 14px var(--gutter) 0; }
.post-hero img { width: 100%; aspect-ratio: 1040 / 560; object-fit: cover; }
.single-layout { max-width: calc(1050px + var(--gutter) * 2); grid-template-columns: minmax(0, 1fr) 293px; gap: 60px; }
.single-layout.has-hero { padding-top: 90px; }
.post-date { font-size: 11px; letter-spacing: 5px; text-transform: uppercase; color: var(--muted); margin: 0; }
.post-title { color: var(--mauve); font-size: 40px; line-height: 1.3; margin: 0 0 14px; }
.post-header { padding-bottom: 22px; border-bottom: 1px dotted #d9cfcb; margin-bottom: 30px; }
.entry { font-size: 18px; line-height: 1.75; overflow-wrap: break-word; }
.entry > * { margin-top: 0; margin-bottom: 1.15em; }
.entry h2 { font-size: 34px; line-height: 1.4; margin: 1.3em 0 .6em; }
.entry h3 { font-size: 26px; line-height: 1.35; margin: 1.3em 0 .55em; }
.entry h4 { font-size: 21px; font-weight: 600; margin: 1.2em 0 .5em; }
.entry h2:first-child, .entry h3:first-child { margin-top: 0; }
.entry a { text-decoration: none; }
.entry a:hover { text-decoration: underline; text-underline-offset: 2px; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry li { margin-bottom: 1.1em; }
.entry blockquote { margin: 1.5em 0; padding: 18px 26px; border-left: 3px solid var(--mauve); background: var(--cream); }
.entry img { height: auto; }
.entry figure { margin-left: 0; margin-right: 0; }
.entry figcaption { font-size: 15px; color: var(--muted); text-align: center; margin-top: 6px; }
.entry .alignleft { float: left; margin: 6px 26px 14px 0; }
.entry .alignright { float: right; margin: 6px 0 14px 26px; }
.entry .aligncenter { margin-left: auto; margin-right: auto; }
.entry table { border-collapse: collapse; width: 100%; font-size: 17px; }
.entry th, .entry td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.entry iframe { max-width: 100%; }
.post-cta { margin-top: 48px; }
.post-cta .script { font-size: 40px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px dotted #d9cfcb; font-size: 17px; }
.post-nav a { max-width: 46%; }

/* Sidebar */
.sidebar { background: var(--cream); padding: 20px 14px; }
.sidebar .widget { background: #fff; border: 1px solid var(--mauve); padding: 22px 20px 26px; margin-top: 20px; text-align: center; }
.widget-title { font-family: var(--script); color: var(--mauve); font-size: 36px; line-height: 1.2; margin: 0 0 .35em; }
.widget ul { list-style: none; margin: 0; padding: 0; text-align: left; }
.widget-cats { padding: 0 18px !important; }
.widget-cats li { font-size: 17px; line-height: 1.65; }
.widget-cats a, .widget-recent a { color: var(--ink); }
.widget-cats a:hover, .widget-recent a:hover { color: var(--mauve); }
.widget-recent li { font-size: 16px; line-height: 1.5; padding: 8px 0 8px 18px; border-bottom: 1px solid #f0e9e6; }
.widget .flower { width: 34px; height: auto; margin: -6px auto 12px; }
.widget .widget-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 14px; }
.widget p { font-size: 16px; line-height: 1.6; }
.widget .btn { font-size: 14px; padding: 13px 18px; margin: 4px 2px 0; }
.widget-follow a { display: inline-block; margin: 0 6px; font-size: 16px; }
.search-form { display: flex; }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; background: #fff; padding: 12px 14px; font: 13px/1.4 var(--body); letter-spacing: 1px; color: var(--ink); }
.search-form button { width: 54px; border: 0; background: var(--mauve); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.search-form button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.page-column .search-form input[type="search"], .not-found .search-form input[type="search"] { border: 1px solid #d8ccc8; }
.not-found { text-align: center; max-width: 640px; margin: 0 auto; padding: 10px var(--gutter) 96px; }
.not-found .search-form { margin-top: 24px; }

/* ---------- Ninja Forms (contact) ---------- */
.nf-form-cont { text-align: left; font-family: var(--body); margin-top: 18px; }
.nf-form-fields-required { text-align: center; font-size: 17px; margin-bottom: 12px; }
.nf-form-cont .nf-field-label label { font-family: var(--body); font-size: 16px; font-weight: 500; color: var(--ink); }
.nf-form-cont .ninja-forms-req-symbol { color: #c4302b; } /* red, like the old form */
.nf-form-cont input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.nf-form-cont select, .nf-form-cont textarea {
	font-family: var(--body) !important; font-size: 17px !important; color: var(--ink) !important;
	background: #fff !important; border: 1px solid #d8ccc8 !important; border-radius: 0 !important; padding: 10px 12px !important;
}
.nf-form-cont select { height: auto !important; }
.nf-form-cont input:focus, .nf-form-cont select:focus, .nf-form-cont textarea:focus { border-color: var(--mauve) !important; outline: none; }
.nf-form-cont input[type="submit"], .nf-form-cont input[type="button"] {
	background: var(--mauve) !important; color: #fff !important; font: 500 17px/1.3 var(--body) !important; letter-spacing: 2px; text-transform: uppercase;
	border: 0 !important; border-radius: 0 !important; padding: 20px 42px !important; height: auto !important; cursor: pointer;
}
.nf-form-cont input[type="submit"]:hover { background: var(--mauve-dark) !important; }
.nf-form-cont .submit-container { text-align: center; }
.nf-form-cont .nf-error-msg, .nf-form-cont .ninja-forms-req-symbol { font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 40px 0 26px; }
.site-footer .footer-logo img { width: 278px; margin: 0 auto; }
.footer-nav ul { list-style: none; margin: 28px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; }
.footer-nav a { display: block; padding: 6px 25px; font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; color: var(--mauve); }
.footer-book { display: inline-block; margin-top: 18px; font-size: 19px; text-decoration: underline; text-underline-offset: 4px; }
.footer-nap { font-style: normal; font-size: 18px; line-height: 1.36; margin-top: 26px; }
.footer-nap .org { color: var(--mauve); }
.footer-nap a { color: var(--ink); }
.footer-nap a:hover { color: var(--mauve); }
.social-icons { list-style: none; margin: 32px 0 0; padding: 0; display: flex; justify-content: center; gap: 35px; }
.social-icons a { display: flex; width: 38px; height: 38px; border-radius: 50%; background: var(--mauve); align-items: center; justify-content: center; color: #fff; }
.social-icons a:hover { background: var(--mauve-dark); color: #fff; }
.social-icons svg { width: 19px; height: 19px; fill: currentColor; }
.copyright { margin: 36px 0 0; font-size: 18px; }
.legal-link { display: inline-block; margin-top: 18px; font-size: 18px; }
.credit { margin: 30px 0 0; font-size: 11px; color: var(--ink); }
.credit a { color: var(--ink); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.svc-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
	.frame { padding: 60px 56px; }
	.photo-frame { padding: 64px 40px; }
}

/* ---------- Phone and small tablet ---------- */
@media (max-width: 900px) {
	.site-header { padding-top: 14px; }
	.site-header .brand { gap: 0; justify-content: center; }
	.site-header .brand::before, .site-header .brand::after { display: none; }
	.site-logo img { width: 272px; }
	.nav-toggle {
		display: block; margin: 8px auto 6px; width: 52px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--mauve);
	}
	.nav-toggle svg { width: 38px; height: 38px; fill: currentColor; margin: 0 auto; display: block; }
	.nav-toggle .x { display: none; }
	.nav-open .nav-toggle .bars { display: none; }
	.nav-open .nav-toggle .x { display: block; }
	.main-nav { display: none; border-top: 1px solid var(--mauve); border-bottom: 1px solid var(--mauve); margin: 0 var(--gutter) 8px; }
	.nav-open .main-nav { display: block; }
	.main-nav > ul { display: block; text-align: center; padding: 8px 0; }
	.main-nav a { font-size: 20px; padding: 10px 12px; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 6px; min-width: 0; }
	.main-nav .sub-menu a { font-size: 17px; padding: 6px 12px; }

	.sec { padding: 40px 0; }
	.sec + .sec { padding-top: 24px; }
	.sec.space-top { padding-top: 56px; }
	.sec:last-child { padding-bottom: 64px; }
	.sections > :first-child .sec, .sections > .sec:first-child { padding-top: 52px; }
	.sections > .sec.hero-top:first-child { padding-top: 8px; }
	.page-head h1, .blog-head h1 { font-size: 38px; }
	.entry.legal h1, .entry.legal h2 { font-size: 27px; }
	.entry.legal h3 { font-size: 22px; }
	.widget-title, .post-cta .script { font-size: 34px; }
	.statement { font-size: 31px; }
	.eyebrow { font-size: 15px; letter-spacing: 3.5px; }
	.wrap.flush-sm { padding: 0 12px; }

	.frame { --fi: 14px; --fg: 34px; --leaf: 34px; padding: 50px 26px 48px; }
	.hero-card { width: calc(100% - 22px); margin-top: -64px; padding-top: 44px; padding-bottom: 46px; }
	.hero-card .script { font-size: 31px; }
	.hero-photo > img { aspect-ratio: 362 / 480; }
	.hero-photo.short > img, .hero-photo.wide > img { aspect-ratio: 16 / 10; }

	.split, .split.rev, .split.split-even { grid-template-columns: 1fr; gap: 24px; }
	.block + .block { margin-top: 56px; }
	.split .split-media, .split.rev .split-media { order: 2; }
	.split.media-first .split-media { order: -1; }
	.split-media img { aspect-ratio: 4 / 5; }
	.split-media.square img { aspect-ratio: 1 / 1; }
	.split.fill .split-media { min-height: 0; }
	.split.fill .split-media img { position: static; aspect-ratio: 4 / 5; }
	.split + .split { margin-top: 48px; }

	.photo-band, .photo-frame { padding: 40px 12px; border-width: 2px; }
	.svc-grid { grid-template-columns: 1fr; gap: 44px; }
	.card-cols { grid-template-columns: 1fr; gap: 36px; }
	.media-logos { row-gap: 24px; }
	.media-logos a { flex-basis: 50%; }
	.btn { padding: 20px 26px; }
	.btns { gap: 14px; }

	.blog-layout, .single-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.single-layout.has-hero { padding-top: 34px; }
	.post-hero { padding: 6px 20px 0; }
	.post-date { letter-spacing: 3px; }
	.post-item h2 { font-size: 28px; }
	.post-title { font-size: 28px; }
	.entry h2 { font-size: 24px; }
	.entry h3 { font-size: 21px; }
	.entry .alignleft, .entry .alignright { float: none; margin: 0 auto 1em; }

	.site-footer { padding-top: 24px; }
	.footer-nav a { padding: 6px 14px; font-size: 17px; }
	.social-icons { gap: 22px; }
	.copyright { font-size: 16px; }
}

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