/**
 * EQRN AI MART — components layer.
 *
 * Header, navigation, buttons, cards, media frames, chips, badges, forms,
 * empty states, social links and the footer.
 */

/* ==========================================================================
   Header
   ========================================================================== */

.eqrn-header {
	position: relative;
	z-index: 200;
	background: #fff;
	border-bottom: 1px solid var(--eqrn-border);
	transition: box-shadow var(--eqrn-dur) var(--eqrn-ease),
		border-color var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-header--sticky {
	position: sticky;
	top: 0;
}

.eqrn-header.is-stuck {
	box-shadow: var(--eqrn-shadow);
	border-bottom-color: transparent;
}

.eqrn-header__inner {
	display: flex;
	align-items: center;
	gap: var(--eqrn-space-5);
	min-height: var(--eqrn-header-h);
}

.eqrn-header__brand {
	flex: none;
	/* Whitespace around the logo is preserved on every breakpoint. */
	padding-block: 10px;
	margin-right: auto;
}

.eqrn-logo__link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.eqrn-logo {
	display: block;
	width: auto;
	height: auto;
	max-height: 46px;
	/* Guarantees the intrinsic ratio even if the height attribute is absent. */
	aspect-ratio: auto;
}

.eqrn-logo--small {
	max-height: 38px;
}

.eqrn-logo--footer {
	max-height: 56px;
	width: auto;
	height: auto;
}

.eqrn-logo--text {
	font-family: var(--eqrn-font-display);
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--eqrn-primary);
	letter-spacing: -0.01em;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.eqrn-nav {
	display: none;
}

.eqrn-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(0.25rem, -0.2rem + 1.2vw, 1rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.eqrn-nav__list li {
	position: relative;
}

.eqrn-nav__list a {
	display: inline-flex;
	align-items: center;
	padding: 0.6rem 0.5rem;
	font-size: var(--eqrn-fs-sm);
	font-weight: 600;
	color: var(--eqrn-primary);
	text-decoration: none;
	border-radius: var(--eqrn-radius-sm);
	white-space: nowrap;
	transition: color var(--eqrn-dur) var(--eqrn-ease),
		background-color var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-nav__list a:hover,
.eqrn-nav__list a:focus-visible {
	color: var(--eqrn-accent);
	background: var(--eqrn-primary-soft);
}

.eqrn-nav__list .current-menu-item > a,
.eqrn-nav__list .current_page_item > a {
	color: var(--eqrn-accent);
}

.eqrn-nav__list .current-menu-item > a::after,
.eqrn-nav__list .current_page_item > a::after {
	content: "";
	display: block;
	height: 3px;
	margin-top: 4px;
	border-radius: var(--eqrn-radius-pill);
	background: var(--eqrn-brand-gradient);
}

/* Submenus */
.eqrn-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 0.5rem;
	margin-top: 0.25rem;
	list-style: none;
	background: #fff;
	border: 1px solid var(--eqrn-border);
	border-radius: var(--eqrn-radius);
	box-shadow: var(--eqrn-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--eqrn-dur) var(--eqrn-ease),
		transform var(--eqrn-dur) var(--eqrn-ease),
		visibility var(--eqrn-dur);
}

.eqrn-nav__list li:hover > .sub-menu,
.eqrn-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.eqrn-nav__list .sub-menu a {
	display: block;
	padding: 0.55rem 0.75rem;
	white-space: normal;
}

@media (min-width: 1120px) {
	.eqrn-nav {
		display: block;
	}
}

/* Header actions */
.eqrn-header__actions {
	display: flex;
	align-items: center;
	gap: var(--eqrn-space-3);
	flex: none;
}

.eqrn-header__phone {
	display: none;
	align-items: center;
	gap: 0.45rem;
	font-size: var(--eqrn-fs-sm);
	font-weight: 600;
	color: var(--eqrn-primary);
	text-decoration: none;
	white-space: nowrap;
}

.eqrn-header__phone svg {
	width: 17px;
	height: 17px;
	color: var(--eqrn-accent);
}

.eqrn-header__phone:hover {
	color: var(--eqrn-accent);
}

@media (min-width: 1320px) {
	.eqrn-header__phone {
		display: inline-flex;
	}
}

.eqrn-header__cta {
	display: none;
}

@media (min-width: 620px) {
	.eqrn-header__cta {
		display: inline-flex;
	}
}

/* Burger */
.eqrn-burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: var(--eqrn-radius-sm);
	border: 1px solid var(--eqrn-border);
	background: #fff;
	color: var(--eqrn-primary);
	transition: background-color var(--eqrn-dur) var(--eqrn-ease),
		border-color var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-burger:hover {
	background: var(--eqrn-primary-soft);
	border-color: var(--eqrn-primary-light);
}

.eqrn-burger__box {
	display: grid;
	gap: 5px;
	width: 20px;
}

.eqrn-burger__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--eqrn-dur) var(--eqrn-ease),
		opacity var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-burger[aria-expanded="true"] .eqrn-burger__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.eqrn-burger[aria-expanded="true"] .eqrn-burger__bar:nth-child(2) {
	opacity: 0;
}

.eqrn-burger[aria-expanded="true"] .eqrn-burger__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1120px) {
	.eqrn-burger {
		display: none;
	}
}

