/*
Theme Name: Knoco International V2
Theme URI: https://knoco.com
Author: Knoco International
Description: Knoco Institute institutional research, policy and professional education theme.
Version: 2.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: knoco
*/

/* =========================================================
   KNOCO INSTITUTE — LAYOUT D
   Authoritative Design System
   ========================================================= */


/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */

:root {
	--purple: #7851a9;
	--purple-dark: #5f3b8c;
	--purple-deep: #2d174b;
	--purple-night: #171126;
	--purple-black: #100b1c;

	--lavender: #ccccff;
	--silver: #c0c0c0;

	--gold: #d4af37;
	--gold-bright: #ffd700;
	--gold-soft: #e7cf77;

	--ink: #18151d;
	--muted: #625e69;

	--paper: #ffffff;
	--wash: #f8f7fa;
	--wash-purple: #f5f1fa;
	--line: #e8e4ee;

	--success-bg: #e9f7ee;
	--success-text: #195b31;
	--error-bg: #fff0f0;
	--error-text: #8b2525;

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 20px;

	--shadow-sm: 0 8px 24px rgba(31, 20, 43, 0.06);
	--shadow: 0 14px 36px rgba(31, 20, 43, 0.11);
	--shadow-lg: 0 24px 60px rgba(16, 9, 28, 0.18);

	--wrap: min(1240px, calc(100% - 48px));

	--utility-height: 38px;
	--header-height: 92px;
}


/* =========================================================
   02. RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 150px;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

p {
	margin-top: 0;
}

a {
	color: var(--purple);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition:
		color .2s ease,
		background-color .2s ease,
		border-color .2s ease,
		transform .2s ease,
		box-shadow .2s ease;
}

a:hover {
	color: var(--purple-dark);
}

.wrap {
	width: var(--wrap);
	margin-inline: auto;
}

::selection {
	color: var(--ink);
	background: var(--lavender);
}


/* =========================================================
   03. ACCESSIBILITY
   ========================================================= */

.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 100000;
	padding: 12px 16px;
	color: var(--ink);
	background: #fff;
	border-radius: 6px;
	box-shadow: var(--shadow);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid rgba(120, 81, 169, .35);
	outline-offset: 3px;
}


/* =========================================================
   04. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 .55em;
	color: var(--ink);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	line-height: 1.12;
}

h1 {
	font-size: clamp(2.8rem, 5.6vw, 5rem);
	letter-spacing: -.04em;
}

h2 {
	font-size: clamp(2rem, 3.7vw, 3.15rem);
	letter-spacing: -.03em;
}

h3 {
	font-size: 1.4rem;
}

h4 {
	font-size: 1.12rem;
}

.lead {
	max-width: 760px;
	color: var(--muted);
	font-size: clamp(1.08rem, 1.8vw, 1.25rem);
}

.eyebrow,
.kicker {
	color: var(--purple);
	font-weight: 800;
}

.eyebrow {
	margin-bottom: 14px;
	font-size: .77rem;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.kicker {
	font-size: 1rem;
}

.meta {
	color: var(--muted);
	font-size: .9rem;
}

.gold-text {
	color: var(--gold);
}


/* =========================================================
   05. LAYOUT D — PURPLE UTILITY BAR
   ========================================================= */

.institute-utility-bar {
	position: relative;
	z-index: 1100;
	min-height: var(--utility-height);
	color: #fff;
	background: var(--purple-deep);
}

.utility-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--utility-height);
}

.utility-tagline {
	position: relative;
	padding-left: 22px;
	color: #fff;
	font-size: .78rem;
	font-weight: 650;
	letter-spacing: .015em;
}

.utility-tagline::before {
	content: "◆";
	position: absolute;
	left: 0;
	top: 50%;
	color: var(--gold);
	font-size: .65rem;
	transform: translateY(-50%);
}

.utility-nav {
	display: flex;
	align-items: center;
}

