/*
Theme Name:   Stackly (Hello Elementor Child)
Theme URI:    https://wp1.tailorji.in/
Description:  Stackly real-estate child theme for Hello Elementor. Design tokens, header/footer, components.
Author:       Stackly
Template:     hello-elementor
Version:      1.0.0
Text Domain:  stackly
*/

/* ==========================================================================
   1. Fonts (self-hosted, variable, Latin subset)
   ========================================================================== */
@font-face {
	font-family: "Manrope";
	src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Montserrat";
	src: url("assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   2. Tokens (see DESIGN_SYSTEM.md)
   ========================================================================== */
:root {
	/* Palette: three colors only */
	--c-white: #FFFFFF;
	--c-ink: #111111;
	--c-navy: #234E70;

	/* Allowed opacities */
	--ink-72: rgba(17, 17, 17, .72);
	--ink-60: rgba(17, 17, 17, .60);
	--ink-20: rgba(17, 17, 17, .20);
	--ink-12: rgba(17, 17, 17, .12);
	--navy-04: rgba(35, 78, 112, .04);
	--white-72: rgba(255, 255, 255, .72);
	--white-16: rgba(255, 255, 255, .16);
	--overlay: rgba(17, 17, 17, .55);

	/* Fonts */
	--f-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Type scale (fluid: mobile → desktop) */
	--fs-display: clamp(2.5rem, 1.35rem + 4.9vw, 4.75rem);   /* 40 → 76 */
	--fs-h1: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);           /* 36 → 64 */
	--fs-h2: clamp(1.875rem, 1.33rem + 2.3vw, 3rem);         /* 30 → 48 */
	--fs-h3: clamp(1.375rem, 1.2rem + .75vw, 1.75rem);       /* 22 → 28 */
	--fs-h4: clamp(1.125rem, 1.08rem + .2vw, 1.25rem);       /* 18 → 20 */
	--fs-num: clamp(3rem, 1.8rem + 5.1vw, 5.5rem);           /* 48 → 88 */
	--fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);       /* 17 → 20 */
	--fs-body: clamp(.9375rem, .92rem + .1vw, 1rem);         /* 15 → 16 */
	--fs-small: clamp(.8125rem, .8rem + .06vw, .875rem);     /* 13 → 14 */
	--fs-eyebrow: .75rem;                                    /* 12 */
	--fs-btn: .9375rem;                                      /* 15 */

	/* Layout */
	--container: 1280px;
	--container-wide: 1440px;
	--container-narrow: 760px;
	--gutter: 40px;
	--gap: 24px;

	/* Section spacing */
	--sec-xl: 160px;
	--sec-l: 128px;
	--sec-m: 96px;
	--sec-s: 64px;

	/* Shape */
	--radius: 2px;
	--rule: 1px solid var(--ink-12);
	--rule-strong: 1px solid var(--c-ink);
	--shadow: 0 12px 32px rgba(17, 17, 17, .08);

	/* Header */
	--header-h: 88px;
	--header-h-condensed: 68px;
	--logo-h: 40px;
	--logo-h-condensed: 32px;
	--admin-bar: 0px;

	/* Motion */
	--t-fast: 150ms;
	--t-base: 240ms;
	--t-slow: 400ms;
	--t-reveal: 700ms;
	--ease-out: cubic-bezier(.2, .7, .2, 1);
	--ease-std: cubic-bezier(.4, 0, .2, 1);
}

@media (max-width: 1279.98px) {
	:root {
		--gutter: 32px;
		--gap: 20px;
		--sec-xl: 120px;
		--sec-l: 96px;
		--sec-m: 72px;
		--sec-s: 48px;
		--header-h: 76px;
		--header-h-condensed: 64px;
		--logo-h: 34px;
		--logo-h-condensed: 32px;
	}
}
@media (max-width: 1023.98px) {
	:root {
		--header-h: 68px;
		--header-h-condensed: 60px;
		--logo-h: 34px;
		--logo-h-condensed: 30px;
	}
}
@media (max-width: 767.98px) {
	:root {
		--gutter: 20px;
		--gap: 16px;
		--sec-xl: 88px;
		--sec-l: 72px;
		--sec-m: 56px;
		--sec-s: 40px;
		--header-h: 60px;
		--header-h-condensed: 56px;
		--logo-h: 30px;
		--logo-h-condensed: 30px;
	}
}
body.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { body.admin-bar { --admin-bar: 46px; } }