/* ==========================================================================
   Mobile navigation drawer
   ========================================================================== */

.eqrn-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 400;
}

.eqrn-mobile-nav[hidden] {
	display: none;
}

.eqrn-mobile-nav__scrim {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: rgba(12, 23, 40, 0.55);
	backdrop-filter: blur(2px);
	cursor: pointer;
	animation: eqrn-fade var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-mobile-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(360px, 88vw);
	height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #fff;
	box-shadow: -12px 0 40px rgba(12, 23, 40, 0.18);
	animation: eqrn-slide-in var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--eqrn-space-3);
	padding: var(--eqrn-space-4) var(--eqrn-space-5);
	border-bottom: 1px solid var(--eqrn-border);
}

.eqrn-mobile-nav__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: var(--eqrn-radius-sm);
	color: var(--eqrn-primary);
	background: var(--eqrn-primary-soft);
}

.eqrn-mobile-nav__close svg {
	width: 20px;
	height: 20px;
}

.eqrn-mobile-nav__body {
	flex: 1 1 auto;
	padding: var(--eqrn-space-4) var(--eqrn-space-5);
}

.eqrn-mobile-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eqrn-mobile-nav__list li {
	border-bottom: 1px solid var(--eqrn-border);
}

.eqrn-mobile-nav__list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0.5rem 1rem;
}

.eqrn-mobile-nav__list a {
	display: block;
	padding: 0.95rem 0.25rem;
	font-size: var(--eqrn-fs-md);
	font-weight: 600;
	color: var(--eqrn-primary);
	text-decoration: none;
	min-height: 48px;
}

.eqrn-mobile-nav__list a:hover,
.eqrn-mobile-nav__list a:focus-visible,
.eqrn-mobile-nav__list .current-menu-item > a,
.eqrn-mobile-nav__list .current_page_item > a {
	color: var(--eqrn-accent);
}

.eqrn-mobile-nav__foot {
	padding: var(--eqrn-space-5);
	border-top: 1px solid var(--eqrn-border);
	background: var(--eqrn-light);
}

.eqrn-mobile-nav__contact {
	list-style: none;
	margin: var(--eqrn-space-4) 0 0;
	padding: 0;
	display: grid;
	gap: var(--eqrn-space-2);
	font-size: var(--eqrn-fs-sm);
	word-break: break-word;
}

body.eqrn-nav-open {
	overflow: hidden;
}

@keyframes eqrn-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes eqrn-slide-in {
	from {
		transform: translateX(100%);
	}
	to {
		transform: none;
	}
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.eqrn-btn {
	--btn-bg: var(--eqrn-primary);
	--btn-fg: var(--eqrn-primary-ink);
	--btn-border: var(--eqrn-primary);

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	/* min-height keeps every button at a 44px touch target (WCAG 2.5.5). */
	min-height: 46px;
	padding: 0.82rem 1.6rem;
	font-family: var(--eqrn-font-sans);
	font-size: var(--eqrn-fs-sm);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	color: var(--btn-fg);
	background: var(--btn-bg);
	border: 2px solid var(--btn-border);
	border-radius: var(--eqrn-radius-pill);
	cursor: pointer;
	transition: transform var(--eqrn-dur) var(--eqrn-ease),
		box-shadow var(--eqrn-dur) var(--eqrn-ease),
		background-color var(--eqrn-dur) var(--eqrn-ease),
		border-color var(--eqrn-dur) var(--eqrn-ease),
		color var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-btn svg {
	width: 17px;
	height: 17px;
	flex: none;
	transition: transform var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-btn:hover svg,
.eqrn-btn:focus-visible svg {
	transform: translateX(3px);
}

.eqrn-btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--eqrn-shadow);
}

.eqrn-btn:active {
	transform: translateY(0);
}

.eqrn-btn--sm {
	min-height: 44px;
	padding: 0.6rem 1.15rem;
	font-size: var(--eqrn-fs-xs);
}

.eqrn-btn--lg {
	min-height: 52px;
	padding: 1rem 2rem;
	font-size: var(--eqrn-fs-base);
}

.eqrn-btn--block {
	display: flex;
	width: 100%;
}

.eqrn-btn--primary:hover {
	--btn-bg: var(--eqrn-primary-dark);
	--btn-border: var(--eqrn-primary-dark);
}

.eqrn-btn--accent {
	--btn-bg: var(--eqrn-accent);
	--btn-fg: var(--eqrn-accent-ink);
	--btn-border: var(--eqrn-accent);
}

.eqrn-btn--accent:hover {
	--btn-bg: #e5820f;
	--btn-border: #e5820f;
}

.eqrn-btn--green {
	--btn-bg: var(--eqrn-green);
	--btn-fg: var(--eqrn-green-ink);
	--btn-border: var(--eqrn-green);
}

.eqrn-btn--outline {
	--btn-bg: transparent;
	--btn-fg: var(--eqrn-primary);
	--btn-border: var(--eqrn-primary);
}

.eqrn-btn--outline:hover {
	--btn-bg: var(--eqrn-primary);
	--btn-fg: var(--eqrn-primary-ink);
}

.eqrn-btn--ghost-light {
	--btn-bg: rgba(255, 255, 255, 0.12);
	--btn-fg: #fff;
	--btn-border: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(4px);
}

.eqrn-btn--ghost-light:hover {
	--btn-bg: #fff;
	--btn-fg: var(--eqrn-primary);
	--btn-border: #fff;
}

.eqrn-btn--light {
	--btn-bg: #fff;
	--btn-fg: var(--eqrn-primary);
	--btn-border: #fff;
}

.eqrn-btn--light:hover {
	--btn-bg: var(--eqrn-primary);
	--btn-fg: #fff;
	--btn-border: var(--eqrn-primary);
}

.eqrn-btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--eqrn-primary);
	--btn-border: transparent;
}