.utility-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: var(--utility-height);
	padding: 0 15px;
	color: rgba(255,255,255,.88);
	font-size: .76rem;
	font-weight: 650;
	text-decoration: none;
}

.utility-nav a + a {
	border-left: 1px solid rgba(255,255,255,.18);
}

.utility-nav a:hover,
.utility-nav a:focus {
	color: #fff;
	background: rgba(255,255,255,.06);
}


/* =========================================================
   06. LAYOUT D — INSTITUTE HEADER
   ========================================================= */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255,255,255,.985);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 3px 15px rgba(23,21,28,.045);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.institute-header-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: var(--header-height);
}

.institute-brand {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 12px;
}

.institute-logo-link {
	display: block;
	flex: 0 0 auto;
	text-decoration: none;
}

.institute-seal {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.institute-brand-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 170px;
}

.institute-name {
	color: var(--purple);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.05;
	text-decoration: none;
	white-space: nowrap;
}

.institute-name:hover {
	color: var(--purple-dark);
}

.institute-tagline {
	margin-top: 5px;
	color: #68616e;
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .035em;
	line-height: 1.25;
	white-space: nowrap;
}


/* =========================================================
   07. PRIMARY NAVIGATION
   ========================================================= */

.site-nav {
	margin-left: auto;
}

.site-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav > ul,
.site-nav > div > ul {
	display: flex;
	align-items: center;
	gap: 0;
}

.site-nav li {
	position: relative;
	margin: 0;
}

.site-nav a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 10px 8px;
	color: #29252d;
	border-radius: 0;
	font-size: .82rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav > ul > li > a::before,
.site-nav > div > ul > li > a::before {
	content: "";
	position: absolute;
	right: 8px;
	bottom: 3px;
	left: 8px;
	height: 2px;
	background: var(--purple);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s ease;
}

.site-nav > ul > li > a:hover::before,
.site-nav > ul > li.current-menu-item > a::before,
.site-nav > ul > li.current-menu-ancestor > a::before,
.site-nav > div > ul > li > a:hover::before,
.site-nav > div > ul > li.current-menu-item > a::before,
.site-nav > div > ul > li.current-menu-ancestor > a::before {
	transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a {
	color: var(--purple);
	background: transparent;
}


/* Dropdown caret */

.site-nav .menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}


/* Dropdown */

.site-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 9999;

	display: block;
	min-width: 260px;
	margin: 0;
	padding: 9px;

	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--purple);
	border-radius: 6px;
	box-shadow: var(--shadow-lg);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(7px);

	transition:
		opacity .18s ease,
		transform .18s ease,
		visibility .18s ease;
}

.site-nav .sub-menu::before {
	content: "";
	position: absolute;
	top: -11px;
	left: 0;
	width: 100%;
	height: 11px;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.site-nav .sub-menu li {
	width: 100%;
}

.site-nav .sub-menu a {
	justify-content: space-between;
	width: 100%;
	min-height: 0;
	padding: 10px 12px;
	border-radius: 4px;
	font-size: .88rem;
	font-weight: 650;
	line-height: 1.35;
	white-space: normal;
}

.site-nav .sub-menu a:hover,
.site-nav .sub-menu a:focus,
.site-nav .sub-menu .current-menu-item > a {
	color: var(--purple);
	background: var(--wash-purple);
}

.site-nav .sub-menu .menu-item-has-children > a::after {
	transform: rotate(-45deg);
}

.site-nav .sub-menu .sub-menu {
	top: -12px;
	left: calc(100% + 7px);
}

.site-nav .sub-menu .sub-menu::before {
	top: 0;
	left: -10px;
	width: 10px;
	height: 100%;
}


/* =========================================================
   08. HEADER CTA
   ========================================================= */

.header-cta {
	flex: 0 0 auto;
	margin-left: 4px;
}

.header-join-button {
	min-height: 42px !important;
	padding: 9px 17px !important;
	border-radius: 4px !important;
	font-size: .8rem;
	white-space: nowrap;
}


/* =========================================================
   09. MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 13px;
	color: var(--purple-deep);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 5px;
	font: inherit;
	font-size: .85rem;
	font-weight: 750;
	cursor: pointer;
}


/* =========================================================
   10. BUTTONS
   Layout D uses restrained rectangular CTAs.
   ========================================================= */

.button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 22px;

	color: #fff !important;
	background: var(--purple);
	border: 2px solid var(--purple);
	border-radius: 5px;

	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;

	transition:
		transform .2s ease,
		box-shadow .2s ease,
		background-color .2s ease,
		border-color .2s ease;
}

