/* ==========================================================================
   HexTech Institute – design system
   Palette: forest green, valley lime, sand, clay. Type: Fraunces + Inter.
   ========================================================================== */

:root {
	--forest: #0e2a1e;
	--forest-2: #143a28;
	--moss: #1f5a3c;
	--moss-soft: #2c6f4a;
	--lime: #c9f26b;
	--lime-deep: #a9dd52;
	--sand: #f5f1e6;
	--sand-2: #ece6d6;
	--clay: #b4643a;
	--ink: #0f1a14;
	--muted: #56685d;
	--line: rgba(14, 42, 30, 0.14);
	--white: #ffffff;

	--font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

	--wrap: 1240px;
	--gap: clamp(1rem, 2.4vw, 2rem);
	--section-y: clamp(3.5rem, 7vw, 7.5rem);
	--radius: 22px;
	--radius-sm: 12px;
	--shadow: 0 24px 60px -32px rgba(14, 42, 30, 0.38);
	--ease: cubic-bezier(0.22, 0.68, 0, 1);
}

/* --------------------------------------------------------------- Reset ---- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body.hx {
	margin: 0;
	background: var(--sand);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--moss);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--forest);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	font-weight: 500;
	font-optical-sizing: auto;
	line-height: 1.04;
	letter-spacing: -0.022em;
	margin: 0 0 0.6em;
	color: var(--forest);
	text-wrap: balance;
}

p {
	margin: 0 0 1.1em;
}

p:last-child {
	margin-bottom: 0;
}

ul,
ol {
	padding-left: 1.2em;
}

button {
	font: inherit;
	cursor: pointer;
}

.hx-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--lime);
	color: var(--forest);
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 12px 0;
	font-weight: 600;
}

.hx-skip:focus {
	left: 0;
}

:focus-visible {
	outline: 3px solid var(--clay);
	outline-offset: 3px;
}

/* -------------------------------------------------------------- Layout ---- */
.hx-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.hx-main {
	display: block;
}

.hx-section {
	padding-block: var(--section-y);
	position: relative;
}

.hx-section--tight {
	padding-block: clamp(2.5rem, 4.5vw, 4.5rem);
}

.hx-section--sand {
	background: var(--sand);
}

.hx-section--paper {
	background: #fbf9f3;
}

.hx-section--dark {
	background: var(--forest);
	color: rgba(255, 255, 255, 0.82);
}

.hx-section--dark h1,
.hx-section--dark h2,
.hx-section--dark h3,
.hx-section--dark h4 {
	color: var(--white);
}

.hx-section--moss {
	background: var(--forest-2);
	color: rgba(255, 255, 255, 0.8);
}

.hx-section--moss h2,
.hx-section--moss h3 {
	color: #fff;
}

.hx-section--lime {
	background: var(--lime);
	color: var(--forest);
}

.hx-section--lime h2 {
	color: var(--forest);
}

.hx-grid {
	display: grid;
	gap: var(--gap);
}

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

.hx-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hx-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hx-split {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
}

.hx-split--reverse > .hx-split__media {
	order: 2;
}

.hx-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.hx-center {
	text-align: center;
}

.hx-center .hx-actions,
.hx-center .hx-lede {
	justify-content: center;
	margin-inline: auto;
}

/* ----------------------------------------------------------- Typography ---- */
.hx-h1 {
	font-size: clamp(2.6rem, 6vw, 5rem);
	font-weight: 500;
}

.hx-h2 {
	font-size: clamp(2rem, 4vw, 3.4rem);
}

.hx-h3 {
	font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.hx-h4 {
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

.hx-lede {
	font-size: clamp(1.06rem, 1.35vw, 1.28rem);
	line-height: 1.55;
	color: var(--muted);
	max-width: 62ch;
}

.hx-lede--light {
	color: rgba(255, 255, 255, 0.76);
}

.hx-eyebrow,
.hx-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--moss);
	margin: 0 0 1.1rem;
}

.hx-eyebrow::before {
	content: '';
	width: 26px;
	height: 2px;
	background: var(--lime-deep);
	border-radius: 2px;
}

.hx-section--dark .hx-eyebrow,
.hx-section--moss .hx-eyebrow,
.hx-hero .hx-eyebrow {
	color: var(--lime);
}

.hx-section__head {
	max-width: 780px;
	margin-bottom: clamp(2rem, 3.5vw, 3.25rem);
}

.hx-section__head--split {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 2rem;
	max-width: none;
}

.hx-muted {
	color: var(--muted);
}

/* ------------------------------------------------------------- Buttons ---- */
.hx-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.95rem 1.6rem;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
	will-change: transform;
}