.eqrn-btn--ghost:hover {
	--btn-bg: var(--eqrn-primary-soft);
	box-shadow: none;
}

/* Text link with arrow */
.eqrn-textlink {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	font-weight: 700;
	font-size: var(--eqrn-fs-sm);
	color: var(--eqrn-primary);
	text-decoration: none;
}

.eqrn-textlink svg {
	width: 16px;
	height: 16px;
	transition: transform var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-textlink:hover svg,
.eqrn-textlink:focus-visible svg {
	transform: translateX(4px);
}

/* ==========================================================================
   Section heading
   ========================================================================== */

.eqrn-section-head {
	max-width: 68ch;
	margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
}

.eqrn-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.eqrn-section-head--left {
	text-align: left;
	margin-inline: 0;
}

.eqrn-section-head--center .eqrn-eyebrow {
	justify-content: center;
}

.eqrn-section-head__title {
	font-size: var(--eqrn-fs-3xl);
	font-weight: 800;
	line-height: var(--eqrn-lh-tight);
	letter-spacing: -0.022em;
	color: var(--eqrn-primary);
	margin: 0;
}

.eqrn-section-head__text {
	margin-top: var(--eqrn-space-4);
	font-size: var(--eqrn-fs-md);
	line-height: 1.7;
	color: var(--eqrn-text-soft);
	max-width: 62ch;
}

.eqrn-section-head--center .eqrn-section-head__text {
	margin-inline: auto;
}

/* ==========================================================================
   Media frames — fixed aspect ratios prevent layout shift
   ========================================================================== */

.eqrn-media {
	position: relative;
	display: block;
	aspect-ratio: var(--eqrn-media-ratio, 3 / 2);
	overflow: hidden;
	background: var(--eqrn-light);
	border-radius: var(--eqrn-radius);
}

.eqrn-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s var(--eqrn-ease);
}

.eqrn-media__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	background: repeating-linear-gradient(
		45deg,
		var(--eqrn-light),
		var(--eqrn-light) 12px,
		#eef2f8 12px,
		#eef2f8 24px
	);
	color: var(--eqrn-text-soft);
	text-align: center;
	padding: var(--eqrn-space-3);
}

.eqrn-media__placeholder svg {
	width: 32px;
	height: 32px;
	opacity: 0.55;
}

.eqrn-media__placeholder-text {
	font-size: var(--eqrn-fs-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.eqrn-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--eqrn-border);
	border-radius: var(--eqrn-radius-lg);
	overflow: hidden;
	box-shadow: var(--eqrn-shadow-xs);
	transition: transform var(--eqrn-dur) var(--eqrn-ease),
		box-shadow var(--eqrn-dur) var(--eqrn-ease),
		border-color var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--eqrn-shadow-lg);
	border-color: transparent;
}

.eqrn-card:hover .eqrn-media img {
	transform: scale(1.06);
}

.eqrn-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--eqrn-space-2);
	padding: var(--eqrn-space-5);
	flex: 1 1 auto;
}

.eqrn-card__title {
	font-size: var(--eqrn-fs-lg);
	font-weight: 700;
	line-height: 1.35;
	color: var(--eqrn-primary);
	margin: 0;
}

/*
 * Card titles are standalone links rather than inline text, so they get an
 * expanded hit area that meets the 44px minimum touch target.
 */
.eqrn-card__title a {
	display: inline-block;
	min-height: 44px;
	padding-block: 0.35rem;
	color: inherit;
	text-decoration: none;
}