.button:hover,
.wp-block-button__link:hover {
	color: #fff !important;
	background: var(--purple-dark);
	border-color: var(--purple-dark);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(120,81,169,.22);
}

.button.alt {
	color: var(--purple) !important;
	background: transparent;
}

.button.alt:hover {
	color: #fff !important;
	background: var(--purple);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--purple) !important;
	background: transparent;
	border-color: var(--purple);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	color: #fff !important;
	background: var(--purple);
}


/* Dark section outline buttons */

.institute-hero .is-style-outline .wp-block-button__link,
.institute-band .is-style-outline .wp-block-button__link,
.layout-d-dark .is-style-outline .wp-block-button__link,
.wp-block-cover .is-style-outline .wp-block-button__link {
	color: #fff !important;
	background: transparent;
	border-color: rgba(255,255,255,.62);
}

.institute-hero .is-style-outline .wp-block-button__link:hover,
.institute-band .is-style-outline .wp-block-button__link:hover,
.layout-d-dark .is-style-outline .wp-block-button__link:hover,
.wp-block-cover .is-style-outline .wp-block-button__link:hover {
	color: var(--purple-deep) !important;
	background: #fff;
	border-color: #fff;
}


/* =========================================================
   11. LAYOUT D — INSTITUTIONAL HERO
   ========================================================= */

.hero,
.institute-hero,
.layout-d-hero {
	position: relative;
	overflow: hidden;
	padding: 82px 0 78px;
	color: #fff;
	background:
		radial-gradient(
			circle at 78% 30%,
			rgba(120,81,169,.25),
			transparent 34%
		),
		linear-gradient(
			120deg,
			#151022 0%,
			#211331 50%,
			#2d174b 100%
		);
}

/* subtle institutional network effect */

.hero::before,
.institute-hero::before,
.layout-d-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: .18;
	background-image:
		radial-gradient(circle, rgba(204,204,255,.55) 1px, transparent 1.5px);
	background-size: 34px 34px;
	mask-image:
		linear-gradient(
			90deg,
			transparent 35%,
			#000 68%,
			#000 100%
		);
	pointer-events: none;
}

.hero::after,
.institute-hero::after,
.layout-d-hero::after {
	content: "";
	position: absolute;
	top: -180px;
	right: -80px;
	width: 570px;
	height: 570px;
	border: 1px solid rgba(212,175,55,.13);
	border-radius: 50%;
	box-shadow:
		0 0 0 90px rgba(120,81,169,.035),
		0 0 0 180px rgba(120,81,169,.025);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0,1.12fr) minmax(330px,.72fr);
	gap: 72px;
	align-items: center;
}

.hero h1,
.hero h2,
.hero h3,
.institute-hero h1,
.institute-hero h2,
.institute-hero h3,
.layout-d-hero h1,
.layout-d-hero h2,
.layout-d-hero h3 {
	color: #fff;
}

.hero h1,
.institute-hero h1,
.layout-d-hero h1 {
	max-width: 780px;
}

.hero .lead,
.hero p,
.institute-hero .lead,
.institute-hero p,
.layout-d-hero .lead,
.layout-d-hero p {
	color: rgba(255,255,255,.8);
}

