/*
Theme Name: Layer 9
Description: Custom block theme for Layer 9 Cloud. No page builder required - every page is editable with the built-in WordPress editor.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: layer9
*/

:root {
	--l9-ink: #14123a;
	--l9-ink-2: #1d1a4d;
	--l9-navy: #262262;
	--l9-blue: #262262;
	--l9-pink: #e3141c;
	--l9-red: #e3141c;
	--l9-text: #1c1a33;
	--l9-muted: #5b5873;
	--l9-line: #e6e4ee;
	--l9-surface: #f5f4f9;
	--l9-grad: linear-gradient(100deg, #262262 0%, #8a1a4a 50%, #e3141c 100%);
	--l9-grad-bright: linear-gradient(100deg, #8f8cff 0%, #ff6b8a 50%, #ff5a5a 100%);
	--l9-radius: 14px;
	--l9-section: clamp(4rem, 9vw, 7rem);
	--l9-shadow: 0 1px 2px rgba(20, 18, 58, .05), 0 14px 34px -14px rgba(20, 18, 58, .18);
}

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--l9-pink); color: #fff; }
a { text-underline-offset: .18em; text-decoration-thickness: .06em; }
:focus-visible { outline: 2px solid var(--l9-blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- Page skeleton ---------- */
.wp-site-blocks > * { margin-block-start: 0; }
.l9-main > .wp-block-post-content > * { margin-block: 0; }

/* ---------- Header ---------- */
.l9-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(12, 10, 31, .86);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.admin-bar .l9-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .l9-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .l9-header { top: 0; } }
.l9-header__bar { min-height: 4.5rem; gap: 1.5rem; }
.l9-logo { margin: 0; flex: none; }
.l9-logo img { display: block; width: auto; height: 34px; }
.l9-header__right { gap: 1.75rem; }
.l9-nav { font-size: .95rem; font-weight: 500; }
.l9-nav,
.l9-nav .wp-block-navigation-item__content { color: rgba(255, 255, 255, .86); }
.l9-nav .wp-block-navigation-item__content:hover,
.l9-nav .current-menu-item > .wp-block-navigation-item__content { color: #fff; }
.l9-nav .wp-block-navigation__container { gap: 1.75rem; }
.l9-nav .wp-block-navigation__submenu-container {
	background: var(--l9-ink-2) !important;
	border: 1px solid rgba(255, 255, 255, .1) !important;
	border-radius: 14px; padding: .5rem; min-width: 14rem !important;
	box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6);
	margin-top: .6rem;
}
.l9-nav .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -.7rem; height: .7rem; }
.l9-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: .6rem .8rem !important; border-radius: 9px; color: rgba(255, 255, 255, .86);
}
.l9-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.l9-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--l9-ink) !important; color: #fff !important; padding: 1.5rem;
}
.l9-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.1rem; font-size: 1.15rem; }
.l9-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	background: transparent !important; border: 0 !important; box-shadow: none; padding: .4rem 0 0 .6rem; margin: 0;
}
.l9-nav .wp-block-navigation__responsive-container-open,
.l9-nav .wp-block-navigation__responsive-container-close { color: #fff; }
.l9-header .wp-block-button__link { padding: .6rem 1.15rem; font-size: .9rem; }
@media (max-width: 599px) {
	.l9-header__cta { display: none; }
	.l9-logo img { height: 28px; }
}

/* ---------- Buttons ---------- */
.wp-block-button__link {
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
	box-shadow: 0 8px 24px -10px rgba(225, 29, 98, .7);
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(225, 29, 98, .8); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--l9-ink);
	border: 1.5px solid currentColor; box-shadow: none;
	padding: calc(.9rem - 1.5px) calc(1.6rem - 1.5px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--l9-ink); color: #fff; border-color: var(--l9-ink); }
.l9-dark .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .35); }
.l9-dark .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--l9-ink); border-color: #fff; }
.wp-block-buttons { gap: .8rem; }