.eqrn-card__title a:hover,
.eqrn-card__title a:focus-visible {
	color: var(--eqrn-accent);
}

/* Store card */
.eqrn-store-card__media,
.eqrn-warehouse-card__media,
.eqrn-outreach-card__media {
	position: relative;
	display: block;
}

.eqrn-store-card__media .eqrn-media,
.eqrn-warehouse-card__media .eqrn-media {
	border-radius: 0;
}

.eqrn-store-card__badge,
.eqrn-warehouse-card__badge {
	position: absolute;
	top: var(--eqrn-space-3);
	left: var(--eqrn-space-3);
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.75rem;
	font-size: var(--eqrn-fs-xs);
	font-weight: 700;
	color: #fff;
	/* Fully opaque navy keeps the label readable over any photograph. */
	background: rgba(18, 41, 78, 0.92);
	backdrop-filter: blur(6px);
	border-radius: var(--eqrn-radius-pill);
}

.eqrn-store-card__badge svg,
.eqrn-warehouse-card__badge svg {
	width: 14px;
	height: 14px;
}

/* Store / warehouse / outreach / job card titles get an expanded hit area. */
.eqrn-store-card__title a,
.eqrn-warehouse-card__title a,
.eqrn-outreach-card__title a,
.eqrn-job-card__title a {
	display: inline-block;
	min-height: 44px;
	padding-block: 0.3rem;
	color: inherit;
	text-decoration: none;
}

.eqrn-store-card__title a:hover,
.eqrn-warehouse-card__title a:hover,
.eqrn-outreach-card__title a:hover,
.eqrn-job-card__title a:hover {
	color: var(--eqrn-accent);
}

.eqrn-store-card__title,
.eqrn-warehouse-card__title,
.eqrn-outreach-card__title,
.eqrn-job-card__title {
	font-size: var(--eqrn-fs-lg);
	font-weight: 700;
	line-height: 1.35;
	color: var(--eqrn-primary);
	margin: 0;
}

.eqrn-store-card__location,
.eqrn-warehouse-card__location,
.eqrn-outreach-card__location,
.eqrn-store-card__hours,
.eqrn-store-card__phone,
.eqrn-warehouse-card__phone,
.eqrn-outreach-card__date,
.eqrn-job-card__dept {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: var(--eqrn-fs-sm);
	color: var(--eqrn-text-soft);
	margin: 0;
}

.eqrn-store-card__location svg,
.eqrn-warehouse-card__location svg,
.eqrn-outreach-card__location svg,
.eqrn-store-card__hours svg,
.eqrn-store-card__phone svg,
.eqrn-warehouse-card__phone svg,
.eqrn-outreach-card__date svg,
.eqrn-job-card__dept svg {
	width: 16px;
	height: 16px;
	flex: none;
	margin-top: 3px;
	color: var(--eqrn-green);
}

.eqrn-store-card__location,
.eqrn-warehouse-card__location,
.eqrn-outreach-card__location {
	font-weight: 600;
	color: var(--eqrn-primary);
}

.eqrn-store-card__address,
.eqrn-warehouse-card__address {
	font-size: var(--eqrn-fs-sm);
	color: var(--eqrn-text-soft);
	margin: 0;
}

.eqrn-store-card__excerpt,
.eqrn-warehouse-card__excerpt,
.eqrn-outreach-card__excerpt,
.eqrn-job-card__excerpt {
	font-size: var(--eqrn-fs-sm);
	line-height: 1.65;
	color: var(--eqrn-text-soft);
	margin: 0;
}

.eqrn-store-card__actions,
.eqrn-warehouse-card__actions,
.eqrn-job-card__actions {
	margin-top: auto;
	padding-top: var(--eqrn-space-4);
}

/* Warehouse card uses the navy tint to distinguish it from stores */
.eqrn-warehouse-card {
	background: linear-gradient(180deg, var(--eqrn-primary-soft) 0%, #fff 42%);
}

/* Outreach card */
.eqrn-outreach-card__media .eqrn-media {
	border-radius: 0;
}

.eqrn-outreach-card__tag {
	position: absolute;
	top: var(--eqrn-space-3);
	left: var(--eqrn-space-3);
	padding: 0.35rem 0.8rem;
	font-size: var(--eqrn-fs-xs);
	font-weight: 700;
	color: #fff;
	background: var(--eqrn-brand-gradient);
	border-radius: var(--eqrn-radius-pill);
	box-shadow: var(--eqrn-shadow-sm);
}

.eqrn-outreach-card__date {
	font-size: var(--eqrn-fs-xs);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 600;
}

.eqrn-outreach-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 44px;
	margin-top: auto;
	padding-top: var(--eqrn-space-3);
	font-size: var(--eqrn-fs-sm);
	font-weight: 700;
	color: var(--eqrn-primary);
	text-decoration: none;
}