/* ==========================================================================
   3. Base
   ========================================================================== */
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h-condensed) + 16px);
}
body {
	margin: 0;
	background: var(--c-white);
	color: var(--ink-72);
	font-family: var(--f-body);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
p, li, dd, dt, td, th, label, input, select, textarea, small, figcaption, address, blockquote {
	font-family: var(--f-body);
}
p { margin: 0 0 1em; max-width: 68ch; }
small { font-size: var(--fs-small); }
address { font-style: normal; }

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
	font-family: var(--f-head);
	color: var(--c-ink);
	font-weight: 600;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; }

a {
	color: var(--c-navy);
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
	transition: color var(--t-fast) var(--ease-std);
}
a:hover { color: var(--c-ink); }

::selection { background: var(--c-navy); color: var(--c-white); }

/* Focus: visible everywhere, never removed */
:focus-visible {
	outline: 2px solid var(--c-navy);
	outline-offset: 3px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.has-overlay-header .site-header:not(.is-solid) :focus-visible {
	outline-color: var(--c-white);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.skip-link.screen-reader-text:focus {
	clip: auto;
	width: auto; height: auto;
	top: 12px; left: 12px;
	z-index: 400;
	padding: 12px 20px;
	background: var(--c-white);
	color: var(--c-navy);
	font-family: var(--f-head);
	font-weight: 600;
	box-shadow: var(--shadow);
}

/* ==========================================================================
   4. Utilities
   ========================================================================== */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: border-box;
}
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.eyebrow {
	display: inline-block;
	font-family: var(--f-body);
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--c-navy);
}
p.eyebrow, .eyebrow p { max-width: none; }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-72); }
.meta { font-size: var(--fs-small); font-weight: 500; line-height: 1.6; color: var(--ink-60); }
.accent-rule { display: block; width: 48px; height: 2px; background: var(--c-navy); border: 0; margin: 0 0 24px; }

.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4,
.on-dark .elementor-heading-title { color: var(--c-white); }
.on-dark p, .on-dark li { color: var(--white-72); }
.on-dark .eyebrow { color: var(--c-white); }
.on-dark a:not(.btn) { color: var(--c-white); }

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn,
.elementor-button,
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--f-head);
	font-size: var(--fs-btn);
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-sizing: border-box;
	transition:
		background-color var(--t-base) var(--ease-std),
		color var(--t-base) var(--ease-std),
		border-color var(--t-base) var(--ease-std);
}
@media (max-width: 767.98px) {
	.btn, .elementor-button, .wpcf7-submit { min-height: 48px; padding: 0 24px; }
}

/* Primary: navy fill → fill inversion */
.btn--primary,
.elementor-button,
.wpcf7-submit {
	background: var(--c-navy);
	color: var(--c-white);
	border-color: var(--c-navy);
}
.btn--primary:hover, .btn--primary:focus-visible,
.elementor-button:hover, .elementor-button:focus-visible,
.wpcf7-submit:hover, .wpcf7-submit:focus-visible {
	background: var(--c-white);
	color: var(--c-navy);
	border-color: var(--c-navy);
}

/* Secondary: ink outline → ink fill */
.btn--secondary {
	background: transparent;
	color: var(--c-ink);
	border-color: var(--c-ink);
}
.btn--secondary:hover, .btn--secondary:focus-visible {
	background: var(--c-ink);
	color: var(--c-white);
}

