/* ==========================================================================
   Amer Labs theme styles
   1. Tokens & base          6. Services row        11. FAQ
   2. Shared components      7. Marquee & terrain   12. Final CTA & forms
   3. Buttons                8. Our Work            13. Quote dialog
   4. Header & navigation    9. Why / Process       14. Footer & inner pages
   5. Hero                  10. Pricing             15. Motion, reveals, cursor
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
	--al-bg: var(--wp--preset--color--base, #070708);
	--al-surface: var(--wp--preset--color--surface, #111114);
	--al-surface-2: var(--wp--preset--color--surface-2, #16161c);
	--al-border: var(--wp--preset--color--border, #26262b);
	--al-orange: var(--wp--preset--color--primary, #ff8a00);
	--al-orange-hover: var(--wp--preset--color--primary-hover, #ffa22b);
	--al-ember: var(--wp--preset--color--ember, #2a1608);
	--al-white: var(--wp--preset--color--contrast, #fff);
	--al-text-2: var(--wp--preset--color--text-2, #c9c9cf);
	--al-muted: var(--wp--preset--color--muted, #a0a0a8);
	--al-success: var(--wp--preset--color--success, #34d399);
	--al-mono: var(--wp--preset--font-family--mono, ui-monospace, monospace);
	--al-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--al-header-h: 76px;
	--al-glow: 0 0 25px rgba(255, 138, 0, 0.45);
	--al-glow-strong: 0 0 35px rgba(255, 138, 0, 0.7);
	--al-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--al-check-grey: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4D4D8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--al-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A00' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
	--al-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A00' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
	--al-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FFA324'/%3E%3Cstop offset='.5' stop-color='%23FF8A00'/%3E%3Cstop offset='1' stop-color='%23FF5500'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M50 8 14 88h18l12-28h6z' fill='url(%23g)'/%3E%3Cpath d='M50 8l36 80H68L56 60h-6z' fill='url(%23g)'/%3E%3Cpath d='M33 67h11l4 7H30zM56 67h11l3 7H52z' fill='url(%23g)'/%3E%3Cpath d='M50 28 39 52h22z' fill='%23070708'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html {
	scroll-padding-top: calc(var(--al-header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	background-color: var(--al-bg);
	color: var(--al-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* Plus Jakarta Sans has a very narrow space (0.18em); open it slightly for small text. */
	word-spacing: 0.04em;
	overflow-x: clip;
}
::selection { background: var(--al-orange); color: #000; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0b0b0d; }
::-webkit-scrollbar-thumb { background: var(--al-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--al-orange); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--al-orange);
	outline-offset: 3px;
	border-radius: 6px;
}
:where(p, h1, h2, h3, h4, ul, ol, figure) { margin: 0; }
img { max-width: 100%; height: auto; }
code { font-family: var(--al-mono); }

.al-main { overflow-x: clip; }
.al-section { position: relative; padding-block: clamp(4rem, 9vw, 6rem); isolation: isolate; }
.al-section > * { position: relative; z-index: 1; }

.screen-reader-text, .al-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 2. Shared components --------------------------------------------------- */

/* Icons: any element with .al-i + .al-i-NAME gets the icon as ::before. */
.al-i::before {
	content: "";
	display: inline-block;
	flex: none;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: var(--al-icon) center / contain no-repeat;
	mask: var(--al-icon) center / contain no-repeat;
	vertical-align: -0.125em;
}

.al-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: fit-content;
	margin: 0 0 1rem;
	padding: 0.3125rem 0.875rem;
	border: 1px solid var(--al-border);
	border-radius: 999px;
	background: #151518;
	color: var(--al-orange);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.01em;
}
.al-pill::before { width: 0.875rem; height: 0.875rem; }
.al-pill--glow { border-color: rgba(255, 138, 0, 0.8); color: var(--al-white); box-shadow: 0 0 15px rgba(255, 138, 0, 0.22); }
.al-pill--glow::before { background-color: var(--al-orange); }
.al-pill--ember { background: var(--al-ember); border-color: var(--al-orange); }

/* Icon box: the element is the box, ::before is the icon. */
.al-icobox {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--al-border);
	border-radius: 12px;
	background: var(--al-surface-2);
	color: var(--al-orange);
	transition: background-color 0.3s, border-color 0.3s;
}
.al-icobox::before { width: 1.25rem; height: 1.25rem; }
.al-icobox--sm { width: 2rem; height: 2rem; border-radius: 8px; background: rgba(42, 22, 8, 0.8); border-color: rgba(255, 138, 0, 0.6); }
.al-icobox--sm::before { width: 1.125rem; height: 1.125rem; }
.al-icobox--lg { width: 3.5rem; height: 3.5rem; border-radius: 16px; }
.al-icobox--lg::before { width: 1.5rem; height: 1.5rem; }