.hx-btn:hover {
	transform: translateY(-2px);
}

.hx-btn--sm {
	padding: 0.72rem 1.2rem;
	font-size: 0.875rem;
}

.hx-btn--lime {
	background: var(--lime);
	color: var(--forest);
}

.hx-btn--lime:hover {
	background: #d7f98a;
	color: var(--forest);
}

.hx-btn--dark {
	background: var(--forest);
	color: #fff;
}

.hx-btn--dark:hover {
	background: var(--moss);
	color: #fff;
}

.hx-btn--clay {
	background: var(--clay);
	color: #fff;
}

.hx-btn--clay:hover {
	background: #9c5228;
	color: #fff;
}

.hx-btn--ghost {
	border-color: var(--line);
	color: var(--forest);
	background: transparent;
}

.hx-btn--ghost:hover {
	border-color: var(--forest);
	background: rgba(14, 42, 30, 0.04);
}

.hx-section--dark .hx-btn--ghost,
.hx-hero .hx-btn--ghost {
	border-color: rgba(255, 255, 255, 0.34);
	color: #fff;
}

.hx-section--dark .hx-btn--ghost:hover,
.hx-hero .hx-btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.hx-textlink {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--forest);
	text-decoration: none;
	border-bottom: 1.5px solid var(--lime-deep);
	padding-bottom: 2px;
}

.hx-textlink:hover {
	border-color: var(--forest);
}

/* -------------------------------------------------------------- Topbar ---- */
.hx-topbar {
	background: var(--forest);
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.8rem;
	letter-spacing: 0.01em;
}

.hx-topbar__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: 0.5rem clamp(1.15rem, 4vw, 2.5rem);
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.hx-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
}

.hx-topbar__item a {
	color: inherit;
	text-decoration: none;
}

.hx-topbar__item a:hover {
	color: var(--lime);
}

.hx-topbar__badge {
	margin-left: auto;
	color: var(--forest);
	background: var(--lime);
	border-radius: 999px;
	padding: 0.25rem 0.75rem;
	font-weight: 600;
}

/* -------------------------------------------------------------- Header ---- */
.hx-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(245, 241, 230, 0.86);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hx-header.is-stuck {
	background: rgba(245, 241, 230, 0.96);
	border-bottom-color: var(--line);
	box-shadow: 0 8px 30px -24px rgba(14, 42, 30, 0.5);
}

.hx-header__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: 0.85rem clamp(1.15rem, 4vw, 2.5rem);
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.hx-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: var(--forest);
	flex-shrink: 0;
}

.hx-logo__mark {
	color: var(--forest);
	display: inline-flex;
}

.hx-logo--light,
.hx-logo--light .hx-logo__mark {
	color: #fff;
}

.hx-logo--light .hx-logo__mark svg path:nth-child(2) {
	fill: var(--lime);
}

.hx-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.hx-logo__word {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.hx-logo__sub {
	font-size: 0.6rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	font-weight: 600;
	opacity: 0.62;
	margin-top: 0.22rem;
}

.hx-nav {
	margin-left: auto;
}

.hx-nav__list {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hx-nav__list > li > a {
	display: inline-block;
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	font-size: 0.925rem;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.hx-nav__list > li > a:hover,
.hx-nav__list > li.current-menu-item > a,
.hx-nav__list > li.current_page_item > a {
	background: rgba(14, 42, 30, 0.07);
	color: var(--forest);
}

.hx-header__actions {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	flex-shrink: 0;
}

.hx-lang {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.5);
}

.hx-lang__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	padding: 0.32rem 0.5rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--muted);
	text-decoration: none;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.hx-lang__item:hover {
	color: var(--forest);
}

.hx-lang__item.is-active {
	background: var(--forest);
	color: #fff;
}

.hx-nav__mobile-extra {
	display: none;
}

.hx-burger {
	display: none;
	align-items: center;
	gap: 0.5rem;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.5rem 0.9rem;
	color: var(--forest);
	font-size: 0.8rem;
	font-weight: 600;
}

.hx-burger__box {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
}

.hx-burger__box span {
	width: 16px;
	height: 1.6px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.25s var(--ease), opacity 0.2s;
}

.hx-burger[aria-expanded='true'] .hx-burger__box span:first-child {
	transform: translateY(2.8px) rotate(45deg);
}

.hx-burger[aria-expanded='true'] .hx-burger__box span:last-child {
	transform: translateY(-2.8px) rotate(-45deg);
}

/* ---------------------------------------------------------------- Hero ---- */
.hx-hero {
	position: relative;
	isolation: isolate;
	background: var(--forest);
	color: #fff;
	overflow: hidden;
}

.hx-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hx-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}