/* ---------- Shared type ---------- */
.l9-eyebrow {
	font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--l9-pink); margin: 0 0 1rem;
}
.l9-dark .l9-eyebrow { color: #ff7aa8; }
.l9-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--l9-muted); max-width: 44rem; }
.l9-dark, .l9-dark .l9-lead { color: rgba(255, 255, 255, .78); }
.l9-dark h1, .l9-dark h2, .l9-dark h3, .l9-dark h4 { color: #fff; }
.l9-dark a:not(.wp-block-button__link) { color: #fff; }
.l9-grad-text {
	background: var(--l9-grad-bright); -webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.l9-section h2 { max-width: 22ch; margin-top: 0; }
.l9-section__head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.l9-section__head > :last-child { margin-bottom: 0; }
.l9-center { text-align: center; }
.l9-center h2, .l9-center .l9-lead { margin-inline: auto; }
.l9-prose { max-width: 46rem; }
.l9-prose p { color: var(--l9-muted); }

/* ---------- Sections ---------- */
.l9-section { padding-block: var(--l9-section); }
.l9-section--tint { background: var(--l9-surface); }
.l9-section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.l9-dark { background: var(--l9-ink); }

/* ---------- Hero ---------- */
.l9-hero {
	position: relative; isolation: isolate; overflow: hidden;
	padding-block: clamp(4.5rem, 10vw, 8.5rem);
	background:
		radial-gradient(60rem 34rem at 88% -10%, rgba(229, 32, 46, .38), transparent 62%),
		radial-gradient(48rem 32rem at 62% 110%, rgba(225, 29, 98, .26), transparent 60%),
		radial-gradient(52rem 36rem at -8% 8%, rgba(77, 93, 255, .34), transparent 60%),
		var(--l9-ink);
}
.l9-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
}
.l9-hero h1 { margin: 0 0 1.4rem; max-width: 15ch; }
.l9-hero .l9-lead { margin: 0 0 2.2rem; }
.l9-hero--page { padding-block: clamp(4rem, 8vw, 6.5rem); }
.l9-hero--page h1 { max-width: 18ch; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.l9-hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.l9-hero__grid > * { margin: 0; min-width: 0; }
@media (min-width: 960px) { .l9-hero__grid { grid-template-columns: 1.15fr .85fr; } }

/* The seven-layer stack */
.l9-stack-wrap > * { margin-block: 0; }
ul.l9-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
ul.l9-stack li {
	display: flex; align-items: center; gap: .9rem;
	padding: .8rem 1.1rem; border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .1);
	background: rgba(255, 255, 255, .045);
	color: rgba(255, 255, 255, .6); font-size: .95rem; font-weight: 500;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
ul.l9-stack li strong {
	flex: none; width: 1.9rem; height: 1.9rem; border-radius: 8px;
	display: grid; place-items: center;
	font-family: var(--wp--preset--font-family--heading); font-size: .85rem; font-weight: 600;
	background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75);
}
ul.l9-stack li em { margin-left: auto; font-style: normal; font-size: .8rem; color: rgba(255, 255, 255, .42); text-align: right; }
ul.l9-stack li:nth-child(n+2) { margin-inline: .6rem; }
ul.l9-stack li:nth-child(n+3) { margin-inline: 1.2rem; opacity: .9; }
ul.l9-stack li:nth-child(n+4) { margin-inline: 1.8rem; opacity: .78; }
ul.l9-stack li:nth-child(n+5) { margin-inline: 2.4rem; opacity: .64; }
ul.l9-stack li:nth-child(n+6) { margin-inline: 3rem; opacity: .5; }
ul.l9-stack li:nth-child(n+7) { margin-inline: 3.6rem; opacity: .38; }
ul.l9-stack li:first-child {
	padding: 1.15rem 1.25rem; color: #fff; font-size: 1.08rem; font-weight: 600;
	border: 1px solid transparent;
	background:
		linear-gradient(var(--l9-ink-2), var(--l9-ink-2)) padding-box,
		var(--l9-grad-bright) border-box;
	box-shadow: 0 18px 50px -14px rgba(225, 29, 98, .65);
}
ul.l9-stack li:first-child strong { background: var(--l9-grad); color: #fff; }
ul.l9-stack li:first-child em { color: rgba(255, 255, 255, .7); }
.l9-stack__note { margin: 1.3rem 0 0; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 520px) {
	ul.l9-stack li em { display: none; }
	ul.l9-stack li:nth-child(n+2) { margin-inline: .35rem; }
	ul.l9-stack li:nth-child(n+3) { margin-inline: .7rem; }
	ul.l9-stack li:nth-child(n+4) { margin-inline: 1.05rem; }
	ul.l9-stack li:nth-child(n+5) { margin-inline: 1.4rem; }
	ul.l9-stack li:nth-child(n+6) { margin-inline: 1.75rem; }
	ul.l9-stack li:nth-child(n+7) { margin-inline: 2.1rem; }
}

/* ---------- Stats ---------- */
.l9-stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.l9-stats > * { margin: 0; }
.l9-stat { padding: 1.6rem 1.75rem; border-radius: var(--l9-radius); background: #fff; border: 1px solid var(--l9-line); }
.l9-stat > * { margin: 0; }
.l9-stat__num {
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; letter-spacing: -.03em;
	font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1;
	background: var(--l9-grad); -webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.l9-stat__label { margin-top: .35rem; color: var(--l9-muted); font-size: .95rem; font-weight: 500; }

/* ---------- Card grids ---------- */
.l9-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.l9-grid > * { margin: 0; }
.l9-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.l9-card {
	position: relative; padding: 1.85rem; border-radius: var(--l9-radius);
	background: #fff; border: 1px solid var(--l9-line);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.l9-card > * { margin-block: 0; }
.l9-card > * + * { margin-top: .6rem; }
.l9-card h3 { margin-top: 0; }
.l9-card p, .l9-card li { color: var(--l9-muted); font-size: .98rem; line-height: 1.6; }
.l9-card ul { padding-left: 1.1rem; }
.l9-card[class*="l9-i-"]::before {
	content: ""; display: block; width: 2.1rem; height: 2.1rem; margin-bottom: 1.15rem;
	background: var(--l9-grad);
	-webkit-mask: var(--l9-icon) center / contain no-repeat; mask: var(--l9-icon) center / contain no-repeat;
}
.l9-card--link:hover, .l9-card--link:focus-within { transform: translateY(-4px); box-shadow: var(--l9-shadow); border-color: #d3cfe6; }
.l9-card--link h3 a { color: inherit; text-decoration: none; }
.l9-card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.l9-card--link h3 a::before {
	content: "\2192"; position: absolute; right: 1.6rem; top: 1.75rem;
	color: var(--l9-pink); font-family: var(--wp--preset--font-family--body); font-size: 1.2rem;
	transition: transform .2s ease;
}
.l9-card--link:hover h3 a::before { transform: translateX(4px); }
.l9-card.l9-card--accent {
	border: 0; color: rgba(255, 255, 255, .8);
	background:
		radial-gradient(20rem 14rem at 100% 0%, rgba(229, 32, 46, .55), transparent 65%),
		radial-gradient(20rem 14rem at 0% 100%, rgba(77, 93, 255, .5), transparent 65%),
		var(--l9-ink);
}
.l9-card.l9-card--accent h3, .l9-card.l9-card--accent h3 a::before { color: #fff; }
.l9-card.l9-card--accent p { color: rgba(255, 255, 255, .78); }
.l9-dark .l9-card { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .1); }
.l9-dark .l9-card p, .l9-dark .l9-card li { color: rgba(255, 255, 255, .68); }
.l9-dark .l9-card[class*="l9-i-"]::before { background: var(--l9-grad-bright); }

/* Numbered principles / steps */
.l9-steps { counter-reset: l9step; }
.l9-step { counter-increment: l9step; }
.l9-step::before {
	content: "0" counter(l9step); display: block; margin-bottom: 1rem;
	font-family: var(--wp--preset--font-family--heading); font-size: .9rem; font-weight: 600; letter-spacing: .08em;
	color: #ff7aa8;
}
.l9-section:not(.l9-dark) .l9-step::before { color: var(--l9-pink); }

/* ---------- Split (text + panel) ---------- */
.l9-split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.l9-split > * { margin: 0; min-width: 0; }
@media (min-width: 900px) { .l9-split { grid-template-columns: 1fr 1fr; } .l9-split--wide-left { grid-template-columns: 1.2fr .8fr; } }
.l9-split h2 { margin-top: 0; }
.l9-split p:not(.l9-eyebrow) { color: var(--l9-muted); }
.l9-dark .l9-split p:not(.l9-eyebrow) { color: rgba(255, 255, 255, .78); }
.l9-panel { padding: clamp(1.6rem, 3vw, 2.25rem); border-radius: var(--l9-radius); background: var(--l9-surface); border: 1px solid var(--l9-line); }
.l9-section--tint .l9-panel { background: #fff; }
.l9-panel > :first-child { margin-top: 0; }
.l9-panel > :last-child { margin-bottom: 0; }

/* Check lists */
ul.l9-checks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .7rem; }
ul.l9-checks li { position: relative; padding-left: 2rem; color: var(--l9-text); font-weight: 500; }
ul.l9-checks li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
	background: var(--l9-grad);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm5.2 8.3-6 6.2a1 1 0 0 1-1.4 0l-3-3 1.4-1.4 2.3 2.3 5.3-5.5z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm5.2 8.3-6 6.2a1 1 0 0 1-1.4 0l-3-3 1.4-1.4 2.3 2.3 5.3-5.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
ul.l9-checks--cols { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.l9-dark ul.l9-checks li { color: rgba(255, 255, 255, .88); }

/* Platform chips */
ul.l9-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.l9-center ul.l9-chips { justify-content: center; }
ul.l9-chips li {
	padding: .55rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--l9-line);
	font-size: .92rem; font-weight: 600; color: var(--l9-text);
}

/* ---------- CTA band ---------- */
.l9-cta { padding-block: clamp(3rem, 7vw, 5rem); background: #fff; }
.l9-section--tint + .l9-cta { background: var(--l9-surface); }
.l9-cta__box {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(2.25rem, 6vw, 4.5rem); border-radius: 28px; text-align: center;
	background:
		radial-gradient(36rem 22rem at 100% 0%, rgba(229, 32, 46, .5), transparent 65%),
		radial-gradient(36rem 22rem at 0% 100%, rgba(77, 93, 255, .45), transparent 65%),
		var(--l9-ink);
}
.l9-cta__box > * { margin-inline: auto; }
.l9-cta__box h2 { margin: 0 auto 1rem; max-width: 20ch; font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
.l9-cta__box .l9-lead { margin: 0 auto 2rem; max-width: 38rem; }
.l9-cta__box .wp-block-buttons { justify-content: center; }

/* ---------- Contact ---------- */
.l9-contact-cards { display: grid; gap: .9rem; margin-top: 2rem; }
.l9-contact-cards > * { margin: 0; }
.l9-contact-card { padding: 1.2rem 1.4rem 1.2rem 4.4rem; position: relative; }
.l9-contact-card[class*="l9-i-"]::before { position: absolute; left: 1.4rem; top: 1.35rem; margin: 0; width: 1.8rem; height: 1.8rem; }
.l9-contact-card > * + * { margin-top: .1rem; }
.l9-contact-card h3 { font-family: var(--wp--preset--font-family--body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--l9-muted); font-weight: 600; }
.l9-contact-card p { font-size: 1.15rem; font-weight: 600; color: var(--l9-ink); }
.l9-contact-card p a { color: inherit; text-decoration: none; }
.l9-contact-card p a:hover { color: var(--l9-pink); }
.l9-form-panel { background: #fff; box-shadow: var(--l9-shadow); }
.l9-form-panel h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }

.wpcf7 form p { margin: 0 0 1.1rem; }
.wpcf7 label { display: block; font-size: .9rem; font-weight: 600; color: var(--l9-text); }
.wpcf7 .l9-form-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .wpcf7 .l9-form-row { grid-template-columns: 1fr 1fr; } }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select {
	display: block; width: 100%; box-sizing: border-box; margin-top: .4rem;
	padding: .8rem .95rem; border-radius: 11px; border: 1px solid #d5d2e3; background: #fff;
	font: inherit; font-weight: 400; color: var(--l9-text);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.wpcf7 textarea { min-height: 9rem; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: 0; border-color: var(--l9-blue); box-shadow: 0 0 0 4px rgba(77, 93, 255, .16); }
.wpcf7 input[type="submit"] {
	appearance: none; border: 0; cursor: pointer; border-radius: 999px;
	padding: .95rem 1.9rem; background: var(--l9-grad); color: #fff; font: inherit; font-weight: 600;
	box-shadow: 0 8px 24px -10px rgba(225, 29, 98, .7); transition: transform .18s ease, box-shadow .18s ease;
}
.wpcf7 input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(225, 29, 98, .8); }
.wpcf7 .wpcf7-not-valid-tip { font-size: .85rem; font-weight: 500; margin-top: .3rem; }
.wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: 11px; border-width: 1px; font-size: .95rem; }
.wpcf7-spinner { vertical-align: middle; }

/* ---------- Footer ---------- */
.l9-footer { background: var(--l9-ink); color: rgba(255, 255, 255, .66); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .95rem; }
.l9-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.l9-footer a:hover { color: #fff; }
.l9-footer__grid { display: grid; gap: 2.5rem; }
.l9-footer__grid > * { margin: 0; }
@media (min-width: 800px) { .l9-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.l9-footer__grid > .wp-block-group > * { margin-block: 0; }
.l9-footer__grid > .wp-block-group > * + * { margin-top: .9rem; }
.l9-footer .l9-logo img { height: 38px; }
.l9-footer__blurb { max-width: 24rem; }
.l9-footer h2 { font-family: var(--wp--preset--font-family--body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); font-weight: 600; }
.l9-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.l9-footer__legal { margin-top: 3rem !important; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .45); }

/* ---------- Blog / fallback templates ---------- */
.l9-plain { padding-block: var(--l9-section); }
.l9-plain .wp-block-post-title { margin-top: 0; }

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

/* ---------- Photos ---------- */
.l9-photo { margin: 0; position: relative; }
.l9-photo img {
	display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
	border-radius: 22px; box-shadow: var(--l9-shadow);
}
.l9-hero .l9-photo::before {
	content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 23px;
	background: var(--l9-grad-bright); opacity: .9;
	box-shadow: 0 30px 80px -20px rgba(225, 29, 98, .6);
}
.l9-hero .l9-photo img { box-shadow: none; }
.l9-hero--page .l9-hero__grid h1 { max-width: 14ch; }
.l9-photo-stack > * { margin: 0; }
.l9-photo-stack .l9-panel {
	position: relative; margin: -3.5rem 1.25rem 0; background: #fff; box-shadow: var(--l9-shadow);
}
@media (max-width: 899px) { .l9-hero--page .l9-photo { max-width: 34rem; } }


/* =====================================================================
   Layer 9 identity: light, crisp, navy + red
   ===================================================================== */
.l9-topbar { background: var(--l9-navy); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.l9-topbar p { margin: 0; padding-block: .45rem; display: flex; gap: .7rem; align-items: center; }
.l9-topbar a { color: #fff; text-decoration: none; }
.l9-topbar a:hover { text-decoration: underline; }
.l9-topbar__loc { margin-left: auto; }
@media (max-width: 599px) { .l9-topbar__loc { display: none; } }

.l9-header { background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--l9-line); }
.l9-header__bar { min-height: 5rem; }
.l9-logo img { height: 46px; }
.l9-nav, .l9-nav .wp-block-navigation-item__content { color: var(--l9-text); }
.l9-nav .wp-block-navigation-item__content:hover,
.l9-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--l9-red); }
.l9-nav .wp-block-navigation__container { gap: 1.6rem; }
.l9-nav .wp-block-navigation__submenu-container {
	background: #fff !important; border: 1px solid var(--l9-line) !important;
	box-shadow: 0 24px 48px -18px rgba(20, 18, 58, .28);
}
.l9-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: var(--l9-text); }
.l9-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--l9-surface); color: var(--l9-red); }
.l9-nav .wp-block-navigation__responsive-container.is-menu-open { background: #fff !important; color: var(--l9-text) !important; }
.l9-nav .wp-block-navigation__responsive-container-open,
.l9-nav .wp-block-navigation__responsive-container-close { color: var(--l9-ink); }
@media (max-width: 599px) { .l9-logo img { height: 36px; } }

.wp-block-button__link { box-shadow: 0 8px 22px -12px rgba(227, 20, 28, .75); }
.wp-block-button__link:hover { background: #c40f17; box-shadow: 0 14px 28px -12px rgba(227, 20, 28, .8); }
.wp-block-button.is-style-outline > .wp-block-button__link { color: var(--l9-navy); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--l9-navy); border-color: var(--l9-navy); color: #fff; }
.wpcf7 input[type="submit"] { background: var(--l9-red); border-radius: 10px; }
.wpcf7 input[type="submit"]:hover { background: #c40f17; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { border-color: var(--l9-navy); box-shadow: 0 0 0 4px rgba(38, 34, 98, .14); }

.l9-grad-text {
	background: var(--l9-grad); -webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}

/* Light hero */
.l9-hero {
	background:
		radial-gradient(46rem 30rem at 100% 0%, rgba(227, 20, 28, .12), transparent 60%),
		radial-gradient(46rem 30rem at 0% 100%, rgba(38, 34, 98, .12), transparent 60%),
		linear-gradient(180deg, #fbfbfe 0%, var(--l9-surface) 100%);
	border-bottom: 1px solid var(--l9-line);
}
.l9-hero::before {
	background-image:
		linear-gradient(rgba(38, 34, 98, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(38, 34, 98, .07) 1px, transparent 1px);
}
.l9-hero h1 { color: var(--l9-ink); }
.l9-hero .l9-lead { color: var(--l9-muted); }
.l9-hero .l9-photo::before { background: var(--l9-grad); opacity: 1; box-shadow: 0 30px 70px -26px rgba(38, 34, 98, .55); }

/* Status board in the home hero */
.l9-status {
	background: #fff; border: 1px solid var(--l9-line); border-radius: 18px;
	box-shadow: 0 30px 70px -30px rgba(20, 18, 58, .35); padding: 1.4rem 1.5rem 1.2rem;
}
.l9-status > * { margin-block: 0; }
.l9-status__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .85rem; color: var(--l9-muted); }
.l9-status__head strong { color: var(--l9-ink); font-family: var(--wp--preset--font-family--heading); font-size: 1rem; }
.l9-status__ok { display: inline-flex; align-items: center; gap: .45rem; color: #138a4b; font-weight: 600; font-size: .82rem; }
.l9-status__ok::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #1fb866; box-shadow: 0 0 0 4px rgba(31, 184, 102, .18); }
ul.l9-status__rows { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .5rem; }
ul.l9-status__rows li {
	display: flex; align-items: center; gap: .8rem; padding: .7rem .85rem;
	border-radius: 10px; background: var(--l9-surface); font-size: .92rem; font-weight: 500; color: var(--l9-text);
}
ul.l9-status__rows li::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: #1fb866; }
ul.l9-status__rows li em { margin-left: auto; font-style: normal; font-size: .82rem; color: var(--l9-muted); }
.l9-status__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem !important; padding-top: 1rem; border-top: 1px solid var(--l9-line); text-align: center; }
.l9-status__foot > * { margin: 0; }
.l9-status__foot p { font-size: .76rem; color: var(--l9-muted); line-height: 1.35; }
.l9-status__foot p strong { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 1.25rem; color: var(--l9-navy); }

/* Dark band = navy */
.l9-dark { background: var(--l9-navy); }
.l9-section.l9-dark { background: linear-gradient(160deg, #262262 0%, #1a1748 100%); }
.l9-dark .l9-eyebrow { color: #ff8c95; }
.l9-step::before, .l9-section:not(.l9-dark) .l9-step::before { color: var(--l9-red); }
.l9-dark .l9-step::before { color: #ff8c95; }

.l9-cta__box {
	background:
		radial-gradient(34rem 20rem at 100% 0%, rgba(227, 20, 28, .55), transparent 65%),
		linear-gradient(160deg, #262262 0%, #1a1748 100%);
	border-radius: 22px;
}

.l9-card.l9-card--accent {
	background:
		radial-gradient(20rem 14rem at 100% 0%, rgba(227, 20, 28, .55), transparent 65%),
		var(--l9-navy);
}

/* Industries */
ul.l9-industries { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
ul.l9-industries li {
	padding: 1.1rem 1.2rem; border-radius: 12px; background: #fff; border: 1px solid var(--l9-line);
	font-weight: 600; color: var(--l9-ink); border-left: 3px solid var(--l9-red);
}

/* Quote / pull statement */
.l9-statement { max-width: 52rem; margin-inline: auto; text-align: center; }
.l9-statement p.l9-statement__text {
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; letter-spacing: -.02em;
	font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; color: var(--l9-ink); margin: 0 0 1.25rem;
}
.l9-statement .l9-eyebrow { margin: 0; }

/* Footer */
.l9-footer { background: var(--l9-ink); }
.l9-footer .l9-logo img { filter: brightness(0) invert(1); height: 44px; }
@media (min-width: 800px) { .l9-footer__grid { grid-template-columns: 1.5fr 1fr .8fr 1.1fr; } }
.l9-footer__addr { font-size: .9rem; color: rgba(255, 255, 255, .55); }

/* Demo notice */
.l9-demo-note { padding: 1rem 1.25rem; border-radius: 12px; background: #fff7e6; border: 1px solid #f3d9a4; color: #6b4e12; font-size: .95rem; }

.l9-photo--right img { object-position: 72% 50%; }

/* ---------- Icon set (generated) ---------- */
.l9-i-server { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01M11 7.5h6M11 16.5h6'/%3E%3C/svg%3E"); }
.l9-i-cloud { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18.5a4.5 4.5 0 0 1-.7-8.95A6 6 0 0 1 18 9.6a4.45 4.45 0 0 1-.6 8.9H7z'/%3E%3C/svg%3E"); }
.l9-i-compass { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15.5 8.5-2 5-5 2 2-5z'/%3E%3C/svg%3E"); }
.l9-i-apps { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.l9-i-mail { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 7.5 8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.l9-i-shield { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 4.5 3 8.3 7 10 4-1.7 7-5.5 7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.l9-i-headset { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='3' y='13' width='4' height='6' rx='1.5'/%3E%3Crect x='17' y='13' width='4' height='6' rx='1.5'/%3E%3Cpath d='M19 19c0 1.5-2 2.5-5 2.5'/%3E%3C/svg%3E"); }
.l9-i-chart { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4v16h16'/%3E%3Cpath d='m8 15 4-5 3 3 5-7'/%3E%3C/svg%3E"); }
.l9-i-network { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='5' cy='19' r='2'/%3E%3Ccircle cx='19' cy='19' r='2'/%3E%3Cpath d='M12 7v5M12 12l-5.6 5.4M12 12l5.6 5.4'/%3E%3C/svg%3E"); }
.l9-i-lock { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.l9-i-devices { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='14' height='10' rx='1.5'/%3E%3Cpath d='M6 19h6M9 15v4'/%3E%3Crect x='17' y='9' width='5' height='10' rx='1.2'/%3E%3C/svg%3E"); }
.l9-i-scale { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v6h6M20 10V4h-6M4 20l9-7M20 4l-7 7'/%3E%3C/svg%3E"); }
.l9-i-savings { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M14.6 9.3C14.1 8.5 13.200 8 12 8c-1.600 0-2.600.8-2.600 2 0 2.800 5.400 1.200 5.400 4 0 1.200-1.100 2-2.800 2-1.200 0-2.200-.5-2.700-1.300M12 6.500V8M12 16v1.500'/%3E%3C/svg%3E"); }
.l9-i-globe { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.500 2.500 3.500 5.500 3.500 9s-1 6.500-3.500 9c-2.500-2.500-3.500-5.500-3.500-9s1-6.500 3.500-9z'/%3E%3C/svg%3E"); }
.l9-i-layers { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5z'/%3E%3Cpath d='m3 12 9 5 9-5M3 16l9 5 9-5'/%3E%3C/svg%3E"); }
.l9-i-clock { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.l9-i-target { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.l9-i-refresh { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.500-4M4 4v4h4M4 13a8 8 0 0 0 14.500 4M20 20v-4h-4'/%3E%3C/svg%3E"); }
.l9-i-user { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.l9-i-clipboard { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4h6v3H9zM9 12h6M9 16h4'/%3E%3C/svg%3E"); }
.l9-i-pencil { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16zM13.500 6.500l4 4'/%3E%3C/svg%3E"); }
.l9-i-phone { --l9-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.500 1.500a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