.hero .eyebrow,
.institute-hero .eyebrow,
.layout-d-hero .eyebrow {
	color: var(--gold-soft);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}


/* =========================================================
   12. LAYOUT D — MISSION / CONTEXT PANEL
   ========================================================= */

.hero-card,
.mission-card,
.layout-d-context-card {
	position: relative;
	z-index: 2;
	padding: 30px;

	color: #fff;
	background: rgba(14,9,25,.48);
	border: 1px solid rgba(204,204,255,.2);
	border-top: 3px solid var(--gold);
	border-radius: 5px;
	box-shadow: 0 18px 50px rgba(0,0,0,.18);
	backdrop-filter: blur(5px);
}

.hero-card::before {
	display: none;
}

.hero-card h2,
.hero-card h3,
.mission-card h2,
.mission-card h3,
.layout-d-context-card h2,
.layout-d-context-card h3 {
	color: var(--gold-soft);
}

.hero-card p,
.mission-card p,
.layout-d-context-card p {
	color: rgba(255,255,255,.8);
}

.hero-card .stat {
	background: rgba(255,255,255,.065);
	border: 1px solid rgba(255,255,255,.09);
}

.hero-card .stat strong {
	color: var(--gold-soft);
}


/* =========================================================
   13. GUTENBERG COVER SUPPORT
   ========================================================= */

.wp-block-cover {
	position: relative;
	overflow: hidden;
}

.wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: var(--wrap);
	margin-inline: auto;
}

.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3 {
	color: #fff;
}

.wp-block-cover p {
	max-width: 820px;
}


/* =========================================================
   14. SECTIONS
   ========================================================= */

.section {
	padding: 76px 0;
}

.section.tint {
	background: var(--wash);
}

.section-head {
	max-width: 760px;
	margin-bottom: 38px;
}

.content {
	padding: 64px 0;
}

.entry-content {
	max-width: 850px;
}

.knoco-institute-home .entry-content,
.knoco-institute-home {
	max-width: none;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > h2 {
	margin-top: 1.35em;
}

.entry-content > h3 {
	margin-top: 1.25em;
}

.entry-content:has(.wp-block-cover),
.entry-content:has(.wp-block-columns),
.entry-content:has(.alignfull) {
	max-width: none;
}


/* =========================================================
   15. LAYOUT D — PILLAR CARDS
   ========================================================= */

.layout-d-pillars,
.pillar-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0,1fr));
	gap: 18px;
}

.pillar-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 30px 20px 26px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 6px;
	box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
	border-color: rgba(120,81,169,.3);
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.pillar-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin-bottom: 18px;
	color: #fff;
	background: var(--purple);
	border-radius: 50%;
	font-size: 1.3rem;
}

.pillar-card h3 {
	color: var(--purple-deep);
	font-size: 1.2rem;
}

.pillar-card p {
	flex: 1;
	color: var(--muted);
	font-size: .91rem;
}

.pillar-card a {
	margin-top: 10px;
	font-size: .86rem;
	font-weight: 800;
	text-decoration: none;
}


/* =========================================================
   16. GENERIC CARDS
   ========================================================= */

.card {
	height: 100%;
	padding: 27px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 7px;
	box-shadow: var(--shadow-sm);
	transition:
		transform .2s ease,
		box-shadow .2s ease,
		border-color .2s ease;
}

