/* Gate 4 golden homepage, header, and footer. */

header.wp-block-template-part,
footer.wp-block-template-part,
:is(.thc-home, .thc-page),
:is(.thc-home, .thc-page) > * {
	margin-block-start: 0;
}

.thc-site-header {
	background: rgba(252, 248, 239, 0.98);
	border-bottom: 1px solid var(--thc-border);
	color: var(--thc-text);
	position: relative;
	z-index: 100;
}

.thc-site-header__inner {
	gap: clamp(0.75rem, 2vw, 1.5rem);
	margin-inline: auto;
	max-width: var(--thc-wide);
	min-height: 84px;
	padding: 0.7rem clamp(1rem, 3vw, 2rem);
	width: 100%;
}

.thc-site-brand {
	flex: 0 1 auto;
	margin: 0;
	min-width: 0;
}

.thc-site-brand .wp-block-site-logo {
	line-height: 0;
	margin: 0;
}

.thc-site-brand .custom-logo-link {
	display: inline-flex;
	min-height: 44px;
	padding-block: 0.15rem;
}

.thc-site-brand .custom-logo {
	height: auto;
	max-height: 64px;
	object-fit: contain;
	object-position: left center;
	width: clamp(132px, 14vw, 176px);
}

.thc-site-header__actions {
	flex: 1 1 auto;
	gap: 0.65rem;
	justify-content: flex-end;
	margin: 0;
	min-width: 0;
}

.thc-primary-nav {
	margin: 0;
}

.thc-primary-nav .wp-block-navigation__container {
	gap: clamp(0.55rem, 1.3vw, 1.05rem);
}

.thc-primary-nav .wp-block-navigation-item__content {
	align-items: center;
	border-radius: var(--thc-radius-sm);
	color: var(--thc-text);
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 600;
	justify-content: center;
	line-height: 1.25;
	min-height: 44px;
	min-width: 44px;
	padding: 0.55rem 0.05rem;
	text-decoration: none;
	white-space: nowrap;
}

.thc-primary-nav .wp-block-navigation-item__content:hover {
	color: var(--thc-leaf-deep);
	text-decoration: underline;
	text-decoration-thickness: 0.12em;
	text-underline-offset: 0.22em;
}

.thc-primary-nav .wp-block-navigation-item__content[href*="/student-dashboard/"] {
	background: transparent;
	border: 1px solid var(--thc-leaf-deep);
	color: var(--thc-leaf-deep);
	min-height: 44px;
	padding: 0.62rem 0.9rem;
}

.thc-primary-nav .wp-block-navigation-item__content[href*="/student-dashboard/"]:hover {
	background: var(--thc-surface-muted);
	text-decoration: none;
}

.thc-primary-nav .wp-block-navigation__responsive-container-open,
.thc-primary-nav .wp-block-navigation__responsive-container-close {
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	color: var(--thc-text);
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 0.5rem;
}

.thc-primary-nav .wp-block-navigation__responsive-container-open:hover,
.thc-primary-nav .wp-block-navigation__responsive-container-close:hover {
	background: var(--thc-surface-muted);
	border-color: var(--thc-border);
	color: var(--thc-leaf-deep);
	transform: none;
}

.thc-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--thc-surface-raised);
	color: var(--thc-text);
	padding: clamp(1rem, 5vw, 2rem);
}

.thc-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: stretch;
	gap: 0.25rem;
	width: 100%;
}

.thc-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.125rem;
	padding: 0.8rem;
	white-space: normal;
}

.thc-mini-cart {
	margin: 0;
}

.thc-mini-cart .wc-block-mini-cart__button {
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--thc-radius-sm);
	color: var(--thc-text);
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 0.55rem;
}

.thc-mini-cart .wc-block-mini-cart__button:hover {
	background: var(--thc-surface-muted);
	border-color: var(--thc-border);
	color: var(--thc-leaf-deep);
	transform: none;
}

:is(.thc-home, .thc-page) {
	background: var(--thc-canvas);
	color: var(--thc-text);
	overflow: clip;
}