/* On dark: white fill → white outline */
.btn--light {
	background: var(--c-white);
	color: var(--c-navy);
	border-color: var(--c-white);
}
.btn--light:hover, .btn--light:focus-visible {
	background: transparent;
	color: var(--c-white);
	border-color: var(--c-white);
}
.btn--ghost-light {
	background: transparent;
	color: var(--c-white);
	border-color: var(--c-white);
}
.btn--ghost-light:hover, .btn--ghost-light:focus-visible {
	background: var(--c-white);
	color: var(--c-ink);
}

/* Text link with arrow: arrow shift */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--f-head);
	font-weight: 600;
	font-size: var(--fs-btn);
	color: var(--c-navy);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .35em;
	transition: text-decoration-thickness var(--t-fast) var(--ease-std), color var(--t-fast) var(--ease-std);
}
.link-arrow::after {
	content: "→";
	transition: transform var(--t-base) var(--ease-out);
}
.link-arrow:hover { text-decoration-thickness: 2px; color: var(--c-navy); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   6. Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: var(--admin-bar);
	z-index: 100;
	height: var(--header-h);
	background: var(--c-white);
	border-bottom: var(--rule);
	transition:
		height var(--t-base) var(--ease-std),
		background-color var(--t-base) var(--ease-std),
		border-color var(--t-base) var(--ease-std),
		box-shadow var(--t-base) var(--ease-std);
}
.site-header__inner {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 40px;
}
.site-header__brand {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	margin-right: auto;
	transition: opacity var(--t-fast) var(--ease-std);
}
.site-header__brand:hover { opacity: .85; }
.site-header__brand img {
	height: var(--logo-h);
	width: auto;
	max-width: none;
	transition: height var(--t-base) var(--ease-std);
}
.site-header__brand .logo--light { display: none; }

/* Condensed after scroll */
.site-header.is-condensed {
	height: var(--header-h-condensed);
	box-shadow: var(--shadow);
	border-bottom-color: transparent;
}
.site-header.is-condensed .site-header__brand img { height: var(--logo-h-condensed); }

/* Primary nav */
.site-nav__list {
	display: flex;
	align-items: center;
	gap: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav__list a {
	position: relative;
	display: inline-block;
	padding: 8px 0;
	font-family: var(--f-head);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .01em;
	line-height: 1;
	color: var(--c-ink);
	text-decoration: none;
}
/* Nav hover: underline draws from the left */
.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--t-base) var(--ease-out);
}
.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after,
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current-page-ancestor > a::after { transform: scaleX(1); }
.site-nav__list .current-menu-item > a,
.site-nav__list .current-page-ancestor > a { color: var(--c-navy); }

.site-header__cta { flex: 0 0 auto; min-height: 44px; padding: 0 22px; }
.site-header.is-condensed .site-header__cta { min-height: 40px; }

/* Hamburger */
.site-header .menu-toggle,
.mobile-menu .menu-close {
	color: var(--c-ink);
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}
.site-header .menu-toggle:hover,
.site-header .menu-toggle:focus,
.mobile-menu .menu-close:hover,
.mobile-menu .menu-close:focus { background: transparent; color: var(--c-ink); }
.menu-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--c-ink);
	cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 1.5px;
	background: currentColor;
	content: "";
	transition: transform var(--t-base) var(--ease-std), opacity var(--t-fast) var(--ease-std);
}
.menu-toggle__bars { top: 21px; }
.menu-toggle__bars::before { left: 0; top: -7px; }
.menu-toggle__bars::after { left: 0; top: 7px; }

@media (max-width: 1279.98px) {
	.site-header__inner { gap: 28px; }
	.site-nav__list { gap: 28px; }
}
@media (max-width: 1023.98px) {
	.site-nav { display: none; }
	.site-header .menu-toggle { display: block; }
	.site-header__inner { gap: 16px; }
}
@media (max-width: 767.98px) {
	.site-header__cta { display: none; }
}