.card:hover {
	border-color: rgba(120,81,169,.32);
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.card .number {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 18px;
	color: #fff;
	background: var(--purple);
	border-radius: 50%;
	font-weight: 850;
}

.card p {
	color: var(--muted);
}


/* =========================================================
   17. LAYOUT D — FEATURED INITIATIVES BAND
   ========================================================= */

.institute-band,
.layout-d-dark,
.featured-initiatives {
	position: relative;
	padding: 70px 0;
	color: #fff;
	background:
		linear-gradient(
			120deg,
			#26133f 0%,
			#3a1e58 55%,
			#21132f 100%
		);
}

.institute-band h2,
.institute-band h3,
.layout-d-dark h2,
.layout-d-dark h3,
.featured-initiatives h2,
.featured-initiatives h3 {
	color: #fff;
}

.institute-band p,
.layout-d-dark p,
.featured-initiatives p {
	color: rgba(255,255,255,.78);
}

.featured-grid {
	display: grid;
	grid-template-columns: .75fr 1.75fr;
	gap: 50px;
	align-items: center;
}

.featured-cards {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 18px;
}

.feature-card {
	height: 100%;
	overflow: hidden;
	color: var(--ink);
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 18px 38px rgba(0,0,0,.16);
}

.feature-card img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.feature-card-body {
	padding: 21px;
}

.feature-card h3 {
	color: var(--purple-deep);
	font-size: 1.12rem;
}

.feature-card p {
	color: var(--muted);
	font-size: .9rem;
}

.feature-card a {
	font-size: .86rem;
	font-weight: 800;
	text-decoration: none;
}


/* =========================================================
   18. LAYOUT D — STATISTICS BAND
   ========================================================= */

.layout-d-stats {
	padding: 50px 0;
	background: #fff;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.stats-row {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
}

.stat-item {
	position: relative;
	padding: 12px 26px;
	text-align: center;
}

.stat-item + .stat-item {
	border-left: 1px solid var(--line);
}

.stat-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: 0 auto 10px;
	color: var(--purple);
	background: var(--wash-purple);
	border-radius: 50%;
}

.stat-number {
	display: block;
	color: var(--purple);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem,3vw,2.8rem);
	font-weight: 700;
	line-height: 1;
}

.stat-label {
	display: block;
	margin-top: 7px;
	color: var(--muted);
	font-size: .86rem;
	font-weight: 650;
}


/* Legacy stat support */

.stat-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 13px;
	margin-top: 22px;
}

.stat {
	padding: 16px;
	background: var(--wash);
	border-radius: 5px;
}

.stat strong {
	display: block;
	color: var(--purple);
	font-size: 1.5rem;
}


/* =========================================================
   19. GUTENBERG COLUMNS
   ========================================================= */

.wp-block-columns {
	align-items: stretch;
}

.wp-block-columns > .wp-block-column {
	min-width: 0;
}

.wp-block-column > .wp-block-group {
	width: 100%;
}

.knowledge-in-motion .wp-block-column,
.equal-height-cards > .wp-block-column {
	display: flex;
}

.knowledge-in-motion .wp-block-column > *,
.equal-height-cards > .wp-block-column > * {
	width: 100%;
	height: 100%;
}


/* Layout D five-column Gutenberg rows */

.layout-d-five.wp-block-columns {
	gap: 18px;
}

.layout-d-five > .wp-block-column {
	display: flex;
}

.layout-d-five > .wp-block-column > .wp-block-group {
	height: 100%;
	padding: 28px 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 6px;
	box-shadow: var(--shadow-sm);
}


/* =========================================================
   20. GRIDS
   ========================================================= */

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 22px;
}

.split {
	display: grid;
	grid-template-columns: minmax(0,1fr) minmax(0,1fr);
	gap: 60px;
	align-items: center;
}


/* =========================================================
   21. PATHWAYS
   ========================================================= */

.pathways {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 18px;
}

.pathway {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 300px;
	padding: 26px;
	overflow: hidden;

	background: #fff;
	border: 1px solid var(--line);
	border-radius: 7px;

	transition:
		transform .2s ease,
		box-shadow .2s ease,
		border-color .2s ease;
}

.pathway::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: var(--purple);
}

.pathway:hover {
	border-color: rgba(120,81,169,.35);
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.pathway p {
	color: var(--muted);
}

.pathway a {
	margin-top: auto;
	font-weight: 800;
}


/* =========================================================
   22. SERVICE / LINK CARDS
   ========================================================= */

.service-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 20px;
}