:is(.thc-home, .thc-page) section,
:is(.thc-home, .thc-page) article,
:is(.thc-home, .thc-page) div,
.thc-site-footer div {
	min-width: 0;
}

:is(.thc-home, .thc-page) h1,
:is(.thc-home, .thc-page) h2,
:is(.thc-home, .thc-page) h3,
:is(.thc-home, .thc-page) p,
:is(.thc-home, .thc-page) figure,
:is(.thc-home, .thc-page) ul {
	margin-block-start: 0;
}

:is(.thc-home, .thc-page) h1 {
	font-size: clamp(2.65rem, 1.65rem + 3.8vw, 4.35rem);
	line-height: 0.99;
	margin-bottom: 1.4rem;
	max-width: 12ch;
}

:is(.thc-home, .thc-page) h2 {
	font-size: clamp(2rem, 1.45rem + 2vw, 3.15rem);
	line-height: 1.08;
}

:is(.thc-home, .thc-page) h3 {
	font-size: clamp(1.25rem, 1.08rem + 0.55vw, 1.65rem);
	line-height: 1.2;
}

:is(.thc-home, .thc-page) p {
	line-height: 1.65;
}

.thc-eyebrow {
	color: var(--thc-leaf-deep);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.3;
	margin-bottom: 0.9rem;
	text-transform: uppercase;
}

.thc-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

.thc-actions > a {
	min-height: 46px;
}

:is(.thc-home, .thc-page) .thc-button-primary,
:is(.thc-home, .thc-page) .thc-button-primary:visited {
	background: var(--thc-leaf-deep);
	border-color: var(--thc-leaf-deep);
	color: var(--thc-surface-raised);
}

:is(.thc-home, .thc-page) .thc-button-primary:hover {
	background: var(--thc-text);
	border-color: var(--thc-text);
	color: var(--thc-surface-raised);
}

:is(.thc-home, .thc-page) .thc-button-secondary,
:is(.thc-home, .thc-page) .thc-button-secondary:visited {
	background: transparent;
	border: 1px solid var(--thc-leaf-deep);
	border-radius: var(--thc-radius-md);
	color: var(--thc-leaf-deep);
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 600;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
}

:is(.thc-home, .thc-page) .thc-button-secondary:hover {
	background: var(--thc-surface-muted);
	color: var(--thc-leaf-deep);
}

.thc-text-link {
	align-items: center;
	display: inline-flex;
	font-weight: 600;
	gap: 0.35rem;
	min-height: 44px;
}

.thc-text-link span {
	transition: transform 160ms ease;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.thc-text-link:hover span {
		transform: translateX(0.18rem);
	}
}

.thc-home-hero {
	background: var(--thc-canvas);
	padding-block: clamp(2.4rem, 6vw, 5.4rem) clamp(2rem, 4vw, 3.75rem);
	position: relative;
}

.thc-home-hero::before {
	background: var(--thc-sage);
	border-radius: 50%;
	content: "";
	height: 16rem;
	opacity: 0.18;
	position: absolute;
	right: -8rem;
	top: -9rem;
	width: 16rem;
}

.thc-home-hero__grid {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
	position: relative;
}

.thc-home-hero__copy {
	padding-block: 1rem;
}

.thc-home-hero__lead {
	font-size: clamp(1.08rem, 1rem + 0.32vw, 1.28rem);
	margin-bottom: 1.75rem;
	max-width: 36rem;
}

.thc-home-hero__media {
	background: var(--thc-surface-raised);
	border: 1px solid var(--thc-border);
	border-radius: 1.75rem 0.75rem 1.75rem 0.75rem;
	box-shadow: var(--thc-shadow-lifted);
	isolation: isolate;
	margin: 0;
	overflow: hidden;
	position: relative;
}

.thc-home-hero__media::after {
	border: 1px solid rgba(252, 248, 239, 0.7);
	border-radius: 1.2rem 0.5rem 1.2rem 0.5rem;
	content: "";
	inset: 0.75rem;
	pointer-events: none;
	position: absolute;
}

.thc-home-hero__media img {
	display: block;
	height: clamp(360px, 42vw, 540px);
	object-fit: cover;
	object-position: 46% center;
	width: 100%;
}

