/*
 * HAP site design system (theme 0.6.0–0.7.3). Loaded on every view.
 * Design source: prototypes/homepage/ (approved). Colours, fonts and
 * spacing come from tokens.css. All selectors are prefixed .hh- (homepage)
 * and scoped under .hh or the homepage header so nothing here can
 * reach other pages, the Elementor footer or the Elementor kit.
 *
 * Breakpoints: 1100px (navigation collapses to a menu button), 760px
 * (phone composition).
 */

/* ==================================================================
 * 1. FOUNDATIONS
 * ================================================================== */

body.hh-page {
	--hh-gutter: clamp(20px, 5vw, 80px);
	--hh-max: var(--hap-container-wide);
	--hh-header-h: 92px;
	--hh-top: var(--wp-admin--admin-bar--height, 0px);
	--hh-veil: 17, 21, 42; /* --hap-color-ink-deep as RGB, for overlays */
	background: var(--hap-color-surface);
}

.hh {
	color: var(--hap-color-text);
	font-family: var(--hap-font-body);
	font-size: 1.0625rem;
	line-height: var(--hap-lh-body);
	overflow-x: clip;
}

/* The HAP <main> spans the page; Hello's .site-main width limits do not apply. */
.hap-site.hh {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.hh,
.hh *,
.hh *::before,
.hh *::after,
.hh-header,
.hh-header *,
.hh-menu,
.hh-menu * {
	box-sizing: border-box;
}

.hh :where(h1, h2, h3, h4, p, ul, ol, figure) {
	margin: 0;
}

.hh :where(ul, ol) {
	padding: 0;
	list-style: none;
}

.hh img {
	display: block;
	max-width: 100%;
}

.hh-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--hh-max);
	margin-inline: auto;
	padding-inline: var(--hh-gutter);
}

.hh .hh-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.2vw, 32px);
}

.hh .hh-eyebrow,
.hh-header .hh-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--hap-color-accent);
	font-family: var(--hap-font-display);
	font-size: 0.78125rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.2;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.hh .hh-eyebrow::before {
	content: "";
	flex: none;
	width: 28px;
	height: 2px;
	background: currentColor;
}

.hh .hh-h2 {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: clamp(2.125rem, 0.8rem + 3vw, 4rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.02;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.hh :focus-visible,
.hh-header :focus-visible,
.hh-menu :focus-visible {
	outline: var(--hap-focus-ring);
	outline-offset: 3px;
}

/* Buttons and text links */
.hh .hh-btn,
.hh-header .hh-btn,
.hh-menu .hh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 54px;
	padding: 0 30px;
	border: 1px solid transparent;
	border-radius: 0;
	font-family: var(--hap-font-display);
	font-size: 0.9375rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: background-color var(--hap-duration-fast) ease, color var(--hap-duration-fast) ease;
}

.hh .hh-btn svg {
	flex: none;
	width: 14px;
	height: 14px;
}

.hh .hh-btn--lg {
	min-height: 58px;
	padding: 0 34px;
	font-size: 1rem;
}

.hh .hh-btn--light,
.hh-header .hh-btn--light,
.hh-menu .hh-btn--light {
	background: var(--hap-color-surface);
	color: var(--hap-color-ink);
}

.hh .hh-btn--light:hover,
.hh-header .hh-btn--light:hover,
.hh-menu .hh-btn--light:hover {
	background: var(--hap-color-mist);
	color: var(--hap-color-ink);
}

.hh .hh-btn--navy {
	background: var(--hap-color-ink);
	color: var(--hap-color-text-inverse);
}

.hh .hh-btn--navy:hover {
	background: var(--hap-color-ink-deep);
	color: var(--hap-color-text-inverse);
}

.hh .hh-link {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 0.9375rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.2;
	text-decoration: none;
}

.hh .hh-link:hover {
	color: var(--hap-color-accent);
}

.hh .hh-link--inverse {
	color: var(--hap-color-text-inverse);
}

.hh .hh-link--inverse:hover {
	color: var(--hap-color-accent-light);
}

.hh .hh-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 32px;
}

/* Photographs */
.hh .hh-media {
	position: relative;
	overflow: hidden;
	background: var(--hap-color-mist);
}

.hh .hh-media picture {
	display: contents;
}

.hh .hh-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==================================================================
 * 2. HEADER (homepage only; Elementor header elsewhere)
 * ================================================================== */

.hh-header {
	position: fixed;
	top: var(--hh-top);
	right: 0;
	left: 0;
	z-index: 100;
	height: var(--hh-header-h);
	background: linear-gradient(180deg, rgba(var(--hh-veil), 0.35) 0%, rgba(var(--hh-veil), 0) 100%);
	transition: background-color var(--hap-duration-base) ease, box-shadow var(--hap-duration-base) ease, height var(--hap-duration-base) ease;
}

.hh-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 100%;
}

.hh-header__brand {
	display: block;
	flex: none;
}

.hh-header .hh-logo {
	width: auto;
	height: 46px;
}

.hh-header .hh-logo--color {
	display: none;
}

.hh-nav {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 36px);
}

.hh-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hh-header .hh-nav__list a {
	display: block;
	padding-block: 8px;
	border-bottom: 1px solid transparent;
	color: var(--hap-color-text-inverse);
	font-family: var(--hap-font-display);
	font-size: 0.8125rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.hh-header .hh-nav__list a:hover {
	border-bottom-color: currentColor;
}

.hh-header .hh-header__cta {
	min-height: 46px;
	padding: 0 22px;
	font-size: 0.875rem;
}

.hh-header .hh-menu-btn {
	display: none;
	margin-right: -10px;
	padding: 10px;
	border: 0;
	background: none;
	color: var(--hap-color-text-inverse);
	cursor: pointer;
}

.hh-header .hh-menu-btn svg {
	display: block;
	width: 28px;
	height: 28px;
}

/* Solid state, once the page has scrolled past the top of the hero. */
.hh-header.is-solid {
	height: 76px;
	background: var(--hap-color-surface);
	box-shadow: var(--hap-shadow-header);
}

.hh-header.is-solid .hh-logo--white {
	display: none;
}

.hh-header.is-solid .hh-logo--color {
	display: block;
}

.hh-header.is-solid .hh-nav__list a,
.hh-header.is-solid .hh-menu-btn {
	color: var(--hap-color-ink);
}

.hh-header.is-solid .hh-header__cta {
	background: var(--hap-color-ink);
	color: var(--hap-color-text-inverse);
}

.hh-header.is-solid .hh-header__cta:hover {
	background: var(--hap-color-ink-deep);
	color: var(--hap-color-text-inverse);
}

/* Phone and tablet menu */
.hh-menu {
	position: fixed;
	inset: var(--hh-top) 0 0 0;
	z-index: 110;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	padding: 12px var(--hh-gutter) 32px;
	background: var(--hap-color-ink-deep);
	color: var(--hap-color-text-inverse);
}

.hh-menu[hidden] {
	display: none;
}

.hh-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 52px;
}

