/* ═══════════════════════════════════════════════════════════
	   DESIGN TOKENS
	   ═══════════════════════════════════════════════════════════ */
	:root {
		--ink: #071019;
		--ink-raised: #0C1B26;
		--deep: #0B4F6C;
		--teal: #0E6C7C;
		--mint: #5FD4C4;
		--paper: #F5F7F6;
		--mist: #EAF2F1;
		--fog: rgba(234, 242, 241, 0.62);
		--fog-quiet: rgba(234, 242, 241, 0.4);
		--hairline: rgba(234, 242, 241, 0.12);

		--font-display: "Fraunces", Georgia, serif;
		--font-body: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
		--font-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;

		--ease: cubic-bezier(0.16, 1, 0.3, 1);
		--container-max: 1280px;
	}

	* {
		box-sizing: border-box;
	}

	html {
		scroll-behavior: smooth;
	}

	body {
		margin: 0;
		background: var(--ink);
		color: var(--mist);
		font-family: var(--font-body);
		line-height: 1.6;
		-webkit-font-smoothing: antialiased;
	}

	@media (prefers-reduced-motion: reduce) {
		html {
			scroll-behavior: auto;
		}
		* {
			animation-duration: 0.01ms !important;
			transition-duration: 0.01ms !important;
		}
	}

	.container {
		max-width: var(--container-max);
		margin: 0 auto;
		padding: 0 2rem;
	}

	a {
		color: inherit;
	}

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


	/* ═══════════════════════════════════════════════════════════
	   PRODUCTION HEADER
	   ═══════════════════════════════════════════════════════════ */
	.site-header {
		position: sticky;
		top: 0;
		z-index: 1000;
		background: rgba(7, 16, 25, 0.78);
		border-bottom: 1px solid rgba(234, 242, 241, 0.1);
		backdrop-filter: blur(20px) saturate(145%);
		-webkit-backdrop-filter: blur(20px) saturate(145%);
		transition: background 0.25s ease, box-shadow 0.25s ease;
	}

	.site-header.is-scrolled {
		background: rgba(7, 16, 25, 0.94);
		box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
	}

	.header-inner {
		min-height: 82px;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
		gap: 1.5rem;
	}

	.brand {
		display: inline-flex;
		align-items: center;
		gap: 0.8rem;
		text-decoration: none;
		min-width: max-content;
	}

	.brand-mark {
		width: 42px;
		height: 42px;
		object-fit: contain;
		filter: drop-shadow(0 8px 18px rgba(95, 212, 196, 0.18));
	}

	.brand-copy {
		display: flex;
		flex-direction: column;
		line-height: 1;
	}

	.brand-name {
		font-family: var(--font-body);
		font-size: 0.95rem;
		font-weight: 700;
		letter-spacing: 0.08em;
		color: var(--mist);
	}

	.brand-tagline {
		margin-top: 0.38rem;
		font-family: var(--font-mono);
		font-size: 0.56rem;
		letter-spacing: 0.13em;
		text-transform: uppercase;
		color: var(--mint);
	}

	.primary-nav {
		justify-self: center;
		min-width: 0;
	}

	.menu {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.15rem;
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.menu > li {
		position: relative;
	}

	.menu-link,
	.menu-trigger {
		display: inline-flex;
		align-items: center;
		gap: 0.35rem;
		border: 0;
		background: none;
		color: rgba(234, 242, 241, 0.76);
		text-decoration: none;
		font: 600 0.78rem/1 var(--font-body);
		padding: 0.82rem 0.58rem;
		border-radius: 999px;
		cursor: pointer;
		white-space: nowrap;
		transition: color 0.2s ease, background 0.2s ease;
	}

	.menu-link:hover,
	.menu-trigger:hover,
	.menu-link:focus-visible,
	.menu-trigger:focus-visible {
		color: var(--mist);
		background: rgba(234, 242, 241, 0.07);
	}

	.menu-trigger svg {
		width: 13px;
		height: 13px;
		transition: transform 0.25s var(--ease);
	}

	.has-mega.is-open .menu-trigger svg {
		transform: rotate(180deg);
	}

	.mega-menu {
		position: fixed;
		left: 50%;
		top: 76px;
		width: min(1120px, calc(100vw - 3rem));
		transform: translate(-50%, 14px);
		padding: 1.25rem;
		border: 1px solid rgba(234, 242, 241, 0.12);
		border-radius: 24px;
		background:
			linear-gradient(145deg, rgba(12, 27, 38, 0.98), rgba(7, 16, 25, 0.98));
		box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.22s ease, transform 0.28s var(--ease), visibility 0.22s ease;
	}

	.has-mega.is-open .mega-menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translate(-50%, 0);
	}

	.mega-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.45rem 0.65rem 1rem;
		border-bottom: 1px solid var(--hairline);
	}

	.mega-head strong {
		font-family: var(--font-display);
		font-size: 1.3rem;
		font-weight: 600;
	}

	.mega-head a {
		font-size: 0.78rem;
		font-weight: 700;
		color: var(--mint);
		text-decoration: none;
	}

	.mega-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.4rem;
		padding-top: 1rem;
	}

	.mega-item {
		display: flex;
		align-items: flex-start;
		gap: 0.75rem;
		padding: 0.82rem;
		border-radius: 15px;
		color: var(--mist);
		text-decoration: none;
		transition: background 0.2s ease, transform 0.2s var(--ease);
	}

	.mega-item:hover {
		background: rgba(95, 212, 196, 0.08);
		transform: translateY(-2px);
	}

	.mega-icon {
		flex: 0 0 34px;
		height: 34px;
		display: grid;
		place-items: center;
		border-radius: 11px;
		background: rgba(95, 212, 196, 0.1);
		border: 1px solid rgba(95, 212, 196, 0.18);
		color: var(--mint);
		font-family: var(--font-mono);
		font-size: 0.68rem;
	}

	.mega-item strong {
		display: block;
		font-size: 0.8rem;
		line-height: 1.3;
	}

	.mega-item span:last-child {
		display: block;
		margin-top: 0.22rem;
		color: var(--fog-quiet);
		font-size: 0.68rem;
		line-height: 1.4;
	}

	.header-actions {
		display: flex;
		align-items: center;
		gap: 0.65rem;
	}

	.header-cta {
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
		padding: 0.76rem 1rem;
		border-radius: 999px;
		color: var(--ink);
		background: linear-gradient(100deg, var(--mint), #93e9dd);
		font-size: 0.76rem;
		font-weight: 800;
		text-decoration: none;
		box-shadow: 0 10px 25px rgba(95, 212, 196, 0.18);
		white-space: nowrap;
	}

	.menu-toggle {
		display: none;
		width: 44px;
		height: 44px;
		border: 1px solid var(--hairline);
		border-radius: 50%;
		background: rgba(234, 242, 241, 0.05);
		color: var(--mist);
		cursor: pointer;
	}

	.menu-toggle span,
	.menu-toggle::before,
	.menu-toggle::after {
		content: "";
		display: block;
		width: 18px;
		height: 1.5px;
		background: currentColor;
		margin: 4px auto;
		transition: transform 0.25s ease, opacity 0.25s ease;
	}

	.menu-toggle.is-active span { opacity: 0; }
	.menu-toggle.is-active::before { transform: translateY(5.5px) rotate(45deg); }
	.menu-toggle.is-active::after { transform: translateY(-5.5px) rotate(-45deg); }

	.mobile-contact {
		display: none;
	}

	/* ═══════════════════════════════════════════════════════════
	   HOMEPAGE CONTENT SYSTEM
	   ═══════════════════════════════════════════════════════════ */
	.page-main {
		background: var(--paper);
		color: #13212b;
		overflow: hidden;
	}

	.content-section {
		position: relative;
		padding: clamp(5rem, 8vw, 8.5rem) 0;
	}

	.section-kicker {
		display: inline-flex;
		align-items: center;
		gap: 0.55rem;
		margin-bottom: 1.2rem;
		font-family: var(--font-mono);
		font-size: 0.72rem;
		font-weight: 600;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--teal);
	}

	.section-kicker::before {
		content: "";
		width: 26px;
		height: 1px;
		background: var(--teal);
	}

	.section-title {
		max-width: 900px;
		margin: 0;
		font-family: var(--font-display);
		font-size: clamp(2.35rem, 5vw, 5.3rem);
		font-weight: 600;
		line-height: 0.98;
		letter-spacing: -0.025em;
		color: var(--ink);
	}

	.section-title em {
		font-weight: 500;
		color: var(--teal);
	}

	.section-lead {
		max-width: 850px;
		margin: 1.75rem 0 0;
		color: rgba(19, 33, 43, 0.69);
		font-size: clamp(1rem, 1.4vw, 1.18rem);
		line-height: 1.8;
	}

	.intro-section {
		background:
			radial-gradient(circle at 92% 8%, rgba(95, 212, 196, 0.25), transparent 28%),
			linear-gradient(180deg, #f8fbfa 0%, var(--paper) 100%);
	}

	.trust-strip {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1px;
		margin-top: 4rem;
		overflow: hidden;
		border: 1px solid rgba(11, 79, 108, 0.12);
		border-radius: 24px;
		background: rgba(11, 79, 108, 0.12);
		box-shadow: 0 22px 55px rgba(7, 16, 25, 0.07);
	}

	.trust-item {
		position: relative;
		min-height: 150px;
		padding: 1.5rem;
		background: rgba(255, 255, 255, 0.86);
	}

	.trust-number {
		display: block;
		font-family: var(--font-display);
		font-size: clamp(2rem, 3vw, 3.4rem);
		line-height: 1;
		color: var(--deep);
	}

	.trust-label {
		display: block;
		margin-top: 0.7rem;
		max-width: 18ch;
		font-size: 0.82rem;
		font-weight: 700;
		color: rgba(19, 33, 43, 0.63);
	}

	.story-grid {
		display: grid;
		grid-template-columns: 0.9fr 1.1fr;
		gap: clamp(3rem, 7vw, 7rem);
		align-items: start;
	}

	.story-card {
		position: sticky;
		top: 118px;
		padding: 2rem;
		border-radius: 28px;
		color: var(--mist);
		background:
			linear-gradient(145deg, rgba(14, 108, 124, 0.93), rgba(7, 16, 25, 0.98));
		box-shadow: 0 28px 70px rgba(7, 16, 25, 0.18);
	}

	.story-card-label {
		font-family: var(--font-mono);
		font-size: 0.72rem;
		letter-spacing: 0.1em;
		color: var(--mint);
		text-transform: uppercase;
	}

	.story-card h3 {
		margin: 1.1rem 0 0.9rem;
		font-family: var(--font-display);
		font-size: clamp(1.9rem, 3vw, 3.1rem);
		line-height: 1.05;
	}

	.story-card p {
		color: var(--fog);
		margin: 0;
	}

	.story-copy-block + .story-copy-block {
		margin-top: 4.5rem;
		padding-top: 4.5rem;
		border-top: 1px solid rgba(11, 79, 108, 0.12);
	}

	.story-copy-block h2 {
		margin: 0 0 1.2rem;
		font-family: var(--font-display);
		font-size: clamp(2rem, 4vw, 3.5rem);
		line-height: 1.05;
		color: var(--ink);
	}

	.story-copy-block p {
		margin: 0;
		color: rgba(19, 33, 43, 0.7);
		font-size: 1.02rem;
		line-height: 1.85;
	}

	.leakage-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem;
		margin-top: 2rem;
	}

	.leakage-item {
		padding: 1.2rem;
		border-radius: 17px;
		border: 1px solid rgba(11, 79, 108, 0.11);
		background: #fff;
	}

	.leakage-item strong {
		display: block;
		font-family: var(--font-mono);
		font-size: 1.12rem;
		color: var(--teal);
	}

	.leakage-item span {
		display: block;
		margin-top: 0.35rem;
		color: rgba(19, 33, 43, 0.58);
		font-size: 0.76rem;
		line-height: 1.45;
	}

	.services-section {
		background: var(--ink);
		color: var(--mist);
	}

	.services-section .section-kicker { color: var(--mint); }
	.services-section .section-kicker::before { background: var(--mint); }
	.services-section .section-title { color: var(--mist); }
	.services-section .section-lead { color: var(--fog); }

	.services-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
		margin-top: 4rem;
	}

	.service-card {
		position: relative;
		min-height: 250px;
		padding: 1.55rem;
		overflow: hidden;
		border: 1px solid var(--hairline);
		border-radius: 22px;
		color: var(--mist);
		text-decoration: none;
		background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
		transition: transform 0.28s var(--ease), border-color 0.28s ease, background 0.28s ease;
	}

	.service-card::after {
		content: "";
		position: absolute;
		width: 180px;
		height: 180px;
		right: -100px;
		bottom: -110px;
		border-radius: 50%;
		background: rgba(95, 212, 196, 0.12);
		filter: blur(4px);
		transition: transform 0.35s var(--ease);
	}

	.service-card:hover {
		transform: translateY(-7px);
		border-color: rgba(95, 212, 196, 0.44);
		background: linear-gradient(145deg, rgba(95,212,196,0.1), rgba(255,255,255,0.02));
	}

	.service-card:hover::after { transform: scale(1.4); }

	.service-index {
		font-family: var(--font-mono);
		font-size: 0.68rem;
		color: var(--mint);
	}

	.service-card h3 {
		margin: 2.5rem 0 0.75rem;
		font-family: var(--font-display);
		font-size: 1.45rem;
		font-weight: 600;
		line-height: 1.12;
	}

	.service-card p {
		margin: 0;
		max-width: 34ch;
		color: var(--fog-quiet);
		font-size: 0.82rem;
		line-height: 1.65;
	}

	.service-arrow {
		position: absolute;
		right: 1.4rem;
		top: 1.35rem;
		width: 34px;
		height: 34px;
		display: grid;
		place-items: center;
		border: 1px solid var(--hairline);
		border-radius: 50%;
		transition: background 0.2s ease, color 0.2s ease;
	}

	.service-card:hover .service-arrow {
		background: var(--mint);
		color: var(--ink);
	}

	.why-section {
		background:
			linear-gradient(120deg, rgba(95, 212, 196, 0.17), transparent 35%),
			#f7faf9;
	}

	.why-layout {
		display: grid;
		grid-template-columns: 0.78fr 1.22fr;
		gap: clamp(3rem, 8vw, 8rem);
		align-items: start;
	}

	.why-intro {
		position: sticky;
		top: 118px;
	}

	.why-intro .section-title {
		font-size: clamp(2.4rem, 4vw, 4.4rem);
	}

	.why-list {
		display: grid;
		gap: 0;
		border-top: 1px solid rgba(11, 79, 108, 0.14);
	}

	.why-item {
		display: grid;
		grid-template-columns: 48px 1fr;
		gap: 1rem;
		padding: 1.5rem 0;
		border-bottom: 1px solid rgba(11, 79, 108, 0.14);
	}

	.why-icon {
		width: 40px;
		height: 40px;
		display: grid;
		place-items: center;
		border-radius: 50%;
		background: var(--ink);
		color: var(--mint);
		font-family: var(--font-mono);
		font-size: 0.72rem;
	}

	.why-item h3 {
		margin: 0;
		font-size: 0.98rem;
		color: var(--ink);
	}

	.why-item p {
		margin: 0.42rem 0 0;
		color: rgba(19, 33, 43, 0.6);
		font-size: 0.84rem;
		line-height: 1.65;
	}

	.final-cta {
		position: relative;
		padding: clamp(4.8rem, 8vw, 8rem) 0;
		overflow: hidden;
		color: var(--mist);
		background:
			radial-gradient(circle at 75% 20%, rgba(95, 212, 196, 0.22), transparent 32%),
			linear-gradient(130deg, #071019 0%, #0b4f6c 100%);
	}

	.final-cta::before {
		content: "";
		position: absolute;
		inset: 0;
		background-image:
			linear-gradient(rgba(234,242,241,0.055) 1px, transparent 1px),
			linear-gradient(90deg, rgba(234,242,241,0.055) 1px, transparent 1px);
		background-size: 52px 52px;
		-webkit-mask-image: linear-gradient(90deg, transparent, black 40%, black);
		mask-image: linear-gradient(90deg, transparent, black 40%, black);
	}

	.cta-inner {
		position: relative;
		z-index: 1;
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: end;
		gap: 3rem;
	}

	.cta-inner h2 {
		margin: 0;
		max-width: 850px;
		font-family: var(--font-display);
		font-size: clamp(2.6rem, 6vw, 6rem);
		line-height: 0.96;
		font-weight: 600;
	}

	.cta-inner p {
		max-width: 660px;
		margin: 1.5rem 0 0;
		color: var(--fog);
		font-size: 1rem;
	}

	.cta-actions {
		display: flex;
		flex-direction: column;
		gap: 0.8rem;
		align-items: stretch;
		min-width: 230px;
	}

	.cta-contact {
		font-family: var(--font-mono);
		font-size: 0.72rem;
		color: var(--fog-quiet);
		text-align: center;
		text-decoration: none;
	}

	.reveal {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity 0.65s ease, transform 0.75s var(--ease);
	}

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

	@media (max-width: 1180px) {
		.primary-nav { display: none; }
		.header-inner { grid-template-columns: auto 1fr auto; }
		.header-actions { justify-self: end; }
		.menu-toggle { display: block; }

		.primary-nav.is-open {
			display: block;
			position: fixed;
			inset: 82px 0 auto;
			max-height: calc(100vh - 82px);
			overflow-y: auto;
			padding: 1rem 1.25rem 2rem;
			background: rgba(7, 16, 25, 0.99);
			border-bottom: 1px solid var(--hairline);
		}

		.primary-nav.is-open .menu {
			display: block;
			max-width: 800px;
			margin: 0 auto;
		}

		.primary-nav.is-open .menu-link,
		.primary-nav.is-open .menu-trigger {
			width: 100%;
			justify-content: space-between;
			padding: 1rem 0.4rem;
			border-radius: 0;
			border-bottom: 1px solid var(--hairline);
			font-size: 0.92rem;
		}

		.mega-menu {
			position: static;
			width: 100%;
			transform: none;
			display: none;
			opacity: 1;
			visibility: visible;
			pointer-events: auto;
			margin: 0.5rem 0 1rem;
			box-shadow: none;
			border-radius: 16px;
		}

		.has-mega.is-open .mega-menu { display: block; transform: none; }
		.mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
		.mobile-contact {
			display: grid;
			gap: 0.65rem;
			padding-top: 1.2rem;
			font-size: 0.75rem;
			color: var(--fog);
		}
	}

	@media (max-width: 900px) {
		.trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
		.story-grid,
		.why-layout,
		.cta-inner { grid-template-columns: 1fr; }
		.story-card,
		.why-intro { position: relative; top: auto; }
		.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
		.cta-actions { align-items: flex-start; min-width: 0; }
	}

	@media (max-width: 640px) {
		.header-inner { min-height: 72px; gap: 0.7rem; }
		.primary-nav.is-open { inset: 72px 0 auto; max-height: calc(100vh - 72px); }
		.brand-mark { width: 36px; height: 36px; }
		.brand-name { font-size: 0.78rem; }
		.brand-tagline { font-size: 0.47rem; }
		.header-cta { display: none; }
		.mega-grid,
		.services-grid,
		.trust-strip,
		.leakage-grid { grid-template-columns: 1fr; }
		.mega-head { align-items: flex-start; flex-direction: column; }
		.trust-item { min-height: 120px; }
		.service-card { min-height: 220px; }
		.why-item { grid-template-columns: 40px 1fr; }
		.content-section { padding: 4.7rem 0; }
	}

	/* ═══════════════════════════════════════════════════════════
	   HERO
	   ═══════════════════════════════════════════════════════════ */
	.hero {
		position: relative;
		overflow: hidden;
		padding: 3.5rem 0 6rem;
	}

	.hero-glow {
		position: absolute;
		inset: 0;
		z-index: 0;
		pointer-events: none;
		background:
			radial-gradient(circle at 82% 8%, rgba(95, 212, 196, 0.16), transparent 42%),
			radial-gradient(circle at 8% 82%, rgba(14, 108, 124, 0.22), transparent 45%);
	}

	.hero-grid-texture {
		position: absolute;
		inset: 0;
		z-index: 0;
		pointer-events: none;
		background-image:
			linear-gradient(var(--hairline) 1px, transparent 1px),
			linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
		background-size: 64px 64px;
		-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
		mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
	}

	.hero-inner {
		position: relative;
		z-index: 1;
		display: flex;
		align-items: center;
		gap: 4rem;
	}

	.hero-copy {
		flex: 0 1 500px;
	}

	.ledger {
		flex: 1 1 520px;
		min-width: 0;
	}

	/* ── Copy column ─────────────────────────────────────────── */
	.hero-eyebrow {
		display: inline-flex;
		align-items: center;
		gap: 0.6rem;
		font-family: var(--font-mono);
		font-size: 0.76rem;
		font-weight: 600;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--mint);
		margin-bottom: 1.6rem;
	}

	.hero-eyebrow::before {
		content: "";
		width: 7px;
		height: 7px;
		border-radius: 50%;
		background: var(--mint);
		box-shadow: 0 0 0 4px rgba(95, 212, 196, 0.18);
	}

	.hero-title {
		font-family: var(--font-display);
		font-weight: 600;
		font-size: clamp(2.5rem, 3.6vw, 3.6rem);
		line-height: 1.08;
		letter-spacing: -0.01em;
		color: var(--mist);
		margin: 0 0 1.5rem;
	}

	.hero-title em {
		font-style: italic;
		font-weight: 500;
		background: linear-gradient(100deg, var(--mint), var(--mist) 70%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}

	.hero-sub {
		font-size: 1.08rem;
		color: var(--fog);
		max-width: 42ch;
		margin: 0 0 2.25rem;
	}

	.hero-actions {
		display: flex;
		align-items: center;
		gap: 1.5rem;
		flex-wrap: wrap;
	}

	.btn-primary {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		font-family: var(--font-body);
		font-weight: 700;
		font-size: 0.96rem;
		text-decoration: none;
		color: var(--ink);
		background: linear-gradient(100deg, var(--mint), #8fe6da);
		padding: 1rem 1.9rem;
		border-radius: 999px;
		box-shadow: 0 12px 30px rgba(95, 212, 196, 0.28);
		transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
	}

	.btn-primary:hover {
		transform: translateY(-3px);
		box-shadow: 0 18px 40px rgba(95, 212, 196, 0.38);
	}

	.btn-secondary {
		font-family: var(--font-body);
		font-weight: 600;
		font-size: 0.94rem;
		text-decoration: none;
		color: var(--fog);
		border-bottom: 1px solid var(--hairline);
		padding-bottom: 2px;
		transition: color 0.2s ease, border-color 0.2s ease;
	}

	.btn-secondary:hover {
		color: var(--mist);
		border-color: var(--mist);
	}

	/* ═══════════════════════════════════════════════════════════
	   THE CLAIM LEDGER — signature interactive element
	   ═══════════════════════════════════════════════════════════ */
	.ledger {
		display: flex;
		align-items: stretch;
		gap: 0;
	}

	/* ── Tab rail ────────────────────────────────────────────── */
	.ledger-rail {
		position: relative;
		display: flex;
		flex-direction: column;
		flex-shrink: 0;
		list-style: none;
		margin: 0;
		padding: 0 1.5rem 0 0;
		gap: 0.15rem;
	}

	.ledger-rail-track {
		position: absolute;
		top: 22px;
		bottom: 22px;
		left: 20px;
		width: 2px;
		background: var(--hairline);
	}

	.ledger-rail-fill {
		position: absolute;
		top: 22px;
		left: 20px;
		width: 2px;
		background: linear-gradient(180deg, var(--mint), var(--teal));
		height: 0%;
		transition: height 0.5s var(--ease);
		box-shadow: 0 0 12px rgba(95, 212, 196, 0.5);
	}

	.ledger-tab {
		position: relative;
		display: flex;
		align-items: center;
		gap: 0.9rem;
		background: none;
		border: none;
		cursor: pointer;
		padding: 0.85rem 1.25rem 0.85rem 0;
		text-align: left;
		font-family: var(--font-body);
		color: var(--fog-quiet);
		width: 100%;
	}

	.ledger-tab-dot {
		position: relative;
		z-index: 1;
		flex-shrink: 0;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--ink-raised);
		border: 1px solid var(--hairline);
		transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
	}

	.ledger-tab-dot svg {
		width: 17px;
		height: 17px;
		stroke: var(--fog-quiet);
		transition: stroke 0.3s var(--ease);
	}

	.ledger-tab-text {
		display: flex;
		flex-direction: column;
		gap: 0.1rem;
	}

	.ledger-tab-step {
		font-family: var(--font-mono);
		font-size: 0.68rem;
		letter-spacing: 0.08em;
		color: var(--fog-quiet);
	}

	.ledger-tab-label {
		font-size: 0.94rem;
		font-weight: 600;
		color: var(--fog);
		white-space: nowrap;
		transition: color 0.3s var(--ease);
	}

	.ledger-tab:hover .ledger-tab-label {
		color: var(--mist);
	}

	.ledger-tab.is-active .ledger-tab-dot {
		background: linear-gradient(135deg, var(--mint), var(--teal));
		border-color: transparent;
		transform: scale(1.08);
	}

	.ledger-tab.is-active .ledger-tab-dot svg {
		stroke: var(--ink);
	}

	.ledger-tab.is-active .ledger-tab-label {
		color: var(--mist);
	}

	.ledger-tab.is-active .ledger-tab-step {
		color: var(--mint);
	}

	/* ── Document card ───────────────────────────────────────── */
	.ledger-card {
		position: relative;
		flex: 1;
		min-width: 0;
		background: var(--paper);
		color: #14202A;
		border-radius: 20px;
		padding: 1.9rem 2.1rem 2.2rem;
		box-shadow: 0 30px 70px rgba(2, 8, 12, 0.45);
		transform: rotate(0.6deg);
		min-height: 380px;
		display: flex;
		flex-direction: column;
	}

	.ledger-card::before {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: 20px;
		background: repeating-linear-gradient(0deg, rgba(11,79,108,0.035) 0 1px, transparent 1px 28px);
		pointer-events: none;
	}

	.ledger-card-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 0.5rem;
		padding-bottom: 1rem;
		margin-bottom: 1rem;
		border-bottom: 1px dashed rgba(11, 79, 108, 0.22);
	}

	.ledger-status {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		font-family: var(--font-mono);
		font-size: 0.72rem;
		font-weight: 600;
		letter-spacing: 0.06em;
		color: var(--teal);
	}

	.ledger-status-dot {
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: var(--mint);
		animation: ahrPulseDot 1.8s ease-in-out infinite;
	}

	@keyframes ahrPulseDot {
		0%, 100% { opacity: 1; }
		50% { opacity: 0.35; }
	}

	.ledger-ref {
		font-family: var(--font-mono);
		font-size: 0.72rem;
		color: rgba(20, 32, 42, 0.4);
	}

	.ledger-redacted {
		display: flex;
		gap: 0.9rem;
		margin-bottom: 1.4rem;
	}

	.ledger-redacted span {
		height: 8px;
		border-radius: 4px;
		background: rgba(11, 79, 108, 0.14);
	}

	.ledger-redacted span:nth-child(1) { width: 30%; }
	.ledger-redacted span:nth-child(2) { width: 20%; }
	.ledger-redacted span:nth-child(3) { width: 24%; }

	.ledger-panels {
		flex: 1;
		position: relative;
	}

	.ledger-panel {
		display: none;
		flex-direction: column;
		gap: 1.1rem;
		height: 100%;
	}

	.ledger-panel.is-active {
		display: flex;
	}

	.ledger-panel-visual {
		flex: 1;
		display: flex;
		align-items: center;
		min-height: 96px;
	}

	.ledger-panel-desc {
		font-size: 0.97rem;
		color: rgba(20, 32, 42, 0.72);
		margin: 0;
		max-width: 46ch;
	}

	.ledger-panel-link {
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		font-family: var(--font-body);
		font-weight: 700;
		font-size: 0.9rem;
		text-decoration: none;
		color: var(--deep);
		margin-top: auto;
		align-self: flex-start;
		transition: gap 0.2s var(--ease), color 0.2s var(--ease);
	}

	.ledger-panel-link:hover {
		gap: 0.65rem;
		color: var(--teal);
	}

	/* ── Per-stage micro visuals ─────────────────────────────── */

	/* Stage 1: eligibility checklist */
	.viz-checklist {
		display: flex;
		flex-direction: column;
		gap: 0.6rem;
		width: 100%;
	}

	.viz-checklist-item {
		display: flex;
		align-items: center;
		gap: 0.6rem;
		font-family: var(--font-mono);
		font-size: 0.82rem;
		color: rgba(20, 32, 42, 0.65);
		opacity: 0;
		transform: translateX(-8px);
		animation: ahrItemIn 0.4s var(--ease) forwards;
	}

	.is-active .viz-checklist-item:nth-child(1) { animation-delay: 0.05s; }
	.is-active .viz-checklist-item:nth-child(2) { animation-delay: 0.25s; }
	.is-active .viz-checklist-item:nth-child(3) { animation-delay: 0.45s; }

	@keyframes ahrItemIn {
		to { opacity: 1; transform: translateX(0); }
	}

	.viz-check-circle {
		width: 18px;
		height: 18px;
		border-radius: 50%;
		background: var(--mint);
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
	}

	.viz-check-circle svg {
		width: 10px;
		height: 10px;
		stroke: var(--ink);
	}

	/* Stage 2: authorization stamp */
	.viz-stamp-wrap {
		display: flex;
		align-items: center;
		gap: 1.2rem;
	}

	.viz-doc {
		width: 46px;
		height: 58px;
		background: white;
		border: 1.5px solid rgba(11, 79, 108, 0.25);
		border-radius: 4px;
		flex-shrink: 0;
		position: relative;
	}

	.viz-doc::before, .viz-doc::after {
		content: "";
		position: absolute;
		left: 8px;
		right: 8px;
		height: 3px;
		background: rgba(11, 79, 108, 0.15);
		border-radius: 2px;
	}

	.viz-doc::before { top: 14px; }
	.viz-doc::after { top: 24px; }

	.viz-stamp {
		font-family: var(--font-mono);
		font-weight: 700;
		font-size: 0.78rem;
		letter-spacing: 0.06em;
		color: var(--teal);
		border: 2px solid var(--teal);
		border-radius: 6px;
		padding: 0.4rem 0.8rem;
		transform: scale(1.5) rotate(-8deg);
		opacity: 0;
		animation: ahrStampIn 0.45s var(--ease) 0.2s forwards;
	}

	@keyframes ahrStampIn {
		to { transform: scale(1) rotate(-8deg); opacity: 1; }
	}

	/* Stage 3: CPT code chips */
	.viz-chips {
		display: flex;
		flex-wrap: wrap;
		gap: 0.6rem;
	}

	.viz-chip {
		font-family: var(--font-mono);
		font-size: 0.78rem;
		font-weight: 600;
		background: rgba(11, 79, 108, 0.08);
		border: 1px solid rgba(11, 79, 108, 0.18);
		color: var(--deep);
		padding: 0.45rem 0.75rem;
		border-radius: 8px;
		opacity: 0;
		transform: scale(0.85);
		animation: ahrChipIn 0.35s var(--ease) forwards;
	}

	.is-active .viz-chip:nth-child(1) { animation-delay: 0.05s; }
	.is-active .viz-chip:nth-child(2) { animation-delay: 0.2s; }
	.is-active .viz-chip:nth-child(3) { animation-delay: 0.35s; }

	@keyframes ahrChipIn {
		to { opacity: 1; transform: scale(1); }
	}

	/* Stage 4: submission path */
	.viz-send {
		position: relative;
		width: 100%;
		height: 32px;
	}

	.viz-send-track {
		position: absolute;
		top: 50%;
		left: 0;
		right: 0;
		height: 1px;
		background-image: linear-gradient(90deg, rgba(11,79,108,0.25) 50%, transparent 50%);
		background-size: 10px 1px;
	}

	.viz-send-plane {
		position: absolute;
		top: 50%;
		left: 0;
		transform: translateY(-50%);
		width: 22px;
		height: 22px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--deep);
		border-radius: 50%;
		animation: ahrPlaneFly 1.4s var(--ease) 0.15s forwards;
	}

	.viz-send-plane svg {
		width: 11px;
		height: 11px;
		stroke: white;
	}

	@keyframes ahrPlaneFly {
		to { left: calc(100% - 22px); }
	}

	/* Stage 5: denial resolved */
	.viz-flip-wrap {
		display: flex;
		align-items: center;
		gap: 1rem;
	}

	.viz-flip-badge {
		width: 46px;
		height: 46px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		font-family: var(--font-mono);
		font-weight: 700;
		background: #E4A94A;
		color: #3A2A05;
		animation: ahrFlipBadge 0.6s var(--ease) 0.35s forwards;
	}

	@keyframes ahrFlipBadge {
		0% { transform: rotateY(0deg); background: #E4A94A; color: #3A2A05; }
		50% { transform: rotateY(90deg); }
		51% { background: var(--mint); color: var(--ink); }
		100% { transform: rotateY(0deg); background: var(--mint); color: var(--ink); }
	}

	/* Stage 6: payment counter */
	.viz-counter {
		display: flex;
		align-items: baseline;
		gap: 0.5rem;
	}

	.viz-counter-amount {
		font-family: var(--font-mono);
		font-weight: 600;
		font-size: 1.6rem;
		color: var(--deep);
	}

	.viz-counter-label {
		font-size: 0.8rem;
		color: rgba(20, 32, 42, 0.5);
	}

	/* ═══════════════════════════════════════════════════════════
	   RESPONSIVE
	   ═══════════════════════════════════════════════════════════ */
	@media (max-width: 1080px) {
		.hero-inner {
			flex-wrap: wrap;
			gap: 3rem;
		}

		.hero-copy,
		.ledger {
			flex-basis: 100%;
		}

		.hero-sub {
			max-width: 60ch;
		}
	}

	@media (max-width: 720px) {
		.container {
			padding: 0 1.25rem;
		}

		.hero {
			padding: 2.5rem 0 4rem;
		}

		.ledger {
			flex-direction: column;
			gap: 1.25rem;
		}

		.ledger-rail {
			flex-direction: row;
			overflow-x: auto;
			padding: 0 0 0.5rem;
			gap: 0.5rem;
			scrollbar-width: none;
		}

		.ledger-rail::-webkit-scrollbar {
			display: none;
		}

		.ledger-rail-track,
		.ledger-rail-fill {
			display: none;
		}

		.ledger-tab {
			flex-direction: column;
			align-items: flex-start;
			gap: 0.5rem;
			flex-shrink: 0;
			padding: 0.6rem 0.9rem;
			border: 1px solid var(--hairline);
			border-radius: 12px;
		}

		.ledger-tab.is-active {
			border-color: var(--mint);
		}

		.ledger-tab-dot {
			width: 32px;
			height: 32px;
		}

		.ledger-tab-label {
			white-space: normal;
			font-size: 0.82rem;
		}

		.ledger-card {
			width: 100%;
			padding: 1.5rem;
			transform: none;
			min-height: 320px;
		}
	}

	@media (max-width: 460px) {
		.hero-actions {
			flex-direction: column;
			align-items: flex-start;
			gap: 1rem;
		}
	}

	/* ═══════════════════════════════════════════════════════════
	   SITE FOOTER
	   ═══════════════════════════════════════════════════════════ */
	.site-footer {
		position: relative;
		overflow: hidden;
		color: var(--mist);
		background:
			radial-gradient(circle at 18% 0%, rgba(95, 212, 196, 0.11), transparent 30%),
			radial-gradient(circle at 92% 92%, rgba(14, 108, 124, 0.22), transparent 35%),
			#050c12;
		border-top: 1px solid rgba(234, 242, 241, 0.1);
	}

	.site-footer::before {
		content: "";
		position: absolute;
		inset: 0;
		pointer-events: none;
		background-image:
			linear-gradient(rgba(234, 242, 241, 0.035) 1px, transparent 1px),
			linear-gradient(90deg, rgba(234, 242, 241, 0.035) 1px, transparent 1px);
		background-size: 64px 64px;
		-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 60%);
		mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 60%);
	}

	.footer-top {
		position: relative;
		z-index: 1;
		display: grid;
		grid-template-columns: minmax(280px, 1.25fr) minmax(0, 2fr);
		gap: clamp(3rem, 7vw, 7rem);
		padding: clamp(4.5rem, 8vw, 7.5rem) 0 3.5rem;
	}

	.footer-brand-block {
		max-width: 470px;
	}

	.footer-brand {
		display: inline-flex;
		align-items: center;
		gap: 0.9rem;
		text-decoration: none;
	}

	.footer-brand img {
		width: 54px;
		height: 54px;
		object-fit: contain;
		filter: drop-shadow(0 12px 26px rgba(95, 212, 196, 0.22));
	}

	.footer-brand-copy {
		display: flex;
		flex-direction: column;
	}

	.footer-brand-name {
		font-size: 1.02rem;
		font-weight: 800;
		letter-spacing: 0.09em;
	}

	.footer-brand-tagline {
		margin-top: 0.4rem;
		font-family: var(--font-mono);
		font-size: 0.58rem;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		color: var(--mint);
	}

	.footer-summary {
		margin: 1.75rem 0 0;
		color: var(--fog);
		font-size: 0.92rem;
		line-height: 1.8;
	}

	.footer-badges {
		display: flex;
		flex-wrap: wrap;
		gap: 0.6rem;
		margin-top: 1.6rem;
	}

	.footer-badge {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		padding: 0.58rem 0.78rem;
		border: 1px solid var(--hairline);
		border-radius: 999px;
		background: rgba(234, 242, 241, 0.035);
		font-family: var(--font-mono);
		font-size: 0.64rem;
		color: var(--fog);
	}

	.footer-badge::before {
		content: "";
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: var(--mint);
		box-shadow: 0 0 0 4px rgba(95, 212, 196, 0.12);
	}

	.footer-contact-card {
		position: relative;
		margin-top: 2rem;
		padding: 1.25rem;
		border: 1px solid rgba(95, 212, 196, 0.16);
		border-radius: 20px;
		background: linear-gradient(145deg, rgba(95, 212, 196, 0.075), rgba(234, 242, 241, 0.025));
	}

	.footer-contact-card strong {
		display: block;
		font-family: var(--font-display);
		font-size: 1.12rem;
		font-weight: 600;
	}

	.footer-contact-list {
		display: grid;
		gap: 0.78rem;
		margin-top: 1rem;
	}

	.footer-contact-item {
		display: grid;
		grid-template-columns: 30px 1fr;
		gap: 0.7rem;
		align-items: start;
		color: var(--fog);
		text-decoration: none;
		font-size: 0.78rem;
		line-height: 1.55;
	}

	.footer-contact-icon {
		width: 30px;
		height: 30px;
		display: grid;
		place-items: center;
		border-radius: 9px;
		background: rgba(95, 212, 196, 0.1);
		color: var(--mint);
		font-family: var(--font-mono);
		font-size: 0.68rem;
	}

	a.footer-contact-item:hover {
		color: var(--mist);
	}

	.footer-nav-grid {
		display: grid;
		grid-template-columns: 0.85fr 1.4fr 1fr;
		gap: clamp(2rem, 4vw, 4.5rem);
	}

	.footer-column h2 {
		margin: 0 0 1.2rem;
		font-family: var(--font-mono);
		font-size: 0.7rem;
		font-weight: 600;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--mint);
	}

	.footer-links {
		list-style: none;
		padding: 0;
		margin: 0;
		display: grid;
		gap: 0.72rem;
	}

	.footer-links a {
		display: inline-flex;
		align-items: center;
		gap: 0.42rem;
		width: fit-content;
		color: var(--fog);
		text-decoration: none;
		font-size: 0.78rem;
		line-height: 1.45;
		transition: color 0.2s ease, transform 0.2s var(--ease);
	}

	.footer-links a::before {
		content: "";
		width: 0;
		height: 1px;
		background: var(--mint);
		transition: width 0.2s var(--ease);
	}

	.footer-links a:hover {
		color: var(--mist);
		transform: translateX(4px);
	}

	.footer-links a:hover::before {
		width: 12px;
	}

	.footer-audit {
		position: relative;
		z-index: 1;
		margin-bottom: 3.5rem;
		padding: 1.25rem 1.4rem;
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		gap: 2rem;
		border: 1px solid rgba(95, 212, 196, 0.2);
		border-radius: 22px;
		background: linear-gradient(100deg, rgba(95, 212, 196, 0.1), rgba(14, 108, 124, 0.08));
	}

	.footer-audit strong {
		display: block;
		font-family: var(--font-display);
		font-size: 1.25rem;
		font-weight: 600;
	}

	.footer-audit p {
		margin: 0.35rem 0 0;
		color: var(--fog-quiet);
		font-size: 0.76rem;
	}

	.footer-audit a {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		padding: 0.78rem 1rem;
		border-radius: 999px;
		background: var(--mint);
		color: var(--ink);
		font-size: 0.74rem;
		font-weight: 800;
		text-decoration: none;
		white-space: nowrap;
	}

	.footer-bottom {
		position: relative;
		z-index: 1;
		border-top: 1px solid var(--hairline);
	}

	.footer-bottom-inner {
		min-height: 76px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
		color: rgba(234, 242, 241, 0.4);
		font-family: var(--font-mono);
		font-size: 0.62rem;
		line-height: 1.5;
	}

	.footer-legal {
		display: flex;
		flex-wrap: wrap;
		gap: 1rem;
	}

	.footer-legal a {
		color: inherit;
		text-decoration: none;
	}

	.footer-legal a:hover {
		color: var(--mist);
	}

	.back-to-top {
		width: 38px;
		height: 38px;
		display: grid;
		place-items: center;
		flex: 0 0 auto;
		border: 1px solid var(--hairline);
		border-radius: 50%;
		background: rgba(234, 242, 241, 0.035);
		color: var(--mist);
		cursor: pointer;
		transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease;
	}

	.back-to-top:hover {
		transform: translateY(-3px);
		background: var(--mint);
		color: var(--ink);
	}

	@media (max-width: 980px) {
		.footer-top {
			grid-template-columns: 1fr;
		}

		.footer-brand-block {
			max-width: 680px;
		}

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

	@media (max-width: 720px) {
		.footer-nav-grid {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}

		.footer-column:last-child {
			grid-column: 1 / -1;
		}

		.footer-audit {
			grid-template-columns: 1fr;
			align-items: start;
		}

		.footer-audit a {
			width: fit-content;
		}

		.footer-bottom-inner {
			padding: 1.35rem 0;
			align-items: flex-start;
		}
	}

	@media (max-width: 520px) {
		.footer-nav-grid {
			grid-template-columns: 1fr;
		}

		.footer-column:last-child {
			grid-column: auto;
		}

		.footer-bottom-inner {
			flex-direction: column;
		}

		.back-to-top {
			position: absolute;
			right: 0;
			top: 1.15rem;
		}
	}


/* ==========================================================
   WORDPRESS CHILD THEME INTEGRATION & HEADER UPGRADE
   ========================================================== */
html.menu-open,
body.menu-open {
	overflow: hidden;
}

body.admin-bar .site-header {
	top: 32px;
}

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

.site-header .header-inner {
	min-height: 84px;
}

/* Desktop menu is generated by wp_nav_menu(). */
.apex-desktop-menu,
.apex-desktop-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.apex-desktop-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.12rem;
}