.eqrn-outreach-card__link svg {
	width: 16px;
	height: 16px;
	transition: transform var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-outreach-card__link:hover svg,
.eqrn-outreach-card__link:focus-visible svg {
	transform: translateX(4px);
}

/* Job card */
.eqrn-job-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--eqrn-space-3);
	margin-bottom: var(--eqrn-space-3);
}

.eqrn-job-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: var(--eqrn-radius);
	background: var(--eqrn-primary-soft);
	color: var(--eqrn-primary);
	flex: none;
}

.eqrn-job-card__icon svg {
	width: 22px;
	height: 22px;
}

.eqrn-job-card__title {
	font-size: var(--eqrn-fs-lg);
	font-weight: 700;
	color: var(--eqrn-primary);
	margin: 0 0 var(--eqrn-space-2);
	line-height: 1.35;
}

.eqrn-job-card__title a {
	color: inherit;
	text-decoration: none;
}

.eqrn-job-card__title a:hover,
.eqrn-job-card__title a:focus-visible {
	color: var(--eqrn-accent);
}

.eqrn-job-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--eqrn-space-2);
	list-style: none;
	margin: var(--eqrn-space-3) 0 0;
	padding: 0;
}

.eqrn-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.28rem 0.7rem;
	font-size: var(--eqrn-fs-xs);
	font-weight: 600;
	color: var(--eqrn-primary);
	background: var(--eqrn-primary-soft);
	border-radius: var(--eqrn-radius-pill);
}

.eqrn-chip svg {
	width: 13px;
	height: 13px;
	color: var(--eqrn-green);
}

.eqrn-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.75rem;
	font-size: var(--eqrn-fs-xs);
	font-weight: 700;
	border-radius: var(--eqrn-radius-pill);
	background: var(--eqrn-green-soft);
	color: var(--eqrn-green);
}

.eqrn-badge--muted {
	background: var(--eqrn-light);
	color: var(--eqrn-text-soft);
}

/* Feature card */
.eqrn-feature {
	padding: var(--eqrn-space-5);
	background: #fff;
	border: 1px solid var(--eqrn-border);
	border-radius: var(--eqrn-radius-lg);
	box-shadow: var(--eqrn-shadow-xs);
	height: 100%;
	transition: transform var(--eqrn-dur) var(--eqrn-ease),
		box-shadow var(--eqrn-dur) var(--eqrn-ease),
		border-color var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-feature:hover {
	transform: translateY(-5px);
	box-shadow: var(--eqrn-shadow);
	border-color: var(--eqrn-brand-gradient);
}

.eqrn-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: var(--eqrn-space-4);
	border-radius: var(--eqrn-radius);
	background: var(--eqrn-brand-gradient-soft);
	color: var(--eqrn-primary);
}

.eqrn-feature__icon svg {
	width: 26px;
	height: 26px;
}

.eqrn-feature__title {
	font-size: var(--eqrn-fs-lg);
	font-weight: 700;
	color: var(--eqrn-primary);
	margin: 0 0 var(--eqrn-space-2);
}

.eqrn-feature__text {
	font-size: var(--eqrn-fs-sm);
	line-height: 1.65;
	color: var(--eqrn-text-soft);
	margin: 0;
}

/*
 * Card link.
 *
 * The brand accent is 2.28:1 on white, so it is used only for borders and
 * icons elsewhere. For 14px bold text the darkened accent is required, which
 * brings it to 4.5:1. An underline carries the link affordance, since colour
 * alone would not survive greyscale or colour-blind viewing.
 */
.eqrn-feature__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	margin-top: var(--eqrn-space-2);
	font-size: var(--eqrn-fs-sm);
	font-weight: 700;
	color: var(--eqrn-accent-strong);
	text-decoration: none;
	transition: color var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-feature__link-label {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	/*
	 * currentColor, not a soft tint: the soft accent (#fef5e9) sits at 1.02:1
	 * on white, which is indistinguishable from the background and so fails
	 * as a link affordance. The underline thickens on hover instead.
	 */
	text-decoration-color: currentColor;
	transition: text-decoration-thickness var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-feature__link svg {
	width: 15px;
	height: 15px;
	flex: none;
	transition: transform var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-feature__link:hover,
.eqrn-feature__link:focus-visible {
	color: var(--eqrn-accent-strong-hover);
}

.eqrn-feature__link:hover .eqrn-feature__link-label,
.eqrn-feature__link:focus-visible .eqrn-feature__link-label {
	text-decoration-thickness: 3px;
}

.eqrn-feature__link:hover svg {
	transform: translateX(4px);
}

/* ==========================================================================
   Checklist
   ========================================================================== */

.eqrn-checklist {
	list-style: none;
	margin: var(--eqrn-space-5) 0;
	padding: 0;
	display: grid;
	gap: var(--eqrn-space-3);
}

.eqrn-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-size: var(--eqrn-fs-md);
	color: var(--eqrn-text);
}

.eqrn-checklist svg {
	width: 22px;
	height: 22px;
	flex: none;
	color: var(--eqrn-green);
	margin-top: 2px;
}

/* ==========================================================================
   Empty state
   ========================================================================== */

.eqrn-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--eqrn-space-3);
	max-width: 620px;
	margin-inline: auto;
	padding: clamp(2rem, 1.4rem + 3vw, 3.5rem);
	background: #fff;
	border: 1px dashed var(--eqrn-border);
	border-radius: var(--eqrn-radius-lg);
}

