/*
Theme Name: MindfulSpace
Theme URI: https://example.com/
Author: SUSASTHYA
Description: An original, calm, mobile-first WordPress theme for an individual psychologist's practice. Homepage built from 14 conversion-led sections, an accessible appointment enquiry form, FAQs, articles and consent-based client feedback.
Version: 1.0.0
Requires at least: 6.3
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: mindfulspace
*/

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Fraunces"; src: url(assets/fonts/fraunces.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(assets/fonts/dm-sans.woff2) format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--blue: #326C91;
	--blue-dark: #27566f;
	--sage: #A8BFAE;
	--sage-tint: #DCE6DF;
	--ivory: #F4F1EB;
	--char: #263746;
	--white: #FFFFFF;
	--muted: #485b69;
	--line: rgba(38, 55, 70, .14);
	--field: #7a8d9b;
	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 12px 34px -14px rgba(38, 55, 70, .28);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--char); background: var(--white); padding-bottom: 4.6rem; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--char); }
h1 { font-size: clamp(2.15rem, 1.2rem + 4.6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
.h4 { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 2rem 0 .8rem; }
.sr-only { 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 { position: absolute; left: 1rem; top: -4rem; background: var(--char); color: #fff; padding: .7rem 1rem; z-index: 200; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }
.container { width: min(100% - 2.5rem, 1160px); margin-inline: auto; }
.container.narrow { width: min(100% - 2.5rem, 780px); }
.ico { flex: none; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: .9rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow--light { color: var(--ivory); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.5rem; border-radius: 999px; font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--light { background: #fff; color: var(--blue-dark); }
.btn--light:hover { background: var(--ivory); color: var(--blue-dark); }
.btn--outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--blue-dark); }
.btn--lg { min-height: 54px; padding: .8rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(38, 55, 70, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--char); }
.brand-mark, .brand .custom-logo { width: 40px; height: 40px; flex: none; }
.brand .custom-logo { width: auto; max-height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { display: none; font-size: .74rem; color: var(--muted); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.js .nav-toggle { display: inline-flex; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--char); border-radius: 2px; transition: transform .25s, opacity .2s; content: ""; position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle-bars::after { position: absolute; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: var(--shadow); }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: flex; }
.nav-list { display: flex; flex-direction: column; }
.nav-list a { display: block; padding: .85rem .25rem; color: var(--char); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-list a:hover { color: var(--blue); }
.nav-cta { margin-top: .5rem; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section--white { background: var(--white); }
.section--ivory { background: var(--ivory); }
.section--sage { background: var(--sage-tint); }
.section--blue { background: var(--blue); color: #fff; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue .section-lead { color: #fff; opacity: .95; }
.section-head { margin-bottom: 2.5rem; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.section-head--row h2 { margin-bottom: 0; }
.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal.is-hidden { opacity: 0; transform: translateY(16px); }
.reveal.is-hidden.is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ivory); padding: 2.5rem 0 3.5rem; }
.hero::before { content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 191, 174, .5), rgba(168, 191, 174, 0) 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero-copy h1 { margin-bottom: .45em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.5rem; }
.hero-actions .btn--ghost { display: none; } /* WhatsApp lives in the sticky bar on phones */
.trust-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.trust-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .75rem; font-size: .82rem; font-weight: 600; color: var(--char); }
.hero-visual { position: relative; width: min(88%, 440px); margin-inline: auto; }
.arch { position: relative; aspect-ratio: 5 / 6; border-radius: 999px 999px 28px 28px; background: linear-gradient(180deg, #c7d8cc 0%, var(--sage) 100%); overflow: hidden; box-shadow: var(--shadow); }
.arch img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.hero-badge { position: absolute; left: -4%; bottom: 7%; margin: 0; background: #fff; border-radius: 14px; padding: .7rem 1rem; box-shadow: var(--shadow); font-size: .82rem; line-height: 1.3; color: var(--muted); }
.hero-badge span { display: block; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; color: var(--char); }

/* ---------- Intro ---------- */
.intro-grid { display: grid; gap: 2.5rem; align-items: center; }
.intro-copy p { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.stats { display: grid; gap: 1rem; }
.stats li { background: var(--ivory); border-radius: var(--radius); padding: 1.3rem 1.5rem; display: flex; align-items: baseline; gap: 1rem; }
.stats strong { font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: var(--blue); min-width: 5.6rem; font-weight: 600; }
.stats span { color: var(--muted); font-size: .98rem; line-height: 1.35; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.5rem; }
.about-bio p { max-width: 38rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-size: .9rem; }
.credentials { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.credentials .h4:first-of-type { margin-top: 1.6rem; }
.reg-card { display: grid; gap: .15rem; background: var(--blue); color: #fff; border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; }
.reg-card strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.reg-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.timeline { border-left: 2px solid var(--sage); margin-left: .4rem; }
.timeline li { position: relative; padding: 0 0 1.2rem 1.3rem; display: grid; gap: .1rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .5rem; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; }
.timeline-years { font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
.timeline span:last-child { color: var(--muted); font-size: .95rem; }
.roles li { display: grid; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.roles li:last-child { border-bottom: 0; }
.roles span { color: var(--muted); font-size: .93rem; }

/* ---------- Practice ---------- */
.card-grid { display: grid; gap: 1.2rem; }
.card { background: var(--ivory); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sage-tint); color: var(--blue); margin-bottom: 1.1rem; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: 1rem; flex: 1; }
.card-basis { margin-top: .4rem; padding-top: .8rem; border-top: 2px solid var(--sage); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

/* ---------- Approach ---------- */
.method-grid { display: grid; gap: 1.2rem; }
.method { background: #fff; border-radius: var(--radius); padding: 1.8rem; }
.method-abbr { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; font-weight: 600; color: var(--blue); margin-bottom: .5rem; }
.method h3 { font-size: 1.15rem; }
.method p { color: var(--muted); margin: 0; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 1.6rem; }
.step { position: relative; padding-left: 3.7rem; }
.step-num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 1.2rem; top: 2.9rem; bottom: -1.4rem; width: 2px; background: var(--sage); }
.step h3 { font-size: 1.15rem; margin-bottom: .3em; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }
.process-note { margin: 2.2rem 0 0; padding: 1rem 1.3rem; background: var(--ivory); border-radius: var(--radius-sm); color: var(--muted); max-width: 44rem; }

/* ---------- Activities ---------- */
.two-col { display: grid; gap: 1.2rem; align-items: start; }
.panel { background: #fff; border-radius: var(--radius); padding: 1.8rem; }
.panel h3 { margin-bottom: 1rem; }
.check-list li { position: relative; padding: .55rem 0 .55rem 2rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: .15rem; top: 1rem; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.pub { display: grid; gap: .3rem; padding: 1rem 1.2rem; background: var(--ivory); border-left: 4px solid var(--sage); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.pub span { color: var(--muted); font-size: .97rem; }

/* ---------- Video ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--blue) 0%, var(--char) 100%); box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; background: none; border: 0; color: #fff; cursor: pointer; font: 600 1rem var(--sans); }
.play-disc { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--blue); transition: transform .2s; }
.play-disc .ico { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.video-play:hover .play-disc { transform: scale(1.07); }
.video-note { margin: .8rem 0 0; font-size: .88rem; color: var(--muted); text-align: center; }

/* ---------- Articles ---------- */
.post-grid { display: grid; gap: 1.4rem; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); }
.post-card-media { display: block; aspect-ratio: 16 / 10; background: var(--sage-tint); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-art { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--sage-tint), var(--sage)); }
.post-card-art svg { width: 64px; height: 64px; }
.post-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.post-card h3 { font-size: 1.25rem; }
.post-card h3 a { color: var(--char); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { color: var(--muted); font-size: .98rem; }
.read-more { margin-top: auto; font-weight: 600; text-decoration: none; }
.read-more::after { content: " →"; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--char); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Feedback ---------- */
.quote-grid { display: grid; gap: 1.2rem; }
.quote { background: #fff; border-radius: var(--radius); padding: 1.8rem; }
.quote blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.quote blockquote p:last-child { margin: 0; }
.quote-by { margin: 0; font-size: .9rem; font-weight: 700; color: var(--blue); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; }
.faq-item { background: var(--ivory); border-radius: var(--radius-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; padding: 1rem 1.3rem; font-weight: 600; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--blue); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1.3rem 1.3rem; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }

/* ---------- Appointment CTA + form ---------- */
.cta-grid { display: grid; gap: 2.5rem; align-items: start; }
.assure { margin: 1.4rem 0 1.8rem; display: grid; gap: .6rem; }
.assure li { position: relative; padding-left: 1.9rem; }
.assure li::before { content: ""; position: absolute; left: .1rem; top: .5rem; width: 12px; height: 7px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.cta-direct { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.form-card { background: #fff; color: var(--char); border-radius: 24px; padding: 1.6rem; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .45); }
.form-title { margin-bottom: 1rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; gap: 0; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.req { color: #a31d1d; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; color: var(--char); background: #fff; border: 1.5px solid var(--field); border-radius: var(--radius-sm); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(50, 108, 145, .28); }
.hint { font-size: .85rem; color: var(--muted); margin: .35rem 0 0; }
.form-foot { text-align: center; margin-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.2rem; }
.field--check input { flex: none; width: 24px; height: 24px; margin-top: .15rem; accent-color: var(--blue); }
.field--check label { font-weight: 400; font-size: .92rem; margin: 0; }
.notice-box { border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 1.2rem; font-size: .97rem; border: 1.5px solid; }
.notice-box strong { display: block; }
.notice-box--ok { background: var(--sage-tint); border-color: #5c8a6a; }
.notice-box--error { background: #fdecea; border-color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--char); color: var(--ivory); padding: 4rem 0 2rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sage); }
.footer-top { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-title { color: #fff; max-width: 22rem; }
.footer-lead { color: #dfe7ec; max-width: 26rem; }
.contact-list { display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; color: #dfe7ec; }
.contact-list .ico { color: var(--sage); margin-top: .15rem; }
.contact-list .label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: .1rem; }
.crisis-box { border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; font-size: .97rem; color: #eef2f5; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .18); display: grid; gap: 1rem; font-size: .92rem; color: #cfd9e0; }
.footer-brand { display: flex; gap: .7rem; align-items: center; margin: 0; color: #fff; }
.footer-brand svg { width: 32px; height: 32px; flex: none; }
.footer-nav, .social-list { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.copyright { margin: 0; font-size: .85rem; max-width: 50rem; }

/* ---------- Mobile action bar ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: .4rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(38, 55, 70, .5); }
.action-bar a { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 48px; padding: 0 .5rem; border-radius: 999px; border: 1.5px solid var(--blue); color: var(--blue); text-decoration: none; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.action-bar .ico { width: 18px; height: 18px; }
.action-bar a.action-primary { flex: 1.5; background: var(--blue); color: #fff; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--ivory); padding: 3.5rem 0 3rem; }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); margin-bottom: .4em; }
.page-hero .post-meta { margin: 0; }
.article-media { margin: 2rem 0 0; }
.article-media img { border-radius: var(--radius); width: 100%; }
.entry-content { padding: 2.5rem 0; font-size: 1.1rem; }
.entry-content > * { max-width: 68ch; }
.entry-content h2 { font-size: 1.7rem; margin-top: 2em; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2rem; border-left: 4px solid var(--sage); font-family: var(--serif); font-size: 1.2rem; }
.article-cta { margin: 1rem 0 4rem; padding: 2rem; background: var(--sage-tint); border-radius: var(--radius); }
.article-cta h2 { font-size: 1.5rem; }
.alignleft { float: left; margin: .3em 1.2em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }

/* ---------- Admin-only helper note ---------- */
.ms-admin-note { display: inline-block; margin: .6rem 0 0; padding: .5rem .8rem; background: #fff4cc; border: 1px solid #d9b000; border-radius: 8px; color: #3d2f00; font-size: .85rem; line-height: 1.4; }

/* ---------- Breakpoints ---------- */
@media (min-width: 480px) {
	.brand-sub { display: block; }
}
@media (min-width: 640px) {
	.hero-actions .btn--ghost { display: inline-flex; }
	.field-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
	.card-grid, .post-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(3, 1fr); }
	.stats li { flex-direction: column; gap: .4rem; }
	.method-grid { grid-template-columns: repeat(3, 1fr); }
	.two-col { grid-template-columns: 1fr 1fr; }
	.footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
	.copyright { grid-column: 1 / -1; }
}
@media (min-width: 820px) {
	body { padding-bottom: 0; }
	.action-bar { display: none; }
}
@media (min-width: 960px) {
	:root { --header-h: 78px; }
	.section { padding: 6rem 0; }
	.nav-toggle, .js .nav-toggle { display: none; }
	.site-nav, .js .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 1.6rem; padding: 0; border: 0; box-shadow: none; background: transparent; }
	.nav-list { flex-direction: row; gap: 1.5rem; }
	.nav-list a { padding: .4rem 0; border: 0; font-size: .98rem; }
	.nav-cta { margin: 0; min-height: 44px; padding: .5rem 1.25rem; font-size: .95rem; }
	.hero { padding: 4.5rem 0 5.5rem; }
	.hero-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
	.hero-visual { width: 100%; max-width: 460px; margin-right: 0; }
	.intro-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
	.stats { grid-template-columns: 1fr; }
	.stats li { flex-direction: row; gap: 1.2rem; }
	.about-grid { grid-template-columns: 1.05fr .95fr; gap: 4.5rem; align-items: start; }
	.credentials { position: sticky; top: calc(var(--header-h) + 24px); padding: 2rem; }
	.card-grid, .post-grid { grid-template-columns: repeat(3, 1fr); }
	.quote-grid { grid-template-columns: repeat(3, 1fr); }
	.steps { grid-template-columns: repeat(5, 1fr); gap: 1.6rem; }
	.step { padding: 3.7rem 0 0; }
	.step:not(:last-child)::after { left: 3.1rem; right: -1.6rem; top: 1.2rem; bottom: auto; width: auto; height: 2px; }
	.cta-grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; }
	.cta-copy { position: sticky; top: calc(var(--header-h) + 32px); }
	.form-card { padding: 2.2rem; }
	.footer-top { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
	.contact-list { grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
}

/* No-JS: nav is shown inline as a simple list. */
html:not(.js) .nav-toggle { display: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.reveal.is-hidden { opacity: 1; transform: none; }
}
@media print {
	.site-header, .action-bar, .nav-toggle { display: none; }
}