.apex-desktop-menu > li {
	position: relative;
}

.apex-desktop-menu > li > a,
.apex-desktop-menu > li > .apex-submenu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	border: 0;
	background: transparent;
	color: rgba(234, 242, 241, 0.76);
	text-decoration: none;
	font: 600 0.78rem/1 var(--font-body);
	padding: 0.82rem 0.56rem;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	transition: color .2s ease, background .2s ease;
}

.apex-desktop-menu > li > a:hover,
.apex-desktop-menu > li > a:focus-visible,
.apex-desktop-menu > li > .apex-submenu-toggle:hover,
.apex-desktop-menu > li > .apex-submenu-toggle:focus-visible,
.apex-desktop-menu > li.current-menu-item > a,
.apex-desktop-menu > li.current-menu-ancestor > a {
	color: var(--mist);
	background: rgba(234, 242, 241, 0.07);
}

.apex-submenu-toggle svg {
	width: 13px;
	height: 13px;
	transition: transform .25s var(--ease);
}

.apex-desktop-menu > li.is-open > .apex-submenu-toggle svg {
	transform: rotate(180deg);
}

/* Any top-level item carrying the CSS class "menu-item-mega" becomes a mega menu.
   The Services item is also detected automatically in PHP. */
.apex-desktop-menu > li > .sub-menu {
	position: absolute;
	left: 50%;
	top: calc(100% + 17px);
	width: min(1120px, calc(100vw - 3rem));
	transform: translate(-50%, 14px);
	padding: 4.4rem 1.25rem 1.25rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .4rem;
	border: 1px solid rgba(234, 242, 241, 0.12);
	border-radius: 24px;
	background: linear-gradient(145deg, rgba(12, 27, 38, .99), rgba(7, 16, 25, .99));
	box-shadow: 0 30px 70px rgba(0, 0, 0, .42);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .22s ease, transform .28s var(--ease), visibility .22s ease;
}