/* Home: transparent header over the hero, solid once condensed */
.has-overlay-header .site-header {
	position: fixed;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom-color: var(--white-16);
}
.has-overlay-header .site-header:not(.is-solid) .logo--dark { display: none; }
.has-overlay-header .site-header:not(.is-solid) .logo--light { display: block; }
.has-overlay-header .site-header:not(.is-solid) .site-nav__list a,
.has-overlay-header .site-header:not(.is-solid) .site-nav__list .current-menu-item > a,
.has-overlay-header .site-header:not(.is-solid) .menu-toggle,
.has-overlay-header .site-header:not(.is-solid) .menu-toggle:hover,
.has-overlay-header .site-header:not(.is-solid) .menu-toggle:focus { color: var(--c-white); }
.has-overlay-header .site-header:not(.is-solid) .site-header__cta {
	background: var(--c-white);
	color: var(--c-navy);
	border-color: var(--c-white);
}
.has-overlay-header .site-header:not(.is-solid) .site-header__cta:hover,
.has-overlay-header .site-header:not(.is-solid) .site-header__cta:focus-visible {
	background: transparent;
	color: var(--c-white);
}
.has-overlay-header .site-header.is-solid {
	background: var(--c-white);
	border-bottom-color: transparent;
}

/* ==========================================================================
   7. Mobile menu
   ========================================================================== */
.mobile-menu {
	position: fixed;
	inset: var(--admin-bar) 0 0 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	background: var(--c-white);
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px);
	transition:
		opacity var(--t-base) var(--ease-std),
		transform var(--t-base) var(--ease-out),
		visibility 0s linear var(--t-base);
}
.mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition:
		opacity var(--t-base) var(--ease-std),
		transform var(--t-base) var(--ease-out),
		visibility 0s;
}
.mobile-menu__bar {
	flex: 0 0 auto;
	height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: var(--rule);
}
.mobile-menu__bar img { height: var(--logo-h); width: auto; max-width: none; }
.menu-close {
	position: relative;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--c-ink);
	cursor: pointer;
}
.menu-close::before,
.menu-close::after {
	content: "";
	position: absolute;
	left: 11px;
	top: 21px;
	width: 22px;
	height: 1.5px;
	background: currentColor;
}
.menu-close::before { transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }

.mobile-menu__body {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	padding-top: 32px;
	padding-bottom: 32px;
}
.mobile-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: var(--rule);
}
.mobile-menu__list li { border-bottom: var(--rule); }
.mobile-menu__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	font-family: var(--f-head);
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -.01em;
	line-height: 1.2;
	color: var(--c-ink);
	text-decoration: none;
}
.mobile-menu__list a::after {
	content: "→";
	font-size: 20px;
	color: var(--c-navy);
	transition: transform var(--t-base) var(--ease-out);
}
.mobile-menu__list a:hover::after,
.mobile-menu__list a:focus-visible::after { transform: translateX(4px); }
.mobile-menu__list .current-menu-item > a { color: var(--c-navy); }

.mobile-menu__foot {
	margin-top: auto;
	padding-top: 40px;
}
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__contact {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-small);
	line-height: 1.8;
	color: var(--ink-72);
}
.mobile-menu__contact a { color: var(--c-ink); text-decoration: none; }
.mobile-menu__contact a:hover { color: var(--c-navy); text-decoration: underline; }

body.menu-open { overflow: hidden; }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer {
	background: var(--c-navy);
	color: var(--white-72);
	padding-top: var(--sec-m);
	font-size: var(--fs-small);
	line-height: 1.8;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 4fr 2fr 3fr 2fr;
	gap: 48px var(--gap);
	padding-bottom: 64px;
}
.site-footer__brand img { height: 44px; width: auto; max-width: none; }
.site-footer .site-footer__tagline {
	margin: 20px 0 0;
	font-family: var(--f-head);
	font-size: var(--fs-h4);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -.01em;
	color: var(--c-white);
	max-width: 22ch;
}
.site-footer .site-footer__heading {
	margin: 0 0 16px;
	font-family: var(--f-body);
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--c-white);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { color: var(--white-72); }
.site-footer p { color: var(--white-72); margin: 0; max-width: none; }
.site-footer a {
	color: var(--white-72);
	text-decoration: none;
	transition: color var(--t-fast) var(--ease-std);
}
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--c-white); text-decoration: underline; text-underline-offset: .25em; }
.site-footer__nav li + li { margin-top: 6px; }
.site-footer address { color: var(--white-72); }
.site-footer address + p { margin-top: 12px; }

