/*
Theme Name: Maloremi
Theme URI: https://maloremi.com/
Author: Maloremi
Author URI: https://maloremi.com/
Description: A high-contrast, lightweight theme for Maloremi infrastructure and technology services.
Version: 4.9.115
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: maloremi
*/

:root {
	--header-dark: #0e063a;
	--nav-dark: #0f172a;
	--bg-light: #ffffff;
	--bg-alt: #f8fafc;
	--text-main: #1e293b;
	--text-muted: #64748b;
	--accent-primary: #59b8e8;
	--accent-primary-deep: #0284c7;
	--accent-gold: #f6d84a;
	--panel-dark: #172033;
	--panel-border: #2b3850;
	--color-bg: var(--bg-light);
	--color-text: var(--text-main);
	--color-muted: var(--text-muted);
	--color-line: #dbe2ea;
	--color-primary: var(--accent-primary-deep);
	--color-primary-dark: #036996;
	--shadow-soft: none;
	--shadow-card: none;
	--container: 1100px;
	--radius: 3px;
	--font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--color-primary);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--color-primary-dark);
}

img {
	max-width: 100%;
	height: auto;
}

.container {
	width: min(100% - 2rem, var(--container));
	margin-inline: auto;
}

.skip-link {
	position: fixed;
	z-index: 1000;
	top: 0.5rem;
	left: 0.5rem;
	padding: 0.75rem 1rem;
	transform: translateY(-150%);
	border-radius: 999px;
	background: var(--color-primary);
	color: #fff;
	font-weight: 800;
}

.skip-link:focus {
	transform: translateY(0);
	color: #fff;
}

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: var(--header-dark);
}

.navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 88px;
	gap: 1rem;
}

.site-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	padding-block: 12px;
}

.site-logo-image {
	display: block;
	width: auto;
	max-width: min(42vw, 190px);
	height: auto;
	max-height: 52px;
	object-fit: contain;
}

.footer-logo {
	display: inline-flex;
	align-items: center;
}

.footer-logo-image {
	display: block;
	width: auto;
	max-width: min(80vw, 300px);
	height: auto;
	max-height: 68px;
	object-fit: contain;
}

.footer-brand-block p {
	margin: 0.55rem 0 0;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	padding: 0.55rem 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 3px;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
}


.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	flex-shrink: 0;
	margin-left: 0.25rem;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.lang-switch-link {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	padding: 0.2rem 0.15rem;
}

.lang-switch-link:hover,
.lang-switch-link:focus {
	color: #fff;
}

.lang-switch-link.is-active {
	color: var(--accent-gold);
}

.lang-switch-sep {
	color: rgba(255, 255, 255, 0.35);
	user-select: none;
}

.plan-card h3 {
	overflow-wrap: anywhere;
	hyphens: auto;
}

.plan-list li {
	overflow-wrap: anywhere;
}

.site-social {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.site-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: var(--accent-gold);
	border: 0;
	background: transparent;
}

.site-social a:hover,
.site-social a:focus {
	color: #fff;
}

.site-social svg {
	display: block;
	width: 20px;
	height: 20px;
}

.header-tools {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 0.1rem;
	margin-left: 0.35rem;
}

.header-support {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	color: #fff;
}

.header-support svg {
	display: block;
	width: 20px;
	height: 20px;
}

.header-support:hover,
.header-support:focus,
.header-support.is-current {
	color: var(--accent-gold);
}

.header-support:focus-visible {
	outline: 2px solid var(--accent-gold);
	outline-offset: 2px;
}

.site-social-header {
	margin-left: 0;
	flex-shrink: 0;
}

.site-social-header a {
	border-radius: 3px;
	color: #fff;
}

.site-social-header a:hover,
.site-social-header a:focus {
	color: var(--accent-gold);
}

.site-social-header a:focus-visible {
	outline: 2px solid var(--accent-gold);
	outline-offset: 2px;
}

.site-social-footer a {
	width: 32px;
	height: 32px;
	color: var(--accent-gold);
}

.site-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.site-nav > ul {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	margin: 0;
	padding: 0;
	gap: 0.15rem;
	list-style: none;
	white-space: nowrap;
}

.site-nav li {
	position: relative;
}

.site-nav a {
	display: block;
	padding: 0.45rem 0.4rem;
	color: #fff;
	font-size: 0.86rem;
	font-weight: 600;
	white-space: nowrap;
}

.site-nav .sub-menu {
	display: none;
	position: absolute;
	z-index: 30;
	top: 100%;
	left: 0;
	min-width: 13.5rem;
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
	background: var(--header-dark);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 3px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu,
.site-nav .menu-item-has-children.is-open > .sub-menu {
	display: block;
}

.site-nav .sub-menu a {
	padding: 0.55rem 0.9rem;
}

.site-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	margin-left: 0.35rem;
	border: 4px solid transparent;
	border-top-color: currentColor;
	transform: translateY(1px);
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
	color: var(--accent-gold);
}

.site-nav .current-menu-item.nav-cta > a,
.site-nav .current_page_item.nav-cta > a {
	color: var(--header-dark);
}

.site-nav a.nav-cta,
.site-nav .nav-cta > a {
	padding: 0.45rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 3px;
	background: var(--accent-gold);
	color: var(--header-dark);
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus,
.site-nav .nav-cta > a:hover,
.site-nav .nav-cta > a:focus {
	border-color: #fff;
	background: #fff;
	color: var(--header-dark);
}

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(5rem, 10vw, 8rem);
	background: var(--header-dark);
	color: #fff;
}

.hero-grid {
	display: grid;
	align-items: center;
	gap: 2rem;
}

.launch-hero-card {
	width: 100%;
	max-width: 22rem;
	padding: 0 0 0 1.25rem;
	border: 0;
	border-left: 1px solid rgba(246, 216, 74, 0.7);
	border-radius: 0;
	background: transparent;
	color: #fff;
	box-shadow: none;
}