.apex-desktop-menu > li > .sub-menu::before {
	content: "One team. The entire revenue cycle.";
	position: absolute;
	left: 1.9rem;
	right: 1.9rem;
	top: 1.2rem;
	padding-bottom: .95rem;
	border-bottom: 1px solid var(--hairline);
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--mist);
}

.apex-desktop-menu > li:not(.menu-item-mega):not(.apex-services-menu) > .sub-menu {
	width: 270px;
	grid-template-columns: 1fr;
	padding-top: 1.1rem;
}

.apex-desktop-menu > li:not(.menu-item-mega):not(.apex-services-menu) > .sub-menu::before {
	display: none;
}

.apex-desktop-menu > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.apex-desktop-menu .sub-menu li {
	min-width: 0;
}

.apex-desktop-menu .sub-menu a {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	min-height: 62px;
	padding: .82rem;
	border-radius: 15px;
	color: var(--mist);
	text-decoration: none;
	font-size: .8rem;
	font-weight: 700;
	line-height: 1.35;
	transition: background .2s ease, transform .2s var(--ease);
}

.apex-desktop-menu .sub-menu a::before {
	content: "↗";
	flex: 0 0 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	background: rgba(95, 212, 196, .1);
	border: 1px solid rgba(95, 212, 196, .18);
	color: var(--mint);
	font-family: var(--font-mono);
	font-size: .72rem;
}