.hx-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(8, 24, 16, 0.72) 0%, rgba(8, 24, 16, 0.35) 42%, rgba(8, 24, 16, 0.86) 100%),
		linear-gradient(100deg, rgba(10, 32, 21, 0.85), rgba(10, 32, 21, 0.15) 72%);
}

.hx-hero--flat {
	background: var(--forest);
	padding-block: clamp(3.5rem, 6vw, 6rem);
}

.hx-hero--flat::after {
	display: none;
}

.hx-hero__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: clamp(3.5rem, 9vw, 8.5rem) clamp(1.15rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4.5rem);
}

.hx-hero h1,
.hx-hero .hx-h1 {
	color: #fff;
	max-width: 18ch;
	font-size: clamp(2.7rem, 6.4vw, 5.4rem);
}

.hx-hero .hx-lede {
	color: rgba(255, 255, 255, 0.84);
	max-width: 52ch;
	margin-top: 1.25rem;
}

.hx-hero em {
	font-style: italic;
	color: var(--lime);
}

.hx-hero__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2.25rem;
	margin-top: clamp(2rem, 4vw, 3.5rem);
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.72);
}

.hx-hero__foot strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 500;
	color: #fff;
	letter-spacing: -0.02em;
}

/* Page hero (interior pages) */
.hx-page-hero {
	background: var(--forest);
	color: rgba(255, 255, 255, 0.82);
	padding-block: clamp(2.75rem, 6vw, 5.5rem);
	position: relative;
	overflow: hidden;
}

.hx-page-hero__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(1.15rem, 4vw, 2.5rem);
	position: relative;
	z-index: 2;
}

.hx-page-hero h1 {
	color: #fff;
	max-width: 22ch;
	font-size: clamp(2.3rem, 4.8vw, 4.1rem);
}

.hx-page-hero .hx-lede {
	color: rgba(255, 255, 255, 0.8);
}

.hx-page-hero__ring {
	position: absolute;
	right: -12%;
	top: -55%;
	width: 46vw;
	height: 46vw;
	max-width: 620px;
	max-height: 620px;
	border: 1px solid rgba(201, 242, 107, 0.22);
	border-radius: 50%;
	z-index: 1;
}

.hx-page-hero__ring::after {
	content: '';
	position: absolute;
	inset: 12%;
	border: 1px solid rgba(201, 242, 107, 0.14);
	border-radius: 50%;
}

/* ------------------------------------------------------------- Marquee ---- */
.hx-marquee {
	background: var(--lime);
	color: var(--forest);
	overflow: hidden;
	padding-block: 0.9rem;
	border-block: 1px solid rgba(14, 42, 30, 0.12);
}

.hx-marquee__track {
	display: flex;
	width: max-content;
	animation: hx-scroll 42s linear infinite;
}

.hx-marquee:hover .hx-marquee__track {
	animation-play-state: paused;
}

.hx-marquee__set {
	display: flex;
	align-items: center;
	gap: 2.25rem;
	padding-right: 2.25rem;
	list-style: none;
	margin: 0;
	padding-left: 0;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	white-space: nowrap;
}

.hx-marquee__set li {
	display: inline-flex;
	align-items: center;
	gap: 2.25rem;
}

.hx-marquee__set li::after {
	content: '✳';
	font-size: 0.95rem;
	opacity: 0.85;
}

@keyframes hx-scroll {
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hx-marquee__track {
		animation: none;
	}
}

/* --------------------------------------------------------------- Stats ---- */
.hx-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-top: clamp(2rem, 4vw, 3.5rem);
	border-top: 1px solid var(--line);
}

.hx-stat {
	padding: clamp(1.25rem, 2.4vw, 2rem) clamp(0.75rem, 1.6vw, 1.5rem) 0 0;
	border-right: 1px solid var(--line);
}

.hx-stat:last-child {
	border-right: 0;
}

.hx-stat__num {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2.1rem, 4.2vw, 3.5rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--forest);
}

.hx-stat__label {
	display: block;
	margin-top: 0.6rem;
	font-size: 0.85rem;
	line-height: 1.45;
	color: var(--muted);
	max-width: 22ch;
}

.hx-section--dark .hx-stats {
	border-top-color: rgba(255, 255, 255, 0.18);
}

.hx-section--dark .hx-stat {
	border-right-color: rgba(255, 255, 255, 0.14);
}

.hx-section--dark .hx-stat__num {
	color: var(--lime);
}

.hx-section--dark .hx-stat__label {
	color: rgba(255, 255, 255, 0.7);
}