.eqrn-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--eqrn-primary-soft);
	color: var(--eqrn-primary);
}

.eqrn-empty__icon svg {
	width: 30px;
	height: 30px;
}

.eqrn-empty__title {
	font-size: var(--eqrn-fs-xl);
	font-weight: 700;
	color: var(--eqrn-primary);
	margin: 0;
}

.eqrn-empty__text {
	font-size: var(--eqrn-fs-md);
	color: var(--eqrn-text-soft);
	margin: 0;
	max-width: 52ch;
}

.eqrn-empty .eqrn-btn {
	margin-top: var(--eqrn-space-2);
}

/* ==========================================================================
   Social links
   ========================================================================== */

.eqrn-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--eqrn-space-2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.eqrn-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--eqrn-radius-sm);
	color: var(--eqrn-primary);
	background: var(--eqrn-primary-soft);
	transition: background-color var(--eqrn-dur) var(--eqrn-ease),
		color var(--eqrn-dur) var(--eqrn-ease),
		transform var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-social__link svg {
	width: 19px;
	height: 19px;
}

.eqrn-social__link:hover,
.eqrn-social__link:focus-visible {
	background: var(--eqrn-brand-gradient);
	color: #fff;
	transform: translateY(-3px);
}

.eqrn-social--footer .eqrn-social__link,
.eqrn-social--light .eqrn-social__link {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.eqrn-social--mobile {
	margin-top: var(--eqrn-space-4);
}

/* ==========================================================================
   Stats band
   ========================================================================== */

.eqrn-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: var(--eqrn-space-5);
	margin: 0;
	padding: var(--eqrn-space-6);
	background: var(--eqrn-primary-soft);
	border-radius: var(--eqrn-radius-lg);
	text-align: center;
}

.eqrn-stats__item {
	display: grid;
	gap: 0.35rem;
}

.eqrn-stats__value {
	order: -1;
	font-size: var(--eqrn-fs-2xl);
	font-weight: 800;
	color: var(--eqrn-primary);
	line-height: 1.1;
	margin: 0;
}

.eqrn-stats__label {
	font-size: var(--eqrn-fs-sm);
	color: var(--eqrn-text-soft);
	order: 2;
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.eqrn-page-hero {
	position: relative;
	isolation: isolate;
	padding-block: clamp(2.5rem, 1.8rem + 4vw, 4.5rem);
	background: var(--eqrn-primary);
	color: #fff;
	overflow: hidden;
}

.eqrn-page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.eqrn-page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eqrn-page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		100deg,
		rgba(18, 41, 78, 0.94) 0%,
		rgba(18, 41, 78, 0.8) 46%,
		rgba(18, 41, 78, 0.5) 100%
	);
}

.eqrn-page-hero__inner {
	max-width: 72ch;
}

.eqrn-page-hero__title {
	font-size: var(--eqrn-fs-3xl);
	font-weight: 800;
	line-height: var(--eqrn-lh-tight);
	letter-spacing: -0.022em;
	color: #fff;
	margin: 0 0 var(--eqrn-space-4);
}

.eqrn-page-hero__text {
	font-size: var(--eqrn-fs-lg);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	margin: 0;
}

.eqrn-page-hero .eqrn-breadcrumbs__list {
	color: rgba(255, 255, 255, 0.75);
}

.eqrn-page-hero .eqrn-breadcrumbs__link {
	color: rgba(255, 255, 255, 0.75);
}

.eqrn-page-hero .eqrn-breadcrumbs__link:hover {
	color: #fff;
}

.eqrn-page-hero .eqrn-breadcrumbs__current {
	color: #fff;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.eqrn-form {
	display: grid;
	gap: var(--eqrn-space-5);
}

.eqrn-form__grid {
	display: grid;
	gap: var(--eqrn-space-4);
	grid-template-columns: 1fr;
}

@media (min-width: 680px) {
	.eqrn-form__grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eqrn-form__field--full {
		grid-column: 1 / -1;
	}
}

.eqrn-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	min-width: 0;
}

.eqrn-form__label {
	font-size: var(--eqrn-fs-sm);
	font-weight: 600;
	color: var(--eqrn-primary);
}

.eqrn-form__required {
	color: #c0392b;
	margin-left: 2px;
}