.apex-desktop-menu .sub-menu a:hover,
.apex-desktop-menu .sub-menu a:focus-visible {
	background: rgba(95, 212, 196, .08);
	transform: translateY(-2px);
}

/* Full-screen mobile navigation */
.apex-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: grid;
	grid-template-rows: auto 1fr auto;
	background:
		radial-gradient(circle at 82% 6%, rgba(95, 212, 196, .16), transparent 30%),
		linear-gradient(145deg, #071019, #0b2834 70%, #0b4f6c);
	color: var(--mist);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-18px);
	transition: opacity .28s ease, visibility .28s ease, transform .36s var(--ease);
}

.apex-mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.apex-mobile-menu::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(234,242,241,.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(234,242,241,.045) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 78%);
}

.mobile-menu-head,
.mobile-menu-content,
.mobile-menu-contact {
	position: relative;
	z-index: 1;
}

.mobile-menu-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 84px;
	padding: 0 clamp(1.25rem, 5vw, 3rem);
	border-bottom: 1px solid var(--hairline);
}

.mobile-menu-close {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border: 1px solid var(--hairline);
	border-radius: 50%;
	background: rgba(234, 242, 241, .05);
	color: var(--mist);
	font-size: 1.35rem;
	cursor: pointer;
}

.mobile-menu-content {
	overflow-y: auto;
	padding: clamp(1.6rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3rem);
}