/* -------------------------------------------------------------- Pillars --- */
.hx-pillar {
	background: #fbf9f3;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.4rem, 2.4vw, 2.1rem);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hx-pillar:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(14, 42, 30, 0.22);
}

.hx-pillar__icon {
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: var(--lime);
	color: var(--forest);
	margin-bottom: 0.35rem;
}

.hx-pillar h3 {
	font-size: 1.25rem;
	margin-bottom: 0.15rem;
}

.hx-pillar p {
	font-size: 0.95rem;
	color: var(--muted);
	line-height: 1.6;
	margin: 0;
}

/* ---------------------------------------------------------------- Cards --- */
.hx-card {
	background: #fbf9f3;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
	height: 100%;
}

.hx-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
	border-color: rgba(14, 42, 30, 0.2);
}

.hx-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.hx-card__media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--sand-2);
}

.hx-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.hx-card:hover .hx-card__media img {
	transform: scale(1.045);
}

.hx-card__body {
	padding: clamp(1.15rem, 2vw, 1.6rem);
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.35rem;
}

.hx-card__eyebrow {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--moss);
	margin: 0 0 0.2rem;
}

.hx-card__title {
	font-size: 1.22rem;
	line-height: 1.18;
	margin: 0 0 0.35rem;
}

.hx-card__text {
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--muted);
	margin: 0 0 0.6rem;
}

.hx-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.5rem;
	margin: auto 0 0.85rem;
	font-size: 0.78rem;
}

.hx-card__meta div {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.hx-card__meta dt {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.62rem;
	color: var(--muted);
}

.hx-card__meta dd {
	margin: 0;
	font-weight: 600;
	color: var(--forest);
}

.hx-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--forest);
	padding-top: 0.75rem;
	border-top: 1px solid var(--line);
}

.hx-card:hover .hx-card__cta span {
	transform: translateX(4px);
}

.hx-card__cta span {
	transition: transform 0.3s var(--ease);
}

.hx-prog-grid {
	margin-top: 1rem;
}

/* --------------------------------------------------------- Media/splits --- */
.hx-media {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	background: var(--forest);
}

.hx-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.hx-media--tall img {
	aspect-ratio: 3 / 4;
}

.hx-media--wide img {
	aspect-ratio: 16 / 10;
}

.hx-media--plain {
	border-radius: var(--radius);
	box-shadow: none;
}

.hx-list-check {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.8rem;
}

.hx-list-check li {
	position: relative;
	padding-left: 2.05rem;
	font-size: 0.98rem;
	line-height: 1.55;
}

.hx-list-check li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.18rem;
	width: 1.3rem;
	height: 1.3rem;
	border-radius: 50%;
	background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2a1e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

.hx-section--dark .hx-list-check li,
.hx-section--moss .hx-list-check li {
	color: rgba(255, 255, 255, 0.82);
}

/* -------------------------------------------------------------- Numbers --- */
.hx-number-list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: hx;
	display: grid;
	gap: 1.75rem;
}

.hx-number-list li {
	counter-increment: hx;
	position: relative;
	padding-left: 3.25rem;
}

.hx-number-list li::before {
	content: '0' counter(hx);
	position: absolute;
	left: 0;
	top: -0.1rem;
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--moss);
	letter-spacing: 0.02em;
}

.hx-number-list h3,
.hx-number-list strong {
	display: block;
	font-size: 1.08rem;
	margin-bottom: 0.3rem;
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--forest);
}

.hx-number-list p {
	font-size: 0.94rem;
	color: var(--muted);
	line-height: 1.6;
	margin: 0;
}

.hx-section--dark .hx-number-list li::before {
	color: var(--lime);
}

.hx-section--dark .hx-number-list strong,
.hx-section--dark .hx-number-list h3 {
	color: #fff;
}

.hx-section--dark .hx-number-list p {
	color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------------------------- Quote --- */
.hx-quote {
	max-width: 900px;
	margin-inline: auto;
	text-align: center;
}

.hx-quote__mark {
	color: var(--lime-deep);
	display: inline-flex;
	margin-bottom: 1.25rem;
}

.hx-quote blockquote {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.8vw, 2.3rem);
	line-height: 1.24;
	letter-spacing: -0.02em;
	color: var(--forest);
	font-weight: 400;
	text-wrap: balance;
}

.hx-section--dark .hx-quote blockquote {
	color: #fff;
}

.hx-quote__cite {
	display: block;
	margin-top: 1.5rem;
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-style: normal;
	letter-spacing: 0.02em;
	color: var(--muted);
}