.eqrn-form__input,
.eqrn-form__textarea,
.eqrn-form__select {
	width: 100%;
	padding: 0.85rem 1rem;
	font-size: var(--eqrn-fs-base);
	color: var(--eqrn-text);
	background: #fff;
	border: 1.5px solid var(--eqrn-border);
	border-radius: var(--eqrn-radius);
	transition: border-color var(--eqrn-dur) var(--eqrn-ease),
		box-shadow var(--eqrn-dur) var(--eqrn-ease);
	/* Prevents iOS zoom on focus. */
	min-height: 48px;
}

.eqrn-form__textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.6;
}

.eqrn-form__select {
	appearance: none;
	/* Chevron drawn with an inline SVG so no image request is needed. */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D4A63' 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: 18px 18px;
	padding-right: 2.6rem;
	cursor: pointer;
}

.eqrn-form__input:focus,
.eqrn-form__textarea:focus,
.eqrn-form__select:focus {
	outline: none;
	border-color: var(--eqrn-primary-light);
	box-shadow: 0 0 0 4px rgba(43, 84, 144, 0.14);
}

.eqrn-form__input::placeholder,
.eqrn-form__textarea::placeholder {
	color: #9aa8bd;
}

.eqrn-form__input[aria-invalid="true"],
.eqrn-form__textarea[aria-invalid="true"],
.eqrn-form__select[aria-invalid="true"] {
	border-color: #c0392b;
	background: #fef6f5;
}

.eqrn-form__hint {
	font-size: var(--eqrn-fs-xs);
	color: var(--eqrn-text-soft);
}

.eqrn-form__error {
	font-size: var(--eqrn-fs-xs);
	font-weight: 600;
	color: #c0392b;
}

.eqrn-form__file {
	font-size: var(--eqrn-fs-sm);
	padding: 0.6rem 0;
	width: 100%;
}

.eqrn-form__file::file-selector-button {
	margin-right: 0.8rem;
	padding: 0.5rem 1rem;
	font-size: var(--eqrn-fs-sm);
	font-weight: 600;
	color: var(--eqrn-primary);
	background: var(--eqrn-primary-soft);
	border: 1px solid var(--eqrn-border);
	border-radius: var(--eqrn-radius-pill);
	cursor: pointer;
}

.eqrn-form__file::file-selector-button:hover {
	background: var(--eqrn-primary);
	color: #fff;
}

/* Consent checkbox */
.eqrn-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-size: var(--eqrn-fs-sm);
	line-height: 1.55;
	color: var(--eqrn-text-soft);
}

.eqrn-form__consent input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--eqrn-primary);
	cursor: pointer;
}

/* Honeypot — visually hidden, never focusable by a human */
.eqrn-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.eqrn-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--eqrn-space-4);
}

.eqrn-form__note {
	font-size: var(--eqrn-fs-xs);
	color: var(--eqrn-text-soft);
	margin: 0;
	max-width: 46ch;
}

/* Notices */
.eqrn-notice {
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--eqrn-radius);
	font-size: var(--eqrn-fs-sm);
	line-height: 1.6;
	border: 1px solid;
}

.eqrn-notice svg {
	width: 20px;
	height: 20px;
	flex: none;
	margin-top: 1px;
}

.eqrn-notice--success {
	background: var(--eqrn-green-soft);
	border-color: rgba(46, 158, 68, 0.35);
	color: #1d6b2e;
}

.eqrn-notice--success svg {
	color: var(--eqrn-green);
}

.eqrn-notice--error {
	background: #fdf2f1;
	border-color: rgba(192, 57, 43, 0.32);
	color: #a02a20;
}

.eqrn-notice--error svg {
	color: #c0392b;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.eqrn-footer {
	margin-top: auto;
	background: var(--eqrn-dark);
	color: rgba(255, 255, 255, 0.72);
	font-size: var(--eqrn-fs-sm);
}

.eqrn-footer a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	transition: color var(--eqrn-dur) var(--eqrn-ease);
}

.eqrn-footer a:hover,
.eqrn-footer a:focus-visible {
	color: var(--eqrn-lime);
	text-decoration: underline;
}

.eqrn-footer__main {
	padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.5rem) var(--eqrn-space-8);
}

.eqrn-footer__grid {
	display: grid;
	gap: var(--eqrn-space-7);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.eqrn-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.eqrn-footer__grid {
		grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
		gap: var(--eqrn-space-6);
	}
}

.eqrn-footer__logo {
	display: inline-flex;
	padding: 12px 18px;
	margin-bottom: var(--eqrn-space-4);
	background: #fff;
	border-radius: var(--eqrn-radius);
}

.eqrn-footer__logo .eqrn-logo {
	max-height: 48px;
}

.eqrn-footer__about {
	line-height: 1.7;
	max-width: 40ch;
	margin-bottom: var(--eqrn-space-5);
}

.eqrn-footer__title {
	font-size: var(--eqrn-fs-base);
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.02em;
	margin: 0 0 var(--eqrn-space-4);
}

.eqrn-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.eqrn-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 44px;
}