.al-card {
	position: relative;
	border: 1px solid var(--al-border);
	border-radius: 16px;
	background: var(--al-surface);
	padding: 1.25rem;
	transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.al-card--lg { border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.al-card:hover, .al-card.is-active, .al-card.is-featured {
	background: radial-gradient(120% 120% at 0% 0%, rgba(255, 138, 0, 0.13) 0%, rgba(17, 17, 20, 0.95) 60%), var(--al-surface);
	border-color: rgba(255, 138, 0, 0.75);
	box-shadow: 0 0 32px -5px rgba(255, 138, 0, 0.3);
}
.al-card:hover .al-icobox, .al-card.is-active .al-icobox { background: var(--al-ember); border-color: var(--al-orange); }
.al-card-glare {
	position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
	opacity: 0; transition: opacity 0.3s;
	background: radial-gradient(circle 240px at var(--gx, 50%) var(--gy, 50%), rgba(255, 138, 0, 0.16), transparent 75%);
}
.al-tilt.is-tilting .al-card-glare { opacity: 1; }

.al-section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.al-section-head--center { max-width: 48rem; margin-inline: auto; text-align: center; }
.al-section-head--center .al-pill { margin-inline: auto; }
.al-section-title {
	font-size: clamp(1.875rem, 1.2rem + 2.8vw, 3rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.025em;
}
.al-lead { margin-top: 0.875rem; color: var(--al-text-2); font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); line-height: 1.65; }

.al-checklist { list-style: none; padding: 0; display: grid; gap: 0.625rem; }
.al-checklist li { position: relative; padding-left: 1.75rem; color: var(--al-text-2); font-size: 0.8125rem; line-height: 1.55; }
.al-checklist li::before {
	content: ""; position: absolute; left: 0; top: 0.125rem;
	width: 1rem; height: 1rem; border-radius: 50%;
	border: 1px solid rgba(255, 138, 0, 0.7);
	background: var(--al-check) center / 0.625rem no-repeat, var(--al-ember);
}
.al-checklist--muted li::before { border-color: #3d3d48; background: var(--al-check-grey) center / 0.625rem no-repeat, #181820; }

.al-dotlist { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.al-dotlist li { position: relative; padding-left: 1.125rem; color: var(--al-text-2); font-size: 0.8125rem; font-weight: 500; line-height: 1.55; }
.al-dotlist li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--al-orange); }

/* 3. Buttons ------------------------------------------------------------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.wp-block-button__link { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem; overflow: hidden; text-decoration: none; transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s, transform 0.2s; }
.wp-block-button__link:hover { box-shadow: var(--al-glow-strong); }
.wp-block-button__link:active { transform: scale(0.97); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: var(--al-surface);
	color: var(--al-white);
	border: 1px solid var(--al-border);
	box-shadow: none;
	padding: 0.875rem 1.5rem;
	font-weight: 500;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: rgba(255, 138, 0, 0.7); background: #18181d; color: var(--al-white); }

/* Trailing arrow */
.al-btn-arrow .wp-block-button__link::after, button.al-btn-arrow::after {
	content: ""; width: 1rem; height: 1rem; flex: none; background: currentColor;
	-webkit-mask: var(--al-ic-arrow-right) center / contain no-repeat; mask: var(--al-ic-arrow-right) center / contain no-repeat;
	transition: transform 0.2s;
}
.al-btn-arrow .wp-block-button__link:hover::after, button.al-btn-arrow:hover::after { transform: translateX(4px); }
.al-btn-arrow.is-style-outline .wp-block-button__link::after { background: var(--al-orange); }
.al-btn-upright .wp-block-button__link::after {
	content: ""; width: 0.875rem; height: 0.875rem; background: currentColor;
	-webkit-mask: var(--al-ic-arrow-up-right) center / contain no-repeat; mask: var(--al-ic-arrow-up-right) center / contain no-repeat;
}
/* Leading play disc */
.al-btn-play .wp-block-button__link { gap: 0.75rem; padding-left: 0.875rem; }
.al-btn-play .wp-block-button__link::before {
	content: ""; width: 1.5rem; height: 1.5rem; border-radius: 50%; flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='white'/%3E%3C/svg%3E") center / 0.875rem no-repeat, rgba(255, 255, 255, 0.1);
	transition: background-color 0.2s;
}
.al-btn-play .wp-block-button__link:hover::before { background-color: var(--al-orange); }
/* Leading icon from .al-i on the button wrapper */
.wp-block-button.al-i::before { display: none; }
.wp-block-button.al-i .wp-block-button__link::before {
	content: ""; width: 0.875rem; height: 0.875rem; flex: none; background: currentColor;
	-webkit-mask: var(--al-icon) center / contain no-repeat; mask: var(--al-icon) center / contain no-repeat;
}
.wp-block-button.al-i.is-style-outline .wp-block-button__link::before { background: var(--al-orange); }
.al-btn-sm .wp-block-button__link { padding: 0.5rem 1.25rem; font-size: 0.75rem; box-shadow: 0 0 20px rgba(255, 138, 0, 0.4); }
.al-btn-sm.is-style-outline .wp-block-button__link { padding: 0.5rem 1rem; font-size: 0.75rem; box-shadow: none; }
.al-btn-sm .wp-block-button__link::after { width: 0.875rem; height: 0.875rem; }
.al-btn-xs .wp-block-button__link { padding: 0.5rem 1rem; font-size: 0.75rem; gap: 0.5rem; box-shadow: 0 0 15px rgba(255, 138, 0, 0.35); }
.al-btn-xs.is-style-outline .wp-block-button__link { padding: 0.5rem 1rem; font-size: 0.75rem; box-shadow: none; }
.al-btn-square .wp-block-button__link { border-radius: 12px; }
.al-btn-block .wp-block-button__link { width: 100%; border-radius: 16px; padding-block: 1rem; }
.wp-block-button.al-btn-block { width: 100%; }
.al-btn-light-sweep {
	position: absolute; top: 0; left: -100%; width: 60%; height: 100%; pointer-events: none; z-index: 1;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transform: skewX(-20deg);
}
.al-magnetic .wp-block-button__link, .al-magnetic-el { will-change: transform; }

/* Plain (non-block) buttons used inside HTML blocks */
.al-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	padding: 0.75rem 2rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s;
}
.al-btn--solid { background: var(--al-orange); color: var(--al-bg); }
.al-btn--solid:hover { background: var(--al-orange-hover); color: var(--al-bg); }
.al-btn--ghost { background: var(--al-surface-2); color: var(--al-white); border: 1px solid var(--al-border); border-radius: 12px; padding: 0.625rem 1.5rem; font-weight: 600; }
.al-btn--ghost:hover { border-color: var(--al-orange); color: var(--al-white); }

/* 4. Header & navigation -------------------------------------------------- */
.al-header-part { display: block; height: 0; }
.al-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	padding-block: 1.25rem;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s, padding 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.35s var(--al-ease-out);
}
.admin-bar .al-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .al-header { top: 46px; } }
.al-header.is-scrolled {
	padding-block: 0.875rem;
	background: rgba(7, 7, 8, 0.92);
	border-bottom-color: rgba(38, 38, 43, 0.7);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
@supports (backdrop-filter: blur(1px)) {
	.al-header.is-scrolled { background: rgba(7, 7, 8, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.al-header.is-hidden { transform: translateY(calc(-100% - 40px)); }
.al-header-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	max-width: 1280px; margin-inline: auto;
	padding-inline: var(--wp--style--root--padding-left, 1rem);
}

.al-logo { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.al-logo a { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--al-white); text-decoration: none; }
.al-logo a::before {
	content: ""; width: 2.25rem; height: 2.25rem; flex: none;
	background: var(--al-logo) center / contain no-repeat;
	filter: drop-shadow(0 0 10px rgba(255, 138, 0, 0.6));
}
.al-logo a:hover { color: var(--al-white); }

/* Navigation: overlay ("hamburger") below 1024px, inline pill bar above. */
.al-header .al-nav { --nav-item: rgba(255, 255, 255, 0.9); color: var(--al-white); }
.al-header .al-nav .wp-block-navigation__responsive-container-open {
	display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0;
	border: 1px solid var(--al-border); border-radius: 10px; background: var(--al-surface); color: #d4d4d8;
}
.al-header .al-nav .wp-block-navigation__responsive-container-open svg { width: 22px; height: 22px; }
@media (max-width: 1023px) {
	.al-header .al-nav { order: 3; }
	.al-header .al-header-cta { margin-left: auto; }
}
@media (min-width: 1024px) {
	.al-header .al-nav .wp-block-navigation__responsive-container-open.always-shown { display: none; }
	.al-header .al-nav .wp-block-navigation__responsive-container.hidden-by-default:not(.is-menu-open) {
		display: block; position: relative; width: auto; z-index: auto; background: transparent;
	}
	.al-header .al-nav .wp-block-navigation__responsive-container.hidden-by-default:not(.is-menu-open) .wp-block-navigation__responsive-container-close { display: none; }
	.al-header .al-nav .wp-block-navigation__container {
		gap: 0.25rem; padding: 0.25rem;
		border: 1px solid rgba(38, 38, 43, 0.8); border-radius: 999px;
		background: rgba(17, 17, 20, 0.8);
	}
	.al-header .al-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		position: relative; padding: 0.375rem 0.875rem; border-radius: 999px; color: var(--nav-item);
		border: 1px solid transparent; transition: background-color 0.2s, color 0.2s;
	}
	.al-header .al-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover { background: #1a1a1e; color: var(--al-white); }
	.al-header .al-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content[aria-current="page"] {
		background: var(--al-ember); border-color: var(--al-orange); color: var(--al-white); font-weight: 600;
		box-shadow: 0 0 14px rgba(255, 138, 0, 0.3);
	}
	/* Underline grow on hover */
	.al-header .al-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:not([aria-current])::after {
		content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; border-radius: 9px;
		background: var(--al-orange); box-shadow: 0 0 8px var(--al-orange);
		transition: width 0.25s var(--al-ease-out), left 0.25s var(--al-ease-out);
	}
	.al-header .al-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:not([aria-current]):hover::after { width: 70%; left: 15%; }
	.al-header .al-nav .wp-block-navigation-submenu > .wp-block-navigation-item__content { padding-right: 1.75rem !important; }
	.al-header .al-nav .wp-block-navigation__submenu-icon { margin-left: -1.5rem; position: relative; z-index: 1; color: #a3a3a3; }
	.al-header .al-nav .wp-block-navigation-submenu[aria-expanded="true"] > .wp-block-navigation-item__content,
	.al-header .al-nav .wp-block-navigation-submenu:has(> [aria-expanded="true"]) > .wp-block-navigation-item__content { color: var(--al-orange); background: #1a1a1e; }
	.al-header .al-nav .wp-block-navigation-submenu:has(> [aria-expanded="true"]) .wp-block-navigation__submenu-icon { color: var(--al-orange); }

	/* Dropdown panel */
	.al-header .al-nav:not(.has-background) .wp-block-navigation__submenu-container {
		top: calc(100% + 10px); left: 0; width: 20rem; min-width: 20rem; padding: 0.5rem;
		border: 1px solid var(--al-border); border-radius: 16px;
		background: var(--al-surface); color: var(--al-white);
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
	}
	.al-header .al-nav .has-child .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container,
	.al-header .al-nav .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container,
	.al-header .al-nav .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within > .wp-block-navigation__submenu-container { width: 20rem; min-width: 20rem; }
	.al-header .al-nav .wp-block-navigation__submenu-container::before {
		content: "Capabilities"; display: block; padding: 0.5rem 0.75rem;
		color: var(--al-orange); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
	}
	.al-header .al-nav .wp-block-navigation-submenu + .wp-block-navigation-submenu .wp-block-navigation__submenu-container::before { content: "Industry Verticals"; }
	.al-header .al-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex; flex-direction: column; align-items: flex-start; gap: 0.125rem;
		width: 100%; padding: 0.625rem 0.75rem; border-radius: 12px; transition: background-color 0.2s;
	}
	.al-header .al-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: #1a1a20; }
	.al-header .al-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__label { font-weight: 600; color: var(--al-white); transition: color 0.2s; }
	.al-header .al-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover .wp-block-navigation-item__label { color: var(--al-orange); }
}
.al-header .al-nav .wp-block-navigation-item__description { display: block; margin-top: 0.125rem; color: var(--al-muted); font-size: 0.6875rem; font-weight: 400; line-height: 1.35; }

/* Overlay menu (mobile/tablet) */
.al-header .al-nav:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--al-bg); color: var(--al-white);
	padding: calc(var(--al-header-h) + 1rem) var(--wp--style--root--padding-left, 1rem) 2rem;
}
.al-header .al-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	top: calc(-1 * var(--al-header-h) + 1.125rem); right: 0;
	display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
	border: 1px solid var(--al-border); border-radius: 10px; background: var(--al-surface);
}
.al-header .al-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0.25rem; width: 100%; }
.al-header .al-nav .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation__submenu-container, .wp-block-navigation-item) { align-items: flex-start; text-align: left; }
.al-header .al-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close { max-width: 1280px; }
.al-header .al-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; }
.al-header .al-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	display: block; width: 100%; padding: 0.625rem 0.75rem; border-radius: 10px; font-size: 1rem; font-weight: 600;
}
.al-header .al-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--al-orange); background: rgba(42, 22, 8, 0.4); border: 1px solid rgba(255, 138, 0, 0.4);
}
.al-header .al-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { padding: 0 0 0.5rem 0.75rem !important; gap: 0; }
.al-header .al-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.375rem 0.75rem; font-size: 0.875rem; color: #d4d4d8; }
.al-header .al-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__description { display: none; }

.al-header-cta { gap: 0.5rem; flex-wrap: nowrap; }
@media (max-width: 380px) { .al-logo { font-size: 1.0625rem; } .al-logo a { gap: 0.5rem; } .al-logo a::before { width: 1.875rem; height: 1.875rem; } }

/* 5. Hero --------------------------------------------------------------- */
.al-hero {
	display: flex; flex-direction: column; justify-content: center;
	min-height: min(94vh, 1000px);
	padding-top: calc(var(--al-header-h) + clamp(1.5rem, 4vw, 3rem));
	padding-bottom: clamp(3rem, 6vw, 4rem);
	overflow: hidden;
}
@supports (height: 1svh) { .al-hero { min-height: min(94svh, 1000px); } }
.al-hero::before, .al-hero::after { content: ""; position: absolute; pointer-events: none; z-index: 0; }
.al-hero::before { inset: 0 0 auto auto; width: min(100%, 75vw); height: 850px; opacity: 0.75; background: radial-gradient(ellipse 70% 60% at 85% 35%, rgba(255, 138, 0, 0.22) 0%, rgba(255, 107, 0, 0.08) 45%, transparent 75%); }
.al-hero::after { left: -15%; top: 5%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255, 138, 0, 0.14), transparent 65%); }

.al-hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .al-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; } }