.hx-quote__cite strong {
	color: var(--forest);
	display: block;
	font-size: 0.95rem;
}

.hx-section--dark .hx-quote__cite {
	color: rgba(255, 255, 255, 0.62);
}

.hx-section--dark .hx-quote__cite strong {
	color: #fff;
}

/* --------------------------------------------------------------- Logos ---- */
.hx-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 2.75rem;
	margin-top: 2.25rem;
	list-style: none;
	padding: 0;
}

.hx-logos li {
	font-family: var(--font-display);
	font-size: clamp(0.95rem, 1.5vw, 1.15rem);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--muted);
	opacity: 0.78;
	transition: opacity 0.25s, color 0.25s;
}

.hx-logos li:hover {
	opacity: 1;
	color: var(--forest);
}

/* ----------------------------------------------------------------- CTA ---- */
.hx-cta {
	background: var(--forest);
	color: #fff;
	border-radius: var(--radius);
	padding: clamp(2rem, 4.5vw, 4rem);
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 2rem;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hx-cta::after {
	content: '';
	position: absolute;
	right: -6%;
	top: -40%;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	border: 1px solid rgba(201, 242, 107, 0.25);
	pointer-events: none;
}

.hx-cta h2 {
	color: #fff;
	font-size: clamp(1.75rem, 3.4vw, 2.75rem);
	margin-bottom: 0.5rem;
}

.hx-cta p {
	color: rgba(255, 255, 255, 0.76);
	max-width: 46ch;
}

.hx-cta .hx-actions {
	margin-top: 0;
	justify-content: flex-end;
}

/* ---------------------------------------------------------- Fact bar ------ */
.hx-course-hero {
	background: var(--forest);
	color: rgba(255, 255, 255, 0.8);
	padding-block: clamp(2rem, 4vw, 3.5rem) 0;
}

.hx-course-hero h1 {
	color: #fff;
	font-size: clamp(2.2rem, 4.6vw, 3.8rem);
	max-width: 20ch;
}

.hx-course-hero .hx-lede {
	color: rgba(255, 255, 255, 0.78);
	margin-top: 1rem;
}

.hx-course-hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}

.hx-course-hero__media {
	border-radius: var(--radius) var(--radius) 0 0;
	overflow: hidden;
	align-self: end;
	margin-bottom: -1px;
}

.hx-course-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.hx-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 1.75rem;
}

.hx-breadcrumb a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.hx-breadcrumb a:hover {
	color: var(--lime);
}

.hx-breadcrumb__current {
	color: #fff;
}

.hx-factbar {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0;
	margin: clamp(2rem, 3.5vw, 3rem) 0 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hx-factbar__item {
	padding: 1.25rem 1rem 1.5rem 0;
	border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hx-factbar__item:last-child {
	border-right: 0;
}

.hx-factbar dt {
	font-size: 0.64rem;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 0.4rem;
}

.hx-factbar dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.02rem;
	font-weight: 500;
	color: #fff;
	line-height: 1.25;
}

/* Course content sections */
.hx-course-cta__inner {
	display: grid;
	grid-template-columns: 1.4fr 0.6fr;
	gap: 2rem;
	align-items: center;
}

.hx-course-cta .hx-actions {
	justify-content: flex-end;
	margin-top: 0;
}

/* -------------------------------------------------------- Programme list -- */
.hx-prog-group + .hx-prog-group {
	margin-top: clamp(2.5rem, 4vw, 4rem);
}

.hx-prog-group__head {
	display: flex;
	align-items: baseline;
	gap: 0.85rem;
	padding-bottom: 1rem;
	border-bottom: 1.5px solid var(--forest);
	margin-bottom: 0.25rem;
}

.hx-prog-group__head h2 {
	margin: 0;
}

.hx-prog-group__count {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--muted);
}

.hx-prog-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hx-prog-row {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 40px;
	gap: clamp(1rem, 2.5vw, 2.5rem);
	align-items: center;
	padding: clamp(1.15rem, 2vw, 1.6rem) 0;
	border-bottom: 1px solid var(--line);
	transition: background-color 0.25s var(--ease);
}

.hx-prog-row:hover {
	background: rgba(255, 255, 255, 0.55);
}

.hx-prog-row__code {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--moss);
	margin-bottom: 0.35rem;
}

.hx-prog-row__title {
	font-size: clamp(1.15rem, 1.9vw, 1.45rem);
	margin: 0 0 0.3rem;
}

.hx-prog-row__title a {
	color: var(--forest);
	text-decoration: none;
}

.hx-prog-row__title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--lime-deep);
	text-decoration-thickness: 2px;
}