.thc-home-hero__media figcaption {
	background: var(--thc-surface-raised);
	border: 1px solid var(--thc-border);
	border-radius: var(--thc-radius-pill);
	bottom: 1.25rem;
	color: var(--thc-text);
	font-size: 0.84rem;
	font-weight: 600;
	left: 1.25rem;
	line-height: 1.3;
	max-width: calc(100% - 2.5rem);
	padding: 0.58rem 0.85rem;
	position: absolute;
	z-index: 2;
}

.thc-trust {
	padding-bottom: clamp(2.6rem, 5vw, 4.25rem);
}

.thc-trust__grid {
	background: var(--thc-surface-muted);
	border: 1px solid var(--thc-border);
	border-radius: var(--thc-radius-lg);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	overflow: hidden;
}

.thc-trust__item {
	align-items: flex-start;
	display: grid;
	gap: 0.8rem;
	grid-template-columns: auto 1fr;
	padding: clamp(1.2rem, 2.5vw, 1.8rem);
}

.thc-trust__item + .thc-trust__item {
	border-left: 1px solid var(--thc-border);
}

.thc-trust__mark,
.thc-resource-card__number {
	align-items: center;
	background: var(--thc-sage);
	border-radius: 50%;
	color: var(--thc-text);
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 600;
	height: 2.1rem;
	justify-content: center;
	letter-spacing: 0.06em;
	width: 2.1rem;
}

.thc-trust h2 {
	font-family: "THC Fira Sans", "Segoe UI", Arial, sans-serif;
	font-size: 1rem;
	letter-spacing: normal;
	line-height: 1.25;
	margin-bottom: 0.3rem;
}

.thc-trust p {
	font-size: 0.94rem;
	line-height: 1.5;
	margin-bottom: 0;
}

.thc-flagship {
	background: var(--thc-canvas);
}

.thc-flagship__card {
	background: var(--thc-surface-raised);
	border: 1px solid var(--thc-border);
	border-radius: var(--thc-radius-lg);
	box-shadow: var(--thc-shadow-subtle);
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	overflow: hidden;
}

.thc-flagship__media {
	margin: 0;
	min-height: 100%;
}

.thc-flagship__media img {
	display: block;
	height: 100%;
	min-height: 500px;
	object-fit: cover;
	object-position: 46% center;
	width: 100%;
}

.thc-flagship__copy {
	align-self: center;
	padding: clamp(2rem, 5vw, 4rem);
}

.thc-flagship__copy h2 {
	margin-bottom: 1.1rem;
}

.thc-flagship__lead {
	font-size: 1.08rem;
	margin-bottom: 1.4rem;
}

.thc-feature-list {
	display: grid;
	gap: 0.55rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin-bottom: 1.65rem;
	padding: 0;
}

.thc-feature-list li {
	align-items: flex-start;
	display: flex;
	font-size: 0.94rem;
	gap: 0.55rem;
	line-height: 1.45;
}

.thc-feature-list li::before {
	background: var(--thc-leaf-deep);
	border-radius: 50%;
	content: "";
	flex: 0 0 auto;
	height: 0.48rem;
	margin-top: 0.42rem;
	width: 0.48rem;
}