.service-link {
	display: block;
	height: 100%;
	padding: 25px;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 7px;
	text-decoration: none;
}

.service-link:hover {
	color: var(--ink);
	border-color: var(--purple);
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.service-link span {
	display: block;
	margin-top: 8px;
	color: var(--muted);
	font-weight: 400;
}


/* =========================================================
   23. PROOF / QUOTES
   ========================================================= */

.proof {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: 34px;
	align-items: start;
}

.quote {
	margin: 0;
	padding: 28px;
	background: #fff;
	border-left: 4px solid var(--gold);
	border-radius: 0 6px 6px 0;
	box-shadow: var(--shadow);
}

.quote p {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.18rem;
}

.quote cite {
	color: var(--muted);
	font-style: normal;
	font-weight: 700;
}


/* =========================================================
   24. FEATURE LISTS / PILLS
   ========================================================= */

.feature-list {
	margin: 24px 0;
	padding: 0;
	list-style: none;
}

.feature-list li {
	position: relative;
	padding: 9px 0 9px 31px;
}

.feature-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--purple);
	font-weight: 900;
}

.pill {
	display: inline-block;
	margin: 4px 5px 4px 0;
	padding: 6px 11px;
	color: #3f3151;
	background: #eee9f6;
	border-radius: 999px;
	font-size: .83rem;
	font-weight: 750;
}


/* =========================================================
   25. CTA BANDS
   ========================================================= */

.band {
	padding: 56px 0;
	color: #fff;
	background:
		linear-gradient(
			120deg,
			var(--purple-deep),
			var(--purple-night)
		);
}

.band-grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 30px;
	align-items: center;
}

.band h2,
.band h3 {
	color: #fff;
}

.band p {
	margin-bottom: 0;
	color: #ded6e8;
}


/* =========================================================
   26. PAGE HERO
   ========================================================= */

.page-hero {
	padding: 64px 0;
	background:
		linear-gradient(
			120deg,
			#181025,
			#2d174b
		);
	border-bottom: 3px solid var(--gold);
}

.page-hero h1,
.page-hero h2 {
	color: #fff;
}

.page-hero p,
.page-hero .lead {
	color: rgba(255,255,255,.78);
}


/* =========================================================
   27. BREADCRUMBS
   ========================================================= */

.breadcrumbs {
	margin-bottom: 16px;
	color: var(--muted);
	font-size: .86rem;
}

.page-hero .breadcrumbs {
	color: rgba(255,255,255,.68);
}

.page-hero .breadcrumbs a {
	color: var(--lavender);
}


/* =========================================================
   28. POSTS / PUBLICATIONS
   ========================================================= */

.posts {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 22px;
}

.post-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 7px;
	transition:
		transform .2s ease,
		box-shadow .2s ease;
}

.post-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.post-card img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.post-card-body {
	padding: 23px;
}


/* =========================================================
   29. CONTACT / FORMS
   ========================================================= */

.contact-grid {
	display: grid;
	grid-template-columns: .75fr 1.25fr;
	gap: 38px;
}

.contact-form {
	padding: 30px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 7px;
	box-shadow: var(--shadow);
}

.field {
	margin-bottom: 18px;
}

.field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 750;
}

.field input,
.field textarea,
.field select {
	width: 100%;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #d7d1df;
	border-radius: 5px;
	font: inherit;
}

.field textarea {
	min-height: 150px;
	resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
	border-color: var(--purple);
	outline: 3px solid rgba(120,81,169,.18);
}


/* =========================================================
   30. NOTICES
   ========================================================= */

.notice {
	margin-bottom: 20px;
	padding: 13px 16px;
	border-radius: 5px;
}

.notice.success {
	color: var(--success-text);
	background: var(--success-bg);
}

.notice.error {
	color: var(--error-text);
	background: var(--error-bg);
}