.hx-prog-row__text {
	font-size: 0.9rem;
	color: var(--muted);
	margin: 0;
	max-width: 54ch;
	line-height: 1.55;
}

.hx-prog-row__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
}

.hx-prog-row__facts dt {
	font-size: 0.61rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--muted);
	margin-bottom: 0.2rem;
}

.hx-prog-row__facts dd {
	margin: 0;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--forest);
}

.hx-prog-row__arrow {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--forest);
	text-decoration: none;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.hx-prog-row:hover .hx-prog-row__arrow {
	background: var(--forest);
	color: #fff;
	transform: translateX(3px);
}

/* --------------------------------------------------------------- Steps ---- */
.hx-steps {
	counter-reset: step;
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.hx-steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 1.5rem;
	align-items: start;
	padding: 1.6rem 0;
	border-bottom: 1px solid var(--line);
}

.hx-steps li::before {
	content: counter(step, decimal-leading-zero);
	font-family: var(--font-display);
	font-size: 1.35rem;
	color: var(--moss);
	line-height: 1;
}

.hx-steps h3 {
	font-size: 1.15rem;
	margin: 0;
}

.hx-steps p {
	margin: 0;
	font-size: 0.94rem;
	color: var(--muted);
	line-height: 1.6;
}

/* --------------------------------------------------------------- Table ---- */
.hx-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.94rem;
	background: #fbf9f3;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 1px 0 var(--line);
}

.hx-table caption {
	caption-side: top;
	text-align: left;
	font-size: 0.8rem;
	color: var(--muted);
	padding-bottom: 0.75rem;
}

.hx-table th,
.hx-table td {
	text-align: left;
	padding: 0.95rem 1.15rem;
	border-bottom: 1px solid var(--line);
}

.hx-table thead th {
	background: var(--forest);
	color: #fff;
	font-size: 0.72rem;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	font-weight: 600;
}

.hx-table tbody tr:last-child td {
	border-bottom: 0;
}

.hx-table tbody tr:nth-child(even) {
	background: rgba(236, 230, 214, 0.4);
}

.hx-table td:first-child {
	font-weight: 600;
	color: var(--forest);
}

/* ----------------------------------------------------------------- FAQ ---- */
.hx-faq {
	border-top: 1px solid var(--line);
}

.hx-faq details {
	border-bottom: 1px solid var(--line);
	padding: 1.15rem 0;
}

.hx-faq summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	font-family: var(--font-display);
	font-size: clamp(1.02rem, 1.4vw, 1.2rem);
	font-weight: 500;
	color: var(--forest);
	letter-spacing: -0.015em;
}

.hx-faq summary::-webkit-details-marker {
	display: none;
}

.hx-faq summary::after {
	content: '+';
	font-size: 1.4rem;
	line-height: 1;
	color: var(--moss);
	transition: transform 0.25s var(--ease);
	flex-shrink: 0;
}

.hx-faq details[open] summary::after {
	transform: rotate(45deg);
}

.hx-faq details > *:not(summary) {
	margin-top: 0.85rem;
	font-size: 0.95rem;
	color: var(--muted);
	line-height: 1.65;
	max-width: 72ch;
}

/* ------------------------------------------------------------- Contact ---- */
.hx-contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}

.hx-contact-card {
	background: #fbf9f3;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.35rem, 2.4vw, 2rem);
}

.hx-contact-card h3 {
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
}

.hx-contact-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0.9rem;
	font-size: 0.94rem;
}

.hx-contact-list li {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	line-height: 1.5;
}

.hx-contact-list svg {
	flex-shrink: 0;
	margin-top: 0.15rem;
	color: var(--moss);
}

.hx-contact-list strong {
	display: block;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	color: var(--muted);
	margin-bottom: 0.15rem;
}

.hx-map {
	aspect-ratio: 16 / 11;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--sand-2);
	position: relative;
}

.hx-map iframe,
.hx-map img {
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
	filter: saturate(0.9);
}

/* --------------------------------------------------------------- Forms ---- */
.hx-form {
	background: #fbf9f3;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.4rem, 2.6vw, 2.25rem);
}

.hx-form form {
	display: grid;
	gap: 1rem;
}

.hx-form p {
	margin: 0;
}

.hx-form label {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.4rem;
}

.hx-form input[type='text'],
.hx-form input[type='email'],
.hx-form input[type='tel'],
.hx-form input[type='url'],
.hx-form select,
.hx-form textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: var(--ink);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.hx-form input:focus,
.hx-form select:focus,
.hx-form textarea:focus {
	outline: none;
	border-color: var(--moss);
	box-shadow: 0 0 0 3px rgba(31, 90, 60, 0.14);
}