.launch-stamp {
	display: block;
	margin: 0 0 0.75rem;
	padding: 0;
	background: transparent;
	color: var(--accent-gold);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.launch-hero-price {
	margin: 0 0 0.45rem;
	color: #fff;
	font-size: clamp(2.6rem, 5vw, 3.4rem);
	font-weight: 750;
	letter-spacing: -0.04em;
	line-height: 1;
}

.launch-hero-card p {
	margin: 0.2rem 0;
	color: #c5ccd6;
	font-weight: 500;
}

.launch-hero-card .button {
	margin-top: 1.1rem;
}

h1,
h2,
h3,
.hero h1,
.page-hero h1,
.section-heading h2,
.contact-copy h1,
.home-intro h2,
.home-cta-inner h2 {
	font-family: var(--font-sans);
	font-weight: 750;
}

.eyebrow {
	margin: 0 0 1rem;
	color: var(--accent-primary-deep);
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero .eyebrow {
	color: var(--accent-gold);
}

.hero h1 {
	max-width: 18ch;
	margin: 0;
	color: #fff;
	font-size: clamp(2.4rem, 6vw, 4.4rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.hero-text {
	max-width: 720px;
	margin: 1.75rem 0 2rem;
	color: #c5ccd6;
	font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.hero .button {
	border-color: var(--accent-gold);
	background: var(--accent-gold);
	color: var(--header-dark);
}

.hero .button:hover,
.hero .button:focus {
	border-color: #fff;
	background: #fff;
	color: var(--header-dark);
}

.hero .text-link {
	color: #fff;
}

.hero .text-link:hover,
.hero .text-link:focus {
	color: var(--accent-gold);
}

.hero-proof {
	display: flex;
	flex-wrap: wrap;
	margin-top: 2rem;
	color: var(--color-muted);
	font-size: 0.78rem;
	font-weight: 700;
	gap: 0.65rem 1.5rem;
}

.hero-proof span {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.hero-proof span::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent-primary);
	content: "";
}

.hero-proof span:nth-child(even)::before {
	background: var(--accent-gold);
}

.hero-panel {
	padding: 2rem;
	border: 1px solid var(--panel-border);
	border-radius: var(--radius);
	background: var(--nav-dark);
	box-shadow: 18px 18px 0 var(--accent-primary);
	color: #fff;
}

.hero-panel > p {
	margin: 0 0 1.5rem;
	color: #94a3b8;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hero-panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero-panel li {
	display: flex;
	align-items: center;
	padding-block: 0.85rem;
	border-top: 1px solid var(--panel-border);
	font-size: 1.05rem;
	font-weight: 750;
	gap: 1rem;
}

.hero-panel li span {
	color: var(--accent-gold);
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 0.7rem;
}

.panel-status {
	display: flex;
	align-items: center;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--panel-border);
	color: #cbd5e1;
	font-size: 0.82rem;
	gap: 0.65rem;
}

.panel-status span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent-primary);
	box-shadow: 0 0 0 5px rgba(89, 184, 232, 0.12);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.7rem 1.25rem;
	border: 1px solid var(--header-dark);
	border-radius: 3px;
	background: var(--header-dark);
	box-shadow: none;
	color: #fff;
	font-family: var(--font-sans);
	font-weight: 700;
	cursor: pointer;
	transition: background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus {
	transform: none;
	border-color: var(--header-dark);
	background: var(--accent-gold);
	box-shadow: none;
	color: var(--header-dark);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 1.75rem;
	margin: 1.75rem 0 0;
}

.button-ghost {
	background: transparent;
	box-shadow: none;
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

.button-ghost:hover,
.button-ghost:focus {
	border-color: var(--accent-gold);
	background: var(--accent-gold);
	color: var(--nav-dark);
}

.page-hero {
	padding-block: clamp(3.5rem, 8vw, 5.5rem);
	background: var(--header-dark);
	color: #fff;
}

.page-hero h1 {
	margin: 0 0 1rem;
	max-width: 16ch;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1.1;
	font-family: var(--font-sans);
	letter-spacing: -0.03em;
}

.page-hero p:not(.eyebrow) {
	margin: 0;
	max-width: 62ch;
	color: #c5ccd6;
	font-size: 1.1rem;
}

.home-intro {
	display: grid;
	gap: 2rem;
}

.home-intro h2 {
	margin: 0;
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.home-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: home-step;
}

.home-steps li {
	position: relative;
	padding: 1.1rem 0 1.1rem 3.2rem;
	border-top: 1px solid var(--color-line);
	color: var(--text-muted);
	font-size: 1.05rem;
}

.home-steps li::before {
	counter-increment: home-step;
	content: counter(home-step);
	position: absolute;
	left: 0;
	top: 1.1rem;
	color: var(--header-dark);
	font-family: var(--font-sans);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0;
}

.section-heading-row {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem 2rem;
	max-width: none;
}

.section-heading-row h2 {
	margin-bottom: 0;
}

.text-link-light {
	color: var(--accent-gold);
}

.text-link-light:hover,
.text-link-light:focus {
	color: #fff;
}

.launch-special {
	background: #fff;
	color: var(--text-main);
	border-top: 1px solid var(--color-line);
	border-bottom: 1px solid var(--color-line);
}

.launch-offer {
	display: grid;
	gap: 2rem;
	align-items: center;
}

.launch-special h2 {
	max-width: 16ch;
	margin: 0 0 0.75rem;
	color: var(--text-main);
}

.launch-special .eyebrow {
	color: var(--accent-gold);
}

.launch-offer-copy > p {
	max-width: 40rem;
	color: var(--text-muted);
}

.launch-points {
	margin: 1.25rem 0;
	padding: 0;
	list-style: none;
	color: var(--text-main);
}

.launch-points li {
	margin: 0.4rem 0;
	padding-left: 0;
}

.launch-note {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.9rem;
}

.launch-offer-panel {
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-line);
	background: transparent;
	color: var(--header-dark);
	box-shadow: none;
}

.launch-spots {
	margin: 0;
	font-size: clamp(2.8rem, 5vw, 3.6rem);
	font-weight: 750;
	letter-spacing: -0.05em;
	line-height: 0.85;
}

.launch-spots-label {
	margin: 0.25rem 0 0.8rem;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.launch-offer-price {
	margin: 0;
	font-size: 2rem;
	font-weight: 750;
	line-height: 1;
}

.launch-offer-panel p {
	margin: 0.35rem 0;
}

.launch-offer-panel .button {
	margin-top: 1rem;
}

.domain-finder {
	background: #fff;
	border-bottom: 1px solid var(--color-line);
}

.domain-finder-inner {
	display: grid;
	gap: 1.25rem;
	padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.domain-finder h2 {
	margin: 0 0 0.4rem;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.domain-finder p {
	margin: 0;
	color: var(--text-muted);
}

.domain-finder-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.domain-finder-form input {
	flex: 1 1 16rem;
	min-width: 0;
	min-height: 52px;
	padding: 0.75rem 0.9rem;
	border: 1px solid #b7c0cc;
	border-radius: 3px;
	background: #fff;
	color: var(--text-main);
	font: inherit;
	font-size: 1.05rem;
}

.work-showcase .project-card {
	margin-bottom: 1.25rem;
	padding: 1.5rem 0;
	border: 0;
	border-top: 1px solid var(--color-line);
	background: transparent;
}

.work-showcase-clients {
	background: #fff;
}

.work-showcase .project-card:has(.project-thumb) {
	grid-template-columns: 15.5rem minmax(0, 1fr) minmax(16rem, 24rem);
}

.work-showcase .project-thumb {
	border: 1px solid var(--color-line);
	box-shadow: none;
}

.market-hero h1 {
	max-width: 12ch;
	font-size: clamp(2.8rem, 7vw, 5rem);
}

.market-hero .button {
	margin-top: 0.5rem;
	border-color: var(--accent-gold);
	background: var(--accent-gold);
	color: var(--header-dark);
}

.market-hero-grid,
.market-compliance-grid {
	display: grid;
	gap: 2rem;
	align-items: start;
}

.market-signals {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.market-signals li {
	padding: 0.15rem 0;
	border: 0;
	background: transparent;
	color: #c5ccd6;
	font-weight: 600;
}

.market-services {
	background: var(--bg-alt);
}

.market-grid,
.market-steps {
	display: grid;
	gap: 1rem;
}

.market-card,
.market-card-accent {
	padding: 0 0 0.25rem;
	border: 0;
	border-top: 1px solid var(--color-line);
	background: transparent;
	color: var(--text-main);
	box-shadow: none;
}

.market-index {
	display: block;
	margin: 1.15rem 0 0.55rem;
	color: var(--accent-primary-deep);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.market-card h2 {
	margin: 0 0 0.55rem;
	font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.market-card p {
	margin: 0;
	color: var(--text-muted);
}

.market-card-accent p {
	color: var(--text-muted);
}

.market-how {
	background: var(--bg-alt);
	color: var(--text-main);
}

.market-how .eyebrow {
	color: var(--accent-gold);
}

.market-steps {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: market-step;
}

.market-steps li {
	padding: 1.1rem 0 1.1rem 0;
	border-top: 1px solid var(--color-line);
	background: transparent;
	color: var(--text-muted);
	font-size: 1.05rem;
	font-weight: 500;
}

.market-steps li::before {
	counter-increment: market-step;
	content: counter(market-step, decimal-leading-zero);
	display: block;
	margin-bottom: 0.35rem;
	color: var(--accent-primary-deep);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.market-cta {
	padding: 0;
	background: transparent;
	color: var(--text-main);
	box-shadow: none;
}

.market-cta p {
	margin: 0 0 1rem;
	color: var(--text-main);
	font-size: 1.35rem;
	font-weight: 750;
}

.home-cta {
	background: var(--bg-alt);
}

.home-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
}

.home-cta-inner h2 {
	margin: 0 0 0.6rem;
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -0.035em;
}

.home-cta-inner p {
	margin: 0;
	max-width: 48ch;
	color: var(--color-muted);
}

.industry-list {
	max-width: 760px;
}

.industry-row {
	display: flex;
	align-items: flex-start;
	gap: 1.15rem;
	padding: 1.6rem 0;
	border-top: 1px solid var(--color-line);
}

.industry-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 3px;
	background: rgba(2, 132, 199, 0.1);
	color: var(--accent-primary-deep);
}

.industry-icon svg {
	width: 1.55rem;
	height: 1.55rem;
}

.industry-row:nth-child(even) .industry-icon {
	background: rgba(246, 216, 74, 0.22);
	color: #8a6d00;
}

.industry-row:last-child {
	border-bottom: 1px solid var(--color-line);
}

.industry-row h2 {
	margin: 0 0 0.4rem;
	font-size: 1.35rem;
	letter-spacing: -0.02em;
}

.industry-row p {
	margin: 0;
	color: var(--color-muted);
}

.section {
	padding-block: clamp(4.5rem, 9vw, 7rem);
}

.section-dark {
	background: var(--nav-dark);
	color: #fff;
}

.section-dark .eyebrow,
.page-hero .eyebrow {
	color: var(--accent-gold);
}

.section-dark .section-heading p {
	color: #aeb9ca;
}

.section-heading {
	max-width: 700px;
	margin-bottom: 3rem;
}

.section-heading h2,
.contact-copy h1,
.contact-copy h2 {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.section-heading p,
.contact-copy p {
	color: var(--color-muted);
}

.services-grid {
	display: grid;
	gap: 1.25rem;
}

.services-grid .coming-soon-card {
	grid-column: 1 / -1;
}

.service-card {
	border: 0;
	border-top: 1px solid var(--color-line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	padding: 1.4rem 0;
	transition: none;
}

.service-card:hover {
	transform: none;
	box-shadow: none;
}

.service-number {
	display: none;
}

.service-card h3 {
	margin: 0 0 0.45rem;
	font-size: 1.35rem;
}

.service-card h3 a {
	color: var(--text-main);
}

.service-card h3 a:hover,
.service-card h3 a:focus {
	color: var(--accent-primary-deep);
}

.service-card p {
	margin: 0;
	color: var(--color-muted);
}

.coming-soon-card h3 {
	font-size: 1.1rem;
}

.coming-soon-card .button {
	margin-top: 1rem;
}

.solution-section {
	background: var(--bg-light);
}

.solution-grid,
.principles-grid {
	display: grid;
	gap: 2.5rem;
}

.solution-grid h2,
.principle-card h2 {
	margin: 0;
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.solution-copy {
	color: var(--text-muted);
	font-size: 1.05rem;
}

.solution-copy p:first-child {
	margin-top: 0;
}

.solution-copy strong {
	display: block;
	margin-top: 1.5rem;
	padding-left: 1.25rem;
	border-left: 4px solid var(--accent-gold);
	color: var(--text-main);
	font-size: 1.1rem;
}

.projects {
	background: var(--bg-alt);
}

.work-list {
	display: flex;
	flex-direction: column;
}

.work-row {
	display: grid;
	grid-template-columns: 15.5rem minmax(0, 1fr);
	align-items: start;
	gap: 0.35rem 2rem;
	padding: 1rem 0;
	border-top: 1px solid var(--color-line);
}

.work-row .project-type {
	margin: 0.2rem 0 0;
}

.work-row h3 {
	margin: 0 0 0.25rem;
	font-size: 1.15rem;
	line-height: 1.3;
}

.work-row p {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.95rem;
}

.projects-grid {
	display: flex;
	flex-direction: column;
}

.project-thumb {
	display: block;
	margin: 0;
	border: 1px solid var(--color-line);
	overflow: hidden;
}

.project-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top center;
}

.project-card {
	position: relative;
	display: grid;
	grid-template-columns: 15.5rem minmax(0, 1fr);
	column-gap: 2.5rem;
	align-items: start;
	border: 0;
	border-top: 1px solid var(--color-line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	padding: 1.75rem 0;
	transition: none;
}

.project-card:has(.project-thumb) {
	grid-template-columns: 15.5rem minmax(0, 1fr) 17.5rem;
}

.project-card .project-type {
	grid-column: 1;
	margin: 0.3rem 0 0;
}

.project-copy {
	grid-column: 2;
	min-width: 0;
}

.project-card .project-thumb {
	grid-column: 3;
}

.project-copy h3 {
	margin: 0 0 0.45rem;
}

.project-copy p {
	margin: 0;
	color: var(--text-muted);
}

.project-card:hover {
	transform: none;
}

.project-card h3 {
	margin: 0 0 0.8rem;
	color: var(--text-main);
	font-size: 1.45rem;
	line-height: 1.25;
}

.project-card > p:not(.project-type) {
	margin: 0 0 1.25rem;
	color: var(--text-muted);
}

.project-link {
	display: inline-flex;
	margin-top: 0.9rem;
	color: var(--accent-primary-deep);
	font-size: 0.85rem;
	font-weight: 800;
}

.project-link:hover,
.project-link:focus {
	color: var(--nav-dark);
}

.project-type {
	margin: 0 0 0.4rem;
	color: var(--accent-primary-deep);
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.experience-section {
	background: #eef2f6;
}

.principle-card {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--bg-light);
	box-shadow: var(--shadow-card);
}

.principle-card > p:not(.eyebrow) {
	color: var(--text-muted);
}

.principle-card-dark {
	border-color: var(--panel-border);
	background: var(--nav-dark);
	color: #fff;
}

.principle-card-dark .eyebrow {
	color: var(--accent-gold);
}

.principle-card-dark h2 {
	color: #fff;
}

.principle-card-dark > p:not(.eyebrow) {
	color: #cbd5e1;
}

.principle-card-dark strong {
	display: block;
	margin-top: 1.5rem;
	color: var(--accent-gold);
}

.contact-grid {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.contact-grid {
	align-items: start;
}

.desk-layout {
	max-width: 920px;
}

.desk-layout h1 {
	margin-top: 0;
}

.desk-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 2rem;
}

.desk-table th,
.desk-table td {
	padding: 0.75rem 0.6rem;
	border-bottom: 1px solid var(--color-line);
	text-align: left;
	font-size: 0.95rem;
}

.desk-ticket h2 {
	margin-bottom: 0.4rem;
}

.desk-case {
	margin: 1.25rem 0;
	padding: 1rem 0;
	border-top: 1px solid var(--color-line);
	border-bottom: 1px solid var(--color-line);
}

.desk-log {
	margin: 0 0 1.25rem;
	padding-left: 1.1rem;
}

.desk-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: end;
	margin: 0 0 1.25rem;
}

.desk-form label {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	font-size: 0.82rem;
	font-weight: 700;
}

.desk-form input,
.desk-form select {
	min-width: 7rem;
	padding: 0.55rem 0.65rem;
	border: 1px solid #b7c0cc;
	border-radius: 3px;
	font: inherit;
}

.desk-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.desk-actions .button-ghost {
	background: transparent;
	box-shadow: none;
	border-color: var(--header-dark);
	color: var(--header-dark);
}

.desk-msg {
	margin-top: 1rem;
}

.desk-msg-error {
	color: #b42318;
}

.rate-grid {
	display: grid;
	gap: 1.5rem;
}

.rate-card {
	padding: 0 0 0.5rem;
	border-top: 1px solid var(--color-line);
}

.rate-card h2 {
	margin: 1rem 0 0.5rem;
	font-size: 1.6rem;
}

.rate-card p,
.license-note {
	margin: 0;
	color: var(--color-muted);
}

.license-note {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-line);
	font-size: 0.92rem;
}

.portal-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.portal-tabs a {
	color: var(--text-muted);
	font-weight: 750;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.portal-tabs a.is-current {
	color: var(--header-dark);
	border-bottom-color: var(--accent-gold);
}

.contact-section {
	background: var(--bg-alt);
	color: var(--text-main);
}

.contact-email {
	display: inline-block;
	margin-top: 0.75rem;
	color: var(--accent-primary-deep);
	font-size: 1.1rem;
	font-weight: 800;
}

.contact-email:hover,
.contact-email:focus {
	color: var(--header-dark);
}

.contact-form {
	position: relative;
	display: grid;
	padding: 1.5rem;
	border: 1px solid var(--color-line);
	border-left: 4px solid var(--accent-gold);
	border-radius: 3px;
	background: #fff;
	box-shadow: none;
	gap: 1rem;
}

.contact-form label {
	color: var(--text-main);
	font-size: 0.88rem;
	font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.75rem 0.85rem;
	border: 1px solid #b7c0cc;
	border-radius: 3px;
	outline: none;
	background: #f4f7fa;
	color: var(--text-main);
	font: inherit;
}

.contact-form select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	border-color: var(--header-dark);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(14, 6, 58, 0.12);
}

.route-preview {
	padding: 1rem 0;
	border: 0;
	border-top: 1px solid var(--color-line);
	border-radius: 0;
	background: transparent;
	color: var(--text-main);
}

.route-preview strong,
.route-preview span {
	display: block;
}

.route-preview span {
	margin-top: 0.4rem;
	color: var(--color-muted);
	font-size: 0.88rem;
	font-weight: 500;
}

.route-plan {
	border-left-color: var(--accent-primary);
}

.contact-form textarea {
	min-height: 130px;
	resize: vertical;
}

.contact-note {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.75rem;
}

.contact-note a {
	color: var(--accent-primary-deep);
	font-weight: 700;
}

.maloremi-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cf-turnstile {
	margin: 0.25rem 0 0.5rem;
}

.contact-form .button:disabled {
	transform: none;
	opacity: 0.65;
	cursor: wait;
}

.contact-status {
	padding: 1.5rem;
	border: 1px solid var(--color-line);
	border-left: 4px solid var(--accent-primary);
	border-radius: 3px;
	background: #fff;
	box-shadow: none;
	color: var(--text-main);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.65;
}

.contact-status[hidden] {
	display: none;
}

.contact-form[hidden] {
	display: none !important;
}

.contact-status-success {
	border-top: 4px solid var(--accent-gold);
}

.contact-status-error {
	border-left: 4px solid #ef4444;
	background: var(--bg-alt);
	box-shadow: none;
	color: var(--text-muted);
	font-size: 0.9rem;
	font-weight: 650;
}

.content-shell {
	min-height: 65vh;
	padding-block: clamp(4rem, 8vw, 7rem);
	background: var(--bg-alt);
}

.content-layout {
	max-width: 900px;
}

.entry,
.post-card {
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--bg-light);
	box-shadow: var(--shadow-card);
}

.entry {
	padding: clamp(1.5rem, 5vw, 4rem);
}

.entry-header,
.archive-header {
	margin-bottom: 2.5rem;
}

.entry-header h1,
.archive-header h1,
.error-page h1 {
	margin: 0;
	color: var(--text-main);
	font-size: clamp(2.3rem, 6vw, 4.5rem);
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.entry-meta {
	margin: 0 0 0.6rem;
	color: var(--accent-primary-deep);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-content {
	color: var(--text-main);
}

.entry-content > * {
	max-width: 760px;
}

.entry-content > *.alignwide {
	max-width: 1080px;
}

.entry-content > *.alignfull {
	max-width: none;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2em;
	line-height: 1.2;
}

.entry-content img {
	border-radius: 10px;
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 0.5rem 0 0.5rem 1.5rem;
	border-left: 4px solid var(--accent-gold);
	color: var(--text-muted);
	font-size: 1.1rem;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 0.75rem;
	border: 1px solid var(--color-line);
	text-align: left;
}

.entry-footer,
.post-navigation {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-line);
}

.post-grid {
	display: grid;
	gap: 1.25rem;
}

.post-card {
	padding: 1.75rem;
}

.post-card h2 {
	margin: 0 0 0.75rem;
	line-height: 1.25;
}

.post-card h2 a,
.project-card h3 a {
	color: var(--text-main);
}

.post-card h2 a:hover,
.post-card h2 a:focus,
.project-card h3 a:hover,
.project-card h3 a:focus {
	color: var(--accent-primary-deep);
}

.entry-summary {
	color: var(--text-muted);
}

.text-link {
	color: var(--header-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.text-link:hover,
.text-link:focus {
	color: var(--accent-primary-deep);
}

.link-quiet {
	color: var(--text-muted);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.link-quiet:hover,
.link-quiet:focus {
	color: var(--accent-primary-deep);
}

.navigation.pagination {
	margin-top: 2rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page-numbers {
	display: inline-flex;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	border: 1px solid var(--color-line);
	border-radius: 8px;
	background: var(--bg-light);
}

.page-numbers.current {
	border-color: var(--nav-dark);
	background: var(--nav-dark);
	color: #fff;
}

.error-page {
	text-align: center;
}

.error-page .search-form {
	display: flex;
	max-width: 520px;
	margin: 2rem auto;
	gap: 0.5rem;
}

.search-field {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-line);
	border-radius: 10px;
	font: inherit;
}

.search-submit {
	padding: 0.8rem 1rem;
	border: 0;
	border-radius: 10px;
	background: var(--accent-gold);
	color: var(--nav-dark);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.site-footer {
	padding-block: 3rem 1.5rem;
	background: var(--nav-dark);
	color: #fff;
}

.footer-main {
	display: flex;
	flex-direction: column;
	padding-bottom: 2rem;
	gap: 1.5rem;
}

.footer-main p {
	margin: 0.25rem 0 0;
	color: #aeb4bb;
}

.footer-brand {
	color: #fff;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

.footer-nav a {
	color: #d5dbe3;
	font-weight: 650;
}

.footer-nav a:hover,
.footer-nav a:focus {
	color: var(--accent-gold);
}

.footer-contact {
	display: flex;
	flex-direction: column;
}

.footer-contact span {
	color: #aeb4bb;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.footer-contact a {
	color: var(--accent-primary);
	font-size: 1.05rem;
	font-weight: 750;
}

.footer-contact a:hover,
.footer-contact a:focus {
	color: var(--accent-gold);
}

.footer-inner {
	display: flex;
	flex-direction: column;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #aeb4bb;
	font-size: 0.85rem;
	gap: 0.5rem;
}

.footer-inner p {
	margin: 0;
}

.footer-entity {
	margin: 0.25rem 0 0;
	font-size: 0.85rem;
	opacity: 0.9;
}

.footer-legal {
	max-width: 46rem;
	color: #8b939c;
	font-size: 0.75rem;
	line-height: 1.5;
}

@media (min-width: 720px) {

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

	.home-intro,
	.rate-grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

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

	.solution-grid,
	.principles-grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.contact-grid {
		grid-template-columns: 1.15fr 0.85fr;
		gap: 5rem;
	}

	.contact-status {
		grid-column: 2;
	}

	.footer-main,
	.footer-inner {
		flex-direction: row;
		justify-content: space-between;
	}

	.footer-main {
		align-items: end;
	}

	.footer-contact {
		align-items: end;
	}
}

@media (min-width: 900px) {
	.hero .hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
		gap: 3rem;
	}

	.domain-finder-inner,
	.launch-offer,
	.market-hero-grid,
	.market-compliance-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
		align-items: center;
	}

	.launch-offer-panel {
		padding: 0 0 0 2.5rem;
		border-top: 0;
		border-left: 1px solid var(--color-line);
	}

	.market-grid {
		grid-template-columns: 1fr 1fr;
	}

	.market-steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.domain-search {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0 0.5rem;
}

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

.domain-search input[type="text"] {
	flex: 1 1 16rem;
	min-width: 0;
	min-height: 48px;
	padding: 0.7rem 0.85rem;
	border: 0;
	border-radius: 3px;
	background: #fff;
	color: var(--text-main);
	font: inherit;
}

.page-hero .domain-search .button {
	border-color: var(--accent-gold);
	background: var(--accent-gold);
	color: var(--header-dark);
}

.domain-results {
	margin-top: 1.5rem;
}

.domain-result {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) auto auto auto;
	gap: 0.65rem 1rem;
	align-items: center;
	padding: 0.95rem 0;
	border-top: 1px solid var(--color-line);
}

.domain-result-name {
	margin: 0;
	font-weight: 750;
}

.domain-status-available {
	color: #0f7a3a;
	font-weight: 700;
}

.domain-status-taken,
.domain-status-unknown {
	color: var(--color-muted);
	font-weight: 700;
}

.domain-price {
	margin: 0;
	font-weight: 650;
}

.domain-disclaimer,
.domain-status-line {
	margin: 0.85rem 0 0;
	color: var(--color-muted);
	font-size: 0.9rem;
}

.domain-request {
	max-width: 32rem;
	margin-top: 1.75rem;
}

.domain-request label {
	display: block;
	margin-bottom: 0.85rem;
	font-weight: 650;
}

.domain-request input,
.domain-request textarea {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--color-line);
	border-radius: 3px;
	font: inherit;
}

.page-hero p.domain-status-line {
	margin-top: 1rem;
	max-width: 40rem;
}

.page-hero p.domain-status-line.contact-status-error {
	padding: 0.75rem 0.9rem;
}

.domain-request input[type="hidden"] {
	display: none;
}

@media (max-width: 720px) {
	.domain-result {
		grid-template-columns: 1fr auto;
	}

	.domain-result-name,
	.domain-result .button {
		grid-column: 1 / -1;
	}

	.domain-result .button {
		justify-self: start;
	}
}

@media (max-width: 1100px) {
	.navbar {
		flex-wrap: wrap;
		min-height: 72px;
	}

	.header-tools {
		order: 2;
		margin-left: auto;
	}

	.lang-switch {
		order: 3;
		margin-left: 0.35rem;
		margin-right: 0.15rem;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		order: 4;
		min-height: 44px;
		margin-left: 0.15rem;
	}

	.site-logo-image {
		max-height: 52px;
		max-width: min(75vw, 220px);
	}

	.site-nav {
		display: none;
		flex: 1 1 100%;
		padding-bottom: 0.75rem;
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav > ul {
		flex-direction: column;
		align-items: stretch;
		white-space: normal;
		gap: 0.15rem;
	}

	.site-nav a,
	.site-nav .nav-cta > a {
		padding: 0.75rem 0.2rem;
		font-size: 1rem;
	}

	.site-nav .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0.25rem 0.85rem;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
	}

	.site-nav .menu-item-has-children:hover > .sub-menu,
	.site-nav .menu-item-has-children:focus-within > .sub-menu {
		display: none;
	}

	.site-nav .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}
}

@media (max-width: 860px) {
	.footer-logo-image {
		max-height: 52px;
		max-width: min(80vw, 260px);
	}

	.page-hero {
		padding-block: 2.5rem;
	}

	.page-hero h1 {
		max-width: none;
		font-size: 2rem;
	}

	.page-hero p:not(.eyebrow) {
		font-size: 1rem;
	}

	.contact-form {
		padding: 1rem;
	}

	.contact-form input,
	.contact-form select,
	.contact-form textarea {
		font-size: 16px;
	}

	.contact-form .button,
	.button {
		min-height: 44px;
	}

	.contact-form .button {
		width: 100%;
	}

	.work-row,
	.project-card,
	.project-card:has(.project-thumb),
	.work-showcase .project-card,
	.work-showcase .project-card:has(.project-thumb) {
		grid-template-columns: 1fr;
		gap: 0.45rem;
	}

	.project-card .project-type,
	.project-copy,
	.project-card .project-thumb {
		grid-column: 1;
	}

	.desk-table {
		display: block;
		overflow-x: auto;
	}

	.hero-panel {
		box-shadow: 10px 10px 0 var(--accent-primary);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition: none !important;
	}
}


/* Marketing: sample dashboard (4.9.28) */
.market-dash-section .eyebrow { margin-bottom: .5rem; }
.market-dash-title { margin: 0 0 1.75rem; max-width: 22em; }
.market-dash { margin: 0; }
.market-dash figcaption { margin-top: .75rem; font-size: .9rem; color: #475569; }
.md-frame { background: #0e053a; border-radius: 12px; padding: 0 0 18px; overflow: hidden; color: #1e293b; }
.md-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; color: #dfe3f5; font-size: .85rem; }
.md-dot { width: 10px; height: 10px; border-radius: 50%; background: #3b3470; }
.md-bar-title { margin-left: 8px; font-weight: 600; }
.md-sample { margin-left: auto; background: #f6d84a; color: #0e053a; font-weight: 700; font-size: .75rem; padding: 3px 9px; border-radius: 4px; }
.md-body { margin: 0 18px; background: #f5f6f8; border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.md-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.md-stat { background: #ffffff; border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.md-stat-key { background: #0e053a; color: #ffffff; }
.md-label { font-size: .8rem; color: #475569; }
.md-stat-key .md-label { color: #c7cdea; }
.md-num { font-size: 1.7rem; font-weight: 700; line-height: 1.1; color: #0e053a; }
.md-stat-key .md-num { color: #f6d84a; }
.md-up { font-size: .8rem; font-weight: 600; color: #1d4ed8; }
.md-stat-key .md-up { color: #ffffff; }
.md-lower { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; }
.md-panel { background: #ffffff; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.md-panel-title { margin: 0; font-size: .85rem; font-weight: 700; color: #0e053a; }
.md-chart { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; height: 130px; }
.md-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.md-col span { width: 100%; max-width: 46px; background: #c9d1ec; border-radius: 4px 4px 0 0; }
.md-col-hi span { background: #2449b8; }
.md-col em { font-style: normal; font-size: .75rem; color: #475569; }
.md-split { display: flex; flex-direction: column; gap: 8px; }
.md-split-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; }
.md-en { background: #0e053a; }
.md-es { background: #f6d84a; }
.md-split-key { margin: 0; display: flex; justify-content: space-between; font-size: .8rem; color: #475569; }
.md-queue { display: flex; flex-direction: column; gap: 10px; }
.md-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #dfe3ea; border-radius: 8px; padding: 12px 14px; }
.md-item div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.md-item strong { font-size: .92rem; color: #0e053a; }
.md-item div span { font-size: .8rem; color: #475569; }
.md-approve { flex-shrink: 0; background: #0e053a; color: #ffffff; font-size: .8rem; font-weight: 700; padding: 7px 14px; border-radius: 5px; }
.md-item-done { background: #f5f6f8; }
.md-check { flex-shrink: 0; font-size: .8rem; font-weight: 700; color: #1d4ed8; }
@media (max-width: 760px) {
	.md-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.md-lower { grid-template-columns: minmax(0, 1fr); }
	.md-body { margin: 0 10px; padding: 12px; }
}

.desk-invoice-options textarea { width: 100%; font: inherit; padding: .6rem .75rem; border: 1px solid #cbd5e1; border-radius: 6px; }
.desk-invoice-options h3 { margin: 0 0 .5rem; }

/* Ticket desk redesign (4.9.32) */
.desk-layout { max-width: 760px; }
.desk-layout h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin-bottom: .4rem; }
.desk-tabs { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0 0 1.15rem; }
.desk-tabs a { color: #64748b; font-weight: 750; text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: .15rem; }
.desk-tabs a.is-current { color: #0e053a; border-bottom-color: var(--accent-gold); }
.desk-social-art img { display: block; width: 100%; max-width: 420px; height: auto; border-radius: 8px; }
.desk-check-row { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .4rem; }
.desk-pill-social-draft { background: #e8ebf2; color: #475569; }
.desk-pill-social-awaiting, .desk-pill-social-changes { background: #fdf0c9; color: #6b4e00; }
.desk-pill-social-approved, .desk-pill-social-published { background: #d9f2e1; color: #14532d; }
.desk-pill-social-failed { background: #fdecec; color: #7f1d1d; }
.portal-desk { max-width: 560px; }
.desk-card { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 12px; padding: 1.25rem; margin: 0 0 1rem; }
.desk-card h3 { margin: 0 0 .9rem; font-size: 1.05rem; color: #0e053a; }
.desk-summary { background: #0e053a; border-color: #0e053a; color: #ffffff; }
.desk-summary a { color: #ffffff; }
.desk-summary-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.desk-summary h2 { margin: 0; font-size: 1.5rem; color: #ffffff; }
.desk-client { margin: .9rem 0 0; line-height: 1.6; color: #dfe3f5; }
.desk-client strong { color: #ffffff; font-size: 1.1rem; }
.desk-total { margin: 1rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.desk-total-amount { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.desk-total-hours { color: #c7cdea; }
.desk-pills { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.desk-pill { display: inline-block; padding: .25rem .65rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: #e8ebf2; color: #0e053a; white-space: nowrap; }
.desk-pill-open { background: #dbe6ff; color: #1b3fa6; }
.desk-pill-waiting { background: #fdf0c9; color: #6b4e00; }
.desk-pill-closed { background: #e8ebf2; color: #475569; }
.desk-pill-review { background: #fef3c7; color: #92400e; }
.desk-pill-spam { background: #fee2e2; color: #991b1b; }
.desk-review-reasons { color: #92400e; font-size: .85rem; }
.desk-review-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.desk-review-row a { color: inherit; }
.desk-pill-inv-sent { background: #dbe6ff; color: #1b3fa6; }
.desk-pill-inv-paid { background: #d9f2e1; color: #14532d; }
.desk-summary .desk-pill { background: rgba(255,255,255,.14); color: #ffffff; }
.desk-details { margin: 0; display: grid; gap: .1rem; }
.desk-details > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .75rem; padding: .55rem 0; border-bottom: 1px solid #edf0f5; }
.desk-details > div:last-child { border-bottom: 0; }
.desk-details dt { font-weight: 600; color: #475569; font-size: .92rem; }
.desk-details dd { margin: 0; color: #141026; overflow-wrap: anywhere; }
.desk-message { margin: .9rem 0 0; padding: .9rem 1rem; background: #f5f6f8; border-radius: 8px; line-height: 1.6; }
.desk-entries { list-style: none; margin: 0 0 1rem; padding: 0; }
.desk-entries li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #edf0f5; }
.desk-entry-main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.desk-entry-main span { color: #475569; font-size: .9rem; }
.desk-entry-amount { font-weight: 700; color: #0e053a; white-space: nowrap; }
.desk-empty, .desk-hint { color: #475569; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
.desk-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; align-items: end; }
.desk-form-grid .desk-wide { grid-column: 1 / -1; }
.desk-form-grid input, .desk-form-grid textarea, .desk-form select { width: 100%; box-sizing: border-box; min-height: 46px; padding: .6rem .75rem; border: 1px solid #b7c0cc; border-radius: 8px; font: inherit; }
.desk-form-grid textarea { min-height: 84px; }
.desk-form-grid .button { grid-column: 1 / -1; }
.desk-form label { font-size: .88rem; }
.desk-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: 1rem; }
.desk-actions .button { width: 100%; justify-content: center; min-height: 48px; }
.desk-actions .button:first-child { grid-column: 1 / -1; }
.desk-codes summary { cursor: pointer; font-weight: 700; color: #0e053a; }
.desk-codes[open] summary { margin-bottom: 1rem; }
.desk-table { border-collapse: separate; border-spacing: 0; }
.desk-table thead th { font-size: .82rem; color: #475569; text-transform: none; }
.desk-ticket-link { font-weight: 700; }
@media (max-width: 640px) {
	.desk-details > div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
	.desk-actions { grid-template-columns: minmax(0, 1fr); }
	.desk-table, .desk-table tbody, .desk-table tr, .desk-table td { display: block; width: 100%; box-sizing: border-box; }
	.desk-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.desk-table tr { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 12px; padding: .5rem 1rem; margin-bottom: .8rem; }
	.desk-table td { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid #edf0f5; padding: .6rem 0; }
	.desk-table td:last-child { border-bottom: 0; }
	.desk-table td::before { content: attr(data-label); font-size: .82rem; font-weight: 600; color: #475569; }
}

.desk-check { flex-direction: row !important; align-items: center; gap: .6rem !important; font-weight: 600 !important; }
.desk-check input { width: auto !important; min-height: 0 !important; }
.desk-total-line { margin: 0 0 .5rem; font-size: 1.05rem; }

/* Pay page (4.9.36) */
.pay-page { background: #f5f6f8; padding: clamp(32px, 6vw, 72px) 0; }
.pay-wrap { max-width: 1080px; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.pay-summary { background: #0e053a; color: #ffffff; border-radius: 12px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.pay-summary h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; color: #ffffff; }
.pay-summary .eyebrow { color: #f6d84a; margin: 0; }
.pay-summary p { margin: 0; line-height: 1.6; color: #dfe3f5; }
.pay-price { font-size: 2.6rem; font-weight: 700; color: #ffffff !important; line-height: 1.1; }
.pay-note { background: rgba(255,255,255,.1); border-radius: 8px; padding: .8rem 1rem; }
.pay-trust { font-size: .92rem; color: #c7cdea !important; }
.pay-form { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 12px; padding: clamp(12px, 2vw, 24px); min-height: 320px; }
.pay-error { margin: 0; padding: 1rem; background: #fdecec; color: #7f1d1d; border-radius: 8px; }
.pay-testbar { margin: 0 0 1rem; padding: .7rem 1rem; background: #fdf0c9; color: #4a3800; border-radius: 8px; font-size: .92rem; }
.pay-status { max-width: 640px; margin: 0 auto; background: #ffffff; border: 1px solid #dfe3ea; border-radius: 12px; padding: clamp(24px, 4vw, 40px); }
.pay-status h1 { margin-top: 0; }
@media (max-width: 860px) { .pay-grid { grid-template-columns: minmax(0, 1fr); } }

/* Client portal billing (4.9.37) */
.portal-billing h3 { margin: 1.6rem 0 .7rem; font-size: 1.05rem; color: #0e053a; }
.billing-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.billing-summary > div { background: #0e053a; color: #ffffff; border-radius: 10px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .25rem; }
.billing-summary span { font-size: .85rem; color: #c7cdea; }
.billing-summary strong { font-size: 1.7rem; line-height: 1.1; }
.billing-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.billing-list li { border: 1px solid #dfe3ea; border-radius: 10px; padding: .9rem 1rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .8rem; align-items: center; background: #ffffff; }
.billing-main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.billing-main span { color: #475569; font-size: .9rem; }
.billing-side { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.billing-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.billing-request { display: grid; gap: .8rem; }
.billing-request select, .billing-request input, .billing-request textarea { width: 100%; box-sizing: border-box; min-height: 46px; padding: .6rem .75rem; border: 1px solid #b7c0cc; border-radius: 8px; font: inherit; }
.portal-note { padding: .8rem 1rem; border-radius: 8px; margin: 0 0 1rem; }
.portal-note-ok { background: #d9f2e1; color: #14532d; }
.portal-note-bad { background: #fdecec; color: #7f1d1d; }
.portal-invoice { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 10px; padding: 1.25rem; margin-top: 1rem; }
.portal-invoice-brand { margin: 0 0 1rem; line-height: 1.5; color: #475569; }
@media print {
	.site-header, .site-footer, .no-print, .portal-tabs, .contact-copy { display: none !important; }
	body, .contact-section, .contact-grid { background: #ffffff !important; display: block !important; }
	.portal-invoice { border: 0; padding: 0; }
}

.pay-alt { margin: .9rem 0 0; font-size: .95rem; text-align: center; }

/* Plans & pricing, website brief, 4.9.46 */
.plans-page, .brief-page { background: #f5f6f8; padding: clamp(32px, 6vw, 72px) 0; }
.plans-head { max-width: 760px; margin: 0 0 1.5rem; }
.plans-head h1 { margin: .3rem 0 .6rem; }
.plans-signed { background: #dbe6ff; color: #1b3fa6; border-radius: 8px; padding: .7rem 1rem; }
.plan-guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin: 0 0 2rem; }
.plan-guide a { display: block; background: #0e053a; color: #ffffff; text-decoration: none; border-radius: 10px; padding: 1rem; line-height: 1.3; }
.plan-guide a:hover { background: #2449b8; color: #ffffff; }
.plan-group { margin: 0 0 2.5rem; scroll-margin-top: 90px; }
.plan-group h2 { margin: 0 0 .3rem; color: #0e053a; }
.plan-intro { margin: 0 0 1rem; color: #475569; max-width: 46rem; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.plan-card { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 12px; padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.plan-card-feature { border: 2px solid #59b8e8; }
.plan-badge { margin: 0; align-self: flex-start; background: #0e053a; color: #f6d84a; font-size: .78rem; font-weight: 800; letter-spacing: .04em; padding: .3rem .65rem; border-radius: 4px; }
.plan-card h3 { margin: .2rem 0 0; font-size: 1.2rem; color: #0e053a; }
.plan-price-row { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .8rem; }
.plan-price { font-size: 2.3rem; font-weight: 800; line-height: 1.1; color: #0e053a; }
.plan-was { color: #64748b; text-decoration: line-through; font-size: 1rem; }
.plan-per { margin: 0; color: #475569; font-size: .92rem; }
.plan-list { margin: .4rem 0; padding-left: 1.2rem; display: grid; gap: .35rem; color: #2b3040; line-height: 1.45; }
.plan-note { margin: 0; font-size: .88rem; color: #475569; }
.plan-actions { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.plan-link { font-weight: 600; }
.plan-footnote { color: #475569; font-size: .9rem; max-width: 46rem; }
@media (max-width: 760px) { .plan-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brief-wrap { max-width: 760px; }
.brief-head h1 { margin: .3rem 0 .6rem; }
.brief-form { display: grid; gap: 1.2rem; margin-top: 1.2rem; }
.brief-form fieldset { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 12px; padding: 1.2rem; display: grid; gap: .9rem; margin: 0; }
.brief-form legend { font-weight: 800; color: #0e053a; padding: 0 .4rem; }
.brief-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.brief-form input[type="text"], .brief-form input[type="email"], .brief-form input[type="tel"], .brief-form select, .brief-form textarea { width: 100%; box-sizing: border-box; min-height: 46px; padding: .6rem .75rem; border: 1px solid #b7c0cc; border-radius: 8px; font: inherit; font-weight: 400; background: #ffffff; }
.brief-group { display: grid; gap: .4rem; }
.brief-label { margin: 0; font-weight: 600; font-size: .95rem; }
.brief-form label.brief-check { display: flex; align-items: center; gap: .6rem; font-weight: 400; min-height: 40px; }
.brief-form input[type="checkbox"] { width: 20px; height: 20px; }
.brief-error { background: #fdecec; color: #7f1d1d; padding: .9rem 1rem; border-radius: 8px; }
.brief-done { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 12px; padding: clamp(24px, 4vw, 40px); }
.billing-plans { margin: 1rem 0 0; }
.mh-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.mh .mh-text-link { font-weight: 700; }

/* Spacing rhythm (4.9.47): one scale for every page, no double gaps */
:root { --space-section: clamp(2.5rem, 5.5vw, 4.5rem); --space-hero: clamp(2.5rem, 6vw, 4.5rem); }
.section { padding-block: var(--space-section); }
.page-hero { padding-block: var(--space-hero); }
.hero { padding-block: clamp(3rem, 7vw, 5rem); }
.content-shell { padding-block: var(--space-section); }
/* Two sections in a row on the SAME background share one gap instead of adding two. */
.market-services + .market-how,
.market-dash-section + .market-compliance { padding-top: 0; }
/* Homepage */
.mh-section { padding-block: var(--space-section); }
.mh-media {
	background: var(--header-dark);
	color: #fff;
	padding-block: var(--space-section);
}
.mh-media-grid {
	display: grid;
	gap: 1.75rem;
	align-items: center;
}
.mh-media h2,
.mh-media p {
	color: #fff;
}
.mh-media-copy p {
	max-width: 36rem;
}
.mh-media-stage {
	display: grid;
	gap: 0.85rem;
}
.mh-media-stage.is-multi {
	grid-template-columns: 1fr;
}
.mh-media-frame {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 9;
	background: #12084a;
	border: 1px solid rgba(246, 216, 74, 0.45);
	border-radius: 4px;
	overflow: hidden;
}
.mh-media-frame video,
.mh-media-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}
.mh-media-frame figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 1.4rem 0.8rem 0.55rem;
	background: linear-gradient(transparent, rgba(14, 6, 58, 0.88));
	color: #fff;
	font-size: 0.85rem;
	font-weight: 650;
}
.mh-media-empty {
	display: flex;
	align-items: flex-end;
	padding: 1rem 1.1rem;
	background:
		linear-gradient(160deg, rgba(89, 184, 232, 0.18), transparent 42%),
		linear-gradient(rgba(14, 6, 58, 0.2), rgba(14, 6, 58, 0.2)),
		#12084a;
}
.mh-media-empty p {
	margin: 0;
	max-width: 16rem;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.95rem;
}
@media (min-width: 900px) {
	.mh-media-grid {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	}
	.mh-media-stage.is-multi {
		grid-template-columns: 1fr 1fr;
	}
}

.mh-hero { padding-block: var(--space-hero) clamp(2.5rem, 6vw, 4.5rem); }
.mh-about { padding-block: var(--space-section); }
.mh-section:not(.mh-section-alt) + .mh-section:not(.mh-section-alt) { padding-top: 0; }
/* Pricing and brief pages */
.plans-page, .brief-page { padding-block: var(--space-section); }
.plan-group { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }

/* Layout fixes found by rendering the pages (4.9.47) */
.market-grid { display: flex; flex-wrap: wrap; gap: 1rem; }
.market-grid > .market-card { flex: 1 1 280px; min-width: 0; }
.market-how .eyebrow { color: var(--color-primary-dark); }
.market-dash-title { max-width: 34em; text-wrap: balance; }
h1, h2 { text-wrap: balance; }
.plan-card h3, .plan-price-row { text-wrap: balance; }
.plan-card { position: relative; }
.plan-badge { position: absolute; top: -13px; left: 1.4rem; }
.plan-card-feature { margin-top: 0; }
.plan-guide a { display: flex; align-items: center; min-height: 64px; }
.market-card h2 { line-height: 1.2; }
.brief-wrap { max-width: none; }
.brief-head, .brief-form, .brief-done, .brief-error { max-width: 760px; }

/* Quotes (4.9.48) */
.quote-page { background: #f5f6f8; padding-block: var(--space-section, 4rem); }
.quote-wrap { max-width: 760px; margin-inline: auto; }
.quote-head h1 { margin: .3rem 0 .6rem; }
.quote-note { background: #ffffff; border-left: 4px solid #59b8e8; padding: .9rem 1rem; border-radius: 4px; line-height: 1.6; }
.quote-card { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 12px; padding: clamp(1rem, 3vw, 1.6rem); margin: 1.2rem 0; }
.quote-lines { list-style: none; margin: 0; padding: 0; }
.quote-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #edf0f5; }
.quote-line-main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.quote-line-main span { color: #64748b; font-size: .9rem; }
.quote-line-amount { font-weight: 700; white-space: nowrap; }
.quote-totals { margin: .8rem 0 0; display: grid; gap: .45rem; }
.quote-totals > div { display: flex; justify-content: space-between; gap: 1rem; }
.quote-totals dt { color: #475569; }
.quote-totals dd { margin: 0; font-weight: 700; }
.quote-totals > div:first-child dd { font-size: 1.4rem; color: #0e053a; }
.quote-deposit { background: #eef6fd; border-radius: 8px; padding: .55rem .7rem; }
.quote-valid { margin: 1rem 0 0; color: #475569; font-size: .92rem; }
.quote-accept { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 12px; padding: clamp(1rem, 3vw, 1.6rem); display: grid; gap: 1rem; }
.quote-accept h2 { margin: 0; }
.quote-accept label { display: grid; gap: .3rem; font-weight: 600; }
.quote-accept input[type="text"] { min-height: 46px; padding: .6rem .75rem; border: 1px solid #b7c0cc; border-radius: 8px; font: inherit; }
.quote-accept label.brief-check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; line-height: 1.5; }
.quote-accept input[type="checkbox"] { width: 20px; height: 20px; margin-top: .15rem; flex-shrink: 0; }
.quote-buttons { display: flex; flex-wrap: wrap; gap: .7rem; }
.desk-quote h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.desk-quote-number { font-size: .85rem; color: #64748b; font-weight: 500; }
.desk-pill-quote-sent { background: #dbe6ff; color: #1b3fa6; }
.desk-pill-quote-accepted { background: #d9f2e1; color: #14532d; }
.desk-pill-quote-declined, .desk-pill-quote-expired { background: #fdecec; color: #7f1d1d; }
.desk-inline { display: inline; margin: 0; }
.desk-x { background: transparent; border: 0; font-size: 1.4rem; line-height: 1; color: #64748b; cursor: pointer; min-width: 40px; min-height: 40px; }
.desk-quote .desk-entries li { align-items: center; }
.desk-quote-totals { margin-bottom: 1rem; }
@media print { .quote-buttons, .quote-accept { display: none !important; } }
/* Outline buttons on white surfaces (the base ghost button is for dark backgrounds) */
.desk-card .button-ghost, .quote-accept .button-ghost, .portal-billing .button-ghost, .billing-plans .button-ghost, .billing-request .button-ghost, .plan-card .button-ghost {
	background: transparent; color: var(--header-dark); border-color: var(--header-dark); box-shadow: none;
}
.desk-card .button-ghost:hover, .quote-accept .button-ghost:hover, .portal-billing .button-ghost:hover { background: var(--header-dark); color: #ffffff; }
/* Quote page lines up with the header like the other pages */
.quote-wrap { max-width: none; margin-inline: 0; }
.quote-head, .quote-card, .quote-accept, .quote-wrap .pay-status, .quote-wrap .brief-error { max-width: 760px; }
.quote-wrap .pay-status { margin-inline: 0; margin-top: 1.2rem; }
.quote-wrap { margin-inline: auto; }

/* AI-built sites page (4.9.49) */
.ai-hero { max-width: 880px; margin-inline: auto; }
.ai-hero h1 { max-width: 20em; }
.ai-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.3rem; }
.button-gold { background: var(--accent-gold); color: var(--header-dark); border-color: var(--accent-gold); }
.button-gold:hover { background: #ffffff; color: var(--header-dark); }
.ai-link { color: #ffffff; font-weight: 700; }
.ai-link:hover { color: var(--accent-gold); }
.ai-link-dark { color: var(--header-dark); }
.ai-link-dark:hover { color: var(--color-primary-dark); }
.ai-section { padding-block: var(--space-section); }
.ai-alt { background: var(--bg-alt); }
.ai-head { max-width: 46rem; margin-bottom: 1.5rem; }
.ai-head h2, .ai-two h2, .ai-faq h2, .ai-cta h2 { margin: .3rem 0 .6rem; color: var(--header-dark); }
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ai-card { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 12px; padding: 1.3rem; display: grid; gap: .45rem; align-content: start; }
.ai-alt .ai-card { background: #ffffff; }
.ai-card h3 { margin: 0; font-size: 1.12rem; color: var(--header-dark); }
.ai-card p { margin: 0; color: #475569; line-height: 1.6; }
.ai-two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.ai-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ai-checklist li { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 8px; padding: .65rem .9rem .65rem 2.4rem; position: relative; line-height: 1.45; }
.ai-checklist li::before { content: ""; position: absolute; left: .9rem; top: .95rem; width: .55rem; height: .9rem; border-right: 3px solid #2449b8; border-bottom: 3px solid #2449b8; transform: rotate(40deg) scale(.85); transform-origin: center; }
.ai-faq { max-width: 760px; margin-inline: auto; display: grid; gap: .6rem; }
.ai-faq details { background: #ffffff; border: 1px solid #dfe3ea; border-radius: 10px; padding: .9rem 1.1rem; }
.ai-faq summary { cursor: pointer; font-weight: 700; color: var(--header-dark); }
.ai-faq details p { margin: .6rem 0 0; color: #475569; line-height: 1.6; }
.ai-cta { background: var(--accent-primary); }
.ai-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.ai-cta h2 { margin-top: 0; }
.ai-cta p { margin: 0; color: var(--header-dark); }
.ai-cta .button { background: var(--header-dark); color: #ffffff; border-color: var(--header-dark); }
@media (max-width: 860px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } .ai-two { grid-template-columns: minmax(0, 1fr); } }
.ai-hero { max-width: none; margin-inline: auto; }
.ai-hero > * { max-width: 46rem; }
.ai-hero h1 { max-width: 22em; }
.ai-faq { max-width: none; margin-inline: auto; }
.ai-faq > * { max-width: 760px; }

/* Legal pages (4.9.50) */
.legal { max-width: 46rem; }
.legal-date { color: #64748b; font-size: .92rem; margin: 0 0 1.5rem; }
.legal h2 { margin: 2rem 0 .6rem; font-size: 1.25rem; color: var(--header-dark); }
.legal p, .legal li { line-height: 1.7; color: #1e293b; }
.legal ul { padding-left: 1.3rem; display: grid; gap: .5rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .8rem 0 0; font-size: .92rem; }
.legal-checkout { font-size: .9rem; margin: .5rem 0 0; }
.pay-summary .legal-checkout, .pay-summary .legal-checkout a { color: #c7cdea; }
.entry:has(.legal) .entry-header { margin-bottom: 1.2rem; }
.entry:has(.legal) .entry-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.02em; }
.content-layout:has(.legal) { max-width: 920px; }

.pay-methods { display: flex; gap: .5rem; margin: 0 0 1rem; flex-wrap: wrap; }
.pay-methods button {
	appearance: none;
	background: #ffffff;
	color: #0e053a;
	border: 1px solid #d5dbe6;
	border-radius: 999px;
	padding: .55rem 1rem;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.pay-methods button.is-active { background: #0e053a; color: #ffffff; border-color: #0e053a; }
.pay-po-form { display: grid; gap: .85rem; }
.pay-po-form label { display: grid; gap: .35rem; font-weight: 600; color: #1e293b; font-size: .95rem; }
.pay-po-form input[type="text"],
.pay-po-form input[type="email"],
.pay-po-form input[type="file"] {
	width: 100%;
	border: 1px solid #d5dbe6;
	border-radius: 8px;
	padding: .7rem .8rem;
	font: inherit;
	background: #ffffff;
}
.pay-po-form input[type="file"] { padding: .45rem .6rem; }
.pay-po-note, .pay-po-unpaid { margin: 0; font-size: .92rem; color: #475569; line-height: 1.5; }
.pay-panel[hidden] { display: none; }

.project-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.15rem;
	margin-top: 0.9rem;
}

.project-actions .project-link {
	margin-top: 0;
}

.client-stories {
	display: grid;
	gap: 4.5rem;
}

.client-story {
	scroll-margin-top: 5.5rem;
}

.client-story + .client-story {
	padding-top: 4.5rem;
	border-top: 1px solid var(--color-line);
}

.client-story h2 {
	margin: 0 0 0.75rem;
	max-width: 18ch;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.client-story-lead {
	margin: 0;
	max-width: 62ch;
	color: var(--text-muted);
	font-size: 1.1rem;
}

.client-story-shot {
	margin: 1.75rem 0 0;
}

.client-story-shot a {
	display: block;
}

.client-story-shot img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--color-line);
	background: var(--bg-alt);
}

.client-story-shot figcaption {
	margin-top: 0.65rem;
	color: var(--text-muted);
	font-size: 0.95rem;
}

.client-story-list {
	display: grid;
	gap: 0;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.client-story-list li {
	margin: 0;
	padding: 0.9rem 0;
	border-top: 1px solid var(--color-line);
	color: var(--text-main);
}

.client-story-list li:last-child {
	border-bottom: 1px solid var(--color-line);
}

.story-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	margin-top: 1.25rem !important;
}

.page-hero .story-jump a,
.page-hero .story-back {
	color: var(--accent-gold);
	font-weight: 800;
}

.page-hero .story-back {
	display: inline-flex;
	margin-top: 0.35rem;
}

.page-hero .story-jump a:hover,
.page-hero .story-jump a:focus,
.page-hero .story-back:hover,
.page-hero .story-back:focus {
	color: #fff;
}

.desk-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; }
.desk-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--color-line); border-radius: 18px; background: #fff; text-decoration: none; color: inherit; }
.desk-row-body { flex: 1; min-width: 0; }
.desk-row strong { display: block; color: var(--header-dark); font-size: 1.05rem; }
.desk-row p { margin: 2px 0 0; color: var(--color-muted); font-size: .95rem; }
.desk-row .desk-pill { margin-top: 8px; }
.desk-row > .desk-pill { margin-top: 0; flex: none; }


/* Newsletter signup (includes/newsletter.php) */
.mlr-nl {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: .75rem 2rem;
	box-sizing: border-box;
	max-width: 100%;
	margin: 0 0 2rem;
	padding: 1.1rem 1.25rem;
	background: var(--header-dark);
	border: 1px solid var(--panel-border);
	border-left: 3px solid var(--accent-gold);
	border-radius: var(--radius);
	color: #fff;
}
.mlr-nl > *,
.mlr-nl-form,
.mlr-nl-sms {
	min-width: 0;
	overflow-wrap: anywhere;
}
.mlr-nl-block {
	max-width: 760px;
	margin: 1.5rem 0;
}
.mlr-nl-title {
	margin: 0;
	color: #fff !important;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.3;
}
.mlr-nl-text {
	margin: .2rem 0 0;
	color: #aeb4bb !important;
	font-size: .875rem;
	line-height: 1.5;
}
.mlr-nl-row {
	display: flex;
	gap: .5rem;
}
.mlr-nl-row input {
	flex: 1 1 auto;
	min-width: 0;
	height: 2.75rem;
	padding: 0 .85rem;
	border: 1px solid #dbe2ea;
	border-radius: var(--radius);
	background: #fff;
	color: var(--text-main);
	font: inherit;
	font-size: 16px;
}
.mlr-nl-row button {
	flex: 0 0 auto;
	height: 2.75rem;
	padding: 0 1.15rem;
	border: 0;
	border-radius: var(--radius);
	background: var(--accent-gold);
	color: var(--header-dark);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}
.mlr-nl-row button:hover,
.mlr-nl-row button:focus-visible {
	background: #fff;
}
.mlr-nl-fine {
	margin: .4rem 0 0;
	color: #8f97a3 !important;
	font-size: .75rem;
}
.mlr-nl-fine a,
.mlr-nl-check a {
	color: var(--accent-gold);
}
.mlr-nl-sms {
	margin-top: .35rem;
	font-size: .78rem;
	color: #aeb4bb;
}
.mlr-nl-sms summary {
	display: inline-block;
	color: #c9cfd8;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.mlr-nl-sms summary::-webkit-details-marker {
	display: none;
}
.mlr-nl-sms[open] summary {
	margin-bottom: .5rem;
}
.mlr-nl-sms input[type="tel"] {
	width: 100%;
	max-width: 240px;
	height: 2.4rem;
	padding: 0 .75rem;
	border: 1px solid #dbe2ea;
	border-radius: var(--radius);
	background: #fff;
	color: var(--text-main);
	font: inherit;
	font-size: 16px;
}
.mlr-nl-check {
	display: flex;
	gap: .5rem;
	align-items: flex-start;
	margin-top: .5rem;
	line-height: 1.45;
}
.mlr-nl-check input {
	margin-top: .2rem;
}
.mlr-nl-msg {
	margin: 0 0 .5rem;
	padding: .6rem .8rem;
	border-radius: var(--radius);
	font-size: .9rem;
}
.mlr-nl-ok {
	background: var(--accent-gold);
	color: var(--header-dark);
	font-weight: 700;
}
.mlr-nl-err {
	background: #fde2e1;
	color: #7a1414;
}
.mlr-nl-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
@media (min-width: 860px) {
	.mlr-nl {
		grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
		align-items: center;
	}
}

/* Footer layout (4.9.93): brand + three link columns, one bottom row */
.footer-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem 1.5rem;
	align-items: start !important;
	padding-bottom: 2rem;
}
.footer-brand-block p {
	margin: .75rem 0 0;
	color: #aeb4bb;
	font-size: .95rem;
	line-height: 1.5;
	max-width: 18rem;
}
.footer-brand-block .site-social-footer {
	margin-top: 1rem;
}
.footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start !important;
	gap: .55rem;
}
.footer-col-title {
	margin: 0 0 .25rem !important;
	color: #8b939c !important;
	font-size: .72rem !important;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.footer-col a {
	color: #d5dbe3;
	font-weight: 600;
	font-size: .95rem;
}
.footer-col a:hover,
.footer-col a:focus {
	color: var(--accent-gold);
}
.footer-contact .footer-email {
	color: var(--accent-primary);
	font-weight: 750;
}
.footer-place {
	margin: .25rem 0 0 !important;
	color: #8b939c !important;
	font-size: .85rem;
}
.footer-bottom {
	display: flex !important;
	flex-direction: column !important;
	gap: .6rem !important;
}
.footer-bottom-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: .5rem 1.5rem;
}
.footer-bottom-row p {
	margin: 0;
}
.footer-bottom .footer-entity {
	margin: 0;
	font-size: inherit;
}
.footer-bottom .legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.25rem;
	margin: 0;
	font-size: .85rem;
}
.footer-bottom .legal-links a {
	color: #aeb4bb;
}
.footer-bottom .legal-links a:hover,
.footer-bottom .legal-links a:focus {
	color: var(--accent-gold);
}
.footer-bottom .footer-legal {
	max-width: none;
}
.footer-brand-block,
.footer-grid .footer-contact {
	grid-column: 1 / -1;
}
@media (min-width: 960px) {
	.footer-brand-block,
	.footer-grid .footer-contact {
		grid-column: auto;
	}
}
@media (min-width: 960px) {
	.footer-grid {
		grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
		gap: 2.5rem;
	}
}

/* Client onboarding questionnaire (The Hideaway), 4.9.109: navy and cream */
.onboard-page { background: #faf6ec; }
.onboard-head { background: #0e053a; color: #faf6ec; border-radius: 12px; padding: clamp(20px, 4vw, 32px); }
.onboard-head h1 { color: #ffffff; }
.onboard-head .eyebrow { color: #f6d84a; }
.onboard-legal { margin: -.3rem 0 .8rem; font-size: .9rem; opacity: .8; }
.onboard-form fieldset { border-color: #e6dcc3; min-width: 0; }
.onboard-form input, .onboard-form textarea { max-width: 100%; min-width: 0; }
.onboard-form legend { color: #0e053a; font-size: 1.05rem; }
.onboard-form fieldset.onboard-checks { border: 0; padding: 0; background: none; }
.onboard-form fieldset.onboard-checks legend { padding: 0; font-size: .95rem; font-weight: 600; margin-bottom: .2rem; }
.onboard-yn { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.onboard-form input[type="radio"] { width: 20px; height: 20px; }
.onboard-form label.onboard-sub { font-weight: 400; font-size: .9rem; color: #334155; }
.onboard-hint { margin: 0; font-size: .85rem; color: #64748b; }
.onboard-form input[type="file"] { font: inherit; font-weight: 400; padding: .5rem; border: 1px dashed #b7c0cc; border-radius: 8px; background: #fffdf7; max-width: 100%; }
.onboard-form :focus-visible { outline: 3px solid #0284c7; outline-offset: 2px; }
.onboard-submit { background: #0e053a; color: #faf6ec; min-height: 48px; justify-self: start; }
@media (max-width: 600px) { .onboard-submit { justify-self: stretch; } .brief-form fieldset { padding: 1rem; } }
