:root {
			--brand-primary: #b08d57;
			--brand-primary-hover: color-mix(in srgb, var(--brand-primary) 92%, black);
			--brand-on-primary: #111827; /* auto-set by JS — do not edit */
			--brand-secondary: #f5ede0;
			--brand-accent: #d4a96a;
			--brand-glow: color-mix(in srgb, var(--brand-primary) 15%, transparent);

			--color-dark: #1c1c1e;
			--color-dark-soft: #2d2d30;
			--color-muted: #5a6070;
			--color-surface: #f9f7f4;
			--color-border: #e8e3dc;
			--color-white: #ffffff;

			--font-heading: 'Cormorant Garamond', Georgia, serif;
			--font-body: 'DM Sans', sans-serif;

			--r-sm: 8px;
			--r-md: 16px;
			--r-lg: 24px;
			--r-xl: 40px;
		}

		html {
			scroll-behavior: smooth;
		}

		*, *::before, *::after {
			box-sizing: border-box;
		}

		body {
			font-family: var(--font-body);
			color: var(--color-dark);
			background: var(--color-white);
			-webkit-font-smoothing: antialiased;
			overflow-x: hidden;
		}

		h1, h2, h3, h4, h5, h6 {
			font-family: var(--font-heading);
		}

		/* NAV */
		.navbar {
			background: var(--color-dark);
			padding: 1.1rem 0;
			border-bottom: 1px solid rgba(255,255,255,.07);
		}

		.navbar-brand {
			font-family: var(--font-heading);
			font-weight: 700;
			font-size: 1.3rem;
			color: var(--color-white) !important;
			letter-spacing: .02em;
			display: flex;
			align-items: center;
			gap: .7rem;
		}

        .nav-logo {
            max-width: 290px;
            height: auto;
        }

			.navbar-brand img {
				max-height: 36px;
				border-radius: 4px;
				object-fit: contain;
			}

		.nav-link {
			font-family: var(--font-body);
			font-weight: 500;
			font-size: .82rem;
			letter-spacing: .06em;
			text-transform: uppercase;
			color: rgba(255,255,255,.6) !important;
			padding: .4rem .9rem !important;
			border-radius: 4px;
			transition: color .2s;
		}

			.nav-link:hover {
				color: var(--brand-primary) !important;
			}

		.btn-nav {
			background: transparent;
			color: var(--brand-primary) !important;
			border: 1px solid var(--brand-primary);
			border-radius: 4px;
			padding: .45rem 1.2rem !important;
			font-size: .8rem;
			font-weight: 600;
			letter-spacing: .06em;
			text-transform: uppercase;
			transition: background .2s,color .2s;
		}

            .btn-nav:hover {
                background: var(--brand-primary);
                color: var(--brand-on-primary, #111827) !important;
            }

		/* HERO */
		.hero {
			position: relative;
			min-height: 96vh;
			display: grid;
			grid-template-rows: 1fr auto;
			background: var(--color-dark);
			overflow: hidden;
		}

		.hero-img {
			position: absolute;
			inset: 0;			
			opacity: .22;
		}

		.hero-lines {
			position: absolute;
			inset: 0;
			background-image: repeating-linear-gradient(0deg,transparent,transparent 79px,rgba(255,255,255,.03) 79px,rgba(255,255,255,.03) 80px);
			pointer-events: none;
		}

		.hero-brass-bar {
			position: absolute;
			bottom: 0;
			left: 0;
			right: 0;
			height: 3px;
			background: linear-gradient(90deg,var(--brand-primary),var(--brand-accent),var(--brand-primary));
		}

		.hero-inner {
			position: relative;
			z-index: 2;
			display: flex;
			align-items: flex-end;
			padding-bottom: 4.5rem;
		}

		.hero-rule {
			width: 48px;
			height: 2px;
			background: var(--brand-primary);
			margin-bottom: 1.4rem;
		}

		.hero-eyebrow {
			font-family: var(--font-body);
			font-size: .7rem;
			font-weight: 600;
			letter-spacing: .22em;
			text-transform: uppercase;
			color: color-mix(in srgb, var(--brand-primary) 45%, #ffffff);
			margin-bottom: 1.2rem;
		}

		.hero h1 {
			font-size: clamp(3.2rem,7vw,6rem);
			font-weight: 600;
			color: var(--color-white);
			line-height: 1.05;
			margin-bottom: 1.8rem;
			max-width: 820px;
		}

			.hero h1 em {
				font-style: italic;
				color: color-mix(in srgb, var(--brand-primary) 45%, #ffffff);
			}

		.hero-sub {
			font-size: 1.05rem;
			color: rgba(255,255,255,.55);
			font-weight: 300;
			max-width: 500px;
			line-height: 1.85;
			margin-bottom: 2.4rem;
		}

		.hero-btns {
			display: flex;
			gap: 1rem;
			flex-wrap: wrap;
		}

		.btn-brass {
			background: var(--brand-primary);
			color: var(--brand-on-primary, #111827);
			border: none;
			border-radius: 4px;
			padding: .85rem 2rem;
			font-family: var(--font-body);
			font-weight: 600;
			font-size: .85rem;
			letter-spacing: .06em;
			text-transform: uppercase;
			text-decoration: none;
			display: inline-flex;
			align-items: center;
			gap: .55rem;
			transition: background .2s,transform .15s;
			box-shadow: 0 6px 24px var(--brand-glow);
		}

			.btn-brass:hover {
				background: var(--brand-primary-hover);
				transform: translateY(-2px);
				color: var(--brand-on-primary, #111827);
			}

		.btn-outline-brass {
			background: transparent;
			color: rgba(255,255,255,.8);
			border: 1px solid rgba(255,255,255,.25);
			border-radius: 4px;
			padding: .83rem 2rem;
			font-family: var(--font-body);
			font-weight: 500;
			font-size: .85rem;
			letter-spacing: .06em;
			text-transform: uppercase;
			text-decoration: none;
			display: inline-flex;
			align-items: center;
			gap: .55rem;
			transition: border-color .2s,color .2s,transform .15s;
		}

			.btn-outline-brass:hover {
				border-color: var(--brand-primary);
				color: var(--brand-primary);
				transform: translateY(-2px);
			}

		/* credential strip */
		.cred-strip {
			background: var(--color-surface);
			border-top: 1px solid var(--color-border);
			position: relative;
			z-index: 3;
		}

		.cred-strip-inner {
			display: flex;
			align-items: stretch;
		}

		.cred-item {
			flex: 1;
			padding: 1.4rem 2rem;
			border-right: 1px solid var(--color-border);
			display: flex;
			align-items: center;
			gap: 1rem;
		}

			.cred-item:last-child {
				border-right: none;
			}

		.cred-icon {
			width: 40px;
			height: 40px;
			min-width: 40px;
			border-radius: 8px;
			background: var(--brand-secondary);
			color: var(--brand-primary);
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: .9rem;
		}

		.cred-num {
			font-family: var(--font-heading);
			font-size: 1.6rem;
			font-weight: 600;
			color: var(--color-dark);
			line-height: 1;
		}

		.cred-lbl {
			font-size: .72rem;
			font-weight: 500;
			letter-spacing: .07em;
			text-transform: uppercase;
			color: var(--color-muted);
			margin-top: .15rem;
		}

		/* SHARED */
		.sec-pad {
			padding: 100px 0;
		}

		.sec-kicker {
			font-family: var(--font-body);
			font-size: .7rem;
			font-weight: 600;
			letter-spacing: .2em;
			text-transform: uppercase;
			color: var(--brand-primary);
			margin-bottom: .6rem;
			display: flex;
			align-items: center;
			gap: .6rem;
		}

			.sec-kicker::after {
				content: '';
				flex: 0 0 20px;
				height: 1px;
				background: var(--brand-primary);
			}

		.sec-title {
			font-family: var(--font-heading);
			font-size: clamp(2.2rem,5vw,3.4rem);
			font-weight: 600;
			color: var(--color-dark);
			line-height: 1.12;
		}

		.sec-body {
			font-size: 1rem;
			color: var(--color-muted);
			font-weight: 300;
			max-width: 560px;
			line-height: 1.85;
		}

		/* SERVICES */
		.svc-section {
			background: var(--color-surface);
		}

		.svc-card {
			background: var(--color-white);
			border: 1px solid var(--color-border);
			padding: 2rem;
			height: 100%;
			transition: border-color .25s,box-shadow .25s,transform .2s;
			position: relative;
		}

			.svc-card::before {
				content: '';
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				height: 2px;
				background: var(--color-border);
				transition: background .3s;
			}

			.svc-card:hover::before {
				background: var(--brand-primary);
			}

			.svc-card:hover {
				border-color: var(--color-border);
				box-shadow: 0 16px 48px rgba(28,28,30,.08);
				transform: translateY(-4px);
			}

		.svc-num {
			font-family: var(--font-heading);
			font-size: 3rem;
			font-weight: 400;
			color: var(--color-border);
			line-height: 1;
			margin-bottom: .5rem;
			transition: color .25s;
		}

		.svc-card:hover .svc-num {
    			color: var(--brand-secondary);
		}

		.svc-icon {
			width: 48px;
			height: 48px;
			border-radius: 8px;
			background: var(--brand-secondary);
			color: var(--brand-primary);
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 1.1rem;
			margin-bottom: 1rem;
			transition: background .25s,color .25s;
		}

		.svc-card:hover .svc-icon {
			background: var(--brand-primary);
			color: var(--brand-on-primary, #ffffff);
		}

		.svc-card h5 {
			font-family: var(--font-heading);
			font-size: 1.2rem;
			font-weight: 600;
			color: var(--color-dark);
			margin-bottom: .5rem;
		}

		.svc-card p {
			font-size: .88rem;
			color: var(--color-muted);
			margin: 0;
			line-height: 1.75;
		}

		/* ABOUT */
		.about-img {
			width: 100%;
			object-fit: cover;
			display: block;
			aspect-ratio: 3/4;
			box-shadow: 0 32px 72px rgba(28,28,30,.18);
		}

		.about-img-wrap {
			position: relative;
		}

		.about-year-badge {
			position: absolute;
			bottom: 2rem;
			left: -1.5rem;
			background: var(--brand-primary);
			color: var(--brand-on-primary, #111827);
			padding: 1.2rem 1.5rem;
			text-align: center;
			min-width: 100px;
			box-shadow: 0 12px 36px var(--brand-glow);
		}

		.ayb-num {
			font-family: var(--font-heading);
			font-size: 2.8rem;
			font-weight: 600;
			line-height: 1;
		}

		.ayb-lbl {
			font-family: var(--font-body);
			font-size: .65rem;
			font-weight: 600;
			letter-spacing: .08em;
			text-transform: uppercase;
			opacity: .75;
			margin-top: .3rem;
		}

		.about-divider {
			width: 40px;
			height: 2px;
			background: var(--brand-primary);
			margin: 1.5rem 0;
		}

		.feat-list {
			list-style: none;
			padding: 0;
			margin: 0 0 2rem;
		}

			.feat-list li {
				display: flex;
				align-items: flex-start;
				gap: .9rem;
				padding: .75rem 0;
				border-bottom: 1px solid var(--color-border);
			}

				.feat-list li:last-child {
					border-bottom: none;
				}

		.feat-dot {
			width: 8px;
			height: 8px;
			min-width: 8px;
			border-radius: 50%;
			background: var(--brand-primary);
			margin-top: .45rem;
		}

		.feat-list h6 {
			font-family: var(--font-heading);
			font-size: 1.05rem;
			font-weight: 600;
			color: var(--color-dark);
			margin-bottom: .15rem;
		}

		.feat-list p {
			font-size: .82rem;
			color: var(--color-muted);
			margin: 0;
		}

		.btn-dark-solid {
			background: var(--color-dark);
			color: var(--color-white);
			border: none;
			border-radius: 4px;
			padding: .85rem 1.8rem;
			font-family: var(--font-body);
			font-weight: 600;
			font-size: .85rem;
			letter-spacing: .06em;
			text-transform: uppercase;
			text-decoration: none;
			display: inline-flex;
			align-items: center;
			gap: .55rem;
			transition: background .2s,transform .15s;
		}

			.btn-dark-solid:hover {
				background: var(--color-dark-soft);
				transform: translateY(-1px);
				color: var(--color-white);
			}

/* STANDARD BUTTON FALLBACKS */
.btn-primary {
	background: var(--brand-primary) !important;
	color: var(--brand-on-primary, #111827) !important;
	border: none !important;
	border-radius: 4px;
	padding: .85rem 2rem;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: .85rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	transition: background .2s, transform .15s, box-shadow .2s;
	box-shadow: 0 6px 24px var(--brand-glow);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background: var(--brand-primary-hover) !important;
	color: var(--brand-on-primary, #111827) !important;
	border: none !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px var(--brand-glow);
}

.btn-secondary {
	background: transparent !important;
	color: var(--color-dark) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 4px;
	padding: .83rem 2rem;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: .85rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	transition: border-color .2s, color .2s, transform .15s;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
	border-color: var(--brand-primary) !important;
	color: var(--brand-primary) !important;
	background: transparent !important;
	transform: translateY(-2px);
}

.hero .btn-secondary,
.testi-section .btn-secondary {
	color: rgba(255,255,255,.8) !important;
	border-color: rgba(255,255,255,.25) !important;
}

.hero .btn-secondary:hover,
.testi-section .btn-secondary:hover {
	color: var(--brand-primary) !important;
	border-color: var(--brand-primary) !important;
}

		/* TESTIMONIALS */
		.testi-section {
			background: var(--color-dark);
			position: relative;
			overflow: hidden;
		}

		.testi-watermark {
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%,-50%);
			font-family: var(--font-heading);
			font-size: 22rem;
			font-weight: 600;
			color: rgba(255,255,255,.02);
			white-space: nowrap;
			pointer-events: none;
			user-select: none;
			line-height: 1;
		}

		.testi-section .sec-kicker {
			color: var(--brand-primary);
		}

			.testi-section .sec-kicker::after {
				background: var(--brand-primary);
			}

		.testi-section .sec-title {
			color: var(--color-white);
		}

		.testi-section .sec-body {
			color: rgba(255,255,255,.45);
		}

		.feature-quote {
			border-left: 3px solid var(--brand-primary);
			padding: 2rem 2.5rem;
			background: rgba(176,141,87,.07);
			margin-bottom: 2rem;
		}

		.fq-text {
			font-family: var(--font-heading);
			font-size: clamp(1.4rem,2.5vw,2rem);
			font-style: italic;
			font-weight: 400;
			color: var(--color-white);
			line-height: 1.55;
			margin-bottom: 1.5rem;
		}

		.fq-author-name {
			font-family: var(--font-heading);
			font-size: 1.05rem;
			font-weight: 600;
			color: var(--brand-primary);
		}

		.fq-author-role {
			font-size: .78rem;
			color: rgba(255,255,255,.45);
			font-family: var(--font-body);
		}

		.fq-stars {
			color: var(--brand-primary);
			font-size: .78rem;
			margin-bottom: .5rem;
		}

		.mini-q {
			background: rgba(255,255,255,.04);
			border: 1px solid rgba(255,255,255,.09);
			padding: 1.6rem;
			height: 100%;
			transition: border-color .2s,background .2s;
		}

			.mini-q:hover {
				background: rgba(255,255,255,.07);
				border-color: rgba(176,141,87,.35);
			}

		.mq-stars {
			color: var(--brand-primary);
			font-size: .75rem;
			margin-bottom: .8rem;
		}

		.mq-text {
			font-family: var(--font-heading);
			font-style: italic;
			font-size: 1rem;
			color: rgba(255,255,255,.75);
			line-height: 1.75;
			margin-bottom: 1.2rem;
		}

		.mq-name {
			font-family: var(--font-heading);
			font-size: .95rem;
			font-weight: 600;
			color: var(--color-white);
		}

		.mq-role {
			font-size: .75rem;
			color: rgba(255,255,255,.4);
			font-family: var(--font-body);
		}

		/* CONTACT */
		.contact-section {
			background: var(--color-surface);
		}

		.contact-card {
			background: var(--color-white);
			border: 1px solid var(--color-border);
			padding: 2.8rem;
			box-shadow: 0 16px 48px rgba(28,28,30,.07);
		}

			.contact-card h4 {
				font-family: var(--font-heading);
				font-size: 1.7rem;
				font-weight: 600;
				color: var(--color-dark);
				margin-bottom: 1.6rem;
			}

		.form-label {
			font-family: var(--font-body);
			font-size: .72rem;
			font-weight: 600;
			letter-spacing: .1em;
			text-transform: uppercase;
			color: var(--color-muted);
			margin-bottom: .4rem;
		}

		.form-control, .form-select {
			border: 1px solid var(--color-border);
			border-radius: 0;
			padding: .75rem 1rem;
			font-family: var(--font-body);
			font-size: .92rem;
			color: var(--color-dark);
			background: var(--color-white);
			transition: border-color .2s,box-shadow .2s;
		}

			.form-control:focus, .form-select:focus {
				border-color: var(--brand-primary);
				box-shadow: 0 0 0 3px var(--brand-glow);
				outline: none;
			}

			.form-control::placeholder {
				color: #b0b8c4;
				font-style: italic;
			}

		textarea.form-control {
			resize: vertical;
			min-height: 140px;
		}

		.btn-submit {
			background: var(--brand-primary);
			color: var(--brand-on-primary, #111827);
			border: none;
			padding: .85rem 2rem;
			font-family: var(--font-body);
			font-weight: 600;
			font-size: .85rem;
			letter-spacing: .06em;
			text-transform: uppercase;
			cursor: pointer;
			display: inline-flex;
			align-items: center;
			gap: .6rem;
			transition: background .2s,transform .15s;
			box-shadow: 0 4px 16px var(--brand-glow);
		}

			.btn-submit:hover {
				background: var(--brand-primary-hover);
				transform: translateY(-1px);
			}

		.ci-row {
			display: flex;
			align-items: flex-start;
			gap: 1rem;
			padding: 1.2rem 0;
			border-bottom: 1px solid var(--color-border);
		}

			.ci-row:last-of-type {
				border-bottom: none;
			}

		.ci-ico {
			width: 42px;
			height: 42px;
			min-width: 42px;
			background: var(--brand-secondary);
			color: var(--brand-primary);
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: .9rem;
		}

		.ci-lbl {
			font-family: var(--font-body);
			font-size: .7rem;
			font-weight: 600;
			letter-spacing: .1em;
			text-transform: uppercase;
			color: var(--color-muted);
			margin-bottom: .2rem;
		}

		.ci-val {
			font-size: .9rem;
			color: var(--color-dark);
			margin: 0;
			line-height: 1.65;
		}

		.contact-photo {
			width: 100%;
			object-fit: cover;
			aspect-ratio: 16/9;
			display: block;
			margin-top: auto;
		}

		/* FOOTER */
		footer {
			background: var(--color-dark);
			padding: 1.8rem 0;
			border-top: 2px solid var(--brand-primary);
		}

		.footer-copy {
			font-size: .8rem;
			color: rgba(255,255,255,.35);
			font-family: var(--font-body);
		}

			.footer-copy a {
				color: rgba(255,255,255,.5);
				text-decoration: none;
			}

				.footer-copy a:hover {
					color: var(--brand-primary);
				}

		.footer-social {
			display: flex;
			gap: .4rem;
		}

			.footer-social a {
				width: 34px;
				height: 34px;
				border-radius: 3px;
				background: rgba(255,255,255,.06);
				color: rgba(255,255,255,.4);
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: .8rem;
				text-decoration: none;
				transition: background .2s,color .2s;
			}

				.footer-social a:hover {
					background: var(--brand-primary);
					color: var(--brand-on-primary, #111827);
				}

		/* ANIM */
		@keyframes fadeUp {
			from {
				opacity: 0;
				transform: translateY(24px)
			}

			to {
				opacity: 1;
				transform: translateY(0)
			}
		}

		.hero-rule {
			animation: fadeUp .5s ease both;
		}

		.hero-eyebrow {
			animation: fadeUp .5s .1s ease both;
		}

		.hero h1 {
			animation: fadeUp .6s .2s ease both;
		}

		.hero-sub {
			animation: fadeUp .6s .32s ease both;
		}

		.hero-btns {
			animation: fadeUp .6s .42s ease both;
		}

		@media(max-width:991.98px) {
			.about-year-badge {
				left: .5rem;
				bottom: .5rem;
			}
		}

		@media(max-width:767.98px) {
			.hero {
				min-height: 85vh;
			}

			.cred-strip-inner {
				flex-direction: column;
			}

			.cred-item {
				border-right: none;
				border-bottom: 1px solid var(--color-border);
			}

				.cred-item:last-child {
					border-bottom: none;
				}

			.sec-pad {
				padding: 64px 0;
			}

			.about-year-badge {
				display: none;
			}
		}

/* =========================================================
   THEME READABILITY OVERRIDES
   Controlled by .singlepage-site[data-theme="light|dark"]
   Keep this block at the bottom of the CSS file.
   ========================================================= */

/* Light mode safety */
.singlepage-site[data-theme="light"] {
    color-scheme: light;
}

/* Dark mode base safety */
.singlepage-site[data-theme="dark"] {
    color-scheme: dark;
    background: var(--color-dark, #111827);
    color: var(--color-white, #ffffff);
}

/* Navigation readability */
.singlepage-site[data-theme="dark"] .navbar {
    background: var(--color-dark, #111827);
    border-bottom-color: rgba(255,255,255,.1);
}

.singlepage-site[data-theme="dark"] .navbar-brand,
.singlepage-site[data-theme="dark"] .navbar-brand span {
    color: var(--color-white, #ffffff) !important;
}

.singlepage-site[data-theme="dark"] .nav-link:not(.btn-nav) {
    color: rgba(255,255,255,.74) !important;
}

.singlepage-site[data-theme="dark"] .nav-link:not(.btn-nav):hover {
    color: color-mix(in srgb, var(--brand-primary) 45%, #ffffff) !important;
    background: rgba(255,255,255,.08);
}

.singlepage-site[data-theme="light"] .navbar {
    background: var(--color-white, #ffffff);
    border-bottom-color: var(--color-border, #e5e7eb);
}

.singlepage-site[data-theme="light"] .navbar-brand,
.singlepage-site[data-theme="light"] .navbar-brand span {
    color: var(--color-dark, #111827) !important;
}

.singlepage-site[data-theme="light"] .nav-link:not(.btn-nav) {
    color: var(--color-muted, #6b7280) !important;
}

.singlepage-site[data-theme="light"] .nav-link:not(.btn-nav):hover {
    color: var(--brand-primary) !important;
    background: var(--brand-secondary, rgba(0,0,0,.04));
}

/* IMPORTANT:
   Do not globally override light-theme hero text.
   This template uses a dark/photo hero even when data-theme="light".
   The original .hero h1 and .hero-sub rules should stay in control.
*/

/* Dark hero readability only */
.singlepage-site[data-theme="dark"] .hero h1,
.singlepage-site[data-theme="dark"] .hero h2,
.singlepage-site[data-theme="dark"] .hero h3,
.singlepage-site[data-theme="dark"] .hero-sub,
.singlepage-site[data-theme="dark"] .hero-eyebrow,
.singlepage-site[data-theme="dark"] .hero-label,
.singlepage-site[data-theme="dark"] .hero-brandmark-text {
    color: var(--color-white, #ffffff);
}

.singlepage-site[data-theme="dark"] .hero h1 em {
    color: color-mix(in srgb, var(--brand-primary) 45%, #ffffff);
}

.singlepage-site[data-theme="dark"] .hero-sub {
    color: rgba(255,255,255,.74);
}

/* Dark section readability */
.singlepage-site[data-theme="dark"] .sec-pad,
.singlepage-site[data-theme="dark"] .svc-section,
.singlepage-site[data-theme="dark"] .services-section,
.singlepage-site[data-theme="dark"] .about-section,
.singlepage-site[data-theme="dark"] .testimonial-section,
.singlepage-site[data-theme="dark"] .testimonials-section,
.singlepage-site[data-theme="dark"] .faq-section,
.singlepage-site[data-theme="dark"] .contact-section,
.singlepage-site[data-theme="dark"] .cta-section {
    background: var(--color-dark, #111827);
    color: var(--color-white, #ffffff);
}

.singlepage-site[data-theme="dark"] h1,
.singlepage-site[data-theme="dark"] h2,
.singlepage-site[data-theme="dark"] h3,
.singlepage-site[data-theme="dark"] h4,
.singlepage-site[data-theme="dark"] h5,
.singlepage-site[data-theme="dark"] h6,
.singlepage-site[data-theme="dark"] .section-title,
.singlepage-site[data-theme="dark"] .sec-title,
.singlepage-site[data-theme="dark"] .section-heading {
    color: var(--color-white, #ffffff);
}

.singlepage-site[data-theme="dark"] p,
.singlepage-site[data-theme="dark"] .section-sub,
.singlepage-site[data-theme="dark"] .sec-sub,
.singlepage-site[data-theme="dark"] .text-muted,
.singlepage-site[data-theme="dark"] .lead {
    color: rgba(255,255,255,.72) !important;
}

/* Dark card/readability safety */
.singlepage-site[data-theme="dark"] .card,
.singlepage-site[data-theme="dark"] .svc-card,
.singlepage-site[data-theme="dark"] .service-card,
.singlepage-site[data-theme="dark"] .feature-card,
.singlepage-site[data-theme="dark"] .why-card,
.singlepage-site[data-theme="dark"] .testimonial-card,
.singlepage-site[data-theme="dark"] .faq-item,
.singlepage-site[data-theme="dark"] .contact-card,
.singlepage-site[data-theme="dark"] .info-card,
.singlepage-site[data-theme="dark"] .trust-item,
.singlepage-site[data-theme="dark"] .cred-item {
    background: var(--color-dark-soft, rgba(255,255,255,.06));
    color: var(--color-white, #ffffff);
    border-color: rgba(255,255,255,.12);
}

.singlepage-site[data-theme="dark"] .card p,
.singlepage-site[data-theme="dark"] .svc-card p,
.singlepage-site[data-theme="dark"] .service-card p,
.singlepage-site[data-theme="dark"] .feature-card p,
.singlepage-site[data-theme="dark"] .why-card p,
.singlepage-site[data-theme="dark"] .testimonial-card p,
.singlepage-site[data-theme="dark"] .faq-item p,
.singlepage-site[data-theme="dark"] .contact-card p,
.singlepage-site[data-theme="dark"] .info-card p {
    color: rgba(255,255,255,.72) !important;
}

/* Form field contrast safety outside locked form markup */
.singlepage-site[data-theme="dark"] input,
.singlepage-site[data-theme="dark"] textarea,
.singlepage-site[data-theme="dark"] select {
    background: rgba(255,255,255,.08);
    color: var(--color-white, #ffffff);
    border-color: rgba(255,255,255,.18);
}

.singlepage-site[data-theme="dark"] input::placeholder,
.singlepage-site[data-theme="dark"] textarea::placeholder {
    color: rgba(255,255,255,.5);
}

/* Contact form submit button safety */
.singlepage-site form button[type="submit"],
.singlepage-site form input[type="submit"],
.singlepage-site form .btn-primary {
    background: var(--brand-primary) !important;
    color: var(--brand-on-primary, #111827) !important;
    border-color: var(--brand-primary) !important;
}

.singlepage-site form button[type="submit"]:hover,
.singlepage-site form input[type="submit"]:hover,
.singlepage-site form .btn-primary:hover {
    background: var(--brand-primary-hover, var(--brand-primary)) !important;
    color: var(--brand-on-primary, #111827) !important;
    border-color: var(--brand-primary-hover, var(--brand-primary)) !important;
}

/* Footer readability */
.singlepage-site[data-theme="dark"] footer,
.singlepage-site[data-theme="dark"] .footer {
    background: var(--color-dark, #111827);
    color: rgba(255,255,255,.72);
    border-color: rgba(255,255,255,.1);
}

.singlepage-site[data-theme="dark"] footer a,
.singlepage-site[data-theme="dark"] .footer a {
    color: rgba(255,255,255,.82);
}

.singlepage-site[data-theme="dark"] footer a:hover,
.singlepage-site[data-theme="dark"] .footer a:hover {
    color: color-mix(in srgb, var(--brand-primary) 45%, #ffffff);
}

/* Contact info panel — override inline/Bootstrap white background in dark mode */
.singlepage-site[data-theme="dark"] #contact .d-flex.flex-column.gap-0 {
    background: rgba(255,255,255,.06) !important;
    border-color: rgba(255,255,255,.1) !important;
    box-shadow: none !important;
}
.singlepage-site[data-theme="dark"] #contact .ci-lbl {
    color: rgba(255,255,255,.48) !important;
}
.singlepage-site[data-theme="dark"] #contact .ci-val {
    color: rgba(255,255,255,.82) !important;
}

/* Section kicker dark mode */
.singlepage-site[data-theme="dark"] .sec-kicker {
    color: color-mix(in srgb, var(--brand-primary) 45%, #ffffff);
}
/* About section — override inline background:white */
.singlepage-site[data-theme="dark"] #about {
    background: var(--color-dark, #1c1c1e) !important;
}
/* Cred strip dark mode */
.singlepage-site[data-theme="dark"] .cred-strip {
    background: var(--color-dark-soft, rgba(255,255,255,.06)) !important;
    border-color: rgba(255,255,255,.1) !important;
}
.singlepage-site[data-theme="dark"] .cred-num { color: var(--color-white, #ffffff); }
.singlepage-site[data-theme="dark"] .cred-lbl { color: rgba(255,255,255,.55); }
/* Feature dot dark mode */
.singlepage-site[data-theme="dark"] .feat-dot {
    background: rgba(255,255,255,.08);
}