.hx-form textarea {
	min-height: 150px;
	resize: vertical;
}

.hx-form input[type='submit'],
.hx-form .wpcf7-submit {
	justify-self: start;
	background: var(--forest);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 0.95rem 1.75rem;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.hx-form input[type='submit']:hover,
.hx-form .wpcf7-submit:hover {
	background: var(--moss);
	transform: translateY(-2px);
}

.hx-form .wpcf7-not-valid-tip {
	font-size: 0.8rem;
	color: #a53f2a;
	margin-top: 0.3rem;
}

.hx-form .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.85rem 1.1rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
	font-size: 0.9rem;
	background: #fff;
}

.hx-form .wpcf7-spinner {
	margin-left: 0.5rem;
}

.hx-form .hx-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

/* -------------------------------------------------------------- Footer ---- */
.hx-footer {
	background: var(--forest);
	color: rgba(255, 255, 255, 0.72);
	padding-top: clamp(2.5rem, 5vw, 4.5rem);
	overflow: hidden;
}

.hx-footer__top {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(1.15rem, 4vw, 2.5rem);
	display: grid;
	grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr;
	gap: clamp(1.75rem, 3.5vw, 3rem);
	padding-bottom: clamp(2rem, 4vw, 3.5rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hx-footer__brand .hx-lang {
	border-color: rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.06);
}

.hx-footer__brand .hx-lang__item {
	color: rgba(255, 255, 255, 0.7);
}

.hx-footer__brand .hx-lang__item.is-active {
	background: var(--lime);
	color: var(--forest);
}

.hx-footer__tagline {
	margin: 1.25rem 0 1.5rem;
	font-size: 0.92rem;
	line-height: 1.6;
	max-width: 34ch;
	color: rgba(255, 255, 255, 0.66);
}

.hx-footer__title {
	font-family: var(--font-body);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lime);
	margin: 0 0 1.1rem;
}

.hx-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
	font-size: 0.92rem;
}

.hx-footer__list a {
	color: rgba(255, 255, 255, 0.74);
	text-decoration: none;
}

.hx-footer__list a:hover {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--lime);
	text-underline-offset: 4px;
}

.hx-footer__address {
	font-style: normal;
	display: grid;
	gap: 0.1rem;
	font-size: 0.92rem;
	margin-bottom: 1.1rem;
	color: rgba(255, 255, 255, 0.74);
}

.hx-footer__word {
	font-family: var(--font-display);
	font-size: clamp(4.5rem, 19vw, 15rem);
	line-height: 0.78;
	letter-spacing: -0.045em;
	text-align: center;
	color: rgba(255, 255, 255, 0.06);
	padding: clamp(1.5rem, 3vw, 2.5rem) 1rem 0;
	user-select: none;
}

.hx-footer__bottom {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: 1.25rem clamp(1.15rem, 4vw, 2.5rem) 1.75rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.52);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hx-footer__bottom p {
	margin: 0;
}

.hx-footer__legal {
	max-width: 62ch;
}

/* -------------------------------------------------------------- Reveal ---- */
[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
	html {
		scroll-behavior: auto;
	}
}

/* ----------------------------------------------------------------- 404 ---- */
.hx-404 {
	max-width: 700px;
}

/* ------------------------------------------------------ WP core blocks ---- */
.hx-page > .hx-section:first-child,
.hx-page > section:first-child {
	margin-top: 0;
}

.alignwide {
	max-width: 1000px;
	margin-inline: auto;
}