.apex-mobile-nav,
.apex-mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.apex-mobile-nav > li {
	border-bottom: 1px solid var(--hairline);
}

.apex-mobile-nav > li > a,
.apex-mobile-nav > li > .apex-submenu-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.05rem 0;
	border: 0;
	background: none;
	color: var(--mist);
	text-decoration: none;
	font: 600 clamp(1.25rem, 4vw, 2rem)/1.15 var(--font-display);
	text-align: left;
	cursor: pointer;
}

.apex-mobile-nav .apex-submenu-toggle svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.apex-mobile-nav > li.is-open > .apex-submenu-toggle svg {
	transform: rotate(180deg);
}

.apex-mobile-nav .sub-menu {
	display: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .55rem;
	padding: .25rem 0 1.35rem;
}

.apex-mobile-nav li.is-open > .sub-menu {
	display: grid;
}

.apex-mobile-nav .sub-menu a {
	display: block;
	min-height: 100%;
	padding: .82rem .9rem;
	border: 1px solid var(--hairline);
	border-radius: 13px;
	background: rgba(234,242,241,.035);
	color: var(--fog);
	text-decoration: none;
	font-size: .78rem;
	font-weight: 600;
	line-height: 1.45;
}

.mobile-menu-contact {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--hairline);
	border-top: 1px solid var(--hairline);
}