.eqrn-footer__links a::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--eqrn-brand-gradient);
	flex: none;
	opacity: 0.85;
}

.eqrn-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	/*
	 * Wide enough that the tap targets on the phone and email rows do not
	 * overlap each other. Their labels are one line tall, so the rows sit
	 * closer together than the 44px tap boxes they extend to.
	 */
	gap: var(--eqrn-space-5);
}

.eqrn-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.eqrn-footer__contact-item > svg {
	width: 19px;
	height: 19px;
	flex: none;
	/*
	 * Nudged to the centre of the first text line. The row is flex-start so
	 * that the multi-line address block keeps its icon at the top; the
	 * single-line phone and email rows rely on this offset to line the icon up
	 * with the label.
	 */
	margin-top: 0.32rem;
	color: var(--eqrn-lime);
}

.eqrn-footer__contact-item strong {
	display: block;
	color: #fff;
	font-weight: 600;
	margin-bottom: 0.2rem;
}

.eqrn-footer__contact-item address,
.eqrn-footer__contact-item span {
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.72);
}

/* Footer links get an expanded hit area for comfortable tapping. */
.eqrn-contact__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-block: 0.35rem;
}

.eqrn-footer .eqrn-contact__link,
.eqrn-footer__contact-item a {
	min-height: 44px;
	padding-block: 0.35rem;
}

/*
 * Phone and email rows: put the icon and the label on one line.
 *
 * Giving the link a 44px box height centred its glyphs 9px below the icon, so
 * the pair read as two lines rather than one. The tap target is now grown with
 * a pseudo-element that does not affect layout, leaving the label at its
 * natural height and directly beside the icon. nowrap then stops a number
 * being split across lines at narrow widths.
 */
.eqrn-footer__contact-item a {
	display: inline;
	min-height: 0;
	padding-block: 0;
	position: relative;
	white-space: nowrap;
}

.eqrn-footer__contact-item a::after {
	content: "";
	position: absolute;
	left: -0.25rem;
	right: -0.25rem;
	/*
	 * Grows the tap box from the ~30px line to ~46px without affecting
	 * layout. Sized to stay inside the row gap so two tap boxes never overlap.
	 */
	top: -0.5rem;
	bottom: -0.5rem;
}

.eqrn-footer__links a {
	min-height: 44px;
}

.eqrn-footer__legal a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-block: 0.3rem;
}

.eqrn-footer__widgets {
	padding-block: var(--eqrn-space-6);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.eqrn-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: var(--eqrn-dark-2);
}

.eqrn-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--eqrn-space-3) var(--eqrn-space-5);
	padding-block: var(--eqrn-space-4);
	font-size: var(--eqrn-fs-xs);
}

.eqrn-footer__copy,
.eqrn-footer__cin {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
}

.eqrn-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--eqrn-space-4);
	list-style: none;
	margin: 0;
	padding: 0;
}

.eqrn-footer__legal li {
	position: relative;
}

.eqrn-footer__legal li + li::before {
	content: "";
	position: absolute;
	left: calc(var(--eqrn-space-4) / -2);
	top: 50%;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.5;
}

.eqrn-widget__title {
	font-size: var(--eqrn-fs-base);
	color: #fff;
	margin-bottom: var(--eqrn-space-3);
}

.eqrn-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

/*
 * Core block widgets (search, latest posts, categories, comments) ship with
 * their own compact sizing. Align them with the theme's spacing and give every
 * control a comfortable touch target.
 */
.eqrn-widget .wp-block-search__button,
.eqrn-widget .wp-block-search__input,
.eqrn-widget .wp-block-latest-posts__post-title a,
.eqrn-widget .wp-block-latest-comments__comment-author,
.eqrn-widget .wp-block-categories a,
.eqrn-widget .wp-block-archives a,
.eqrn-widget .wp-block-page-list a,
.eqrn-widget .wp-block-tag-cloud a,
.eqrn-widget .cat-item a,
.eqrn-widget a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.eqrn-widget .wp-block-search__inside-wrapper {
	gap: 0.5rem;
}

.eqrn-widget .wp-block-search__input {
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--eqrn-border);
	border-radius: var(--eqrn-radius-pill);
	background: #fff;
	min-width: 0;
}

.eqrn-widget .wp-block-search__button {
	padding: 0.6rem 1.1rem;
	font-weight: 600;
	color: #fff;
	background: var(--eqrn-primary);
	border-radius: var(--eqrn-radius-pill);
	cursor: pointer;
}

.eqrn-widget .wp-block-search__button:hover {
	background: var(--eqrn-primary-dark);
}

/* Sidebar widgets sit on the light page background, not the dark footer. */
.eqrn-sidebar .eqrn-widget__title,
.eqrn-sidebar .widget-title {
	color: var(--eqrn-primary);
}

.eqrn-sidebar .eqrn-widget ul {
	gap: 0.25rem;
}