.hh-menu__top img {
	width: auto;
	height: 38px;
}

.hh-menu .hh-menu__close {
	margin-right: -10px;
	padding: 10px;
	border: 0;
	background: none;
	color: var(--hap-color-text-inverse);
	font-family: var(--hap-font-display);
	font-size: 0.8125rem;
	font-weight: var(--hap-font-weight-semibold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

.hh-menu__list {
	display: grid;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.hh-menu .hh-menu__list a {
	display: block;
	padding-block: 15px;
	border-bottom: 1px solid var(--hap-color-rule-inverse);
	color: var(--hap-color-text-inverse);
	font-family: var(--hap-font-display);
	font-size: 1.375rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.hh-menu .hh-menu__sub a {
	padding-left: 16px;
	color: var(--hap-color-text-inverse-muted);
	font-size: 1rem;
	font-weight: var(--hap-font-weight-medium);
}

.hh-menu > .hh-btn {
	flex: none;
	margin-top: 32px;
}

html.hh-menu-open {
	overflow: hidden;
}

/* Hello Elementor provides .screen-reader-text; repeated here so the
   header's "(opens in a new tab)" hints stay hidden if it ever does not. */
.hh-header .screen-reader-text,
.hh-menu .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ==================================================================
 * 3. HERO
 * ================================================================== */

.hh .hh-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(660px, 60vw, 940px);
	background: var(--hap-color-ink-deep);
	color: var(--hap-color-text-inverse);
}

.hh .hh-hero__media {
	position: absolute;
	inset: 0;
	background: var(--hap-color-ink-deep);
}

.hh .hh-hero__media img {
	object-position: 50% 42%;
}

.hh .hh-hero__veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(var(--hh-veil), 0.93) 0%, rgba(var(--hh-veil), 0.8) 32%, rgba(var(--hh-veil), 0.42) 62%, rgba(var(--hh-veil), 0.22) 100%),
		linear-gradient(0deg, rgba(var(--hh-veil), 0.72) 0%, rgba(var(--hh-veil), 0) 46%),
		linear-gradient(180deg, rgba(var(--hh-veil), 0.62) 0%, rgba(var(--hh-veil), 0) 24%);
}

.hh .hh-hero__content {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 28px;
	padding-block: calc(var(--hh-header-h) + 84px) clamp(64px, 6vw, 104px);
}

.hh .hh-hero .hh-eyebrow {
	color: var(--hap-color-accent-light);
}

.hh .hh-hero__title {
	max-width: 1080px;
	color: var(--hap-color-text-inverse);
	font-family: var(--hap-font-display);
	font-size: clamp(2.75rem, 1.2rem + 4.9vw, 5.75rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.hh .hh-hero__title span {
	display: block;
	color: var(--hap-color-text-inverse-subtle);
}

.hh .hh-hero__sub {
	max-width: 42rem;
	color: var(--hap-color-text-inverse-soft);
	font-size: clamp(1.0625rem, 0.9rem + 0.45vw, 1.3125rem);
	line-height: 1.6;
}

.hh .hh-hero .hh-actions {
	margin-top: 6px;
}

/* ==================================================================
 * 4. BANDS
 * ================================================================== */

.hh .hh-band {
	padding-block: clamp(80px, 9vw, 160px);
}

.hh .hh-band--mist {
	background: var(--hap-color-mist);
}

/* Teal at 12px on the blue-grey ground is below 4.5:1; use the darker teal. */
.hh .hh-band--mist .hh-eyebrow,
.hh .hh-article__aside .hh-eyebrow,
.hh .hh-form .hh-eyebrow {
	color: var(--hap-color-accent-strong);
}

.hh .hh-band--navy {
	background: var(--hap-color-ink);
	color: var(--hap-color-text-inverse-muted);
}

.hh .hh-band--navy .hh-eyebrow {
	color: var(--hap-color-accent-light);
}

.hh .hh-band--navy .hh-h2,
.hh .hh-band--navy h3 {
	color: var(--hap-color-text-inverse);
}

/* Our perspective */
.hh .hh-pos__label {
	grid-column: 1 / span 3;
	align-self: start;
	margin-top: 14px;
}

.hh .hh-pos__statement {
	grid-column: 4 / span 9;
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: clamp(1.875rem, 0.9rem + 3vw, 3.625rem);
	font-weight: var(--hap-font-weight-medium);
	line-height: 1.1;
	letter-spacing: -0.022em;
	text-wrap: balance;
}

.hh .hh-pos__statement em {
	color: var(--hap-color-accent);
	font-style: normal;
}

.hh .hh-pos__detail {
	grid-column: 7 / span 6;
	display: grid;
	gap: 28px;
	margin-top: clamp(40px, 4vw, 64px);
}

.hh .hh-pos__detail p {
	font-size: 1.125rem;
	line-height: 1.7;
}

.hh .hh-pos__detail .hh-pos__who {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	padding-top: 22px;
	border-top: var(--hap-rule);
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 0.8125rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Expertise */
.hh .hh-svc-band {
	padding-top: 0;
}

.hh .hh-svc-head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 24px 40px;
	margin-bottom: clamp(56px, 6vw, 96px);
}

.hh .hh-svc-head__title {
	max-width: 15ch;
	margin-top: 20px;
	font-size: clamp(2rem, 0.8rem + 2.6vw, 3.5rem);
	line-height: 1.04;
	letter-spacing: -0.028em;
}

.hh .hh-svc-head__lead {
	max-width: 30rem;
	font-size: 1.125rem;
	line-height: 1.7;
}

.hh .hh-svc {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.2vw, 32px);
	align-items: center;
	padding-block: clamp(40px, 4vw, 64px);
	border-top: var(--hap-rule);
}

.hh .hh-svc__media {
	grid-column: 1 / span 7;
	aspect-ratio: 16 / 11;
}

.hh .hh-svc__text {
	grid-column: 9 / span 4;
	display: grid;
	gap: 22px;
}

.hh .hh-svc--flip .hh-svc__media {
	grid-column: 6 / span 7;
	grid-row: 1;
}

.hh .hh-svc--flip .hh-svc__text {
	grid-column: 1 / span 4;
	grid-row: 1;
}

.hh .hh-svc--pmd .hh-svc__media img {
	object-position: 50% 45%;
}

.hh .hh-svc--integration .hh-svc__media img {
	object-position: 50% 36%;
}

.hh .hh-svc--value .hh-svc__media img {
	object-position: 62% 50%;
}

.hh .hh-svc__stage {
	color: var(--hap-color-text-muted);
	font-family: var(--hap-font-display);
	font-size: 0.78125rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hh .hh-svc__stage b {
	margin-right: 10px;
	color: var(--hap-color-accent);
	font-weight: var(--hap-font-weight-bold);
}

.hh .hh-svc__title {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: clamp(1.625rem, 0.9rem + 1.2vw, 2.375rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.hh .hh-svc__summary {
	max-width: 34rem;
	font-size: 1.125rem;
	line-height: 1.72;
}

.hh .hh-svc__points {
	display: grid;
	border-top: var(--hap-rule);
}

.hh .hh-svc__points li {
	padding-block: 13px;
	border-bottom: var(--hap-rule);
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 0.9375rem;
	font-weight: var(--hap-font-weight-medium);
	line-height: 1.5;
}

/* How we work */
.hh .hh-how .hh-grid {
	row-gap: 56px;
	align-items: start;
}

.hh .hh-how__intro {
	grid-column: 1 / span 5;
	display: grid;
	gap: 28px;
	align-content: start;
}

.hh .hh-how__intro .hh-h2 {
	margin-top: -8px;
}

.hh .hh-how__intro > p {
	font-size: 1.125rem;
	line-height: 1.7;
}

.hh .hh-how__list {
	grid-column: 7 / span 6;
	display: grid;
	border-top: 1px solid var(--hap-color-rule-inverse);
}

.hh .hh-how__list li {
	display: grid;
	grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
	gap: 8px 32px;
	padding-block: 30px;
	border-bottom: 1px solid var(--hap-color-rule-inverse);
}

.hh .hh-how__list h3 {
	font-family: var(--hap-font-display);
	font-size: 1.1875rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.3;
}

.hh .hh-how__list p {
	font-size: 1.0625rem;
	line-height: 1.7;
}

/* PMD Framework */
.hh .hh-pmd .hh-grid {
	row-gap: 48px;
	align-items: start;
}

.hh .hh-pmd__intro {
	grid-column: 1 / span 5;
	display: grid;
	gap: 28px;
}

.hh .hh-pmd__intro .hh-h2 {
	margin-top: -8px;
}

.hh .hh-pmd__intro > p {
	font-size: 1.125rem;
	line-height: 1.7;
}

.hh .hh-pmd .hh-actions {
	gap: 16px 32px;
	margin-top: 8px;
}

.hh .hh-dims {
	grid-column: 7 / span 6;
	align-self: center;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
	border-top: var(--hap-rule);
	counter-reset: hh-dim;
}

.hh .hh-dims li {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding-block: 18px;
	border-bottom: var(--hap-rule);
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 1.0625rem;
	font-weight: var(--hap-font-weight-medium);
	line-height: 1.35;
	counter-increment: hh-dim;
}

.hh .hh-dims li::before {
	content: counter(hh-dim, decimal-leading-zero);
	min-width: 22px;
	color: var(--hap-color-accent);
	font-size: 0.78125rem;
	font-weight: var(--hap-font-weight-semibold);
	letter-spacing: 0.06em;
}

.hh .hh-dims .hh-dims__syn {
	grid-column: 1 / -1;
	font-weight: var(--hap-font-weight-semibold);
}

/* Insights */
.hh .hh-ins__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 48px;
}

.hh .hh-ins__head .hh-h2 {
	margin-top: 20px;
	font-size: clamp(2rem, 0.8rem + 2.4vw, 3.25rem);
	line-height: 1.05;
	letter-spacing: -0.028em;
}

.hh .hh-ins__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(16px, 2.2vw, 32px);
}

.hh .hh-post {
	display: grid;
	align-content: start;
	gap: 16px;
	padding-top: 24px;
	border-top: var(--hap-rule-strong);
}

.hh .hh-post__kicker {
	color: var(--hap-color-text-muted);
	font-family: var(--hap-font-display);
	font-size: 0.75rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hh .hh-post__title {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: clamp(1.3125rem, 0.8rem + 0.8vw, 1.6875rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.2;
	letter-spacing: -0.012em;
	text-wrap: balance;
}

.hh .hh-post__title a {
	color: inherit;
	text-decoration: none;
}

.hh .hh-post__title a:hover {
	color: var(--hap-color-accent);
}

.hh .hh-post__dek {
	color: var(--hap-color-text-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

/* Closing call to action */
.hh .hh-close {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(540px, 44vw, 700px);
	background: var(--hap-color-ink-deep);
	color: var(--hap-color-text-inverse);
}

.hh .hh-close__media {
	position: absolute;
	inset: 0;
	background: var(--hap-color-ink-deep);
}

.hh .hh-close__veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(var(--hh-veil), 0.94) 0%, rgba(var(--hh-veil), 0.8) 45%, rgba(var(--hh-veil), 0.5) 100%);
}

.hh .hh-close__content {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 28px;
	padding-block: 120px;
}

.hh .hh-close__content > * {
	max-width: 820px;
}

.hh .hh-close .hh-eyebrow {
	color: var(--hap-color-accent-light);
}

.hh .hh-close__title {
	color: var(--hap-color-text-inverse);
	font-family: var(--hap-font-display);
	font-size: clamp(2.5rem, 1rem + 4.4vw, 5.5rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1;
	letter-spacing: -0.035em;
}

.hh .hh-close__text {
	max-width: 34rem;
	color: var(--hap-color-text-inverse-soft);
	font-size: 1.1875rem;
	line-height: 1.65;
}

/* ==================================================================
 * 5. RESPONSIVE
 * ================================================================== */

@media (max-width: 1100px) {
	.hh-nav__list,
	.hh-header .hh-header__cta {
		display: none;
	}

	.hh-header .hh-menu-btn {
		display: block;
	}

	.hh .hh-how__list li {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 760px) {
	body.hh-page {
		--hh-header-h: 76px;
	}

	.hh-header.is-solid {
		height: 64px;
	}

	.hh-header .hh-logo {
		height: 38px;
	}

	/* Hero: the photograph fills the top; copy sits on solid navy. */
	.hh .hh-hero {
		display: block;
		min-height: 0;
	}

	.hh .hh-hero__media {
		inset: 0 0 auto 0;
		height: 500px;
	}

	.hh .hh-hero__media img {
		object-position: 50% 30%;
	}

	.hh .hh-hero__veil {
		background: linear-gradient(180deg, rgba(var(--hh-veil), 0.62) 0, rgba(var(--hh-veil), 0.12) 110px, rgba(var(--hh-veil), 0.35) 240px, rgba(var(--hh-veil), 0.84) 325px, var(--hap-color-ink-deep) 470px);
	}

	.hh .hh-hero__content {
		gap: 22px;
		padding-block: 330px 56px;
	}

	.hh .hh-hero__title {
		max-width: 11.5em;
		font-size: clamp(2.125rem, 0.4rem + 8.4vw, 2.625rem);
		line-height: 1.04;
		letter-spacing: -0.03em;
	}

	.hh .hh-hero__sub {
		font-size: 1.0625rem;
		line-height: 1.65;
	}

	.hh .hh-hero .hh-actions,
	.hh .hh-close .hh-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}

	.hh .hh-hero .hh-link {
		align-self: flex-start;
	}

	.hh .hh-band {
		padding-block: 72px;
	}

	.hh .hh-grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 28px;
	}

	.hh .hh-pos__label,
	.hh .hh-pos__statement,
	.hh .hh-pos__detail,
	.hh .hh-how__intro,
	.hh .hh-how__list,
	.hh .hh-pmd__intro,
	.hh .hh-dims {
		grid-column: 1;
		margin-top: 0;
	}

	.hh .hh-pos__statement {
		font-size: 1.875rem;
		line-height: 1.16;
	}

	.hh .hh-pos__detail p,
	.hh .hh-svc-head__lead,
	.hh .hh-how__intro > p,
	.hh .hh-pmd__intro > p {
		font-size: 1.0625rem;
	}

	.hh .hh-h2,
	.hh .hh-svc-head__title {
		font-size: 2.125rem;
	}

	.hh .hh-svc-head {
		margin-bottom: 40px;
	}

	.hh .hh-svc {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 28px;
		padding-block: 40px;
	}

	.hh .hh-svc .hh-svc__media,
	.hh .hh-svc--flip .hh-svc__media {
		grid-column: 1;
		grid-row: 1;
		aspect-ratio: 4 / 5;
		margin-inline: calc(-1 * var(--hh-gutter));
	}

	.hh .hh-svc--pmd .hh-svc__media,
	.hh .hh-svc--value .hh-svc__media {
		aspect-ratio: 4 / 3;
	}

	.hh .hh-svc--pmd .hh-svc__media img {
		object-position: 55% 45%;
	}

	.hh .hh-svc .hh-svc__text,
	.hh .hh-svc--flip .hh-svc__text {
		grid-column: 1;
		grid-row: 2;
	}

	.hh .hh-svc__title {
		font-size: 1.75rem;
	}

	.hh .hh-svc__summary {
		font-size: 1.0625rem;
		line-height: 1.7;
	}

	.hh .hh-how__list li {
		padding-block: 22px;
	}

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

	.hh .hh-dims li {
		padding-block: 14px;
		font-size: 1rem;
	}

	.hh .hh-ins__list {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 40px;
	}

	.hh .hh-close {
		align-items: flex-end;
		min-height: 640px;
	}

	.hh .hh-close__veil {
		background: linear-gradient(180deg, rgba(var(--hh-veil), 0.4) 0%, rgba(var(--hh-veil), 0.86) 48%, var(--hap-color-ink-deep) 100%);
	}

	.hh .hh-close__content {
		padding-block: 56px;
	}

	.hh .hh-close__title {
		font-size: 2.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hh-header,
	.hh .hh-btn,
	.hh-header .hh-btn {
		transition: none;
	}
}

/* ==================================================================
 * 6. SITE-WIDE HEADER STATES (0.7.0)
 * ================================================================== */

/* Views without a navy page head (Elementor pages, archives, 404): the
   header is solid and in the document flow. */
body.hh-page--solid .hh-header {
	position: sticky;
	height: 76px;
}

.hh-header .hh-nav__list a.is-current,
.hh-header .hh-nav__list a.is-ancestor {
	border-bottom-color: var(--hap-color-accent-light);
}

.hh-header.is-solid .hh-nav__list a.is-current,
.hh-header.is-solid .hh-nav__list a.is-ancestor {
	border-bottom-color: var(--hap-color-accent);
}

.hh-menu .hh-menu__list a.is-current,
.hh-menu .hh-menu__list a.is-ancestor {
	color: var(--hap-color-accent-light);
}

/* ==================================================================
 * 7. PAGE HEAD (interior pages and articles)
 * ================================================================== */

.hh .hh-phead {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(460px, 38vw, 620px);
	background: var(--hap-color-ink);
	color: var(--hap-color-text-inverse);
}

.hh .hh-phead--photo {
	background: var(--hap-color-ink-deep);
}

.hh .hh-phead__media {
	position: absolute;
	inset: 0;
	background: var(--hap-color-ink-deep);
}

.hh .hh-phead__veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(var(--hh-veil), 0.94) 0%, rgba(var(--hh-veil), 0.82) 38%, rgba(var(--hh-veil), 0.5) 70%, rgba(var(--hh-veil), 0.3) 100%),
		linear-gradient(180deg, rgba(var(--hh-veil), 0.6) 0%, rgba(var(--hh-veil), 0) 30%);
}

.hh .hh-phead__content {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 24px;
	padding-block: calc(var(--hh-header-h) + 56px) clamp(56px, 5vw, 88px);
}

.hh .hh-phead .hh-eyebrow {
	color: var(--hap-color-accent-light);
}

.hh .hh-phead__title {
	max-width: 22ch;
	color: var(--hap-color-text-inverse);
	font-family: var(--hap-font-display);
	font-size: clamp(2.375rem, 1rem + 3.6vw, 4.5rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.02;
	letter-spacing: -0.032em;
	text-wrap: balance;
}

.hh .hh-phead__lead {
	max-width: 44rem;
	color: var(--hap-color-text-inverse-soft);
	font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
	line-height: 1.65;
}

.hh .hh-phead .hh-actions {
	margin-top: 4px;
}

.hh .hh-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--hap-color-text-inverse-muted);
	font-family: var(--hap-font-display);
	font-size: 0.8125rem;
	font-weight: var(--hap-font-weight-medium);
}

.hh .hh-crumbs li + li::before {
	content: "/";
	margin-inline: 10px;
	color: rgba(255, 255, 255, 0.35);
}

.hh .hh-crumbs a {
	color: var(--hap-color-text-inverse-muted);
	text-decoration: none;
}

.hh .hh-crumbs a:hover {
	color: var(--hap-color-text-inverse);
	text-decoration: underline;
}

.hh .hh-crumbs [aria-current] {
	color: var(--hap-color-text-inverse-soft);
}

/* ==================================================================
 * 8. SECTION PATTERNS
 * ================================================================== */

/* Heading left, text right. */
.hh .hh-split {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.2vw, 32px);
	row-gap: 32px;
	align-items: start;
}

.hh .hh-split__head {
	grid-column: 1 / span 5;
	display: grid;
	gap: 20px;
	align-content: start;
}

.hh .hh-split__body {
	grid-column: 7 / span 6;
	min-width: 0;
}

.hh .hh-section-head {
	display: grid;
	gap: 20px;
	max-width: 52rem;
	margin-bottom: clamp(40px, 5vw, 72px);
}

.hh .hh-section-head .hh-lead,
.hh .hh-split__head .hh-lead {
	max-width: 40rem;
	font-size: 1.125rem;
	line-height: 1.7;
}

.hh .hh-band--navy .hh-lead,
.hh .hh-band--navy .hh-prose p {
	color: var(--hap-color-text-inverse-muted);
}

.hh .hh-prose {
	display: grid;
	gap: 20px;
	max-width: 40rem;
}

.hh .hh-prose p {
	font-size: 1.125rem;
	line-height: 1.75;
}

/* Numbered editorial rows (a sequence: process steps, dimensions). */
.hh .hh-rows {
	display: grid;
	border-top: var(--hap-rule-strong);
	counter-reset: hh-row;
}

.hh .hh-rows > li {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 4fr) minmax(0, 6fr);
	gap: 8px clamp(16px, 2.2vw, 32px);
	padding-block: clamp(24px, 2.6vw, 36px);
	border-bottom: var(--hap-rule);
	counter-increment: hh-row;
}

.hh .hh-rows > li::before {
	content: counter(hh-row, decimal-leading-zero);
	color: var(--hap-color-accent);
	font-family: var(--hap-font-display);
	font-size: 0.875rem;
	font-weight: var(--hap-font-weight-semibold);
	letter-spacing: 0.08em;
	line-height: 1.9;
}

.hh .hh-rows--plain > li {
	grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
}

.hh .hh-rows--plain > li::before {
	content: none;
}

.hh .hh-rows h3 {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: clamp(1.1875rem, 1rem + 0.5vw, 1.4375rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.hh .hh-rows p {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.hh .hh-band--navy .hh-rows {
	border-top-color: var(--hap-color-text-inverse);
}

.hh .hh-band--navy .hh-rows > li {
	border-bottom-color: var(--hap-color-rule-inverse);
}

.hh .hh-band--navy .hh-rows > li::before {
	color: var(--hap-color-accent-light);
}

.hh .hh-band--navy .hh-rows h3 {
	color: var(--hap-color-text-inverse);
}

.hh .hh-band--navy .hh-rows p {
	color: var(--hap-color-text-inverse-muted);
}

/* Ruled list (outcomes, signals, evidence). */
.hh .hh-ruled {
	display: grid;
	border-top: var(--hap-rule);
}

.hh .hh-ruled li {
	padding-block: 14px;
	border-bottom: var(--hap-rule);
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 1rem;
	font-weight: var(--hap-font-weight-medium);
	line-height: 1.5;
}

.hh .hh-band--navy .hh-ruled {
	border-top-color: var(--hap-color-rule-inverse);
}

.hh .hh-band--navy .hh-ruled li {
	border-bottom-color: var(--hap-color-rule-inverse);
	color: var(--hap-color-text-inverse);
}

/* Text columns with a strong top rule (audiences, outcome groups). */
.hh .hh-cols {
	display: grid;
	grid-template-columns: repeat(var(--hh-cols, 3), minmax(0, 1fr));
	gap: 48px clamp(16px, 2.6vw, 40px);
}

.hh .hh-cols--2 {
	--hh-cols: 2;
}

.hh .hh-col {
	display: grid;
	align-content: start;
	gap: 16px;
	padding-top: 24px;
	border-top: var(--hap-rule-strong);
}

.hh .hh-col__kicker {
	color: var(--hap-color-text-muted);
	font-family: var(--hap-font-display);
	font-size: 0.75rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hh .hh-col h3 {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: clamp(1.3125rem, 0.9rem + 0.8vw, 1.75rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.18;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.hh .hh-col h3 a {
	color: inherit;
	text-decoration: none;
}

.hh .hh-col h3 a:hover {
	color: var(--hap-color-accent);
}

.hh .hh-col p {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.hh .hh-col .hh-link {
	margin-top: 4px;
}

.hh .hh-band--navy .hh-col {
	border-top-color: var(--hap-color-text-inverse);
}

.hh .hh-band--navy .hh-col h3 {
	color: var(--hap-color-text-inverse);
}

.hh .hh-band--navy .hh-col p,
.hh .hh-band--navy .hh-col__kicker {
	color: var(--hap-color-text-inverse-muted);
}

/* Large statement paragraph. */
.hh .hh-statement {
	max-width: 30ch;
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: clamp(1.75rem, 0.9rem + 2.4vw, 3rem);
	font-weight: var(--hap-font-weight-medium);
	line-height: 1.14;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.hh .hh-statement em {
	color: var(--hap-color-accent);
	font-style: normal;
}

/* In-page photograph or video. */
.hh .hh-figure {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--hap-color-ink-deep);
}

.hh .hh-figure img,
.hh .hh-figure video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hh .hh-video-ctl {
	position: absolute;
	bottom: 14px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px 0 12px;
	border: 0;
	border-radius: 0;
	background: rgba(var(--hh-veil), 0.75);
	color: var(--hap-color-text-inverse);
	font-family: var(--hap-font-display);
	font-size: 0.8125rem;
	font-weight: var(--hap-font-weight-semibold);
	cursor: pointer;
}

.hh .hh-video-ctl:hover {
	background: rgba(var(--hh-veil), 0.92);
}

.hh .hh-video-ctl svg {
	width: 14px;
	height: 14px;
}

/* Questions. */
.hh .hh-faq {
	display: grid;
	border-top: var(--hap-rule);
}

.hh .hh-faq details {
	border-bottom: var(--hap-rule);
}

.hh .hh-faq summary {
	position: relative;
	padding: 22px 40px 22px 0;
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 1.125rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

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

.hh .hh-faq summary::after {
	content: "+";
	position: absolute;
	top: 18px;
	right: 4px;
	color: var(--hap-color-accent);
	font-size: 1.5rem;
	font-weight: var(--hap-font-weight-regular);
}

.hh .hh-faq details[open] summary::after {
	content: "–";
}

.hh .hh-faq details p {
	max-width: 44rem;
	padding-bottom: 24px;
	font-size: 1.0625rem;
	line-height: 1.7;
}

/* Callout line under a section. */
.hh .hh-note {
	margin-top: 28px;
	color: var(--hap-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Tags (care settings). */
.hh .hh-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hh .hh-tags li {
	padding: 10px 16px;
	border: var(--hap-rule);
	background: var(--hap-color-surface);
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 0.9375rem;
	font-weight: var(--hap-font-weight-medium);
}

/* ==================================================================
 * 9. PMD FRAMEWORK DETAIL
 * ================================================================== */

.hh .hh-dim {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 32px clamp(24px, 4vw, 72px);
	padding-block: clamp(40px, 4vw, 64px);
	border-top: var(--hap-rule);
	scroll-margin-top: 100px;
}

.hh .hh-dim:first-child {
	border-top: var(--hap-rule-strong);
}

.hh .hh-dim__head {
	display: grid;
	align-content: start;
	gap: 16px;
}

.hh .hh-dim__num {
	color: var(--hap-color-accent);
	font-family: var(--hap-font-display);
	font-size: 0.875rem;
	font-weight: var(--hap-font-weight-semibold);
	letter-spacing: 0.08em;
}

.hh .hh-dim__name {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: clamp(1.625rem, 1rem + 1.4vw, 2.375rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.hh .hh-dim__q {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 1.125rem;
	font-weight: var(--hap-font-weight-medium);
	line-height: 1.45;
}

.hh .hh-dim__body {
	display: grid;
	gap: 28px;
	min-width: 0;
}

.hh .hh-dim__summary {
	font-size: 1.125rem;
	line-height: 1.75;
}

.hh .hh-dim__lists {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.hh .hh-dim__label {
	margin-bottom: 12px;
	color: var(--hap-color-text-muted);
	font-family: var(--hap-font-display);
	font-size: 0.75rem;
	font-weight: var(--hap-font-weight-semibold);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hh .hh-dim__lists .hh-ruled li {
	font-family: var(--hap-font-body);
	font-size: 0.96875rem;
	font-weight: var(--hap-font-weight-regular);
	line-height: 1.55;
	color: var(--hap-color-text);
}

.hh .hh-flag {
	display: inline-block;
	margin-right: 10px;
	padding: 4px 8px;
	font-family: var(--hap-font-display);
	font-size: 0.75rem;
	font-weight: var(--hap-font-weight-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hh .hh-flag--hard {
	background: var(--hap-color-flag-hard);
	color: var(--hap-color-text-inverse);
}

.hh .hh-flag--soft {
	background: var(--hap-color-flag-soft);
	color: var(--hap-color-text-inverse);
}

/* Index of dimensions (jump list on the framework page). */
.hh .hh-index {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
	border-top: var(--hap-rule);
	counter-reset: hh-idx;
}

.hh .hh-index li {
	border-bottom: var(--hap-rule);
	counter-increment: hh-idx;
}

.hh .hh-index a {
	display: flex;
	gap: 14px;
	align-items: baseline;
	padding-block: 16px;
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 1.0625rem;
	font-weight: var(--hap-font-weight-medium);
	text-decoration: none;
}

.hh .hh-index a::before {
	content: counter(hh-idx, decimal-leading-zero);
	min-width: 22px;
	color: var(--hap-color-accent-strong);
	font-size: 0.78125rem;
	font-weight: var(--hap-font-weight-semibold);
	letter-spacing: 0.06em;
}

.hh .hh-index a:hover {
	color: var(--hap-color-accent);
}

.hh .hh-index .hh-index__syn {
	grid-column: 1 / -1;
}

/* ==================================================================
 * 10. CONTACT
 * ================================================================== */

.hh .hh-contact {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px clamp(24px, 5vw, 96px);
	align-items: start;
}

.hh .hh-contact__ways {
	display: grid;
	gap: 0;
	border-top: var(--hap-rule-strong);
}

.hh .hh-contact__way {
	display: grid;
	gap: 12px;
	padding-block: 28px;
	border-bottom: var(--hap-rule);
}

.hh .hh-contact__way h3 {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 1.375rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.25;
}

.hh .hh-contact__way p {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.hh .hh-contact__email {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 1.125rem;
	font-weight: var(--hap-font-weight-semibold);
	overflow-wrap: anywhere;
}

.hh .hh-contact__email:hover {
	color: var(--hap-color-accent);
}

.hh .hh-form {
	padding: clamp(28px, 3.5vw, 48px);
	border-top: 4px solid var(--hap-color-ink);
	background: var(--hap-color-mist);
}

.hh .hh-form h2 {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: clamp(1.625rem, 1rem + 1.2vw, 2.25rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.hh .hh-form > p {
	margin-top: 12px;
	font-size: 1.0625rem;
	line-height: 1.7;
}

.hh .hh-form__body {
	margin-top: 28px;
}

/* Elementor Pro form inside the panel: square fields, brand button. */
.hh .hh-form .elementor-field-group .elementor-field-textual {
	min-height: 48px;
	border: 1px solid var(--hap-color-rule);
	border-radius: 0;
	background: var(--hap-color-surface);
	color: var(--hap-color-text);
	font-family: var(--hap-font-body);
	font-size: 1rem;
}

.hh .hh-form .elementor-field-group .elementor-field-textual:focus {
	border-color: var(--hap-color-ink);
	box-shadow: 0 0 0 1px var(--hap-color-ink);
}

.hh .hh-form .elementor-field-label {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 0.875rem;
	font-weight: var(--hap-font-weight-semibold);
}

.hh .hh-form .elementor-form .elementor-button[type="submit"] {
	min-height: 54px;
	padding: 0 30px;
	border-radius: 0;
	background: var(--hap-color-ink);
	color: var(--hap-color-text-inverse);
	font-family: var(--hap-font-display);
	font-size: 0.9375rem;
	font-weight: var(--hap-font-weight-semibold);
}

.hh .hh-form .elementor-form .elementor-button[type="submit"]:hover {
	background: var(--hap-color-ink-deep);
}

.hh .hh-offices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.hh .hh-office h3 {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 1.375rem;
	font-weight: var(--hap-font-weight-semibold);
}

.hh .hh-office p {
	margin-top: 6px;
	color: var(--hap-color-text-muted);
}

/* ==================================================================
 * 11. INSIGHTS AND ARTICLES
 * ================================================================== */

.hh .hh-series {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 32px clamp(24px, 5vw, 96px);
	align-items: start;
}

.hh .hh-series__list {
	display: grid;
	border-top: var(--hap-rule-strong);
}

.hh .hh-series__list li {
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr) auto;
	gap: 12px;
	align-items: baseline;
	padding-block: 16px;
	border-bottom: var(--hap-rule);
	font-family: var(--hap-font-display);
	font-size: 1.0625rem;
	font-weight: var(--hap-font-weight-medium);
	color: var(--hap-color-text-muted);
}

.hh .hh-series__list li > span:first-child {
	color: var(--hap-color-accent-strong);
	font-size: 0.8125rem;
	font-weight: var(--hap-font-weight-semibold);
	letter-spacing: 0.06em;
}

.hh .hh-series__list a {
	color: var(--hap-color-ink);
	text-decoration: none;
}

.hh .hh-series__list a:hover {
	color: var(--hap-color-accent);
}

.hh .hh-series__list em {
	color: var(--hap-color-text-muted);
	font-size: 0.8125rem;
	font-style: normal;
	letter-spacing: 0.04em;
}

.hh .hh-col__meta {
	color: var(--hap-color-text-muted);
	font-family: var(--hap-font-display);
	font-size: 0.8125rem;
}

.hh .hh-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
}

.hh .hh-pagination a,
.hh .hh-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: var(--hap-rule);
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-weight: var(--hap-font-weight-semibold);
	text-decoration: none;
}

.hh .hh-pagination .current {
	background: var(--hap-color-ink);
	color: var(--hap-color-text-inverse);
}

.hh .hh-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	color: var(--hap-color-text-inverse-muted);
	font-family: var(--hap-font-display);
	font-size: 0.875rem;
}

.hh .hh-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 19rem;
	gap: clamp(32px, 5vw, 96px);
	align-items: start;
}

.hh .hh-article__body {
	max-width: 44rem;
	min-width: 0;
}

/* The post's own content (Elementor or classic editor). */
.hh .hh-article__body > .elementor,
.hh .hh-article__body .e-con,
.hh .hh-article__body .e-con-inner {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--content-width: 100%;
	--container-max-width: 100%;
}

.hh .hh-article__body .e-con {
	--gap: 16px;
	--row-gap: 16px;
	margin-bottom: 24px;
}

.hh .hh-article__body :is(p, li) {
	color: var(--hap-color-text);
	font-family: var(--hap-font-body);
	font-size: 1.125rem;
	line-height: 1.78;
}

.hh .hh-article__body p + p {
	margin-top: 18px;
}

.hh .hh-article__body :is(ul, ol) {
	margin: 18px 0;
	padding-left: 1.4em;
}

.hh .hh-article__body :is(h2, h3, h4) {
	margin-top: 48px;
	margin-bottom: 14px;
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.hh .hh-article__body h2 {
	font-size: clamp(1.625rem, 1.1rem + 1vw, 2.125rem);
}

.hh .hh-article__body :is(h3, h4) {
	font-size: clamp(1.3125rem, 1rem + 0.6vw, 1.625rem);
}

.hh .hh-article__body > :is(h2, h3):first-child,
.hh .hh-article__body .elementor > .e-con:first-child .elementor-widget:first-child :is(h2, h3) {
	margin-top: 0;
}

.hh .hh-article__body a {
	color: var(--hap-color-accent-strong);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.hh .hh-article__body img {
	height: auto;
}

.hh .hh-article__body .page-content {
	padding: 0;
}

.hh .hh-article__aside {
	position: sticky;
	top: 100px;
	display: grid;
	gap: 16px;
	padding: 28px;
	border-top: 4px solid var(--hap-color-ink);
	background: var(--hap-color-mist);
}

.hh .hh-article__aside .hh-series__list li {
	grid-template-columns: 2.25rem minmax(0, 1fr);
	padding-block: 12px;
	font-size: 0.9375rem;
}

.hh .hh-article__aside .hh-series__list .is-current {
	color: var(--hap-color-ink);
	font-weight: var(--hap-font-weight-semibold);
}

.hh .hh-article__aside > p {
	font-size: 0.96875rem;
	line-height: 1.6;
}

.hh .hh-article__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	margin-top: clamp(56px, 6vw, 96px);
}

.hh .hh-article__nav a {
	display: grid;
	gap: 10px;
	padding-top: 20px;
	border-top: var(--hap-rule-strong);
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: 1.1875rem;
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.3;
	text-decoration: none;
}

.hh .hh-article__nav a:hover {
	color: var(--hap-color-accent);
}

.hh .hh-article__nav .hh-article__next {
	grid-column: 2;
	text-align: right;
}

.hh .hh-article__nav small {
	color: var(--hap-color-text-muted);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* ==================================================================
 * 12. RESPONSIVE (site patterns)
 * ================================================================== */

@media (max-width: 1100px) {
	.hh .hh-rows > li {
		grid-template-columns: 3.5rem minmax(0, 1fr);
	}

	.hh .hh-rows > li > p {
		grid-column: 2;
	}

	.hh .hh-rows--plain > li {
		grid-template-columns: minmax(0, 1fr);
	}

	.hh .hh-rows--plain > li > p {
		grid-column: 1;
	}

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

	.hh .hh-article__aside {
		position: static;
	}
}

@media (max-width: 900px) {
	.hh .hh-split,
	.hh .hh-dim,
	.hh .hh-contact,
	.hh .hh-series {
		grid-template-columns: minmax(0, 1fr);
	}

	.hh .hh-split__head,
	.hh .hh-split__body {
		grid-column: 1;
	}

	.hh .hh-cols {
		--hh-cols: 2;
	}
}

@media (max-width: 760px) {
	body.hh-page--solid .hh-header {
		height: 64px;
	}

	.hh .hh-phead {
		min-height: 0;
		display: block;
	}

	.hh .hh-phead--photo .hh-phead__media {
		inset: 0 0 auto 0;
		height: 340px;
	}

	.hh .hh-phead--photo .hh-phead__veil {
		background: linear-gradient(180deg, rgba(var(--hh-veil), 0.62) 0, rgba(var(--hh-veil), 0.2) 100px, rgba(var(--hh-veil), 0.6) 210px, var(--hap-color-ink-deep) 330px);
	}

	.hh .hh-phead__content {
		gap: 18px;
		padding-block: calc(var(--hh-header-h) + 32px) 48px;
	}

	.hh .hh-phead--photo .hh-phead__content {
		padding-top: 220px;
	}

	.hh .hh-phead__title {
		font-size: clamp(2rem, 0.6rem + 7vw, 2.5rem);
		line-height: 1.06;
		letter-spacing: -0.028em;
	}

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

	.hh .hh-phead .hh-link {
		align-self: flex-start;
	}

	.hh .hh-prose p,
	.hh .hh-section-head .hh-lead,
	.hh .hh-split__head .hh-lead,
	.hh .hh-dim__summary {
		font-size: 1.0625rem;
	}

	.hh .hh-rows > li {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.hh .hh-rows > li > p {
		grid-column: 1;
	}

	.hh .hh-rows > li::before {
		line-height: 1;
	}

	.hh .hh-cols,
	.hh .hh-cols--2 {
		--hh-cols: 1;
	}

	.hh .hh-dim__lists,
	.hh .hh-index,
	.hh .hh-offices,
	.hh .hh-article__nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.hh .hh-article__nav .hh-article__next {
		grid-column: 1;
		text-align: left;
	}

	.hh .hh-statement {
		font-size: 1.75rem;
	}

	.hh .hh-contact__email {
		font-size: 0.96875rem;
		overflow-wrap: normal;
	}
}

.hh .hh-band--navy .hh-tags li {
	border-color: var(--hap-color-rule-inverse);
	background: transparent;
	color: var(--hap-color-text-inverse);
}

.hh .hh-inline-link {
	color: var(--hap-color-accent-strong);
	font-family: var(--hap-font-display);
	font-weight: var(--hap-font-weight-semibold);
	white-space: nowrap;
}

.hh .hh-band--mist .hh-inline-link:hover,
.hh .hh-inline-link:hover {
	color: var(--hap-color-ink);
}

.hh .hh-founder__role {
	color: var(--hap-color-text-muted);
	font-family: var(--hap-font-display);
	font-size: 1rem;
	font-weight: var(--hap-font-weight-medium);
}

.hh .hh-founder__photo {
	margin: 2rem 0 0;
	max-width: 360px;
}

.hh .hh-founder__photo img {
	aspect-ratio: 4 / 5;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.hh .hh-series__list .hh-series__name {
	color: var(--hap-color-text-muted);
}

.hh .hh-phead--article {
	min-height: clamp(420px, 32vw, 540px);
}

.hh .hh-phead--article .hh-phead__title {
	max-width: 26ch;
	font-size: clamp(2.125rem, 1rem + 2.8vw, 3.5rem);
	line-height: 1.06;
}

.hh .hh-phead:not(.hh-phead--photo) {
	background:
		linear-gradient(120deg, var(--hap-color-ink-deep) 0%, var(--hap-color-ink) 60%, var(--hap-color-ink-soft) 100%);
}

/* The framework request block reuses the contact grid. */
.hh .hh-contact > .hh-split__head {
	grid-column: auto;
}

/* Elementor entrance animations are not used inside the form panels: the
   form is visible as soon as the page renders. */
.hh .hh-form .elementor-invisible {
	visibility: visible;
}

.hh .hh-band--mist .hh-form {
	background: var(--hap-color-surface);
}

/* ==================================================================
 * 13. DESKTOP COMPOSITION (0.7.3)
 * Wider content measure, full-width editorial rows on desktop, the PMD
 * series on Insights and larger article listings. Long paragraphs keep
 * their reading measure (.hh-prose, row text: max 44rem).
 * ================================================================== */

/* Content width 1280px at desktop sizes; header and pages share it. */
body.hh-page {
	--hh-max: calc(1280px + 2 * var(--hh-gutter));
}

.hh .hh-rows > li {
	grid-template-columns: 4.5rem minmax(0, 5fr) minmax(0, 7fr);
}

.hh .hh-rows--plain > li {
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.hh .hh-rows h3 {
	font-size: clamp(1.1875rem, 0.85rem + 0.75vw, 1.625rem);
	line-height: 1.25;
}

.hh .hh-rows p {
	max-width: 44rem;
	font-size: 1.0625rem;
}

.hh .hh-section-head {
	max-width: 60rem;
}

/* Heading-and-rows sections: on desktop the heading runs across the top
   (title left, lead right) and the rows use the full width below, rather
   than sitting in a narrow right-hand column. */
@media (min-width: 1101px) {
	.hh .hh-split:has(> .hh-split__body > .hh-rows) {
		row-gap: clamp(48px, 4.5vw, 72px);
	}

	.hh .hh-split:has(> .hh-split__body > .hh-rows) > .hh-split__head {
		grid-column: 1 / -1;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		column-gap: clamp(40px, 5vw, 96px);
		align-items: end;
	}

	.hh .hh-split:has(> .hh-split__body > .hh-rows) > .hh-split__head > * {
		grid-column: 1;
	}

	.hh .hh-split:has(> .hh-split__body > .hh-rows) > .hh-split__head > .hh-h2 {
		max-width: 20ch;
	}

	.hh .hh-split:has(> .hh-split__body > .hh-rows) > .hh-split__head > .hh-lead {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: end;
	}

	.hh .hh-split:has(> .hh-split__body > .hh-rows) > .hh-split__body {
		grid-column: 1 / -1;
	}
}

/* Insights: the PMD Framework series. */
.hh .hh-series-head {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 24px clamp(40px, 5vw, 96px);
	align-items: end;
	margin-bottom: clamp(48px, 5vw, 80px);
}

.hh .hh-series-head .hh-h2 {
	margin-top: 20px;
}

.hh .hh-series-head__aside {
	display: grid;
	gap: 20px;
	justify-items: start;
}

.hh .hh-series-head .hh-lead {
	font-size: 1.125rem;
	line-height: 1.7;
}

.hh .hh-pmds {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(40px, 5vw, 96px);
	border-top: var(--hap-rule-strong);
}

.hh .hh-pmds__item {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	align-content: start;
	gap: 12px 0;
	padding-block: clamp(28px, 2.8vw, 44px);
	border-bottom: var(--hap-rule);
}

.hh .hh-pmds__item > :not(.hh-pmds__num) {
	grid-column: 2;
}

/* The synthesis dimension closes the series across both columns. */
.hh .hh-pmds__item:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.hh .hh-pmds__num {
	grid-row: 1 / span 3;
	color: var(--hap-color-accent-strong);
	font-family: var(--hap-font-display);
	font-size: clamp(1.25rem, 0.9rem + 0.7vw, 1.625rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.hh .hh-pmds__name {
	color: var(--hap-color-ink);
	font-family: var(--hap-font-display);
	font-size: clamp(1.5rem, 0.95rem + 1.25vw, 2.25rem);
	font-weight: var(--hap-font-weight-semibold);
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.hh .hh-pmds__name a {
	color: inherit;
	text-decoration: none;
}

.hh .hh-pmds__name a:hover {
	color: var(--hap-color-accent-strong);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.16em;
}

.hh .hh-pmds__q {
	max-width: 34rem;
	font-size: 1.0625rem;
	line-height: 1.65;
}

.hh .hh-pmds__status {
	margin-top: 4px;
	color: var(--hap-color-text-muted);
	font-family: var(--hap-font-display);
	font-size: 0.75rem;
	font-weight: var(--hap-font-weight-semibold);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hh .hh-pmds__status.is-live {
	color: var(--hap-color-accent-strong);
}

/* Insights article listing. */
.hh--insights .hh-cols {
	gap: clamp(56px, 5vw, 80px) clamp(32px, 3.5vw, 64px);
}

.hh--insights .hh-col h3 {
	font-size: clamp(1.375rem, 0.95rem + 0.85vw, 1.875rem);
	line-height: 1.16;
}

.hh--insights .hh-col p:not(.hh-col__kicker, .hh-col__meta) {
	max-width: 36rem;
}

@media (max-width: 900px) {
	.hh .hh-series-head {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 760px) {
	.hh .hh-pmds {
		grid-template-columns: minmax(0, 1fr);
	}

	.hh .hh-pmds__item {
		grid-template-columns: 3rem minmax(0, 1fr);
	}

	.hh .hh-pmds__name {
		font-size: 1.5rem;
	}
}

/* PMD Framework: dimension index at a desktop reading size. */
.hh .hh-index a {
	padding-block: clamp(16px, 1.4vw, 22px);
	font-size: clamp(1.0625rem, 0.85rem + 0.45vw, 1.3125rem);
}