/* =========================================================
   31. WORDPRESS ALIGNMENT
   ========================================================= */

.alignwide {
	width: var(--wrap);
	max-width: 1240px;
	margin-right: auto;
	margin-left: auto;
}

.alignfull {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.wp-block-image img {
	border-radius: 4px;
}


/* =========================================================
   32. FEATURE HIGHLIGHT
   ========================================================= */

.gold-rule {
	width: 68px;
	height: 3px;
	margin: 18px 0 25px;
	background: var(--gold);
	border: 0;
}

.feature-highlight {
	position: relative;
	overflow: hidden;
	padding: 32px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 7px;
	box-shadow: var(--shadow-sm);
}

.feature-highlight::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg,var(--purple),var(--gold));
}


/* =========================================================
   33. FOOTER
   ========================================================= */

.site-footer {
	padding: 58px 0 24px;
	color: #d9d3df;
	background:
		linear-gradient(
			135deg,
			#15101d 0%,
			#21152f 100%
		);
	border-top: 3px solid var(--purple);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 46px;
}

.footer-logo {
	display: block;
	width: 110px;
	max-height: 110px;
	margin-bottom: 18px;
	object-fit: contain;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
	color: #fff;
}

.site-footer h3 {
	font-size: 1.05rem;
}

.site-footer p {
	color: #cfc7d5;
}

.site-footer a {
	color: #e7dffc;
	text-decoration-color: rgba(231,223,252,.5);
}

.site-footer a:hover {
	color: #fff;
	text-decoration-color: var(--gold);
}

.footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links li {
	margin: 8px 0;
}

.footer-network {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #3a3043;
}

.footer-network a {
	font-weight: 750;
}

.copyright {
	margin-top: 38px;
	padding-top: 22px;
	color: #aaa2b1;
	border-top: 1px solid #332b3c;
	font-size: .88rem;
}

.copyright a {
	color: #cfc7d5;
}


/* =========================================================
   34. NOT FOUND
   ========================================================= */

.not-found {
	padding: 100px 0;
	text-align: center;
}


/* =========================================================
   35. RESPONSIVE — LARGE TABLET
   ========================================================= */