.thc-section-heading {
	margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.thc-section-heading--split {
	align-items: end;
	display: grid;
	gap: 1.5rem 4rem;
	grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
}

.thc-section-heading--split h2 {
	margin-bottom: 0;
	max-width: 15ch;
}

.thc-section-heading--split > p {
	margin-bottom: 0;
}

.thc-outcomes {
	background: var(--thc-surface-muted);
	border-block: 1px solid var(--thc-border);
}

.thc-outcomes__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.thc-outcomes__grid article {
	background: var(--thc-surface-raised);
	border: 1px solid var(--thc-border);
	border-radius: var(--thc-radius-md);
	min-height: 230px;
	padding: clamp(1.2rem, 2.5vw, 1.75rem);
}

.thc-outcomes__grid article > span {
	color: var(--thc-leaf-deep);
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	margin-bottom: 2.5rem;
}

.thc-outcomes__grid h3 {
	margin-bottom: 0.55rem;
}

.thc-outcomes__grid p {
	font-size: 0.95rem;
	margin-bottom: 0;
}

.thc-authority {
	background: var(--thc-canvas);
}

.thc-authority__grid {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 6vw, 5rem);
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.thc-authority__media {
	background: var(--thc-surface-raised);
	border: 1px solid var(--thc-border);
	border-radius: 0.75rem 1.75rem 0.75rem 1.75rem;
	box-shadow: var(--thc-shadow-subtle);
	margin: 0;
	overflow: hidden;
}

.thc-authority__media img {
	display: block;
	height: clamp(360px, 46vw, 550px);
	object-fit: cover;
	object-position: center 30%;
	width: 100%;
}

.thc-authority__copy h2 {
	margin-bottom: 1.25rem;
	max-width: 17ch;
}

.thc-authority__copy > p:not(.thc-eyebrow) {
	max-width: 43rem;
}

.thc-proof {
	border-block: 1px solid var(--thc-border);
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-block: 1.5rem;
	padding-block: 1.25rem;
}

.thc-proof p {
	display: grid;
	gap: 0.2rem;
	margin: 0;
}

.thc-proof strong {
	font-size: 0.94rem;
}

.thc-proof span {
	font-size: 0.88rem;
	line-height: 1.45;
}

.thc-resources {
	background: var(--thc-surface-raised);
	border-block: 1px solid var(--thc-border);
}

.thc-resources__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.thc-resource-card {
	background: var(--thc-canvas);
	border: 1px solid var(--thc-border);
	border-radius: var(--thc-radius-md);
	display: flex;
	flex-direction: column;
	min-height: 310px;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.thc-resource-card__number {
	margin-bottom: 1.4rem;
}

.thc-resource-card h3 {
	font-size: 1.3rem;
	margin-bottom: 0.65rem;
}

.thc-resource-card p {
	font-size: 0.93rem;
	margin-bottom: 1.2rem;
}

.thc-resource-card a {
	align-items: center;
	display: inline-flex;
	font-size: 0.94rem;
	font-weight: 600;
	margin-top: auto;
	min-height: 44px;
}

.thc-access {
	background: var(--thc-leaf-deep);
	color: var(--thc-surface-raised);
}

.thc-access .thc-eyebrow,
.thc-access h2,
.thc-access p,
.thc-access strong,
.thc-access span {
	color: inherit;
}

.thc-access .thc-eyebrow {
	opacity: 0.82;
}

.thc-access__grid {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 6vw, 5rem);
	grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
}

.thc-access__copy h2 {
	margin-bottom: 1.1rem;
	max-width: 17ch;
}

.thc-access__copy > p {
	max-width: 46rem;
}

.thc-access__scholarship {
	border-left: 3px solid var(--thc-sage);
	margin-block: 1.4rem 1.65rem;
	padding-left: 1rem;
}

:is(.thc-home, .thc-page) .thc-button-on-dark,
:is(.thc-home, .thc-page) .thc-button-on-dark:visited {
	background: var(--thc-surface-raised);
	border: 1px solid var(--thc-surface-raised);
	border-radius: var(--thc-radius-md);
	color: var(--thc-leaf-deep);
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 600;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
}

:is(.thc-home, .thc-page) .thc-button-on-dark:hover {
	background: var(--thc-surface-muted);
	border-color: var(--thc-surface-muted);
	color: var(--thc-text);
}

:is(.thc-home, .thc-page) .thc-button-on-dark-outline,
:is(.thc-home, .thc-page) .thc-button-on-dark-outline:visited {
	border: 1px solid var(--thc-sage);
	border-radius: var(--thc-radius-md);
	color: var(--thc-surface-raised);
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 600;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
}

:is(.thc-home, .thc-page) .thc-button-on-dark-outline:hover {
	background: rgba(252, 248, 239, 0.1);
	color: var(--thc-surface-raised);
}

.thc-access__facts {
	display: grid;
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.thc-access__facts li {
	background: rgba(252, 248, 239, 0.09);
	border: 1px solid rgba(252, 248, 239, 0.27);
	border-radius: var(--thc-radius-md);
	display: grid;
	gap: 0.15rem;
	padding: 1rem 1.1rem;
}

.thc-access__facts strong {
	font-size: 0.96rem;
}

.thc-access__facts span {
	font-size: 0.88rem;
	line-height: 1.45;
	opacity: 0.86;
}

.thc-updates {
	background: var(--thc-surface-muted);
	border-bottom: 1px solid var(--thc-border);
	padding-block: clamp(2rem, 5vw, 3.5rem);
}

.thc-updates__inner {
	align-items: center;
	display: grid;
	gap: 1.5rem 3rem;
	grid-template-columns: minmax(0, 1fr) auto;
}

.thc-updates h2 {
	font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.4rem);
	margin-bottom: 0.55rem;
}

.thc-updates p:last-child {
	margin-bottom: 0;
}

.thc-site-footer {
	background: var(--thc-surface-muted);
	border-top: 1px solid var(--thc-border);
	color: var(--thc-text);
	padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
}

.thc-site-footer__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
	grid-template-columns: minmax(16rem, 1.45fr) repeat(3, minmax(10rem, 0.85fr));
	margin-inline: auto;
	max-width: var(--thc-wide);
	padding-inline: clamp(1rem, 3vw, 2rem);
	width: 100%;
}