.site-footer__social { display: flex; gap: 12px; }
.site-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--white-16);
	border-radius: var(--radius);
	color: var(--c-white);
	transition: background-color var(--t-base) var(--ease-std), color var(--t-base) var(--ease-std), border-color var(--t-base) var(--ease-std);
}
.site-footer__social a:hover,
.site-footer__social a:focus-visible {
	background: var(--c-white);
	color: var(--c-navy);
	border-color: var(--c-white);
	text-decoration: none;
}
.site-footer__social svg { width: 16px; height: 16px; fill: currentColor; }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding-top: 24px;
	padding-bottom: 32px;
	border-top: 1px solid var(--white-16);
	font-size: 13px;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__disclaimer { flex-basis: 100%; }

@media (max-width: 1023.98px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
	.site-footer__grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
	.site-footer__brand img { height: 36px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   9. Forms (Contact Form 7, fully restyled)
   ========================================================================== */
.wpcf7-form label,
.form-label {
	display: block;
	margin: 0 0 8px;
	font-family: var(--f-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .02em;
	color: var(--c-ink);
}
.wpcf7-form p { max-width: none; margin: 0 0 20px; }
.wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea,
.field {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	border: 1px solid var(--ink-20);
	border-radius: var(--radius);
	background: var(--c-white);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	box-sizing: border-box;
	transition: border-color var(--t-fast) var(--ease-std), box-shadow var(--t-fast) var(--ease-std);
	-webkit-appearance: none;
	appearance: none;
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-form select,
select.field {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111111' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder,
.field::placeholder { color: var(--ink-60); opacity: 1; }
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus,
.field:focus {
	outline: none;
	border-color: var(--c-navy);
	box-shadow: inset 0 0 0 1px var(--c-navy);
}
.wpcf7-form .wpcf7-submit { margin-top: 8px; }
@media (max-width: 767.98px) {
	.wpcf7-form .wpcf7-submit { width: 100%; }
}

/* Form layouts */
.stackly-form .form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 var(--gap);
}
.stackly-form .form-field--full { grid-column: 1 / -1; }
.stackly-form .form-optional { font-weight: 500; color: var(--ink-60); }
.stackly-form .form-note { margin: 16px 0 0; font-size: 13px; color: var(--ink-60); }
.stackly-form .form-inline {
	display: flex;
	align-items: flex-end;
	gap: 12px;
}
.stackly-form .form-inline .form-field { flex: 1 1 auto; margin: 0; }
.stackly-form .form-inline .form-submit { flex: 0 0 auto; margin: 0; }
.stackly-form .form-inline .wpcf7-submit { margin: 0; }
@media (max-width: 767.98px) {
	.stackly-form .form-grid { grid-template-columns: 1fr; }
	.stackly-form .form-inline { flex-direction: column; align-items: stretch; }
}
.on-dark .wpcf7-form label { color: var(--c-white); }

/* Errors: thick ink border + glyph + text (no color-only meaning) */
.wpcf7-form .wpcf7-not-valid {
	border: 2px solid var(--c-ink);
}
.wpcf7-not-valid-tip {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--c-ink);
}
.wpcf7-not-valid-tip::before { content: "⚠ "; }
.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--c-ink);
	border-radius: var(--radius);
	font-size: 14px;
	color: var(--c-ink);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-width: 2px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--c-navy); color: var(--c-navy); }
.wpcf7-spinner { background-color: var(--c-navy); }

/* ==========================================================================
   10. Motion (entrance reveals are opt-in via JS, so content shows without JS)
   ========================================================================== */
.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out);
	transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease-out); }
.js .reveal-img.is-in { clip-path: inset(0); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}
	.js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
	/* Qi Addons: show final state, no motion */
	[class*="qodef-qi-"] *,
	[class*="qodef-qi-"] { animation: none !important; }
	.qodef-qi-text-marquee .qodef-m-content { transform: none !important; }
	video[autoplay] { display: none; }
}