.mobile-contact-tile {
	padding: 1rem clamp(1rem, 3vw, 1.5rem);
	background: rgba(7,16,25,.72);
	color: var(--fog);
	text-decoration: none;
	font-size: .72rem;
	line-height: 1.55;
}

.mobile-contact-tile strong {
	display: block;
	margin-bottom: .25rem;
	font-family: var(--font-mono);
	font-size: .6rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--mint);
}

/* WordPress content wrappers */
.apex-page-content {
	background: var(--paper);
	color: #13212b;
	min-height: 40vh;
	padding: clamp(4rem, 7vw, 7rem) 0;
}

.apex-page-content .entry-title {
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 5vw, 5rem);
	line-height: 1;
	color: var(--ink);
}

.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;
}

@media (max-width: 1180px) {
	.primary-nav {
		display: none !important;
	}
	.menu-toggle {
		display: block;
	}
}

@media (min-width: 1181px) {
	.apex-mobile-menu {
		display: none;
	}
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 700px) {
	.apex-mobile-nav .sub-menu {
		grid-template-columns: 1fr;
	}
	.mobile-menu-contact {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================
   APEX BRAND COLOR ENFORCEMENT
   Prevent parent-theme and page-builder accent colors from appearing
   anywhere in this independent website.
   ========================================================== */
:root {
	--apex-ink: #071019;
	--apex-deep: #0B4F6C;
	--apex-teal: #0E6C7C;
	--apex-mint: #5FD4C4;
	--apex-mint-light: #8FE6DA;
	--apex-paper: #F5F7F6;
	--apex-mist: #EAF2F1;

	/* Elementor-compatible global aliases. */
	--e-global-color-primary: #0B4F6C;
	--e-global-color-secondary: #071019;
	--e-global-color-text: #13212B;
	--e-global-color-accent: #0E6C7C;
	--e-global-color-apex-mint: #5FD4C4;
}

/* Text links in regular WordPress and Elementor content. */
.entry-content a:not(.button):not(.btn-primary):not(.btn-secondary),
.apex-page-content a:not(.button):not(.btn-primary):not(.btn-secondary),
.elementor-widget-text-editor a,
.elementor-widget-theme-post-content a {
	color: var(--apex-teal);
	text-decoration-color: rgba(14, 108, 124, 0.35);
}

.entry-content a:not(.button):not(.btn-primary):not(.btn-secondary):hover,
.entry-content a:not(.button):not(.btn-primary):not(.btn-secondary):focus-visible,
.apex-page-content a:not(.button):not(.btn-primary):not(.btn-secondary):hover,
.apex-page-content a:not(.button):not(.btn-primary):not(.btn-secondary):focus-visible,
.elementor-widget-text-editor a:hover,
.elementor-widget-text-editor a:focus-visible,
.elementor-widget-theme-post-content a:hover,
.elementor-widget-theme-post-content a:focus-visible {
	color: var(--apex-deep);
	text-decoration-color: currentColor;
}

/* WordPress and Elementor buttons. */
button:not(.ledger-tab):not(.menu-toggle):not(.mobile-menu-close):not(.back-to-top):not(.apex-submenu-toggle),
input[type="button"],
input[type="submit"],
input[type="reset"],
.wp-block-button__link,
.elementor-button,
.elementor-kit-1 .elementor-button,
.elementor-kit-2 .elementor-button,
.elementor-kit-3 .elementor-button {
	background-color: var(--apex-teal);
	border-color: var(--apex-teal);
	color: #fff;
}

button:not(.ledger-tab):not(.menu-toggle):not(.mobile-menu-close):not(.back-to-top):not(.apex-submenu-toggle):hover,
button:not(.ledger-tab):not(.menu-toggle):not(.mobile-menu-close):not(.back-to-top):not(.apex-submenu-toggle):focus-visible,
input[type="button"]:hover,
input[type="button"]:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
input[type="reset"]:hover,
input[type="reset"]:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.elementor-button:hover,
.elementor-button:focus-visible,
.elementor-kit-1 .elementor-button:hover,
.elementor-kit-1 .elementor-button:focus-visible,
.elementor-kit-2 .elementor-button:hover,
.elementor-kit-2 .elementor-button:focus-visible,
.elementor-kit-3 .elementor-button:hover,
.elementor-kit-3 .elementor-button:focus-visible {
	background-color: var(--apex-deep);
	border-color: var(--apex-deep);
	color: #fff;
}

/* Form focus states, checkboxes, radios and range controls. */
input:not([type="button"]):not([type="submit"]):not([type="reset"]):focus,
textarea:focus,
select:focus {
	border-color: var(--apex-teal);
	box-shadow: 0 0 0 3px rgba(14, 108, 124, 0.14);
	outline: none;
}

input[type="checkbox"],
input[type="radio"],
input[type="range"] {
	accent-color: var(--apex-teal);
}

/* Selection, pagination, block quotes and common parent-theme accents. */
::selection {
	background: var(--apex-mint);
	color: var(--apex-ink);
}

.wp-block-quote,
blockquote {
	border-left-color: var(--apex-teal);
}

.page-numbers.current,
.page-numbers:hover,
.nav-links a:hover,
.post-navigation a:hover {
	background-color: var(--apex-teal);
	border-color: var(--apex-teal);
	color: #fff;
}

/* Common icon and accent selectors used by parent themes and plugins. */
.elementor-icon,
.elementor-icon-list-icon,
.elementor-widget-icon-list .elementor-icon-list-icon i,
.elementor-widget-icon-list .elementor-icon-list-icon svg,
.elementor-star-rating i::before,
.apex-brand-accent {
	color: var(--apex-teal);
	fill: var(--apex-teal);
}

/* Explicitly neutralize legacy pink/magenta utility classes where inherited. */
.has-accent-color,
.has-theme-accent-color,
.text-accent {
	color: var(--apex-teal) !important;
}

.has-accent-background-color,
.has-theme-accent-background-color,
.bg-accent {
	background-color: var(--apex-teal) !important;
}