@media (max-width: 1180px) {

	.institute-header-inner {
		gap: 16px;
	}

	.institute-brand-copy {
		min-width: 145px;
	}

	.institute-name {
		font-size: 1.28rem;
	}

	.institute-tagline {
		font-size: .6rem;
	}

	.institute-seal {
		width: 56px;
		height: 56px;
	}

	.site-nav a {
		padding-inline: 6px;
		font-size: .76rem;
	}

	.header-join-button {
		padding-inline: 12px !important;
	}

	.pathways {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.layout-d-pillars,
	.pillar-grid {
		grid-template-columns: repeat(3,minmax(0,1fr));
	}
}


/* =========================================================
   36. RESPONSIVE — MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 980px) {

	:root {
		--header-height: 78px;
	}

	.institute-header-inner {
		min-height: var(--header-height);
	}

	.institute-seal {
		width: 54px;
		height: 54px;
	}

	.institute-name {
		font-size: 1.3rem;
	}

	.menu-toggle {
		display: inline-flex;
		margin-left: auto;
	}

	.header-cta {
		display: none;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		right: calc((100vw - 100%) / -2);
		left: calc((100vw - 100%) / -2);

		display: none;
		max-height: calc(100vh - var(--header-height));
		margin: 0;
		padding: 14px max(24px, calc((100vw - 1240px) / 2)) 22px;

		overflow-y: auto;
		background: #fff;
		border-top: 1px solid var(--line);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 16px 30px rgba(23,21,28,.12);
	}

	.site-nav.open {
		display: block;
	}

	.site-nav > ul,
	.site-nav > div > ul {
		display: block;
	}

	.site-nav li {
		display: block;
		width: 100%;
	}

	.site-nav a {
		width: 100%;
		padding: 11px 9px;
		font-size: .96rem;
		white-space: normal;
	}

	.site-nav > ul > li > a::before,
	.site-nav > div > ul > li > a::before {
		display: none;
	}

	.site-nav .sub-menu,
	.site-nav .sub-menu .sub-menu {
		position: static;
		display: block;

		min-width: 0;
		margin: 2px 0 6px 12px;
		padding: 3px 0 3px 12px;

		background: transparent;
		border: 0;
		border-left: 2px solid var(--lavender);
		border-radius: 0;
		box-shadow: none;

		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}

	.site-nav .sub-menu::before,
	.site-nav .sub-menu .sub-menu::before {
		display: none;
	}

	.site-nav .sub-menu a {
		padding: 8px 9px;
		font-size: .9rem;
	}

	.site-nav .menu-item-has-children > a::after,
	.site-nav .sub-menu .menu-item-has-children > a::after {
		display: none;
	}

	.hero-grid,
	.split,
	.contact-grid,
	.footer-grid,
	.band-grid,
	.proof,
	.featured-grid {
		grid-template-columns: 1fr;
	}

	.hero-grid {
		gap: 38px;
	}

	.featured-cards {
		grid-template-columns: repeat(3,minmax(0,1fr));
	}

	.grid-3,
	.posts {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.footer-grid {
		gap: 32px;
	}
}


/* =========================================================
   37. RESPONSIVE — SMALL TABLET
   ========================================================= */

@media (max-width: 760px) {

	.institute-utility-bar {
		display: none;
	}

	html {
		scroll-padding-top: 90px;
	}

	.layout-d-pillars,
	.pillar-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.featured-cards {
		grid-template-columns: 1fr;
	}

	.stats-row {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.stat-item:nth-child(3) {
		border-left: 0;
	}

	.stat-item:nth-child(n+3) {
		margin-top: 25px;
		padding-top: 25px;
		border-top: 1px solid var(--line);
	}

	.pathways,
	.service-grid,
	.proof,
	.grid-3,
	.posts {
		grid-template-columns: 1fr;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) {
		flex-wrap: wrap !important;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: 100% !important;
	}

	.section {
		padding: 60px 0;
	}

	.content {
		padding: 50px 0;
	}

	.page-hero {
		padding: 52px 0;
	}
}


/* =========================================================
   38. RESPONSIVE — PHONE
   ========================================================= */

@media (max-width: 560px) {

	:root {
		--wrap: min(calc(100% - 28px),1240px);
	}

	.institute-header-inner {
		gap: 10px;
	}

	.institute-brand {
		gap: 9px;
	}

	.institute-seal {
		width: 48px;
		height: 48px;
	}

	.institute-brand-copy {
		min-width: 0;
	}

	.institute-name {
		font-size: 1.08rem;
	}

	.institute-tagline {
		max-width: 175px;
		font-size: .54rem;
		white-space: normal;
	}

	.menu-toggle {
		padding: 7px 10px;
	}

	h1 {
		font-size: 2.65rem;
	}

	h2 {
		font-size: 2rem;
	}

	.hero,
	.institute-hero,
	.layout-d-hero {
		padding: 58px 0;
	}

	.hero-card,
	.mission-card,
	.layout-d-context-card {
		padding: 24px;
	}

	.layout-d-pillars,
	.pillar-grid {
		grid-template-columns: 1fr;
	}

	.stats-row {
		grid-template-columns: 1fr;
	}

	.stat-item + .stat-item,
	.stat-item:nth-child(3) {
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid var(--line);
		border-left: 0;
	}

	.stat-grid {
		grid-template-columns: 1fr;
	}

	.section {
		padding: 52px 0;
	}

	.wp-block-cover__inner-container {
		width: calc(100% - 28px);
	}

	.button,
	.wp-block-button__link {
		min-height: 46px;
	}
}


/* =========================================================
   39. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}