.thc-site-footer__brand,
.thc-site-footer__nav {
	margin: 0;
}

.thc-site-footer__brand .wp-block-site-logo {
	margin: 0 0 1rem;
}

.thc-site-footer__brand .custom-logo {
	height: auto;
	max-width: 164px;
}

.thc-site-footer__brand .wp-block-site-tagline {
	font-weight: 600;
	margin-bottom: 0.45rem;
}

.thc-site-footer__brand p {
	font-size: 0.9rem;
	line-height: 1.55;
	margin-bottom: 0;
	max-width: 29rem;
}

.thc-site-footer__heading {
	font-family: "THC Fira Sans", "Segoe UI", Arial, sans-serif;
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.35;
	margin-bottom: 0.85rem;
	text-transform: uppercase;
}

.thc-site-footer__nav ul {
	display: grid;
	gap: 0.42rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.thc-site-footer__nav li {
	margin: 0;
}

.thc-site-footer__nav a {
	align-items: center;
	display: inline-flex;
	font-size: 0.9rem;
	line-height: 1.4;
	min-height: 44px;
	min-width: 44px;
}

.thc-site-footer__legal {
	border-top: 1px solid var(--thc-border);
	gap: 0.75rem 2rem;
	margin: clamp(2.5rem, 5vw, 4rem) auto 0;
	max-width: var(--thc-wide);
	padding: 1.25rem clamp(1rem, 3vw, 2rem) 0;
	width: 100%;
}

.thc-site-footer__legal p,
.thc-site-footer__legal a {
	font-size: 0.78rem;
	line-height: 1.5;
}

.thc-site-footer__legal a {
	align-items: center;
	display: inline-flex;
	min-height: 44px;
	min-width: 44px;
}

.thc-site-footer__legal p {
	margin: 0;
}

@media (max-width: 1008px) {
	.thc-primary-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex !important;
	}

	.thc-primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

}

@media (max-width: 1120px) {
	.thc-site-footer__grid {
		grid-template-columns: minmax(16rem, 1.4fr) repeat(2, minmax(10rem, 1fr));
	}

	.thc-site-footer__nav:last-child {
		grid-column: 2 / -1;
	}

	.thc-resources__grid,
	.thc-outcomes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.thc-resource-card {
		min-height: 265px;
	}
}

@media (max-width: 860px) {
	.thc-home-hero__grid,
	.thc-flagship__card,
	.thc-authority__grid,
	.thc-access__grid,
	.thc-section-heading--split {
		grid-template-columns: 1fr;
	}

	.thc-home-hero__copy {
		max-width: 42rem;
	}

	:is(.thc-home, .thc-page) h1 {
		max-width: 13ch;
	}

	.thc-home-hero__media img {
		height: clamp(330px, 66vw, 500px);
	}

	.thc-flagship__media img {
		max-height: 470px;
		min-height: 0;
	}

	.thc-flagship__copy {
		padding: clamp(1.5rem, 6vw, 3rem);
	}

	.thc-access__grid {
		align-items: start;
	}
}

