/*
Theme Name: The Humanity Approach
Theme URI: https://thehumanityapproach.com
Author: The Humanity Approach
Description: Custom block theme for The Humanity Approach. ADHD Executive Coaching for professional women in leadership.
Requires at least: 6.6
Requires PHP: 7.4
Version: 1.0.1
License: Proprietary
Text Domain: tha
*/

/* Buttons (option C, chosen Oct 1 2026): Deep Forest fill, small capitals, wide tracking.
   Outline buttons share the same padding and 1px border, so both are the same size. */
.wp-block-button.is-style-outline > .wp-block-button__link {
	padding: 1rem 1.75rem;
	background: transparent;
	border: 1px solid var(--wp--preset--color--deep-forest);
	color: var(--wp--preset--color--deep-forest);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--deep-forest);
	color: var(--wp--preset--color--warm-white);
}

/* On Deep Forest sections the primary button flips to Warm White. */
.has-deep-forest-background-color .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
	background: var(--wp--preset--color--warm-white);
	border-color: var(--wp--preset--color--warm-white);
	color: var(--wp--preset--color--deep-forest);
}
.has-deep-forest-background-color .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover {
	background: var(--wp--preset--color--sage-light);
	border-color: var(--wp--preset--color--sage-light);
}

/* Eyebrow label: DM Sans 500, caps, Copper Rose. */
.is-style-eyebrow {
	color: var(--wp--preset--color--cognac);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Selima is a script: never synthesize bold. */
h1, h2, .has-selima-font-family, .tha-script { font-synthesis: none; }

/* Headlines: Cormorant Garamond, slightly tightened. */
h1, h2 { letter-spacing: -0.01em; }

/* Selima is the signature accent: a few words per page, never a whole sentence. */
.tha-script {
	font-family: var(--wp--preset--font-family--selima);
	font-weight: 400;
	color: var(--wp--preset--color--copper-rose);
	font-size: 1.05em;
	letter-spacing: 0;
}

.tha-logo img { height: auto; display: block; }

/* Page sections sit flush against each other and the header/footer. */
.wp-site-blocks > * { margin-block-start: 0; }

/* Header: keep the CTA button compact, hide it on small screens (menu handles it). */
.tha-header-cta .wp-block-button__link { padding: 0.7rem 1.1rem; font-size: 0.75rem; }
@media (max-width: 600px) {
	.tha-logo img { width: 150px; }
}

/* Recognition pull quote: Cormorant italic, a Copper Rose rule on the left. */
.tha-pullquote {
	font-style: italic;
	border-left: 2px solid var(--wp--preset--color--copper-rose);
	padding-left: 1.5rem;
	margin-top: var(--wp--preset--spacing--50) !important;
	line-height: 1.4;
}

/* Portrait: soft corners, fixed crop. */
.tha-portrait img { border-radius: 4px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* How it works: thin Sage Light rule above each step. */
.tha-steps > .wp-block-column { border-top: 1px solid var(--wp--preset--color--sage-light); padding-top: 1.25rem; }
.tha-steps h3 { margin-top: 0.25rem; }
.tha-steps p:first-child { margin: 0; line-height: 1; }

/* Offer card checklist: Sage tick marks instead of bullets. */
.tha-checklist { list-style: none; padding: 0; margin: var(--wp--preset--spacing--40) auto; max-width: 460px; }
.tha-checklist li { position: relative; padding-left: 1.75rem; margin-bottom: 0.6rem; }
.tha-checklist li::before {
	content: ""; position: absolute; left: 0.2rem; top: 0.45em;
	width: 0.45rem; height: 0.8rem;
	border: solid var(--wp--preset--color--teal); border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Short centered accent rule. */
.wp-block-separator.tha-short-rule { width: 48px; border: 0; height: 1px; margin-left: auto; margin-right: auto; }

/* Testimonial: Cormorant italic pull quote, centered, no side border. */
.tha-testimonial { text-align: center; padding: 0; margin: 0; }
.tha-testimonial p { line-height: 1.45; }
.tha-testimonial cite {
	display: block; margin-top: 1.5rem;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: var(--wp--preset--font-size--caption);
	font-style: normal; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--wp--preset--color--cognac);
}
.tha-stats { letter-spacing: 0.08em; padding-top: 1rem; border-top: 1px solid var(--wp--preset--color--sage-light); }

/* Outline button on dark backgrounds. */
.wp-block-button.is-style-outline.tha-on-dark > .wp-block-button__link { border-color: var(--wp--preset--color--sage-light); color: var(--wp--preset--color--warm-white); }
.wp-block-button.is-style-outline.tha-on-dark > .wp-block-button__link:hover { background: var(--wp--preset--color--warm-white); color: var(--wp--preset--color--deep-forest); }

/* Final CTA columns: a Teal rule on top. */
.tha-cta-col { border-top: 1px solid var(--wp--preset--color--teal); padding-top: 1.25rem; display: flex; flex-direction: column; }
/* Buttons sit at the bottom of each column so the pair lines up. */
.tha-cta-col > .wp-block-buttons { margin-top: auto; padding-top: var(--wp--preset--spacing--30); }

.tha-price-note { margin-top: 0 !important; }

/* Footer: a Teal hairline so it reads as separate from a dark section above it. */
.wp-site-blocks > footer, .wp-site-blocks > .wp-block-template-part:last-child > footer { border-top: 1px solid var(--wp--preset--color--teal); }

/* Offer card: two price columns. */
.tha-prices { margin-top: var(--wp--preset--spacing--40) !important; }
.tha-price { border-top: 1px solid var(--wp--preset--color--sage-light); padding-top: 1rem; }
.tha-price-amount { margin: 0.25rem 0 0 !important; }

/* Organization workshop cards. */
.tha-card-title {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 1.75rem; font-weight: 500; letter-spacing: 0; text-transform: none;
	color: var(--wp--preset--color--deep-forest);
}

.tha-footer-logo img { display: block; height: auto; margin: 0 auto; }
.tha-pullquote { font-size: clamp(1.6rem, 2.6vw, 2.1rem) !important; line-height: 1.3; }

/* "Not the right fit" list: a short Copper Rose dash instead of a tick. */
.tha-notlist { list-style: none; padding: 0; }
.tha-notlist li { position: relative; padding-left: 1.75rem; margin-bottom: 0.6rem; }
.tha-notlist li::before {
	content: ""; position: absolute; left: 0.15rem; top: 0.8em;
	width: 0.75rem; height: 1px; background: var(--wp--preset--color--copper-rose);
}

/* Twelve-week strip: sessions filled Deep Forest, integration weeks outlined. */
.tha-weeks {
	list-style: none; margin: var(--wp--preset--spacing--50) 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px;
}
.tha-week {
	display: flex; flex-direction: column; justify-content: center; gap: 0.15rem;
	min-height: 4.5rem; padding: 0.5rem 0.4rem; border-radius: 2px; text-align: center;
	border: 1px solid var(--wp--preset--color--deep-forest);
}
.tha-week.is-session { background: var(--wp--preset--color--deep-forest); color: var(--wp--preset--color--warm-white); }
.tha-week.is-integration { background: var(--wp--preset--color--warm-white); color: var(--wp--preset--color--teal); border-style: dashed; border-color: var(--wp--preset--color--sage); }
.tha-week-n { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.tha-week-l { font-size: 0.8rem; font-weight: 500; }
@media (max-width: 781px) {
	.tha-weeks { grid-template-columns: repeat(4, 1fr); }
}

/* Session lists under each movement. */
.tha-sessions { list-style: none; padding: 0; }
.tha-sessions li { padding: 0.55rem 0; border-top: 1px solid var(--wp--preset--color--sage-light); font-size: var(--wp--preset--font-size--small); }
.tha-sessions strong { font-weight: 500; color: var(--wp--preset--color--deep-forest); }

/* Plain lists (credentials). */
.tha-plainlist { list-style: none; padding: 0; margin-bottom: var(--wp--preset--spacing--40); }
.tha-plainlist li { padding: 0.35rem 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--mid-grey); }

/* Values: Cormorant quotes under Cognac labels. */
.tha-value { line-height: 1.3; margin-top: 0.25rem !important; }

/* FAQ accordions. */
.tha-faq { border-top: 1px solid var(--wp--preset--color--sage-light); padding: 1.1rem 0; }
.tha-faq:last-of-type { border-bottom: 1px solid var(--wp--preset--color--sage-light); }
.tha-faq summary {
	cursor: pointer; list-style: none; position: relative; padding-right: 2rem;
	font-family: var(--wp--preset--font-family--cormorant); font-size: 1.5rem; font-weight: 500; color: var(--wp--preset--color--deep-forest);
}
.tha-faq summary::-webkit-details-marker { display: none; }
.tha-faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0; font-family: var(--wp--preset--font-family--dm-sans); font-weight: 300; color: var(--wp--preset--color--cognac); }
.tha-faq[open] summary::after { content: "\2212"; }
.tha-faq p { margin-top: 0.75rem; color: var(--wp--preset--color--mid-grey); }
.tha-faq summary:focus-visible { outline: 2px solid var(--wp--preset--color--copper-rose); outline-offset: 4px; }

/* Calendly: soft frame around the scheduler. */
.tha-calendly { border-radius: 4px; overflow: hidden; background: var(--wp--preset--color--warm-white); }
.tha-checklist.tha-checklist-left { margin-left: 0; max-width: 680px; }
.tha-offer-card { border: 1px solid var(--wp--preset--color--deep-forest) !important; border-radius: 4px; }

/* Wide photo above a section heading. */
.tha-wide-photo img { width: 100%; height: auto; border-radius: 4px; aspect-ratio: 3 / 2; object-fit: cover; }
.tha-wide-photo { margin-bottom: var(--wp--preset--spacing--50) !important; }

/* Wide photo inside a column. */
.tha-photo-wide img { aspect-ratio: 3 / 2 !important; }

/* Kit form placeholder until the embed code is pasted in. */
.tha-kit-form { border: 1px dashed var(--wp--preset--color--sage); border-radius: 4px; padding: var(--wp--preset--spacing--40); background: var(--wp--preset--color--sage-mist); }
.tha-kit-placeholder { margin: 0; color: var(--wp--preset--color--teal); font-size: var(--wp--preset--font-size--small); }
.tha-coming-soon { margin-top: var(--wp--preset--spacing--50) !important; }

/* Text links on Deep Forest sections. */
.has-deep-forest-background-color a:not(.wp-element-button) { color: var(--wp--preset--color--sage-light); }
.has-deep-forest-background-color a:not(.wp-element-button):hover { color: var(--wp--preset--color--warm-white); }

/* Outline buttons on Deep Forest sections. */
.has-deep-forest-background-color .wp-block-button.is-style-outline > .wp-block-button__link { border-color: var(--wp--preset--color--sage-light); color: var(--wp--preset--color--warm-white); }
.has-deep-forest-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--warm-white); color: var(--wp--preset--color--deep-forest); }

/* Short pages: keep the footer at the bottom of the window. */
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > main { flex: 1 0 auto; }

/* Comfortable click targets in the header menu. */
.tha-header .wp-block-navigation-item__content { padding-block: 0.3rem; }