.al-hero-badge { margin-bottom: 1.75rem; }
.al-hero-title {
	margin: 0;
	/* Sized so each line ("Websites. Apps." / "SaaS. Built Right.") always fits its column. */
	font-size: clamp(2.25rem, 10vw, 4.5rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
}
@media (min-width: 1024px) { .al-hero-title { font-size: calc((min(100vw, 1280px) - 7rem) / 17.4); } }
.al-hero-title mark { color: var(--al-orange); text-shadow: 0 0 35px rgba(255, 138, 0, 0.55); }
.al-hero-sub { max-width: 34rem; margin: 1.5rem 0 2.25rem; color: var(--al-text-2); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; }
.al-hero-ctas { margin-bottom: 3rem; }
.al-hero-ctas .wp-block-button:first-child .wp-block-button__link { box-shadow: var(--al-glow); }

.al-stats {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem;
	padding-top: 1.75rem; border-top: 1px solid rgba(38, 38, 43, 0.8);
}
.al-stat {
	display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto;
	column-gap: 0.75rem; row-gap: 0.375rem; align-content: center;
}
.al-stat + .al-stat { padding-left: clamp(0.5rem, 1.5vw, 1rem); border-left: 1px solid rgba(38, 38, 43, 0.8); }
.al-stat::before, .al-stat::after { grid-column: 1; grid-row: 1 / 3; align-self: center; }
.al-stat::after { content: ""; width: 2.75rem; height: 2.75rem; border: 1px solid var(--al-border); border-radius: 12px; background: #141418; }
.al-stat::before { position: relative; z-index: 1; justify-self: center; width: 1.25rem; height: 1.25rem; color: var(--al-orange); }
.al-stat-num { grid-column: 2; font-size: 1.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.al-stat-label { grid-column: 2; color: var(--al-muted); font-size: 0.75rem; line-height: 1.2; }
@media (max-width: 479px) {
	.al-stat { grid-template-columns: minmax(0, 1fr); text-align: left; }
	.al-stat::before, .al-stat::after { display: none; }
	.al-stat-num, .al-stat-label { grid-column: 1; }
	.al-stat-num { font-size: 1.375rem; }
}

.al-hero-visual { position: relative; perspective: 1200px; }
.al-hero-stage {
	position: relative; aspect-ratio: 1376 / 768; border-radius: 24px; overflow: hidden;
	border: 1px solid rgba(38, 38, 43, 0.8);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
	transform: rotateY(calc(var(--mx, 0) * 6deg)) rotateX(calc(var(--my, 0) * -6deg)) scale(var(--ms, 1));
	transition: transform 0.5s ease-out;
}
.al-hero-stage::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	/* Edge vignette only: keeps the laptop and its "A" untouched. */
	background:
		linear-gradient(to top, rgba(7, 7, 8, 0.85) 0%, transparent 20%),
		linear-gradient(to right, rgba(7, 7, 8, 0.4) 0%, transparent 16%, transparent 84%, rgba(7, 7, 8, 0.3) 100%);
}
.al-hero-img { margin: 0; height: 100%; }
.al-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.al-hero-canvas {
	position: absolute; inset: 0; z-index: 2; pointer-events: none;
	/* Clear hole over the laptop's "A" (44% x / 45% y of the photo): no particle or glow is drawn there. */
	-webkit-mask-image: radial-gradient(ellipse 13% 20% at 44.2% 45.4%, transparent 72%, #000 100%);
	mask-image: radial-gradient(ellipse 13% 20% at 44.2% 45.4%, transparent 72%, #000 100%);
}
.al-hero-canvas canvas { display: block; width: 100% !important; height: 100% !important; }

.al-tile {
	position: absolute; z-index: 3;
	transform: translate3d(calc(var(--mx, 0) * var(--p, 30) * 1px), calc(var(--my, 0) * var(--p, 30) * 1px), 0);
	transition: transform 0.3s ease-out;
}
.al-tile-card {
	display: flex; align-items: center; gap: 0.75rem;
	padding: 0.5625rem 0.875rem 0.5625rem 0.625rem; border-radius: 16px;
	background: rgba(17, 17, 20, 0.92);
	border: 1px solid rgba(255, 138, 0, 0.5);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 138, 0, 0.25);
	transition: border-color 0.2s, box-shadow 0.2s;
	animation: alFloatA 5s ease-in-out infinite;
}
.al-tile-card:hover { border-color: var(--al-orange); box-shadow: 0 0 24px rgba(255, 138, 0, 0.45); }
.al-tile-label { font-size: 0.75rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; white-space: nowrap; }
.al-tile-sub { color: var(--al-muted); font-family: var(--al-mono); font-size: 0.625rem; line-height: 1.4; white-space: nowrap; }
.al-tile--1 { --p: 38; top: 4%; left: -3%; }
.al-tile--2 { --p: -44; top: 10%; right: -2%; }
.al-tile--2 .al-tile-card { animation-name: alFloatB; animation-duration: 6s; animation-delay: 0.5s; }
.al-tile--3 { --p: 32; top: 60%; left: -4%; }
.al-tile--3 .al-tile-card { animation-duration: 7s; animation-delay: 1s; }
.al-tile--4 { --p: -34; top: 50%; right: -3%; }
.al-tile--4 .al-tile-card { animation-name: alFloatB; animation-duration: 5.5s; animation-delay: 1.5s; }
.al-tile--5 { --p: 24; bottom: -3%; right: 20%; }
.al-tile--5 .al-tile-card { animation-duration: 6.5s; animation-delay: 2s; }
@media (max-width: 639px) { .al-tile { display: none; } }
@media (min-width: 640px) and (max-width: 1279px) {
	.al-tile-card { padding: 0.4375rem 0.625rem 0.4375rem 0.5rem; gap: 0.5rem; }
	.al-tile .al-icobox--sm { width: 1.75rem; height: 1.75rem; }
	.al-tile .al-icobox--sm::before { width: 1rem; height: 1rem; }
	.al-tile-label { font-size: 0.6875rem; }
}
@keyframes alFloatA { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes alFloatB { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(8px) rotate(-1deg); } }

/* 6. Services row --------------------------------------------------------- */
.al-section.al-services { padding-block: 2rem; z-index: 2; }
.al-kicker-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.al-kicker { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--al-muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.al-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--al-orange); }
.al-kicker-hint { color: var(--al-muted); font-size: 0.75rem; }
@media (max-width: 639px) { .al-kicker-hint { display: none; } }

.al-services-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.875rem; counter-reset: al-svc; }
@media (min-width: 640px) {
	.al-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
	.al-services-grid > .al-service:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.al-services-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.al-services-grid > .al-service:last-child:nth-child(odd) { grid-column: auto; }
}
.al-service { counter-increment: al-svc; display: flex; flex-direction: column; min-height: 195px; cursor: pointer; }
.al-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.al-card-top::after { content: "0" counter(al-svc); color: #7d7d88; font-family: var(--al-mono); font-size: 0.6875rem; }
.al-service-title { display: flex; align-items: center; justify-content: space-between; gap: 0.25rem; margin-bottom: 0.5rem; font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.al-service-title a { color: var(--al-white); text-decoration: none; }
.al-service-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.al-service-title::after {
	content: ""; width: 1rem; height: 1rem; flex: none; background: var(--al-orange); opacity: 0.7;
	-webkit-mask: var(--al-ic-arrow-right) center / contain no-repeat; mask: var(--al-ic-arrow-right) center / contain no-repeat;
	transition: transform 0.2s, opacity 0.2s;
}
.al-service:hover .al-service-title::after, .al-service.is-active .al-service-title::after { opacity: 1; transform: translateX(2px); }
.al-service:focus-within { outline: 2px solid var(--al-orange); outline-offset: 2px; }
.al-service-title a:focus-visible { outline: none; }
.al-service-desc { color: var(--al-muted); font-size: 0.75rem; line-height: 1.6; }
.al-card-foot {
	display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
	margin-top: auto; padding-top: 0.75rem; border-top: 1px solid rgba(38, 38, 43, 0.5);
	color: rgba(255, 255, 255, 0.5); font-size: 0.625rem;
}
.al-service .al-service-desc { margin-bottom: 1rem; }
.al-card-foot code { color: var(--al-orange); font-size: 0.625rem; }
.al-service:hover .al-card-foot { color: var(--al-white); }

/* 7. Marquee & terrain ------------------------------------------------------ */
.al-marquee {
	position: relative; padding-block: 2rem; overflow: hidden;
	border-block: 1px solid #18181e;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.al-marquee-list { list-style: none; margin: 0; padding: 0 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.al-marquee-list li {
	display: inline-flex; align-items: center; gap: 0.625rem; flex: none;
	padding: 0.5rem 1rem; border: 1px solid var(--al-border); border-radius: 12px; background: var(--al-surface);
	color: rgba(255, 255, 255, 0.9); font-size: 0.75rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
	transition: border-color 0.2s;
}
.al-marquee-list li::before { width: 0.875rem; height: 0.875rem; color: var(--al-orange); }
.al-marquee-list li:hover { border-color: rgba(255, 138, 0, 0.6); }
.al-marquee-list em { padding-left: 0.5rem; border-left: 1px solid var(--al-border); color: var(--al-muted); font-family: var(--al-mono); font-size: 0.625rem; font-style: normal; font-weight: 400; }
.al-marquee.is-running .al-marquee-track { display: flex; width: max-content; animation: alMarquee var(--al-marquee-dur, 40s) linear infinite; }
.al-marquee.is-running:hover .al-marquee-track { animation-play-state: paused; }
.al-marquee.is-running .al-marquee-list { flex-wrap: nowrap; justify-content: flex-start; gap: 0; padding: 0; }
.al-marquee.is-running .al-marquee-list li { margin-right: 1.5rem; }
@keyframes alMarquee { to { transform: translate3d(-50%, 0, 0); } }

.al-terrain {
	position: relative; height: 260px; overflow: hidden;
	background: radial-gradient(ellipse 38% 45% at 50% 50%, rgba(255, 138, 0, 0.1), transparent 70%);
	-webkit-mask-image: linear-gradient(transparent, #000 4rem, #000 calc(100% - 4rem), transparent);
	mask-image: linear-gradient(transparent, #000 4rem, #000 calc(100% - 4rem), transparent);
}
/* Static perspective grid (no Three.js below 1024px / touch screens). */
.al-terrain::before {
	content: ""; position: absolute; inset: -30% -80% 18%; pointer-events: none;
	background:
		repeating-linear-gradient(90deg, rgba(255, 138, 0, 0.8) 0 1.5px, transparent 1.5px 40px),
		repeating-linear-gradient(0deg, rgba(255, 138, 0, 0.8) 0 1.5px, transparent 1.5px 40px);
	transform: perspective(240px) rotateX(58deg); transform-origin: 50% 100%;
	-webkit-mask-image: radial-gradient(ellipse 45% 100% at 50% 100%, #000 30%, transparent 100%);
	mask-image: radial-gradient(ellipse 45% 100% at 50% 100%, #000 30%, transparent 100%);
	opacity: 0.55;
}
.al-terrain:has(canvas)::before { display: none; }
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) { .al-js .al-terrain::before { display: none; } }
.al-terrain canvas { display: block; width: 100% !important; height: 100% !important; }

/* 8. Our Work ----------------------------------------------------------- */
.al-work::before {
	content: ""; position: absolute; z-index: 0; top: 20%; left: 50%; width: 700px; max-width: 100%; height: 360px;
	transform: translateX(-50%); pointer-events: none;
	background: radial-gradient(ellipse, rgba(255, 138, 0, 0.09), transparent 70%);
}
.al-section-head--split { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .al-section-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.al-section-head--split .al-lead { max-width: 36rem; }
.al-work-metric {
	display: flex; align-items: center; gap: 1rem; flex: none; padding: 1rem;
	border: 1px solid var(--al-border); border-radius: 16px; background: var(--al-surface);
}
.al-work-metric-text { text-align: right; }
.al-work-metric-value { color: var(--al-orange); font-family: var(--al-mono); font-size: clamp(1.125rem, 4.6vw, 1.5rem); font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.al-work-metric-label { color: var(--al-muted); font-size: 0.75rem; }
.al-work-metric::after {
	content: ""; width: 2.5rem; height: 2.5rem; flex: none; border-radius: 12px;
	border: 1px solid rgba(255, 138, 0, 0.5);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF8A00'%3E%3Cpath d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") center / 1.125rem no-repeat, var(--al-ember);
}

.al-work-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.al-work-tabs { position: relative; display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.25rem 0.25rem 0.5rem; margin: -0.25rem -0.25rem -0.5rem; scrollbar-width: none; flex: 1; }
.al-work-tabs::-webkit-scrollbar { display: none; }
.al-tab {
	display: inline-flex; align-items: center; gap: 0.5rem; flex: none;
	padding: 0.5rem 1rem; border: 1px solid var(--al-border); border-radius: 12px;
	background: var(--al-surface); color: var(--al-muted);
	font: inherit; font-size: 0.75rem; font-weight: 600; white-space: nowrap; cursor: pointer;
	transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.al-tab:hover { color: var(--al-white); border-color: #3d3d45; }
.al-tab[aria-selected="true"] { background: #18181d; color: var(--al-white); border-color: var(--al-orange); box-shadow: 0 0 20px rgba(255, 138, 0, 0.3); }
.al-tab[aria-selected="true"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--al-orange); }
.al-work-arrows { display: none; align-items: center; gap: 0.375rem; flex: none; }
@media (min-width: 640px) { .al-work-arrows { display: flex; } }
.al-work-counter { padding-inline: 0.5rem; color: var(--al-muted); font-family: var(--al-mono); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.al-iconbtn {
	display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0;
	border: 1px solid var(--al-border); border-radius: 12px; background: var(--al-surface); color: #d4d4d8; cursor: pointer;
	transition: color 0.2s, border-color 0.2s, opacity 0.2s;
}
.al-iconbtn::before { width: 1rem; height: 1rem; }
.al-iconbtn:hover:not(:disabled) { color: var(--al-white); border-color: var(--al-orange); }
.al-iconbtn:disabled { opacity: 0.3; cursor: not-allowed; }

.al-work-stage {
	position: relative; overflow: hidden;
	border: 1px solid var(--al-border); border-radius: 24px; background: #0d0d10;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
	transform: perspective(1400px) rotateX(1deg);
	display: flex; flex-direction: column;
}
.al-concepts { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.al-concept, .al-site, .al-site-copy, .al-slots { min-width: 0; }
.al-concept + .al-concept { border-top: 1px solid var(--al-border); }
.al-work.is-enhanced .al-concept + .al-concept { border-top: 0; }
.al-work.is-enhanced .al-concept:not(.is-active) { display: none; }
.al-work.is-enhanced .al-concept.is-active { animation: alFadeIn 0.45s ease both; }
.al-work.is-enhanced .al-concept-metric { display: none; }

.al-browser-bar {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 0.75rem 1rem 0.75rem 4.75rem; border-bottom: 1px solid var(--al-border); background: var(--al-surface);
}
.al-browser-bar::before {
	content: ""; position: absolute; left: 1rem; top: 50%; width: 3rem; height: 0.75rem; transform: translateY(-50%);
	background:
		radial-gradient(circle at 6px 6px, #ff5f56 5.5px, transparent 6px),
		radial-gradient(circle at 24px 6px, #ffbd2e 5.5px, transparent 6px),
		radial-gradient(circle at 42px 6px, #27c93f 5.5px, transparent 6px);
}
.al-browser-url {
	display: flex; align-items: center; justify-content: center; gap: 0.5rem; flex: 1; min-width: 0; max-width: 32rem; margin-inline: auto;
	padding: 0.375rem 1rem; border: 1px solid var(--al-border); border-radius: 12px; background: var(--al-bg);
	color: var(--al-muted); font-family: var(--al-mono); font-size: 0.75rem;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: none;
}
.al-browser-url::before {
	content: ""; width: 0.75rem; height: 0.75rem; flex: none; background: #10b981;
	-webkit-mask: var(--al-ic-lock) center / contain no-repeat; mask: var(--al-ic-lock) center / contain no-repeat;
}
.al-browser-badge { flex: none; padding: 0.25rem 0.625rem; border-radius: 6px; background: #16161a; color: var(--al-orange); font-family: var(--al-mono); font-size: 0.6875rem; }
@media (max-width: 639px) { .al-browser-badge { display: none; } .al-browser-bar { padding-left: 4.25rem; } }

.al-concept-metric { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.75rem 1rem 0; }
.al-metric-value { color: var(--al-orange); font-family: var(--al-mono); font-weight: 800; font-size: 1.25rem; }
.al-metric-label { color: var(--al-muted); font-size: 0.75rem; }

.al-concept { background: linear-gradient(to bottom, #0f0f13, #08080a); }
.al-site {
	max-width: 56rem; margin: clamp(1rem, 3vw, 2.5rem) auto; margin-inline: clamp(1rem, 3vw, 2.5rem);
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--al-border); border-radius: 16px; background: var(--al-bg);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
@media (min-width: 1024px) { .al-site { margin-inline: auto; } .al-work-stage .al-site { min-height: 440px; } }
.al-site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--al-border); }
.al-site-id { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.al-site-avatar { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border: 1px solid var(--al-border); border-radius: 12px; background: #1a1a22; font-weight: 700; }
.al-site-name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; letter-spacing: -0.01em; }
.al-site-name em { padding: 0.125rem 0.5rem; border-radius: 999px; background: rgba(16, 185, 129, 0.1); color: var(--al-success); font-size: 0.625rem; font-style: normal; font-weight: 500; }
.al-site-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; color: var(--al-muted); font-size: 0.75rem; }
.al-site-rating strong { display: inline-flex; align-items: center; gap: 0.25rem; color: #fbbf24; font-weight: 500; }
.al-site-rating strong::before {
	content: ""; width: 0.75rem; height: 0.75rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FBBF24'%3E%3Cpath d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.al-site-call .wp-block-button__link { color: var(--al-orange) !important; border-color: rgba(255, 138, 0, 0.8) !important; border-radius: 12px; font-weight: 600 !important; }
.al-site-call .wp-block-button__link:hover { background: var(--al-ember) !important; }
.al-site-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: center; padding-block: 2rem; }
@media (min-width: 768px) { .al-site-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.al-site-kicker { margin-bottom: 0.5rem; color: var(--al-orange); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.al-site-title { margin-bottom: 0.75rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem); font-weight: 800; line-height: 1.2; }
.al-site-text { max-width: 28rem; margin-bottom: 1.5rem; color: var(--al-muted); font-size: 0.8125rem; line-height: 1.65; }
.al-site-ctas { gap: 0.75rem; }
.al-site-ctas .wp-block-button:not(.is-style-outline) .wp-block-button__link { color: #000; }
.al-demo-msg { margin-top: 1rem; display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem; border: 1px solid rgba(16, 185, 129, 0.4); border-radius: 12px; background: rgba(16, 185, 129, 0.1); color: var(--al-success); font-size: 0.75rem; animation: alFadeIn 0.25s ease both; }
.al-demo-msg::before { width: 1rem; height: 1rem; }
.al-slots { padding: 1.25rem; border: 1px solid var(--al-border); border-radius: 16px; background: #121216; }
.al-slots-head { display: flex; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.75rem; font-weight: 700; }
.al-slots-head code, .al-slots-foot code { color: var(--al-orange); font-size: 0.6875rem; font-weight: 400; }
.al-slot-list { list-style: none; padding: 0; display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.al-slot-list li {
	display: flex; align-items: center; justify-content: space-between; padding: 0.625rem;
	border: 1px solid var(--al-border); border-radius: 8px; background: #18181f;
	color: #d4d4d8; font-family: var(--al-mono); font-size: 0.75rem; cursor: pointer; transition: border-color 0.2s;
}
.al-slot-list li::after { content: "Select ›"; color: var(--al-orange); font-family: var(--wp--preset--font-family--sans); font-size: 0.6875rem; font-weight: 500; }
.al-slot-list li:first-child { border-color: var(--al-orange); background: var(--al-ember); color: var(--al-white); }
.al-slot-list li:hover { border-color: rgba(255, 138, 0, 0.5); }
.al-slots-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--al-border); color: var(--al-muted); font-size: 0.6875rem; }
.al-slots-foot::before {
	content: ""; width: 0.875rem; height: 0.875rem; margin-right: -0.25rem; flex: none; background: var(--al-success);
	-webkit-mask: var(--al-ic-shield-check) center / contain no-repeat; mask: var(--al-ic-shield-check) center / contain no-repeat;
}
.al-slots-foot code { margin-left: auto; }
.al-site-features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--al-border); }
@media (min-width: 640px) { .al-site-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.al-site-features p { padding: 0.75rem; border: 1px solid var(--al-border); border-radius: 12px; background: #121216; color: var(--al-muted); font-size: 0.6875rem; line-height: 1.5; }
.al-site-features strong { display: block; margin-bottom: 0.25rem; color: var(--al-white); font-size: 0.75rem; }

/* Pinned mode (large screens): tighter spacing so the whole section fits the viewport. */
.al-work.is-pinnable { padding-block: 1.25rem 1.5rem; }
.al-work.is-pinnable .al-section-head { margin-bottom: 1.25rem; }
.al-work.is-pinnable .al-site { margin-block: 1.5rem; }

/* Feature pins */
.al-pins { order: 2; display: flex; flex-wrap: wrap; gap: 0.625rem; padding: 1rem; border-top: 1px solid var(--al-border); }
@media (min-width: 1200px) {
	.al-pins { order: 0; position: absolute; z-index: 5; top: 5.25rem; right: 2rem; flex-direction: column; align-items: flex-end; width: 16.5rem; padding: 0; border: 0; }
	.al-work-stage .al-site { margin-left: 2.5rem; margin-right: 20.5rem; max-width: none; }
}
.al-pin { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.al-pin-label {
	display: inline-flex; align-items: center; gap: 0.625rem; padding: 0.5rem 0.875rem;
	border: 1px solid rgba(255, 138, 0, 0.4); border-radius: 12px; background: rgba(20, 20, 24, 0.94);
	color: var(--al-white); font-size: 0.75rem; font-weight: 700; white-space: nowrap; cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.al-pin-label::before { color: var(--al-orange); width: 0.875rem; height: 0.875rem; animation: alPing 2s ease-out infinite; border-radius: 50%; }
.al-pin-label code { padding: 0.125rem 0.375rem; border-radius: 4px; background: rgba(255, 138, 0, 0.2); color: var(--al-orange); font-size: 0.625rem; font-weight: 400; }
.al-pin-label:hover { border-color: var(--al-orange); }
.al-pin.is-open .al-pin-label { border-color: var(--al-orange); background: var(--al-ember); box-shadow: 0 0 20px rgba(255, 138, 0, 0.45); }
.al-pin-pop { max-width: 16.5rem; padding: 0.75rem; border: 1px solid var(--al-orange); border-radius: 12px; background: var(--al-surface); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); color: var(--al-muted); font-size: 0.6875rem; line-height: 1.6; }
.al-pin-title { margin-bottom: 0.25rem; color: var(--al-orange); font-size: 0.75rem; font-weight: 600; }
.al-js .al-pin:not(.is-open) .al-pin-pop { display: none; }
.al-pin.is-open .al-pin-pop { animation: alPop 0.2s var(--al-ease-out) both; }
@media (max-width: 1199px) { .al-pin { align-items: flex-start; } .al-pin.is-open { flex-basis: 100%; } }
@keyframes alPing { 0% { box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 138, 0, 0); } }
@keyframes alPop { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: none; } }
@keyframes alFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 9a. Why Amer Labs ---------------------------------------------------- */
.al-why::before {
	content: ""; position: absolute; z-index: 0; top: 50%; right: 5%; width: 600px; max-width: 90%; height: 600px;
	transform: translateY(-50%); pointer-events: none;
	background: radial-gradient(circle, rgba(255, 138, 0, 0.07), transparent 65%);
}
.al-why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .al-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.al-why-card { display: flex; flex-direction: column; }
.al-why-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.al-why-stat { text-align: right; }
.al-why-stat-value { font-family: var(--al-mono); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; transition: color 0.3s; }
.al-why-card:hover .al-why-stat-value { color: var(--al-orange); }
.al-why-stat-label { color: var(--al-muted); font-size: 0.6875rem; }
/* Word labels ("Performance-First") stay on one line on small phones. */
@media (max-width: 1023px) { .al-why-stat-value { font-size: 1.25rem; white-space: nowrap; } }
@media (max-width: 479px) { .al-why-stat-value { font-size: clamp(1.0625rem, 5.4vw, 1.25rem); } }
.al-why-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.625rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.al-why-title::after {
	content: ""; width: 1rem; height: 1rem; background: var(--al-orange); opacity: 0; transition: opacity 0.3s;
	-webkit-mask: var(--al-ic-arrow-up-right) center / contain no-repeat; mask: var(--al-ic-arrow-up-right) center / contain no-repeat;
}
.al-why-card:hover .al-why-title::after { opacity: 1; }
.al-why-desc { margin-bottom: 1.5rem; color: var(--al-text-2); font-size: 0.875rem; line-height: 1.65; }
.al-why-card .al-checklist { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid rgba(38, 38, 43, 0.8); }

/* 9b. Process ----------------------------------------------------------- */
.al-steps { display: grid; gap: 1.5rem; }
.al-step {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center;
	padding: clamp(1.5rem, 4vw, 2.5rem); overflow: hidden;
	border: 1px solid var(--al-border); border-radius: 24px; background: var(--al-surface);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
.al-step::before { content: ""; position: absolute; top: -40%; right: -10%; width: 22rem; height: 22rem; pointer-events: none; background: radial-gradient(circle, rgba(255, 138, 0, 0.1), transparent 65%); }
.al-step > * { position: relative; }
@media (min-width: 1024px) { .al-step { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.al-step-main { font-size: 0; } /* removes the whitespace between the inline title and subtitle */
.al-step-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 1rem; color: var(--al-muted); font-size: 0.75rem; }
.al-step-meta code { padding: 0.25rem 0.75rem; border: 1px solid var(--al-orange); border-radius: 999px; background: var(--al-ember); color: var(--al-orange); font-size: 0.75rem; font-weight: 700; }
.al-step-title, .al-step-sub { display: inline; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--al-white); }
.al-step-sub::before { content: ": "; }
.al-step-desc { margin: 0.75rem 0 0; color: var(--al-text-2); font-size: clamp(0.875rem, 0.85rem + 0.15vw, 1rem); line-height: 1.7; }
.al-step-controls { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.al-step-btn {
	display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.5rem 1rem;
	border: 1px solid var(--al-border); border-radius: 12px; background: #18181f; color: #d4d4d8;
	font: inherit; font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: color 0.2s, border-color 0.2s, background-color 0.2s, opacity 0.2s;
}
.al-step-btn:hover:not(:disabled) { color: var(--al-white); border-color: #3d3d45; }
.al-step-btn--next { padding-inline: 1.25rem; border-color: var(--al-orange); background: var(--al-orange); color: #000; font-weight: 700; box-shadow: 0 0 15px rgba(255, 138, 0, 0.3); }
.al-step-btn--next:hover:not(:disabled) { background: var(--al-orange-hover); color: #000; border-color: var(--al-orange-hover); }
.al-step-btn--next::after { content: ""; width: 0.875rem; height: 0.875rem; background: currentColor; -webkit-mask: var(--al-ic-arrow-right) center / contain no-repeat; mask: var(--al-ic-arrow-right) center / contain no-repeat; }
.al-step-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.al-deliverables { padding: 1.5rem; border: 1px solid var(--al-border); border-radius: 16px; background: #09090c; }
.al-deliverables-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; color: var(--al-orange); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.al-deliverables-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--al-border); color: var(--al-muted); font-size: 0.6875rem; }
.al-deliverables-foot code { color: var(--al-orange); }

/* Enhanced (JS): rail + one card */
.al-process.is-enhanced .al-step:not(.is-active) { display: none; }
.al-process.is-enhanced .al-step.is-active { animation: alFadeIn 0.35s ease both; }
.al-rail { position: relative; display: none; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .al-rail { display: block; } }
.al-rail-track { position: absolute; top: 23px; left: 6%; right: 6%; height: 3px; border-radius: 3px; background: #1e1e24; }
.al-rail-fill {
	position: absolute; inset: 0; border-radius: inherit; background: var(--al-orange); box-shadow: 0 0 12px rgba(255, 138, 0, 0.85);
	transform-origin: left center; transform: scaleX(var(--al-progress, 0)); transition: transform 0.6s var(--al-ease-out);
}
.al-rail-nodes { position: relative; display: flex; justify-content: space-between; padding-inline: 4%; list-style: none; margin: 0; }
.al-rail-node { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 0; border: 0; background: none; color: #a3a3a3; font: inherit; font-size: 0.75rem; font-weight: 700; cursor: pointer; }
.al-rail-dot {
	display: grid; place-items: center; width: 3rem; height: 3rem; border: 2px solid var(--al-border); border-radius: 50%;
	background: var(--al-surface); color: var(--al-muted); font-size: 0.875rem; font-weight: 700;
	transition: all 0.3s;
}
.al-rail-node:hover .al-rail-dot { border-color: rgba(255, 138, 0, 0.5); }
.al-rail-node:hover { color: var(--al-white); }
.al-rail-node.is-past .al-rail-dot {
	border-color: var(--al-orange); color: transparent; box-shadow: 0 0 12px rgba(255, 138, 0, 0.3);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / 1.25rem no-repeat, var(--al-ember);
}
.al-rail-node[aria-current="step"] { color: var(--al-orange); }
.al-rail-node[aria-current="step"] .al-rail-dot { background: var(--al-orange); border-color: var(--al-orange); color: #000; box-shadow: 0 0 28px rgba(255, 138, 0, 0.85); transform: scale(1.1); }

/* 10. Pricing ------------------------------------------------------------ */
.al-pricing::before {
	content: ""; position: absolute; z-index: 0; top: 50%; left: 50%; width: 760px; max-width: 100%; height: 480px;
	transform: translate(-50%, -50%); pointer-events: none;
	background: radial-gradient(ellipse, rgba(255, 138, 0, 0.09), transparent 70%);
}
.al-pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; max-width: 64rem; margin-inline: auto; align-items: stretch; }
@media (min-width: 1024px) { .al-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.al-plan { display: flex; flex-direction: column; }
.al-plan.is-featured { margin-top: 0.875rem; }
@media (min-width: 1024px) { .al-plan.is-featured { margin-top: 0; } }
.al-plan-badge {
	position: absolute; top: -0.875rem; left: 50%; transform: translateX(-50%);
	display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 1rem; border-radius: 999px;
	background: var(--al-orange); color: var(--al-bg); box-shadow: 0 0 20px rgba(255, 138, 0, 0.7);
	font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.al-plan-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 1rem; }
.al-plan-meta code { color: var(--al-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.al-plan-meta em { padding: 0.25rem 0.75rem; border-radius: 999px; background: #1a1a22; color: #d4d4d8; font-size: 0.75rem; font-style: normal; font-weight: 500; }
.al-plan.is-featured .al-plan-meta code { color: var(--al-orange); }
.al-plan.is-featured .al-plan-meta em { border: 1px solid rgba(255, 138, 0, 0.7); background: var(--al-ember); color: var(--al-orange); font-weight: 700; }
.al-plan-name { margin-bottom: 0.5rem; font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; }
.al-plan-desc { margin-bottom: 1.5rem; color: var(--al-muted); font-size: 0.875rem; line-height: 1.6; }
.al-plan.is-featured .al-plan-desc { color: var(--al-text-2); }
.al-price { margin-bottom: 2rem; padding-block: 1.5rem; border-block: 1px solid var(--al-border); }
.al-plan.is-featured .al-price { border-color: rgba(255, 138, 0, 0.4); }
.al-price-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; font-family: var(--al-mono); font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.al-price-value em { font-family: var(--wp--preset--font-family--sans); color: var(--al-muted); font-size: 0.875rem; font-style: normal; font-weight: 400; letter-spacing: 0; }
.al-plan.is-featured .al-price-value { color: var(--al-orange); }
.al-plan.is-featured .al-price-value em { color: var(--al-text-2); }
.al-price-note { margin-top: 0.25rem; color: var(--al-orange); font-size: 0.75rem; font-weight: 500; }
.al-plan.is-featured .al-price-note { color: rgba(255, 255, 255, 0.9); }
.al-plan-list-title { margin-bottom: 0.875rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.al-plan .al-checklist { gap: 0.875rem; margin-bottom: 2rem; }
.al-plan .al-checklist li { font-size: 0.75rem; }
.al-plan.is-featured .al-checklist li { color: var(--al-white); }
.al-plan-cta { margin-top: auto; }
.al-plan-cta .is-style-outline .wp-block-button__link { background: #181820; font-weight: 700; padding-block: 1rem; }
.al-plan-cta .is-style-outline .wp-block-button__link:hover { border-color: var(--al-orange); background: #22222a; }
.al-guarantee { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 3rem; color: var(--al-muted); font-size: 0.75rem; text-align: center; }
.al-guarantee::before { width: 1rem; height: 1rem; color: var(--al-orange); }

/* 11. FAQ ---------------------------------------------------------------- */
.al-faq-list { display: grid; gap: 1rem; }
.al-faq-item {
	overflow: hidden; border: 1px solid var(--al-border); border-radius: 16px; background: var(--al-surface);
	transition: border-color 0.3s, box-shadow 0.3s;
	interpolate-size: allow-keywords;
}
.al-faq-item:hover { border-color: #3d3d45; }
.al-faq-item[open] { border-color: rgba(255, 138, 0, 0.7); box-shadow: 0 0 25px rgba(255, 138, 0, 0.15); }
.al-faq-item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.5rem; list-style: none; cursor: pointer;
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.4;
}
.al-faq-item summary::-webkit-details-marker { display: none; }
.al-faq-item summary::after {
	content: ""; width: 2rem; height: 2rem; flex: none; border: 1px solid var(--al-border); border-radius: 50%;
	background: var(--al-plus) center / 1rem no-repeat, #181820; transition: background-color 0.2s, border-color 0.2s;
}
.al-faq-item[open] summary::after { border-color: var(--al-orange); background: var(--al-minus) center / 1rem no-repeat, var(--al-ember); }
.al-faq-item summary:focus-visible { outline-offset: -4px; border-radius: 16px; }
.al-faq-item > :not(summary) { margin: 0 1.5rem; padding: 0.75rem 0 1.5rem; border-top: 1px solid rgba(38, 38, 43, 0.8); color: var(--al-text-2); font-size: 0.875rem; line-height: 1.7; }
.al-faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete; }
.al-faq-item[open]::details-content { block-size: auto; }

/* 12. Final CTA & forms -------------------------------------------------- */
.al-cta::before {
	content: ""; position: absolute; z-index: 0; top: 50%; left: 50%; width: 900px; max-width: 100%; height: 540px;
	transform: translate(-50%, -50%); pointer-events: none;
	background: radial-gradient(ellipse, rgba(255, 138, 0, 0.13), transparent 70%);
}
.al-cta-panel {
	position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center;
	padding: clamp(1.5rem, 5vw, 4rem); border: 1px solid rgba(255, 138, 0, 0.5); border-radius: 32px; background: var(--al-surface);
	box-shadow: 0 0 60px -15px rgba(255, 138, 0, 0.35);
}
.al-cta-panel::before { content: ""; position: absolute; top: 0; right: 0; width: 24rem; height: 24rem; pointer-events: none; background: linear-gradient(to bottom left, rgba(255, 138, 0, 0.15), transparent 60%); }
.al-cta-panel > * { position: relative; }
@media (min-width: 1024px) { .al-cta-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.al-cta-copy .al-pill { margin-bottom: 1.5rem; }
.al-cta-title { margin-bottom: 1.5rem; font-size: clamp(1.875rem, 1.2rem + 3vw, 3.375rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
.al-cta-title mark { color: var(--al-orange); }
.al-cta-copy .al-lead { margin: 0 0 2rem; font-size: 1rem; }
.al-cta-points { gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--al-border); }
.al-cta-points li { color: var(--al-muted); font-size: 0.75rem; padding-left: 2rem; }
.al-cta-points li::before { width: 1.25rem; height: 1.25rem; top: -0.0625rem; }

.al-form { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--al-border); border-radius: 16px; background: #09090c; }
.al-form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 640px) { .al-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.al-field { display: grid; gap: 0.375rem; min-width: 0; }
.al-label { color: var(--al-text-2); font-size: 0.75rem; font-weight: 500; }
.al-form input:not([type="radio"]):not([type="checkbox"]), .al-form select, .al-form textarea {
	width: 100%; padding: 0.625rem 0.875rem; border: 1px solid var(--al-border); border-radius: 12px; background: #121216;
	color: var(--al-white); font: inherit; font-size: 16px; line-height: 1.4; transition: border-color 0.2s;
}
@media (min-width: 768px) { .al-form input:not([type="radio"]):not([type="checkbox"]), .al-form select, .al-form textarea { font-size: 0.8125rem; } }
.al-form textarea { resize: vertical; min-height: 4.5rem; }
.al-form select {
	appearance: none; cursor: pointer; padding-right: 2.25rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0A0A8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.75rem center / 1rem no-repeat, #121216;
}
.al-form ::placeholder { color: #52525c; }
.al-form input:focus, .al-form select:focus, .al-form textarea:focus { outline: none; border-color: var(--al-orange); }
.al-form input:focus-visible, .al-form select:focus-visible, .al-form textarea:focus-visible { box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.25); }
.al-submit {
	position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%;
	padding: 0.875rem 1rem; border: 0; border-radius: 12px; background: var(--al-orange); color: var(--al-bg);
	font: inherit; font-size: 0.8125rem; font-weight: 700; cursor: pointer;
	box-shadow: var(--al-glow); transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}
.al-submit:hover { background: var(--al-orange-hover); box-shadow: var(--al-glow-strong); }
.al-submit:active { transform: scale(0.98); }
.al-submit[disabled] { opacity: 0.7; cursor: progress; }
.al-form-note { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: var(--al-muted); font-size: 0.6875rem; text-align: center; }
.al-form-note::before { width: 0.75rem; height: 0.75rem; color: var(--al-success); }
.al-form-error { padding: 0.625rem 0.75rem; border: 1px solid rgba(248, 113, 113, 0.4); border-radius: 10px; background: rgba(248, 113, 113, 0.08); color: #fca5a5; font-size: 0.75rem; }
.al-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.al-form-success { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid rgba(16, 185, 129, 0.5); border-radius: 16px; background: #09090c; text-align: center; animation: alPop 0.25s var(--al-ease-out) both; }
.al-form-success:focus { outline: none; }
.al-form-success h3 { margin-bottom: 0.5rem; font-size: 1.25rem; font-weight: 700; }
.al-form-success p { max-width: 24rem; margin: 0 auto 1.5rem; color: var(--al-muted); font-size: 0.8125rem; line-height: 1.65; }
.al-form-success strong { color: var(--al-white); }
.al-accent { color: var(--al-orange); }
.al-success-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border: 1px solid rgba(16, 185, 129, 0.4); border-radius: 50%; background: rgba(16, 185, 129, 0.1); color: var(--al-success); }
.al-success-icon::before { width: 2rem; height: 2rem; }

.al-choices { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
@media (min-width: 640px) { .al-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.al-choices legend { grid-column: 1 / -1; margin-bottom: 0.625rem; padding: 0; }
.al-form--quote .al-label { color: var(--al-white); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.al-choice { position: relative; display: block; cursor: pointer; }
.al-choice input { position: absolute; opacity: 0; pointer-events: none; }
.al-choice span {
	display: block; height: 100%; padding: 0.625rem 0.75rem; border: 1px solid var(--al-border); border-radius: 12px; background: var(--al-surface-2);
	color: var(--al-muted); font-size: 0.75rem; font-weight: 500; line-height: 1.35; transition: all 0.2s;
}
.al-choice:hover span { color: var(--al-white); border-color: #3d3d48; }
.al-choice input:checked + span { border-color: var(--al-orange); background: var(--al-ember); color: var(--al-white); box-shadow: 0 0 12px rgba(255, 138, 0, 0.3); }
.al-choice input:focus-visible + span { outline: 2px solid var(--al-orange); outline-offset: 2px; }

.al-notice {
	position: fixed; z-index: 1000; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
	width: min(32rem, calc(100% - 2rem)); padding: 1rem 1.25rem; border-radius: 14px; font-size: 0.875rem; text-align: center;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.al-notice--ok { border: 1px solid rgba(16, 185, 129, 0.5); background: #0c1a14; color: #a7f3d0; }
.al-notice--err { border: 1px solid rgba(248, 113, 113, 0.5); background: #1f0d0d; color: #fecaca; }

/* 13. Quote dialog --------------------------------------------------------- */
.al-quote-part { display: block; height: 0; }
.al-dialog {
	width: min(42rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem);
	margin: auto; padding: 0; border: 0; background: transparent; color: var(--al-white); overflow: visible;
}
.al-dialog::backdrop { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.al-dialog[open] { animation: alPop 0.22s var(--al-ease-out) both; }
/* No-JS fallback: links to #quote show the dialog via :target. */
.al-dialog:focus { outline: none; }
.al-dialog:target:not([open]) { display: block; position: fixed; inset: 0; z-index: 1000; height: fit-content; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.85); }
.al-dialog-panel {
	max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain;
	border: 1px solid rgba(255, 138, 0, 0.5); border-radius: 24px; background: var(--al-surface);
	box-shadow: 0 0 80px rgba(255, 138, 0, 0.3);
}
.al-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: clamp(1.25rem, 4vw, 2rem); border-bottom: 1px solid var(--al-border); }
.al-dialog-head .al-pill { margin-bottom: 0.5rem; }
.al-dialog-title { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.al-dialog-sub { margin-top: 0.25rem; color: var(--al-muted); font-size: 0.75rem; }
.al-dialog-close {
	display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem;
	border: 1px solid var(--al-border); border-radius: 12px; background: #18181e; color: #a3a3a3; text-decoration: none; transition: color 0.2s, border-color 0.2s;
}
.al-dialog-close::before { width: 1.25rem; height: 1.25rem; }
.al-dialog-close:hover { color: var(--al-white); border-color: var(--al-orange); }
.al-dialog .al-form { gap: 1.5rem; border: 0; border-radius: 0; background: none; padding: clamp(1.25rem, 4vw, 2rem); }
.al-dialog .al-form input:not([type="radio"]):not([type="checkbox"]), .al-dialog .al-form select, .al-dialog .al-form textarea { background-color: var(--al-surface-2); }
.al-dialog .al-form select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0A0A8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.75rem center / 1rem no-repeat, var(--al-surface-2); }
.al-dialog .al-form-success { margin: clamp(1.25rem, 4vw, 2rem); border: 0; }

/* 14. Footer & inner pages --------------------------------------------- */
.al-footer-part { display: block; }
.al-footer { padding-block: 4rem 3rem; border-top: 1px solid #1c1c22; color: var(--al-muted); font-size: 0.75rem; }
.al-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid #1c1c22; }
@media (min-width: 640px) { .al-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .al-footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); } }
.al-footer-brand { display: grid; gap: 1rem; align-content: start; }
.al-footer-brand > p:not(.al-logo) { max-width: 24rem; color: var(--al-text-2); line-height: 1.7; }
.al-footer-title { margin-bottom: 0.75rem; color: var(--al-white); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.al-footer-links { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.al-footer a { color: var(--al-muted); text-decoration: none; transition: color 0.2s; }
.al-footer .al-logo a { color: var(--al-white); }
.al-footer a:hover { color: var(--al-white); }
.al-footer-contact { display: grid; gap: 0.75rem; align-content: start; }
.al-footer-contact .al-footer-title { margin-bottom: 0; }
.al-footer-contact > p { color: var(--al-text-2); }
.al-footer-contact .wp-block-button__link { padding: 0.5rem 1rem !important; border-radius: 999px; background: #181820 !important; color: var(--al-white) !important; font-weight: 500 !important; }
.al-footer-contact .wp-block-button__link:hover { border-color: var(--al-orange) !important; color: var(--al-orange) !important; box-shadow: none; }
.al-footer-email a { color: #787885; font-family: var(--al-mono); font-size: 0.6875rem; }
.al-social.wp-block-social-links { gap: 0.75rem; margin: 0.5rem 0 0; padding: 0; }
.al-social .wp-social-link { border: 1px solid var(--al-border); background: #121216 !important; color: var(--al-muted) !important; transition: border-color 0.2s, color 0.2s; }
.al-social .wp-social-link a { padding: 0.5rem; color: inherit !important; }
.al-social .wp-social-link svg { width: 0.875rem; height: 0.875rem; }
.al-social .wp-social-link:hover { border-color: var(--al-orange); color: var(--al-orange) !important; transform: none; }
.al-footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 2rem; color: #787885; }
@media (min-width: 640px) { .al-footer-bottom { flex-direction: row; } }
.al-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.al-legal a { color: #787885; }

.al-page { padding-top: calc(var(--al-header-h) + 4rem); padding-bottom: 6rem; min-height: 70vh; }
.al-page-title { margin-bottom: 2rem; font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); }
.al-prose.al-prose > * + *, .al-post-card.al-post-card > * + * { margin-block-start: 1.25rem; }
.al-prose { color: var(--al-text-2); font-size: 1.0625rem; line-height: 1.75; }
.al-prose :where(h2, h3, h4) { margin-top: 2.5rem; color: var(--al-white); }
.al-prose a { text-decoration: underline; text-underline-offset: 3px; }
.al-post-list { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.al-post-card { padding: 1.75rem; border: 1px solid var(--al-border); border-radius: 20px; background: var(--al-surface); }
.al-post-card .wp-block-post-title { font-size: 1.5rem; }
.al-post-card .wp-block-post-title a { color: var(--al-white); text-decoration: none; }
.al-post-card .wp-block-post-title a:hover { color: var(--al-orange); }
.al-post-date { color: var(--al-muted); font-family: var(--al-mono); font-size: 0.75rem; }
.al-post-card .wp-block-post-excerpt { color: var(--al-text-2); }
.al-pagination { margin-top: 2.5rem; }
.al-404 { text-align: center; }
.al-404 .al-pill { margin-inline: auto; }
.al-404 h1 { margin: 0.5rem 0 1rem; }
.al-404 p { color: var(--al-text-2); }
.al-404 .wp-block-buttons { justify-content: center; margin-top: 2rem; }
.al-featured img { border-radius: 20px; }
.al-postnav { margin-top: 1rem; }

/* 14b. Pricing plans, comparison, contact, about, legal ------------------- */
/* Founding client banner */
.al-offer {
	display: block; max-width: 52rem; margin: 0 auto 2rem;
	padding: 0.875rem 1.25rem; border: 1px solid rgba(255, 138, 0, 0.6); border-radius: 16px;
	background: linear-gradient(90deg, rgba(42, 22, 8, 0.9), rgba(26, 14, 6, 0.9)); box-shadow: 0 0 24px rgba(255, 138, 0, 0.15);
	color: var(--al-text-2); font-size: 0.875rem; line-height: 1.5; text-align: center;
}
.al-offer::before { width: 1.125rem; height: 1.125rem; margin-right: 0.5rem; vertical-align: -0.2em; color: var(--al-orange); }
.al-offer strong { color: var(--al-white); }

/* Segmented switches (built by pricing.js) */
.al-pricing-controls { display: grid; justify-items: center; gap: 1rem; margin-bottom: 3rem; }
.al-pricing-switches { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.al-seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem; padding: 0.25rem; border: 1px solid var(--al-border); border-radius: 999px; background: var(--al-surface); }
.al-seg[hidden] { display: none; }
.al-seg button {
	display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.5rem 1rem; border: 1px solid transparent; border-radius: 999px;
	background: transparent; color: var(--al-muted); font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.al-seg button:hover { color: var(--al-white); }
.al-seg button[aria-pressed="true"] { border-color: var(--al-orange); background: var(--al-ember); color: var(--al-white); box-shadow: 0 0 16px rgba(255, 138, 0, 0.3); }
.al-seg button small { color: var(--al-orange); font-size: 0.6875rem; font-weight: 600; }
.al-seg--lg button { padding: 0.75rem 1.25rem; font-size: 0.9375rem; }
@media (max-width: 479px) {
	.al-seg--lg { display: grid; width: 100%; border-radius: 20px; }
	.al-seg--lg button { justify-content: center; border-radius: 16px; }
}

/* Plan groups: all visible without JS (with titles); one at a time with JS. */
.al-plan-set + .al-plan-set { margin-top: 4rem; }
.al-plan-set-title { margin-bottom: 1.5rem; font-size: 1.5rem; text-align: center; }
.al-plan-set-title em { display: block; margin-top: 0.25rem; color: var(--al-orange); font-size: 0.875rem; font-style: normal; font-weight: 600; }
.al-plan-group + .al-plan-group { margin-top: 2.5rem; }
.al-plan-group-title { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1.75rem; color: var(--al-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.al-plan-group-title::before { color: var(--al-orange); }
.al-pricing-app.is-enhanced :is(.al-plan-set-title, .al-plan-group-title) { display: none; }
.al-pricing-app.is-enhanced .al-plan-set + .al-plan-set, .al-pricing-app.is-enhanced .al-plan-group + .al-plan-group { margin-top: 0; }
.al-pricing-app [hidden] { display: none !important; }
.al-plan .al-plan-meta code { text-transform: uppercase; }
.al-plan-addons { display: flex; gap: 0.5rem; margin: -0.75rem 0 1.75rem; padding: 0.75rem 0.875rem; border: 1px dashed rgba(255, 138, 0, 0.45); border-radius: 12px; color: var(--al-text-2); font-size: 0.75rem; line-height: 1.55; }
.al-plan-addons::before { margin-top: 0.15rem; color: var(--al-orange); }
.al-plan-fine { margin-top: 0.875rem; color: var(--al-muted); font-size: 0.6875rem; text-align: center; }
.al-plan-fine a, .al-pricing-more a, .al-consent a { color: var(--al-text-2); text-decoration: underline; text-underline-offset: 2px; }
.al-plan-fine a:hover, .al-pricing-more a:hover, .al-consent a:hover { color: var(--al-orange); }
.al-pricing-note { max-width: 52rem; margin: 2rem auto 0; color: var(--al-text-2); font-size: 0.875rem; text-align: center; }
.al-pricing-note strong { color: var(--al-orange); }
.al-pricing-more { margin-top: 2rem; color: #52525c; font-size: 0.75rem; text-align: center; }

/* Comparison table */
.al-compare { margin: 0; overflow-x: auto; border: 1px solid var(--al-border); border-radius: 20px; background: var(--al-surface); }
.al-compare thead { border-bottom: 1px solid var(--al-border); }
.al-compare table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.875rem; }
.al-compare :is(th, td) { padding: 1rem 1.25rem; border: 0; border-bottom: 1px solid var(--al-border); color: var(--al-text-2); text-align: left; vertical-align: top; line-height: 1.55; }
.al-compare tbody tr:last-child :is(th, td) { border-bottom: 0; }
.al-compare thead th { color: var(--al-white); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; background: #141418; }
.al-compare thead th:nth-child(2) { color: var(--al-orange); }
.al-compare tbody th { width: 22%; color: var(--al-white); font-weight: 600; }

/* Required agreement checkbox */
.al-consent { display: flex; align-items: flex-start; gap: 0.625rem; color: var(--al-text-2); font-size: 0.75rem; line-height: 1.5; cursor: pointer; }
.al-consent input { color-scheme: dark; flex: none; width: 1.125rem; height: 1.125rem; margin: 0.0625rem 0 0; accent-color: var(--al-orange); cursor: pointer; }

/* Inner pages (pricing, contact, about) */
.al-page-wide { padding-top: var(--al-header-h); }
.al-page-head { padding-top: clamp(3rem, 7vw, 5rem); text-align: center; }
.al-page-head .al-page-title { margin-bottom: 0; }
.al-page-head + .al-pricing { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.al-page-head + .al-pricing .al-section-head { display: none; }
.al-cta-email { display: flex; align-items: center; gap: 0.5rem; margin: -1rem 0 2rem; color: var(--al-muted); font-size: 0.875rem; }
.al-cta-email::before { color: var(--al-orange); }
.al-cta-email a { color: var(--al-white); }
.al-contact-list { list-style: none; padding: 1.5rem 0 0; margin: 0; display: grid; gap: 1.25rem; border-top: 1px solid var(--al-border); }
.al-contact-list li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); column-gap: 0.875rem; color: var(--al-text-2); font-size: 0.9375rem; line-height: 1.5; }
.al-contact-list li::before { grid-row: 1 / 3; width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; color: var(--al-orange); }
.al-contact-list strong { display: block; color: var(--al-white); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.al-contact-list a { color: var(--al-orange); overflow-wrap: anywhere; }
.al-about-stats { max-width: 44rem; margin: 0 auto 3.5rem; }
.al-about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 768px) { .al-about-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.al-about-card { display: grid; gap: 0.875rem; align-content: start; }
.al-about-card h3 { font-size: 1.375rem; }
.al-about-card p { color: var(--al-text-2); font-size: 0.875rem; line-height: 1.65; }
.al-about-how { display: grid; gap: 1.5rem; max-width: 44rem; margin: 4rem auto 0; }
.al-about-how h2 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem); }
.al-about-how .al-checklist li { font-size: 0.9375rem; }
.al-about-ctas { gap: 0.75rem; }

/* Legal pages (page content) */
.al-prose ul, .al-prose ol { padding-left: 1.5rem; }
.al-prose li + li { margin-top: 0.5rem; }
.al-prose li::marker { color: var(--al-orange); }
.al-prose h2 { font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem); }
.al-prose h3 { font-size: 1.1875rem; }
.al-prose strong { color: var(--al-white); }
.al-legal-meta { color: var(--al-muted); font-family: var(--al-mono); font-size: 0.8125rem; }
.al-legal-box { padding: 1.25rem 1.5rem; border: 1px solid rgba(255, 138, 0, 0.5); border-radius: 16px; background: rgba(42, 22, 8, 0.6); }
.al-legal-box > * + * { margin-top: 0.75rem; }

/* Footer bottom bar: long address line */
.al-copyright { max-width: 46rem; line-height: 1.6; text-align: center; }
@media (min-width: 640px) { .al-copyright { text-align: left; } }
.al-legal { gap: 1rem 1.5rem; }

/* 15. Motion: intro, reveals, cursor --------------------------------------- */
/* Hero intro. Nothing is hidden before JavaScript: hero.js adds .is-intro only when it
   runs before the first paint, so the start states never flash over visible content.
   Every delay and duration is 0.4s or less. */
.al-word { display: inline-block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; vertical-align: bottom; }
.al-word > span { display: inline-block; }
.al-hero.is-intro .al-word > span { animation: alWordUp 0.4s var(--al-ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.al-hero.is-intro-done .al-word { overflow: visible; }
.al-hero.is-intro .al-hero-badge { animation: alDropIn 0.3s var(--al-ease-out) both; }
.al-hero.is-intro .al-hero-sub { animation: alRise 0.35s var(--al-ease-out) 0.1s both; }
.al-hero.is-intro .al-hero-ctas { animation: alRise 0.35s var(--al-ease-out) 0.15s both; }
.al-hero.is-intro .al-stats { animation: alRise 0.35s var(--al-ease-out) 0.2s both; }
.al-hero.is-intro .al-hero-visual { animation: alZoomIn 0.4s ease-out both; }
@keyframes alWordUp { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }
@keyframes alDropIn { from { opacity: 0; transform: translateY(-15px) scale(0.95); } to { opacity: 1; transform: none; } }
@keyframes alRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes alZoomIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

/* Scroll reveals (IntersectionObserver adds .is-revealed). */
.al-js:not(.al-noanim) .al-reveal-section .al-reveal:not(.is-revealed) { opacity: 0; transform: translateY(32px); }
.al-js .al-reveal-section .al-reveal { transition: opacity 0.7s var(--al-ease-out), transform 0.7s var(--al-ease-out); transition-delay: calc(var(--al-d, 0) * 1ms); }
.al-js .al-reveal.is-revealed.is-settled { transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; }

/* Magnetic + tilt are driven by JS through transforms. */
.al-tilt.is-tilting { transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, transform 0.15s ease-out !important; }

/* Custom cursor (desktop with a fine pointer only). */
.al-cursor-dot, .al-cursor-ring { position: fixed; top: 0; left: 0; z-index: 2147483646; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity 0.2s; will-change: transform; }
.al-cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--al-orange); box-shadow: 0 0 10px var(--al-orange); }
.al-cursor-ring { width: 32px; height: 32px; margin: -16px 0 0 -16px; border: 1.5px solid rgba(255, 138, 0, 0.65); box-shadow: 0 0 15px rgba(255, 138, 0, 0.2); transition: opacity 0.2s, width 0.25s var(--al-ease-out), height 0.25s var(--al-ease-out), margin 0.25s var(--al-ease-out), background-color 0.25s, border-color 0.25s; }
.has-cursor-visible .al-cursor-dot, .has-cursor-visible .al-cursor-ring { opacity: 1; }
.has-cursor-hover .al-cursor-ring { width: 48px; height: 48px; margin: -24px 0 0 -24px; border-color: var(--al-orange); background: rgba(255, 138, 0, 0.08); }
html.has-custom-cursor, html.has-custom-cursor :is(a, button, summary, label, [role="button"], .al-service, .al-pin-label) { cursor: none; }
html.has-custom-cursor :is(input, textarea, select) { cursor: auto; }
/* An open modal <dialog> is in the top layer, above the custom cursor: use the native one there. */
html.has-custom-cursor:has(dialog[open]) * { cursor: auto; }
html.has-custom-cursor:has(dialog[open]) :is(a, button, label, summary) { cursor: pointer; }
html:has(dialog[open]) :is(.al-cursor-dot, .al-cursor-ring) { display: none; }

/* Reduced motion: everything visible and still. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.al-js .al-reveal-section .al-reveal, .al-js .al-hero * { opacity: 1 !important; transform: none !important; }
	.al-marquee { -webkit-mask-image: none; mask-image: none; }
	.al-tile { transform: none !important; }
}
/* Safety net if scripts never boot. */
.al-noanim .al-hero *, .al-noanim .al-reveal { opacity: 1 !important; transform: none !important; }

/* Editor canvas adjustments */
.editor-styles-wrapper .al-header { position: relative; }
.editor-styles-wrapper .al-hero { padding-top: 3rem; min-height: 0; }