@media (max-width: 720px) {
	.thc-site-header__inner {
		min-height: 74px;
		padding-block: 0.5rem;
	}

	.thc-site-brand .custom-logo {
		max-height: 52px;
		width: 142px;
	}

	.thc-site-header__actions {
		flex: 0 0 auto;
		gap: 0.2rem;
	}

	.thc-trust__grid {
		grid-template-columns: 1fr;
	}

	.thc-trust__item + .thc-trust__item {
		border-left: 0;
		border-top: 1px solid var(--thc-border);
	}

	.thc-authority__grid {
		grid-template-columns: 1fr;
	}

	.thc-authority__media {
		max-width: 34rem;
	}

	.thc-site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.thc-site-footer__brand {
		grid-column: 1 / -1;
	}

	.thc-site-footer__nav:last-child {
		grid-column: auto;
	}

	.thc-updates__inner {
		align-items: start;
		grid-template-columns: 1fr;
	}

	.thc-updates__inner > a {
		justify-self: start;
	}
}

@media (max-width: 520px) {
	.thc-site-header__inner {
		gap: 0.35rem;
		padding-inline: 0.75rem;
	}

	.thc-site-brand .custom-logo {
		width: 128px;
	}

	.thc-primary-nav .wp-block-navigation__responsive-container-open,
	.thc-mini-cart .wc-block-mini-cart__button {
		min-width: 44px;
		padding-inline: 0.4rem;
	}

	.thc-home-hero {
		padding-top: 2rem;
	}

	:is(.thc-home, .thc-page) h1 {
		font-size: clamp(2.35rem, 10vw, 2.8rem);
		line-height: 1.01;
	}

	.thc-home-hero__grid {
		gap: 1.5rem;
	}

	.thc-home-hero__media {
		border-radius: var(--thc-radius-lg);
	}

	.thc-home-hero__media img {
		height: 300px;
	}

	.thc-home-hero__media figcaption {
		bottom: 0.75rem;
		left: 0.75rem;
		max-width: calc(100% - 1.5rem);
	}

	.thc-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.thc-actions > a {
		justify-content: center;
		text-align: center;
		width: 100%;
	}

	.thc-feature-list,
	.thc-outcomes__grid,
	.thc-resources__grid,
	.thc-proof,
	.thc-site-footer__grid {
		grid-template-columns: 1fr;
	}

	.thc-outcomes__grid article,
	.thc-resource-card {
		min-height: 0;
	}

	.thc-outcomes__grid article > span {
		margin-bottom: 1.5rem;
	}

	.thc-authority__media img {
		height: 365px;
	}

	.thc-site-footer__brand,
	.thc-site-footer__nav:last-child {
		grid-column: auto;
	}

	.thc-site-footer__nav ul {
		gap: 0;
	}

	.thc-site-footer__nav a,
	.thc-site-footer__legal a {
		align-items: center;
		display: inline-flex;
		min-height: 44px;
		min-width: 44px;
	}

	.thc-site-footer__legal {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.thc-text-link span {
		transition: none;
	}
}


/* Gate 4R homepage and shared-shell refinement candidate.
 * Uses the verified 1008px navigation fit experiment, retains the 860px hero
 * layout transition, and preserves the established palette variables.
 */
.thc-site-header__inner {
	gap: clamp(0.75rem, 1vw, 1rem);
}

:is(.thc-home, .thc-page) .thc-home-hero h1 {
	font-size: clamp(2.25rem, 1.55rem + 3.4vw, 4.35rem);
	hyphens: none;
	line-height: 1.06;
	max-width: none;
	overflow-wrap: normal;
	text-wrap: balance;
	word-break: normal;
}

.thc-home-hero__copy > .thc-eyebrow {
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
	letter-spacing: 0.015em;
	line-height: 1.4;
	margin-bottom: 1.15rem;
	text-transform: none;
}

.thc-home-hero::before {
	content: none;
}

.thc-home-hero__media::after {
	content: "";
	inset: 0.65rem;
	border-radius: 1.1rem 0.1rem 1.1rem 0.1rem;
}

.thc-home-hero__media figcaption {
	background: rgba(252, 248, 239, 0.92);
	border-left: 3px solid var(--thc-leaf-deep);
	border-radius: var(--thc-radius-md);
	text-align: center;
	box-shadow: 0 3px 12px rgba(51, 45, 37, 0.14);
	font-family: "THC Platypi", Georgia, "Times New Roman", serif;
	font-size: clamp(0.94rem, 0.9rem + 0.2vw, 1.075rem);
	font-weight: 500;
	line-height: 1.45;
	max-width: min(25rem, calc(100% - 2.5rem));
	padding: 0.65rem 0.9rem;
}

:is(.thc-home, .thc-page) .thc-button-primary,
:is(.thc-home, .thc-page) .thc-button-secondary,
:is(.thc-home, .thc-page) .thc-button-on-dark,
:is(.thc-home, .thc-page) .thc-button-on-dark-outline,
.thc-site-footer__newsletter-link {
	box-shadow: 0 2px 0 rgba(51, 45, 37, 0.12), 0 4px 12px rgba(51, 45, 37, 0.07);
	transform: none;
	transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

:is(.thc-home, .thc-page) .thc-button-secondary {
	background: var(--thc-surface-raised);
}

.thc-trust__grid {
	background: var(--thc-surface-raised);
	border-top: 3px solid var(--thc-leaf);
	box-shadow: var(--thc-shadow-subtle);
}

.thc-trust__item {
	gap: 0.95rem;
	padding: clamp(1.25rem, 2.5vw, 1.85rem);
}

.thc-trust h2 {
	margin-bottom: 0.5rem;
}

.thc-outcomes__grid article {
	border-top: 3px solid var(--thc-leaf);
	box-shadow: var(--thc-shadow-subtle);
	min-height: 0;
}

.thc-outcomes__grid article > span {
	font-family: "THC Platypi", Georgia, "Times New Roman", serif;
	font-size: 1.4rem;
	letter-spacing: 0;
	line-height: 1.3;
	margin-bottom: 1.15rem;
}

.thc-resource-card {
	box-shadow: 0 3px 10px rgba(51, 45, 37, 0.045);
}

.thc-proof {
	border: 0;
	gap: 0.85rem;
	padding-block: 0;
}

.thc-proof p {
	background: var(--thc-surface-raised);
	border: 1px solid var(--thc-border);
	border-left: 3px solid var(--thc-leaf);
	border-radius: var(--thc-radius-md);
	gap: 0.4rem;
	padding: 1rem 1.1rem;
}

.thc-proof strong {
	font-family: "THC Platypi", Georgia, "Times New Roman", serif;
	font-size: 1.1rem;
	line-height: 1.3;
}

.thc-access__facts li {
	background: var(--thc-surface-raised);
	border: 1px solid var(--thc-border);
	border-left: 3px solid var(--thc-sage);
	color: var(--thc-text);
	gap: 0.35rem;
	padding: 1.1rem 1.2rem;
}

.thc-access__facts strong {
	color: var(--thc-leaf-deep);
	font-size: 1rem;
}

.thc-access__facts span {
	opacity: 1;
}

:is(.thc-home, .thc-page) .thc-section {
	padding-block: clamp(2.6rem, 5.5vw, 4.5rem);
}

:is(.thc-home, .thc-page) .thc-trust {
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.thc-site-footer__brand .custom-logo {
	max-width: 184px;
	width: 184px;
}

.thc-site-footer__brand p {
	font-family: "THC Platypi", Georgia, "Times New Roman", serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.55;
	max-width: 30ch;
}

.thc-site-footer__brand .wp-block-site-tagline {
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 0.75rem;
}

.thc-site-footer__newsletter {
	align-items: center;
	background: var(--thc-surface-raised);
	border: 1px solid var(--thc-border);
	border-left: 3px solid var(--thc-leaf);
	border-radius: var(--thc-radius-md);
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	justify-content: space-between;
	margin: 2rem auto 0;
	max-width: calc(var(--thc-wide) - 4rem);
	padding: 1.25rem 1.5rem;
	width: calc(100% - 2rem);
}

.thc-site-footer__newsletter > div {
	flex: 1 1 26rem;
}

.thc-site-footer__newsletter h2 {
	font-family: "THC Fira Sans", "Segoe UI", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.35;
	margin: 0 0 0.35rem;
}

.thc-site-footer__newsletter p {
	font-size: 0.9rem;
	line-height: 1.55;
	margin: 0;
	max-width: 66ch;
}

.thc-site-footer__newsletter-link,
.thc-site-footer__newsletter-link:visited {
	align-items: center;
	border: 1px solid var(--thc-leaf-deep);
	border-radius: var(--thc-radius-md);
	color: var(--thc-leaf-deep);
	display: inline-flex;
	font-family: "THC Fira Sans", "Segoe UI", Arial, sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	justify-content: center;
	line-height: 1.3;
	min-height: 44px;
	padding: 0.7rem 1rem;
	text-decoration: none;
}

.thc-site-footer__newsletter-link:hover {
	background: var(--thc-surface-muted);
}

.thc-site-footer__newsletter-link:focus-visible {
	outline: 3px solid var(--thc-leaf-deep);
	outline-offset: 3px;
}

@media (max-width: 520px) {
	.thc-home-hero__media figcaption {
		max-width: calc(100% - 1.5rem);
	}
	.thc-site-footer__newsletter {
		padding: 1.15rem;
	}
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	:is(.thc-home, .thc-page) .thc-button-primary:hover,
	:is(.thc-home, .thc-page) .thc-button-secondary:hover,
	:is(.thc-home, .thc-page) .thc-button-on-dark:hover,
	:is(.thc-home, .thc-page) .thc-button-on-dark-outline:hover,
	.thc-site-footer__newsletter-link:hover {
		box-shadow: 0 3px 0 rgba(51, 45, 37, 0.12), 0 6px 16px rgba(51, 45, 37, 0.12);
		transform: translateY(-2px);
	}
}

@media (prefers-reduced-motion: reduce) {
	:is(.thc-home, .thc-page) .thc-button-primary,
	:is(.thc-home, .thc-page) .thc-button-secondary,
	:is(.thc-home, .thc-page) .thc-button-on-dark,
	:is(.thc-home, .thc-page) .thc-button-on-dark-outline,
	.thc-site-footer__newsletter-link,
	.thc-text-link span {
		transform: none !important;
		transition: none !important;
	}
}

/* Gate 4R2: grouped footer links keep non-color interaction cues. */
.thc-site-footer__nav ul a,
.thc-site-footer__legal-links > a {
	text-decoration: none;
}

.thc-site-footer__nav ul a:hover,
.thc-site-footer__nav ul a:focus-visible,
.thc-site-footer__legal-links > a:hover,
.thc-site-footer__legal-links > a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

@media (max-width: 520px) {
	.thc-home-hero__media::after {
		border-radius: calc(var(--thc-radius-lg) - 0.65rem);
	}
}

/* Ordinary-page components (2026-09-17). */
.thc-resource-card__media {
	aspect-ratio: 3 / 2;
	margin: 0 0 1.1rem;
}

.thc-resource-card__media img {
	height: 100%;
	object-fit: cover;
}

.thc-resource-card .thc-resource-card__facts {
	font-weight: 600;
	margin-top: auto;
}

.thc-resource-card .thc-resource-card__facts + a {
	margin-top: 0;
}

.thc-quote blockquote {
	margin: 0 0 0.75rem;
}

.thc-quote blockquote p {
	font-family: "THC Platypi", Georgia, "Times New Roman", serif;
	font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
	line-height: 1.45;
	margin: 0;
}

.thc-quote figcaption {
	color: var(--thc-leaf-deep);
	font-weight: 600;
}

.thc-page .thc-quote + .thc-quote {
	margin-top: 1rem;
}