/* ==========================================================================
   11. Elementor alignment with the design system
   ========================================================================== */
.elementor-widget-text-editor { font-family: var(--f-body); color: var(--ink-72); }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.site-main { min-height: 40vh; }
.page-content > .elementor { margin: 0; }

/* Nested containers never inherit the section gutter (only top-level sections get it from the Kit) */
.e-con .e-con {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
}

/* Elementor Button widget variants (class on the widget: btn-primary | btn-secondary | btn-light | btn-ghost-light) */
.elementor-widget-button .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	line-height: 1;
	background: var(--c-navy);
	color: var(--c-white);
	border: 1px solid var(--c-navy);
	border-radius: var(--radius);
	padding: 0 28px;
	fill: currentColor;
}
.elementor-widget-button .elementor-button:hover,
.elementor-widget-button .elementor-button:focus-visible { background: var(--c-white); color: var(--c-navy); }
.elementor-widget-button.btn-secondary .elementor-button { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.elementor-widget-button.btn-secondary .elementor-button:hover,
.elementor-widget-button.btn-secondary .elementor-button:focus-visible { background: var(--c-ink); color: var(--c-white); }
.elementor-widget-button.btn-light .elementor-button { background: var(--c-white); color: var(--c-navy); border-color: var(--c-white); }
.elementor-widget-button.btn-light .elementor-button:hover,
.elementor-widget-button.btn-light .elementor-button:focus-visible { background: transparent; color: var(--c-white); }
.elementor-widget-button.btn-ghost-light .elementor-button { background: transparent; color: var(--c-white); border-color: var(--c-white); }
.elementor-widget-button.btn-ghost-light .elementor-button:hover,
.elementor-widget-button.btn-ghost-light .elementor-button:focus-visible { background: var(--c-white); color: var(--c-ink); }
@media (max-width: 767.98px) {
	.elementor-widget-button .elementor-button { padding: 0 24px; }
}

/* ==========================================================================
   12. Home
   ========================================================================== */

/* Hero: full-bleed photo under the transparent header */
.e-con.re-hero {
	position: relative;
	--padding-top: calc(var(--header-h) + var(--admin-bar) + 48px);
	--padding-bottom: clamp(64px, 11vh, 128px);
	isolation: isolate;
}
.e-con.re-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	/* Single-color (ink) opacity gradients for legibility: left for the text, top for the header */
	background:
		linear-gradient(180deg, rgba(17, 17, 17, .50) 0, rgba(17, 17, 17, 0) 200px),
		linear-gradient(90deg, rgba(17, 17, 17, .68) 0%, rgba(17, 17, 17, .42) 50%, rgba(17, 17, 17, .12) 100%);
}
.re-hero__inner { max-width: 880px; }
.re-hero__eyebrow { margin-bottom: 20px; }
.re-hero__eyebrow p { margin: 0; }
.re-hero__title .elementor-heading-title { margin: 0; }
.re-hero__lead { margin-top: 24px; max-width: 560px; }
.re-hero__lead p { margin: 0; color: var(--white-72); }
.e-con.re-hero__actions { --margin-top: 40px; }
.re-hero__actions > .elementor-widget { width: auto; }

@media (max-width: 767.98px) {
	.e-con.re-hero { --padding-top: calc(var(--header-h) + var(--admin-bar) + 40px); --padding-bottom: 48px; }
	.e-con.re-hero::before {
		background:
			linear-gradient(180deg, rgba(17, 17, 17, .50) 0, rgba(17, 17, 17, 0) 160px),
			linear-gradient(0deg, rgba(17, 17, 17, .78) 0%, rgba(17, 17, 17, .45) 60%, rgba(17, 17, 17, .25) 100%);
	}
	.re-hero__eyebrow .eyebrow { letter-spacing: .12em; }
	.e-con.re-hero__actions > .elementor-widget { --container-widget-width: 100%; width: 100%; }
	.re-hero__actions .elementor-button { width: 100%; }
}