.alignfull {
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

.hx-page .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Admin bar offset for the sticky header */
.admin-bar .hx-header {
	top: 32px;
}

.hx-page a:not([class]) {
	color: var(--moss);
}

/* ---------------------------------------------------------- Responsive ---- */
@media (max-width: 1080px) {
	.hx-nav__list > li > a {
		padding: 0.5rem 0.65rem;
		font-size: 0.88rem;
	}

	.hx-footer__top {
		grid-template-columns: 1fr 1fr;
	}

	.hx-footer__brand {
		grid-column: 1 / -1;
	}

	.hx-factbar {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hx-factbar__item:nth-child(3n) {
		border-right: 0;
	}

	.hx-factbar__item:nth-child(n + 4) {
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}
}

@media (max-width: 900px) {
	.hx-burger {
		display: inline-flex;
	}

	.hx-header__actions .hx-btn {
		display: none;
	}

	.hx-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(88vw, 380px);
		background: var(--sand);
		padding: 5.5rem 1.5rem 2rem;
		box-shadow: -30px 0 60px -30px rgba(14, 42, 30, 0.5);
		transform: translateX(102%);
		transition: transform 0.4s var(--ease);
		overflow-y: auto;
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		z-index: 95;
	}

	.hx-nav.is-open {
		transform: none;
	}

	.hx-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0.15rem;
	}

	.hx-nav__list > li > a {
		display: block;
		font-family: var(--font-display);
		font-size: 1.45rem;
		padding: 0.75rem 0.5rem;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
	}

	.hx-nav__mobile-extra {
		display: grid;
		gap: 1rem;
		margin-top: 1.5rem;
	}

	.hx-nav__mobile-extra .hx-btn {
		justify-content: center;
	}

	.hx-body-lock {
		overflow: hidden;
	}

	.hx-hero__inner {
		padding-top: clamp(2.5rem, 8vw, 4rem);
	}

	.hx-hero h1,
	.hx-hero .hx-h1 {
		max-width: 100%;
	}

	.hx-grid--3,
	.hx-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hx-split,
	.hx-cta,
	.hx-contact-grid,
	.hx-course-hero__grid,
	.hx-course-cta__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.hx-cta .hx-actions,
	.hx-course-cta .hx-actions {
		justify-content: flex-start;
	}

	.hx-split--reverse > .hx-split__media {
		order: 0;
	}

	.hx-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hx-stat {
		padding-bottom: 1rem;
	}

	.hx-stat:nth-child(2n) {
		border-right: 0;
	}

	.hx-stat:nth-child(n + 3) {
		border-top: 1px solid var(--line);
		padding-top: 1rem;
	}

	.hx-prog-row {
		grid-template-columns: minmax(0, 1fr) 40px;
	}

	.hx-prog-row__facts {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.hx-prog-row__arrow {
		grid-row: 1;
		grid-column: 2;
	}

	.hx-steps li {
		grid-template-columns: 2.5rem minmax(0, 1fr);
		gap: 0.5rem 1rem;
	}

	.hx-steps li p {
		grid-column: 2;
	}

	.hx-section__head--split {
		display: block;
	}

	.hx-topbar__item--hide-sm {
		display: none;
	}

	.hx-topbar__inner {
		font-size: 0.74rem;
		gap: 0.75rem;
	}

	.hx-topbar__badge {
		margin-left: 0;
	}

	.hx-course-hero__media {
		border-radius: var(--radius);
		margin-top: 1.5rem;
	}
}

@media (max-width: 640px) {
	.hx-grid--2,
	.hx-grid--3,
	.hx-grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.hx-logo__sub {
		display: none;
	}

	.hx-logo__word {
		font-size: 1.3rem;
	}

	.hx-factbar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hx-factbar__item {
		border-right: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}

	.hx-footer__top {
		grid-template-columns: minmax(0, 1fr);
	}

	.hx-footer__bottom {
		flex-direction: column;
	}

	.hx-form .hx-form__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.hx-hero__foot {
		gap: 1rem;
	}

	.hx-quote blockquote {
		font-size: 1.3rem;
	}

	.hx-topbar__badge {
		display: none;
	}
}

/* Print */
@media print {
	.hx-topbar,
	.hx-header,
	.hx-footer,
	.hx-nav,
	.hx-cta {
		display: none !important;
	}

	body.hx {
		background: #fff;
		color: #000;
	}
}

/* ------------------------------------------------- CF7 consent & states ---- */
.hx-form .hx-form__consent {
	margin-top: 0.25rem;
}

.hx-form .hx-form__consent .wpcf7-list-item {
	margin: 0;
}

.hx-form .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.82rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--muted);
	cursor: pointer;
}

.hx-form input[type='checkbox'] {
	appearance: none;
	flex: 0 0 auto;
	width: 1.05rem;
	height: 1.05rem;
	margin: 0.15rem 0 0;
	border: 1.5px solid rgba(14, 42, 30, 0.28);
	border-radius: 5px;
	background: #fff;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.hx-form input[type='checkbox']:checked {
	background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9f26b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
	border-color: var(--forest);
}

.hx-form .wpcf7-form-control-wrap {
	display: block;
}

.hx-form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356685d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	background-size: 1rem;
	padding-right: 2.4rem;
}

.hx-form .wpcf7-response-output.wpcf7-mail-sent-ok {
	border-color: var(--lime-deep);
	background: #f2fbe0;
	color: var(--forest);
}

.hx-form .wpcf7-response-output.wpcf7-mail-sent-ng,
.hx-form .wpcf7-response-output.wpcf7-validation-errors {
	border-color: rgba(165, 63, 42, 0.35);
	background: #fdf3f0;
	color: #8c3a25;
}
