/*!
 * AL Header, Footer & Mega Menu — front-end styles (v2)
 * Developed by Mahmoud Tawfik for Accélérateur Local
 *
 * Every rule is namespaced with .alhm / .alhm-header / .alhm-footer and driven by CSS
 * variables so nothing leaks into (or is overridden by) the active theme.
 * No rounded corners anywhere by design (border-radius: 0 throughout).
 */

/* ---------- Header / Footer wrappers ---------- */
.alhm-header,
.alhm-footer {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.alhm-header {
	position: relative;
	z-index: 9990;
	background: var(--alhm-header-bg, #000);
}
.alhm-header--sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
}
body.admin-bar .alhm-header--sticky { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .alhm-header--sticky { top: 46px; }
}
.alhm-header.is-stuck { box-shadow: 0 6px 24px rgba(0, 0, 0, .28); }

/* ---------- Design tokens (override from Elementor style controls) ---------- */
.alhm {
	/* JD Prestige brand palette — gold #C0A75A accents on a black header (matches jdprestige.com) */
	--alhm-bar-bg: #000000;
	--alhm-text: #f2f2f2;
	--alhm-hover: #C0A75A;
	--alhm-divider: rgba(255, 255, 255, .12);
	--alhm-icon: #C0A75A;
	--alhm-icon-size: 16px;
	--alhm-item-hover-bg: rgba(192, 167, 90, .14);
	--alhm-panel-bg: #ffffff;
	--alhm-fly-bg: #1a1a1a;
	--alhm-panel-max: 1200px;
	--alhm-panel-pad: 28px;
	--alhm-panel-radius: 0;
	--alhm-badge-bg: rgba(192, 167, 90, .16);
	--alhm-badge-text: #8a6d2a;
	--alhm-btn-bg: #C0A75A;
	--alhm-btn-text: #0d0f12;
	--alhm-btn-hover: #a88f45;
	--alhm-outline: #C0A75A;
	--alhm-btn-radius: 0;
	--alhm-drawer-bg: #0d0d0d;
	--alhm-drawer-w: min(92vw, 400px);
	--alhm-overlay: rgba(0, 0, 0, .65);
	--alhm-burger: #f2f2f2;
	--alhm-tb-bg: #333333;
	--alhm-tb-text: rgba(255, 255, 255, .75);
	--alhm-tb-icon: #C0A75A;
	--alhm-tb-hover: #C0A75A;
	--alhm-tb-divider: rgba(255, 255, 255, .18);
	--alhm-tb-h: 38px;
	--alhm-tb-fs: 12px;
	--alhm-tb-gap: 22px;
	--alhm-wrap: 1280px;
	--alhm-side: max(24px, calc((100% - var(--alhm-wrap)) / 2));

	position: relative;
	display: block;
	width: 100%;
	color: var(--alhm-text);
	font-family: inherit;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

/* ---------- Scoped reset ---------- */
.alhm *,
.alhm *::before,
.alhm *::after { box-sizing: border-box; border-radius: 0 !important; }
.alhm ul,
.alhm li { margin: 0; padding: 0; list-style: none; }
.alhm ul::before, .alhm li::before, .alhm li::marker { content: none; }
.alhm a { text-decoration: none; box-shadow: none; border: 0; background-image: none; }
.alhm button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.alhm a:focus-visible,
.alhm button:focus-visible {
	outline: 2px solid var(--alhm-hover);
	outline-offset: 2px;
}

/* ======================================================================
 * TOP INFO BAR — merged into this same widget, toggled by "Show top info bar"
 * ==================================================================== */
.alhm-topbar {
	display: block;
	width: 100%;
	background: var(--alhm-tb-bg, #333333);
	box-sizing: border-box;
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
}
.alhm-topbar *,
.alhm-topbar *::before,
.alhm-topbar *::after { box-sizing: border-box; }
.alhm-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--alhm-tb-h, 38px);
	padding-inline: var(--alhm-side);
}
.alhm-topbar__list {
	display: flex;
	align-items: center;
	gap: var(--alhm-tb-gap, 22px);
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
	flex-wrap: wrap;
}
.alhm-topbar__list:first-child { position: relative; }
.alhm-topbar__list:first-child .alhm-topbar__item:not(:last-child)::after {
	content: "";
	position: absolute;
	inset-inline-start: 100%;
	margin-inline-start: calc(var(--alhm-tb-gap, 22px) / 2);
	width: 1px;
	height: 12px;
	background: var(--alhm-tb-divider, rgba(255,255,255,.18));
	transform: translateX(-50%);
}
.alhm-topbar__item {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-width: 0;
}
.alhm-topbar__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--alhm-tb-text, rgba(255,255,255,.75));
	font-size: var(--alhm-tb-fs, 12px);
	font-weight: 500;
	letter-spacing: .02em;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	transition: color .15s ease;
}
a.alhm-topbar__link:hover,
a.alhm-topbar__link:focus-visible { color: var(--alhm-tb-hover, #C0A75A); }
a.alhm-topbar__link:focus-visible { outline: 1px solid var(--alhm-tb-hover, #C0A75A); outline-offset: 3px; }
.alhm-topbar__icon {
	display: inline-flex;
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	font-size: 1.05em;
	color: var(--alhm-tb-icon, #C0A75A);
}
.alhm-topbar__icon svg { width: 1em; height: 1em; fill: currentColor; }

@media (max-width: 640px) {
	.alhm-topbar__item--hide-mobile { display: none; }
	.alhm-topbar__inner { padding-inline: 16px !important; gap: 10px; }
	.alhm-topbar__list { gap: calc(var(--alhm-tb-gap, 22px) * .6); }
}

/* ---------- Bar ---------- */
.alhm .alhm__bar {
	display: flex;
	align-items: center;
	gap: 32px;
	width: 100%;
	min-height: var(--alhm-bar-h, 76px);
	background: var(--alhm-bar-bg);
	padding-inline: var(--alhm-side);
}
.alhm .alhm__logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	color: var(--alhm-text);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -.01em;
}
.alhm .alhm__logo img {
	display: block;
	width: var(--alhm-logo-w, 170px);
	max-width: 100%;
	height: auto;
}
.alhm .alhm__drawer {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 24px;
	min-width: 0;
}
.alhm .alhm__drawer-head { display: none; }
.alhm .alhm__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	margin-inline-start: auto;
	color: var(--alhm-burger, var(--alhm-text));
}
.alhm .alhm__toggle-box { position: relative; display: block; width: 22px; height: 16px; }
.alhm .alhm__toggle { position: relative; border: 1px solid rgba(255, 255, 255, .2) !important; overflow: hidden; transition: border-color .25s ease, background-color .25s ease, color .25s ease, transform .15s ease; }
.alhm .alhm__toggle:hover { border-color: #C0A75A !important; color: #C0A75A; }
/* Press ripple (square pulse) */
.alhm .alhm__toggle::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 100%;
	margin: -50% 0 0 -50%; background: #C0A75A; opacity: 0; transform: scale(.2); pointer-events: none;
}
.alhm .alhm__toggle.is-pressed::after { animation: alhmRipple .6s ease-out; }
@keyframes alhmRipple { 0% { opacity: .55; transform: scale(.2); } 100% { opacity: 0; transform: scale(2.2); } }

.alhm .alhm__nav {
	display: flex;
	flex: 1 1 auto;
	justify-content: var(--alhm-nav-justify, flex-start);
	min-width: 0;
}
.alhm .alhm__list {
	display: flex;
	align-items: center;
	gap: var(--alhm-gap, 4px);
}
.alhm .alhm__item { position: static; }
.alhm .alhm__item--dropdown { position: relative; }
.alhm .alhm__row { display: flex; align-items: center; }

.alhm .alhm__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 10px 6px 10px 12px;
	color: var(--alhm-text);
	font-size: 1rem;
	font-weight: 400;
	transition: color .2s ease;
}
/* Animated underline on hover/active (desktop) */
.alhm .alhm__link::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 4px;
	height: 2px;
	background: var(--alhm-hover);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s cubic-bezier(.22, .61, .36, 1);
}
.alhm:not(.alhm--mobile) .alhm__link:hover::after,
.alhm:not(.alhm--mobile) .alhm__item.is-open > .alhm__row .alhm__link::after { transform: scaleX(1); }
.alhm .alhm__item:not(.has-panel) .alhm__link { padding-right: 12px; }
.alhm .alhm__chev {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 28px;
	margin-inline-end: 4px;
	color: var(--alhm-text);
	transition: transform .25s cubic-bezier(.22, .61, .36, 1), color .15s ease;
}
.alhm .alhm__link:hover,
.alhm .alhm__item.is-open > .alhm__row .alhm__link,
.alhm .alhm__item.is-open > .alhm__row .alhm__chev { color: var(--alhm-hover); }
.alhm .alhm__item.is-open > .alhm__row .alhm__chev { transform: rotate(180deg); }

/* ---------- Panels ---------- */
.alhm .alhm__panel {
	position: absolute;
	top: var(--alhm-panel-top, 100%);
	left: var(--alhm-panel-left, 0);
	width: var(--alhm-panel-w, 100%);
	z-index: 9999;
	background: var(--alhm-panel-bg);
	box-shadow: 0 32px 56px -16px rgba(0, 0, 0, .35);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px) scale(.99);
	transform-origin: top center;
	transition: opacity .22s cubic-bezier(.22, .61, .36, 1), transform .28s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .22s;
}
/* Invisible bridge so the pointer can travel from the link down to the panel. */
.alhm .alhm__panel::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -28px;
	height: 28px;
}
.alhm .alhm__item.is-open > .alhm__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	transition-delay: 0s;
}
.alhm[data-panel="boxed"] .alhm__panel-inner { max-width: none; }

.alhm .alhm__panel-inner {
	max-width: var(--alhm-panel-max);
	margin-inline: auto;
	padding: var(--alhm-panel-pad);
}
.alhm .alhm__panel-inner--tpl { padding: 0; }

/* ---- Legacy "Cards" layout ---- */
.alhm .alhm__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 28px;
}
.alhm .alhm__card { grid-column: span var(--alhm-span, 12); min-width: 0; }
.alhm .alhm__card-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 6px;
	margin-bottom: 22px;
	background: var(--alhm-card-bg, #f8f3ec);
}
.alhm .alhm__card-head .alhm__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	background: #fff;
	color: var(--alhm-text);
	font-size: 18px;
}
.alhm .alhm__card-title {
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.2;
	color: #1e2330;
}
.alhm .alhm__cols {
	display: grid;
	grid-template-columns: repeat(var(--alhm-cols, 1), minmax(0, 1fr));
	gap: 28px;
	padding: 0 14px;
}
.alhm .alhm__col-title {
	margin-bottom: 8px;
	padding: 0 0 12px 0;
	border-bottom: 1px solid #e6e2d9;
	font-size: 1.05rem;
	color: #1e2330;
}

/* ---- "Flyout" layout: left categories, right sub-services ---- */
.alhm .alhm__panel--flyout .alhm__panel-inner--flyout { padding: 0; max-width: none; }
.alhm .alhm__flyout {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	align-items: stretch;
	max-height: 76vh;
}
.alhm .alhm__flygroups {
	background: var(--alhm-fly-bg);
	padding: 10px 0;
	overflow-y: auto;
}
.alhm .alhm__fgroup { position: relative; }
.alhm .alhm__fglink {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 20px;
	color: rgba(255, 255, 255, .85);
	font-size: .97rem;
	line-height: 1.3;
	transition: background-color .2s ease, color .2s ease;
}
.alhm .alhm__fgicon,
.alhm .alhm__fyhead-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	background: rgba(192, 167, 90, .16);
	color: #C0A75A !important;
	font-size: 15px;
	transition: background-color .2s ease, color .2s ease;
}
.alhm .alhm__fgicon i, .alhm .alhm__fyhead-icon i,
.alhm .alhm__fgicon svg, .alhm .alhm__fyhead-icon svg { color: inherit !important; fill: currentColor !important; font-size: inherit; width: 1em; height: 1em; }
.alhm .alhm__fgtitle { flex: 1 1 auto; }
.alhm .alhm__fgchev { flex: 0 0 auto; opacity: .5; transform: rotate(-90deg); transition: transform .2s ease, opacity .2s ease; }
[dir="rtl"] .alhm .alhm__fgchev { transform: rotate(90deg); }
.alhm .alhm__fgroup::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 3px;
	background: var(--alhm-hover);
	transform: scaleY(0);
	transition: transform .2s ease;
}
.alhm .alhm__fgroup:hover .alhm__fglink,
.alhm .alhm__fgroup.is-active .alhm__fglink { background: rgba(255, 255, 255, .07); color: #fff; }
.alhm .alhm__fgroup:hover .alhm__fgicon,
.alhm .alhm__fgroup.is-active .alhm__fgicon { background: #C0A75A; color: #0d0d0d !important; }
.alhm .alhm__fgroup:hover::before,
.alhm .alhm__fgroup.is-active::before { transform: scaleY(1); }
.alhm .alhm__fgroup:hover .alhm__fgchev,
.alhm .alhm__fgroup.is-active .alhm__fgchev { opacity: 1; color: var(--alhm-hover); transform: rotate(-90deg) translateY(2px); }

.alhm .alhm__fypanels { background: var(--alhm-panel-bg); min-width: 0; display: flex; }
.alhm .alhm__fgsub { display: none; }
.alhm .alhm__fypanel { display: none; flex: 1 1 auto; min-width: 0; }
.alhm .alhm__fypanel.is-active { display: grid; grid-template-columns: minmax(0, 1fr) 300px; animation: alhmFyIn .25s ease; }
@keyframes alhmFyIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.alhm .alhm__fymain { display: flex; flex-direction: column; padding: 26px 44px 26px; min-width: 0; }
.alhm .alhm__fyhead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
	padding-bottom: 14px;
}
.alhm .alhm__fyhead-title { font-size: 1.7rem; font-weight: 300; letter-spacing: -.01em; color: #111; line-height: 1.15; }
.alhm .alhm__fyhead-title::after { content: ""; display: block; width: 46px; height: 3px; margin-top: 12px; background: #C0A75A; }
.alhm .alhm__fyhead-all { font-size: .85rem; font-weight: 600; color: #8a6d2a; white-space: nowrap; transition: transform .2s ease, color .2s ease; }
.alhm .alhm__fyhead-all:hover { color: #111; transform: translateX(3px); }

/* Numbered rows that stretch to fill the panel height (no dead white space) */
.alhm .alhm__fylist { flex: 1 1 auto; display: grid; grid-auto-rows: minmax(58px, 1fr); counter-reset: alhmn; border-top: 1px solid #e8e2d0; }
.alhm .alhm__fylist .alhm__li { counter-increment: alhmn; border-bottom: 1px solid #e8e2d0; display: flex; }
.alhm .alhm__fylist .alhm__ilink { flex: 1 1 auto; align-items: center; gap: 22px; padding: 8px 14px 8px 4px; position: relative; overflow: hidden; }
.alhm .alhm__fylist .alhm__icon { display: none; }
.alhm .alhm__fylist .alhm__ilink::before {
	content: counter(alhmn, decimal-leading-zero);
	flex: 0 0 auto;
	width: 34px;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .08em;
	color: #C0A75A;
	transition: color .2s ease, transform .25s ease;
}
.alhm .alhm__fylist .alhm__ilink::after {
	content: "\2192";
	margin-inline-start: auto;
	font-size: 1.1rem;
	color: #8a6d2a;
	opacity: 0;
	transform: translateX(-10px);
	transition: opacity .2s ease, transform .25s ease;
}
.alhm .alhm__fylist .alhm__ilink:hover,
.alhm .alhm__fylist .alhm__ilink:focus-visible { background: linear-gradient(90deg, #f6f1e3, rgba(246, 241, 227, 0)); box-shadow: none; }
.alhm .alhm__fylist .alhm__ilink:hover::before { color: #111; transform: translateX(4px); }
.alhm .alhm__fylist .alhm__ilink:hover::after { opacity: 1; transform: none; }
.alhm .alhm__fylist .alhm__ilink-title { font-size: 1rem; font-weight: 500; }

/* Dark call-to-action card, full panel height */
.alhm .alhm__fycta {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	padding: 32px 28px;
	overflow: hidden;
	background: #111;
	color: #fff;
	border-left: 3px solid #C0A75A;
}
.alhm .alhm__fycta-mark {
	position: absolute;
	top: -10px;
	right: -14px;
	font-size: 150px;
	line-height: 1;
	color: rgba(192, 167, 90, .12);
	pointer-events: none;
}
.alhm .alhm__fycta-mark i, .alhm .alhm__fycta-mark svg { color: inherit; fill: currentColor; width: 1em; height: 1em; font-size: inherit; }
.alhm .alhm__fycta-kicker { position: relative; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #C0A75A; }
.alhm .alhm__fycta-title { position: relative; font-size: 1.45rem; font-weight: 400; line-height: 1.2; color: #fff; }
.alhm .alhm__fycta-text { position: relative; margin: 0; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.alhm .alhm__fycta-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 8px;
	padding: 14px 18px;
	background: #C0A75A;
	color: #0d0d0d;
	font-weight: 600;
	font-size: .92rem;
	transition: background-color .2s ease, padding .2s ease;
}
.alhm .alhm__fycta-btn:hover { background: #fff; color: #0d0d0d; padding-inline-end: 24px; }
.alhm .alhm__fycta-tel { position: relative; font-size: .95rem; font-weight: 600; color: #fff; transition: color .2s ease; }
.alhm .alhm__fycta-tel:hover { color: #C0A75A; }

/* ---- Shared link row styling (flyout right panel, cards, dropdowns, blog) ---- */
.alhm .alhm__ilink {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 12px;
	color: #1e2330;
	transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.alhm .alhm__panel--flyout .alhm__ilink { color: #1e2330; }
.alhm .alhm__ilink:hover,
.alhm .alhm__ilink:focus-visible {
	background: #f6f1e3;
	color: #111;
	box-shadow: inset 3px 0 0 #C0A75A;
	transform: none;
}
.alhm .alhm__ilink:hover .alhm__icon { background: #C0A75A; color: #0d0d0d; }
.alhm .alhm__ilink .alhm__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	background: rgba(192, 167, 90, .16);
	color: #8a6d2a;
	font-size: 14px;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease;
}
.alhm .alhm__icon i { font-size: inherit; line-height: 1; }
.alhm .alhm__icon svg { width: 1em; height: 1em; fill: currentColor; }
.alhm .alhm__itext { display: block; min-width: 0; }
.alhm .alhm__ilink-title { display: block; font-size: .96rem; line-height: 1.3; }
.alhm .alhm__idesc { display: block; margin-top: 2px; font-size: .8rem; opacity: .6; }
.alhm .alhm__badge {
	margin-inline-start: 2px;
	padding: 2px 8px;
	background: var(--alhm-badge-bg);
	color: var(--alhm-badge-text);
	font-size: .75rem;
	font-weight: 500;
	line-height: 1.4;
}

/* Simple dropdown & random-blog panel */
.alhm .alhm__item--dropdown > .alhm__panel {
	top: calc(100% + 6px);
	left: 0;
	width: max-content;
	min-width: 260px;
	max-width: 380px;
	padding: 10px;
}
.alhm .alhm__item--dropdown > .alhm__panel::before { top: -8px; height: 8px; }
[dir="rtl"] .alhm .alhm__item--dropdown > .alhm__panel { left: auto; right: 0; }
.alhm .alhm__item--dropdown > .alhm__panel .alhm__ilink { min-width: 240px; }



/* ======================================================================
 * BLOG panel — post list + live preview card (image, category, excerpt)
 * ==================================================================== */
.alhm .alhm__panel-inner--blog { padding: 0; max-width: none; }
.alhm .alhm__blog { display: grid; grid-template-columns: 380px minmax(0, 1fr); min-height: 340px; }
.alhm .alhm__blist { background: var(--alhm-fly-bg); padding: 10px 0; }
.alhm .alhm__bpost { position: relative; }
.alhm .alhm__bpost::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
	background: var(--alhm-hover); transform: scaleY(0); transition: transform .2s ease;
}
.alhm .alhm__bpost.is-active::before,
.alhm .alhm__bpost:hover::before { transform: scaleY(1); }
.alhm .alhm__blink {
	display: flex; align-items: center; gap: 14px;
	padding: 12px 20px; color: rgba(255, 255, 255, .82);
	transition: background-color .2s ease, color .2s ease;
}
.alhm .alhm__bpost.is-active .alhm__blink,
.alhm .alhm__blink:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.alhm .alhm__bnum { flex: 0 0 auto; width: 26px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: #C0A75A; }
.alhm .alhm__bthumb { display: none; }
.alhm .alhm__btitle {
	flex: 1 1 auto; font-size: .94rem; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.alhm .alhm__barrow { flex: 0 0 auto; opacity: 0; transform: translateX(-6px); color: var(--alhm-hover); transition: opacity .2s ease, transform .25s ease; }
.alhm .alhm__bpost.is-active .alhm__barrow,
.alhm .alhm__blink:hover .alhm__barrow { opacity: 1; transform: none; }
.alhm .alhm__ball { padding: 8px 20px 4px; margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .1); }
.alhm .alhm__ball-link { display: inline-block; padding: 8px 0; font-size: .85rem; font-weight: 600; color: #C0A75A; transition: transform .2s ease, color .2s ease; }
.alhm .alhm__ball-link:hover { color: #fff; transform: translateX(4px); }

.alhm .alhm__bprevs { position: relative; background: var(--alhm-panel-bg); }
.alhm .alhm__bprev {
	position: absolute; inset: 0;
	display: none;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	color: #1e2330;
}
.alhm .alhm__bprev.is-active { display: grid; animation: alhmFyIn .28s ease; }
.alhm .alhm__bimg { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, #1a1a1a, #3a3320); }
.alhm .alhm__bimg img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transform: scale(1.08); transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}
.alhm .alhm__bprev.is-active .alhm__bimg img { transform: scale(1); }
.alhm .alhm__bprev:hover .alhm__bimg img { transform: scale(1.05); }
.alhm .alhm__bcat {
	position: absolute; left: 0; bottom: 0; padding: 8px 16px;
	background: #C0A75A; color: #0d0d0d; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.alhm .alhm__bbody { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px 36px; min-width: 0; }
.alhm .alhm__bdate { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a6d2a; }
.alhm .alhm__bptitle { font-size: 1.4rem; font-weight: 500; line-height: 1.25; color: #111; }
.alhm .alhm__bexc { font-size: .93rem; line-height: 1.6; color: #555; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.alhm .alhm__bmore { align-self: flex-start; margin-top: 6px; padding-bottom: 3px; font-size: .9rem; font-weight: 600; color: #111; border-bottom: 2px solid #C0A75A; transition: padding .2s ease; }
.alhm .alhm__bprev:hover .alhm__bmore { padding-inline-end: 10px; }
.alhm .alhm__bempty { grid-column: 1 / -1; padding: 30px; color: #555; }

/* ---------- Buttons ---------- */
.alhm .alhm__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-inline-start: auto;
	flex: 0 0 auto;
}
.alhm .alhm__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border: 2px solid transparent;
	font-size: .95rem;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.alhm .alhm__btn--primary { background: var(--alhm-btn-bg); color: var(--alhm-btn-text); }
.alhm .alhm__btn--primary:hover { background: var(--alhm-btn-hover); color: var(--alhm-btn-text); transform: translateY(-1px); }
.alhm .alhm__btn--outline { border-color: var(--alhm-outline); color: var(--alhm-outline); background: transparent; }
.alhm .alhm__btn--outline:hover { background: var(--alhm-outline); color: #0d0f12; transform: translateY(-1px); }
.alhm .alhm__btn--text { padding: 10px 8px; color: var(--alhm-text); font-size: .9rem; }
.alhm .alhm__btn--text:hover { color: var(--alhm-hover); }
.alhm .alhm__btn-icon { display: inline-flex; font-size: 1em; line-height: 1; }
.alhm .alhm__btn-icon svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Overlay ---------- */
.alhm .alhm__overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: var(--alhm-overlay);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility 0s linear .3s;
}
.alhm:not(.alhm--mobile) .alhm__overlay { display: none; }

/* ======================================================================
 * MOBILE / TABLET — off-canvas drawer + accordions
 * (.alhm--mobile is toggled by JS from the "Switch to mobile menu below" setting)
 * ==================================================================== */
.alhm.alhm--mobile { --alhm-bar-h: 64px; }
.alhm.alhm--mobile .alhm__bar { gap: 12px; padding-inline: 16px; }
.alhm.alhm--mobile .alhm__logo { min-width: 0; max-width: 60%; }
.alhm.alhm--mobile .alhm__logo img { width: min(var(--alhm-logo-w, 150px), 100%); }
.alhm.alhm--mobile .alhm__logo-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.25rem; }

/* Hamburger -> X morph animation */
.alhm.alhm--mobile .alhm__toggle {
	display: inline-flex;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .18s ease, transform .1s ease;
}
.alhm.alhm--mobile .alhm__toggle:active { background: var(--alhm-item-hover-bg); transform: scale(.92); }
.alhm.alhm--mobile .alhm__toggle-box {
	position: relative;
	display: block;
	width: 22px;
	height: 16px;
}
.alhm .alhm__toggle-box span {
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	background: currentColor;
	transition: transform .32s cubic-bezier(.22, .61, .36, 1), opacity .2s ease, top .32s cubic-bezier(.22, .61, .36, 1);
}
.alhm .alhm__toggle-box span:nth-child(1) { top: 0; }
.alhm .alhm__toggle-box span:nth-child(2) { width: 15px; }
.alhm .alhm__toggle-box span:nth-child(3) { width: 19px; }
.alhm .alhm__toggle:hover .alhm__toggle-box span { width: 22px; }
.alhm .alhm__toggle-box span:nth-child(2) { top: 7px; }
.alhm .alhm__toggle-box span:nth-child(3) { top: 14px; }
.alhm.alhm--open .alhm__toggle { background: #C0A75A; color: #0d0d0d; border-color: #C0A75A !important; }
.alhm.alhm--open .alhm__toggle-box span { width: 22px; }
.alhm.alhm--open .alhm__toggle-box span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.alhm.alhm--open .alhm__toggle-box span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.alhm.alhm--open .alhm__toggle-box span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Off-canvas drawer */
.alhm.alhm--mobile .alhm__drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	inset-inline-end: 0;
	z-index: 10001;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: var(--alhm-drawer-w);
	height: 100vh;
	height: 100dvh;
	padding: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background: var(--alhm-drawer-bg);
	box-shadow: -24px 0 60px rgba(0, 0, 0, .35);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform .36s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .36s;
}
[dir="rtl"] .alhm.alhm--mobile .alhm__drawer { transform: translateX(-100%); box-shadow: 24px 0 60px rgba(0, 0, 0, .35); }
.alhm.alhm--mobile.alhm--open .alhm__drawer { transform: none; visibility: visible; transition-delay: .14s, 0s; }
.alhm.alhm--mobile.alhm--open .alhm__overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
.alhm.alhm--mobile .alhm__overlay { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }

/* Drawer header: logo-less, close button only, stays pinned while scrolling */
.alhm.alhm--mobile .alhm__drawer-head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	min-height: 64px;
	padding: 0 16px 0 22px;
	background: var(--alhm-drawer-bg);
	border-bottom: 1px solid var(--alhm-divider);
}
.alhm .alhm__drawer-title { font-size: 1.05rem; font-weight: 600; color: var(--alhm-text); }
.alhm .alhm__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--alhm-text);
	-webkit-tap-highlight-color: transparent;
	transition: transform .2s ease;
}
.alhm .alhm__close:hover { transform: rotate(90deg); }
.alhm .alhm__close:active { background: var(--alhm-item-hover-bg); }

/* Navigation list */
.alhm.alhm--mobile .alhm__nav { display: block; flex: 1 0 auto; padding: 6px 22px 12px; }
.alhm.alhm--mobile .alhm__list { flex-direction: column; align-items: stretch; gap: 0; }
.alhm.alhm--mobile .alhm__item { border-bottom: 1px solid var(--alhm-divider); }
.alhm.alhm--mobile .alhm__item:last-child { border-bottom: 0; }
.alhm.alhm--mobile .alhm__row { justify-content: space-between; min-height: 56px; }
.alhm.alhm--mobile .alhm__link { flex: 1 1 auto; min-height: 56px; padding: 0 4px; font-size: 1.0625rem; font-weight: 500; }
.alhm.alhm--mobile .alhm__link::after { display: none; }
.alhm.alhm--mobile .alhm__item:not(.has-panel) .alhm__link { padding-right: 4px; }
.alhm.alhm--mobile .alhm__chev {
	width: 48px;
	height: 48px;
	margin: 0;
	-webkit-tap-highlight-color: transparent;
}
.alhm.alhm--mobile .alhm__chev svg { width: 14px; height: 14px; }
.alhm.alhm--mobile .alhm__chev:active { background: var(--alhm-item-hover-bg); }

/* Panels turn into smooth accordions */
.alhm.alhm--mobile .alhm__panel,
.alhm.alhm--mobile .alhm__item--dropdown > .alhm__panel {
	position: static;
	width: auto;
	min-width: 0;
	max-width: none;
	padding: 0;
	background: transparent;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	max-height: 0;
	overflow: hidden;
	visibility: hidden; /* closed accordions are not tabbable */
	transition: max-height .32s ease, visibility 0s linear .32s;
}
.alhm.alhm--mobile .alhm__item.is-open > .alhm__panel { visibility: visible; transition-delay: 0s; }
.alhm.alhm--mobile .alhm__panel::before { display: none; }
.alhm.alhm--mobile .alhm__panel-inner,
.alhm.alhm--mobile .alhm__panel-inner--flyout { max-width: none; padding: 2px 0 18px; }
.alhm.alhm--mobile .alhm__grid { display: block; }
.alhm.alhm--mobile .alhm__card { margin: 0 0 14px; }
.alhm.alhm--mobile .alhm__card:last-child { margin-bottom: 0; }
.alhm.alhm--mobile .alhm__card-head { gap: 10px; padding: 5px; margin-bottom: 8px; }
.alhm.alhm--mobile .alhm__card-head .alhm__icon { width: 34px; height: 34px; font-size: 14px; }
.alhm.alhm--mobile .alhm__card-title { font-size: 1rem; font-weight: 600; color: var(--alhm-text); }
.alhm.alhm--mobile .alhm__cols { display: block; padding: 0; }
.alhm.alhm--mobile .alhm__col { margin: 0 0 6px; }
.alhm.alhm--mobile .alhm__col-title { margin: 10px 0 2px; padding: 0 8px; border: 0; font-size: .8125rem; font-weight: 600; opacity: .6; letter-spacing: .01em; color: var(--alhm-text); }

/* Mobile flyout -> nested accordion: sub-services open directly BELOW their category */
.alhm.alhm--mobile .alhm__flyout { display: block; max-height: none; }
.alhm.alhm--mobile .alhm__fypanels { display: none; }
.alhm.alhm--mobile .alhm__flygroups { background: transparent; padding: 0; overflow: visible; }
.alhm.alhm--mobile .alhm__fgroup { border-bottom: 1px solid var(--alhm-divider); }
.alhm.alhm--mobile .alhm__fgroup:last-child { border-bottom: 0; }
.alhm.alhm--mobile .alhm__fglink { padding: 10px 4px; min-height: 54px; color: var(--alhm-text); }
.alhm.alhm--mobile .alhm__fgroup:hover .alhm__fglink,
.alhm.alhm--mobile .alhm__fgroup.is-active .alhm__fglink { background: transparent; color: var(--alhm-text); }
.alhm.alhm--mobile .alhm__fgroup.is-open > .alhm__fglink { color: var(--alhm-hover); }
.alhm.alhm--mobile .alhm__fgroup:hover .alhm__fgicon,
.alhm.alhm--mobile .alhm__fgroup.is-active .alhm__fgicon { background: rgba(192, 167, 90, .16); color: #C0A75A !important; }
.alhm.alhm--mobile .alhm__fgroup.is-open > .alhm__fglink .alhm__fgicon { background: #C0A75A; color: #0d0d0d !important; }
.alhm.alhm--mobile .alhm__fgroup::before { display: none; }
.alhm.alhm--mobile .alhm__fgchev { transform: rotate(0deg); opacity: .8; transition: transform .25s ease; }
.alhm.alhm--mobile .alhm__fgroup.is-open > .alhm__fglink .alhm__fgchev { transform: rotate(180deg); color: var(--alhm-hover); opacity: 1; }
.alhm.alhm--mobile .alhm__fgsub {
	display: block;
	max-height: 0;
	overflow: hidden;
	margin: 0 0 0 17px;
	padding: 0 0 0 14px;
	border-left: 2px solid rgba(192, 167, 90, .4);
	transition: max-height .35s ease;
}
.alhm.alhm--mobile .alhm__fgroup.is-open > .alhm__fgsub { max-height: 1600px; margin-bottom: 12px; }
.alhm.alhm--mobile .alhm__ilink { min-height: 48px; padding: 8px 6px; gap: 12px; color: var(--alhm-text); box-shadow: none !important; -webkit-tap-highlight-color: transparent; }
.alhm.alhm--mobile .alhm__ilink:hover { background: transparent; color: var(--alhm-text); }
.alhm.alhm--mobile .alhm__ilink:active { background: rgba(192, 167, 90, .12); color: var(--alhm-hover); }
.alhm.alhm--mobile .alhm__ilink .alhm__icon { width: 32px; height: 32px; background: rgba(192, 167, 90, .16); color: #C0A75A; font-size: 13px; }
.alhm.alhm--mobile .alhm__ilink:hover .alhm__icon { background: rgba(192, 167, 90, .16); color: #C0A75A; }
.alhm.alhm--mobile .alhm__ilink--all { color: var(--alhm-hover); font-weight: 600; min-height: 44px; }
.alhm.alhm--mobile .alhm__links--simple { padding: 0 0 12px; }
.alhm.alhm--mobile .alhm__ilink-title { font-size: .93rem; }
/* Open top-level accordion must never clip nested content */
.alhm.alhm--mobile .alhm__item.is-open > .alhm__panel { max-height: 8000px; }

/* Mobile blog: simple list with thumbnails, no preview pane */
.alhm.alhm--mobile .alhm__blog { display: block; min-height: 0; }
.alhm.alhm--mobile .alhm__bprevs { display: none; }
.alhm.alhm--mobile .alhm__blist { background: transparent; padding: 0 0 8px 14px; margin-left: 4px; border-left: 2px solid rgba(192, 167, 90, .4); }
.alhm.alhm--mobile .alhm__bpost::before { display: none; }
.alhm.alhm--mobile .alhm__blink { padding: 10px 4px; gap: 12px; color: var(--alhm-text); min-height: 60px; }
.alhm.alhm--mobile .alhm__bpost.is-active .alhm__blink { background: transparent; color: var(--alhm-text); }
.alhm.alhm--mobile .alhm__bnum, .alhm.alhm--mobile .alhm__barrow { display: none; }
.alhm.alhm--mobile .alhm__bthumb { display: block; flex: 0 0 64px; width: 64px; height: 48px; object-fit: cover; }
.alhm.alhm--mobile .alhm__btitle { font-size: .92rem; -webkit-line-clamp: 3; }
.alhm.alhm--mobile .alhm__ball { border-color: var(--alhm-divider); padding-inline: 4px; }

/* CTA buttons: pinned to the bottom of the drawer, always reachable */
.alhm.alhm--mobile .alhm__actions {
	position: sticky;
	bottom: 0;
	z-index: 2;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	margin: auto 0 0;
	padding: 16px 22px calc(16px + env(safe-area-inset-bottom, 0px));
	background: var(--alhm-drawer-bg);
	border-top: 1px solid var(--alhm-divider);
	box-shadow: 0 -12px 24px -16px rgba(0, 0, 0, .4);
}
.alhm.alhm--mobile .alhm__btn { width: 100%; min-height: 50px; padding: 15px 24px; font-size: 1rem; }
.alhm.alhm--mobile .alhm__btn--text { order: 3; min-height: 44px; padding: 8px 4px; font-weight: 500; }
.alhm.alhm--mobile .alhm__btn--primary { order: 1; }
.alhm.alhm--mobile .alhm__btn--outline { order: 2; }

/* Small phones: drawer uses the whole screen width */
@media (max-width: 480px) {
	.alhm.alhm--mobile { --alhm-drawer-w: 100vw; }
	.alhm.alhm--mobile .alhm__nav { padding-inline: 18px; }
	.alhm.alhm--mobile .alhm__actions { padding-inline: 18px; }
	.alhm.alhm--mobile .alhm__drawer-head { padding-inline: 18px 10px; }
}

/* Landscape phones: keep the header compact */
@media (max-height: 480px) and (orientation: landscape) {
	.alhm.alhm--mobile { --alhm-bar-h: 56px; }
	.alhm.alhm--mobile .alhm__row, .alhm.alhm--mobile .alhm__link { min-height: 48px; }
	.alhm.alhm--mobile .alhm__actions { position: static; box-shadow: none; }
}

/* Staggered entrance of menu rows when the drawer opens */
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item { animation: alhmItemIn .45s cubic-bezier(.22, .61, .36, 1) both; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(1) { animation-delay: .22s; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(2) { animation-delay: .28s; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(3) { animation-delay: .34s; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(4) { animation-delay: .40s; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(5) { animation-delay: .46s; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(n+6) { animation-delay: .52s; }
.alhm.alhm--mobile.alhm--open .alhm__actions { animation: alhmItemIn .45s cubic-bezier(.22, .61, .36, 1) .5s both; }
@keyframes alhmItemIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.alhm .alhm__close { border: 1px solid rgba(255, 255, 255, .2) !important; transition: transform .3s ease, border-color .2s ease, background-color .2s ease, color .2s ease; }
.alhm .alhm__close:hover { border-color: #C0A75A !important; color: #C0A75A; }

html.alhm-lock,
html.alhm-lock body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.alhm *, .alhm *::before, .alhm *::after {
		transition-duration: .001ms !important;
		transition-delay: 0s !important;
		animation-duration: .001ms !important;
	}
}

/* Tablet: keep the flyout usable but narrower */
@media (max-width: 1200px) and (min-width: 1025px) {
	.alhm .alhm__flyout { grid-template-columns: 250px minmax(0, 1fr); }
	.alhm .alhm__fypanel.is-active { grid-template-columns: minmax(0, 1fr) 240px; }
	.alhm .alhm__fymain { padding-inline: 28px; }
	.alhm .alhm__blog { grid-template-columns: 280px minmax(0, 1fr); }
	.alhm .alhm__bbody { padding: 20px 24px; }
	
}

/* ======================================================================
 * CURRENT PAGE (active) state — desktop + mobile
 * ==================================================================== */
.alhm .alhm__item.is-current > .alhm__row .alhm__link,
.alhm .alhm__item.is-current > .alhm__row .alhm__chev { color: var(--alhm-hover); }
.alhm:not(.alhm--mobile) .alhm__item.is-current > .alhm__row .alhm__link::after { transform: scaleX(1); }
.alhm.alhm--mobile .alhm__item.is-current > .alhm__row .alhm__link {
	box-shadow: inset 3px 0 0 var(--alhm-hover);
	padding-inline-start: 14px;
}
.alhm .alhm__fgroup.is-current > .alhm__fglink .alhm__fgtitle::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 10px;
	background: #C0A75A; vertical-align: middle;
}
.alhm .alhm__li.is-current > .alhm__ilink { color: #8a6d2a; font-weight: 600; box-shadow: inset 3px 0 0 #C0A75A; }
.alhm .alhm__fylist .alhm__li.is-current > .alhm__ilink { background: linear-gradient(90deg, #f6f1e3, rgba(246, 241, 227, 0)); }
.alhm .alhm__fylist .alhm__li.is-current > .alhm__ilink::before { color: #111; }
.alhm.alhm--mobile .alhm__li.is-current > .alhm__ilink { color: var(--alhm-hover); box-shadow: none !important; }
.alhm.alhm--mobile .alhm__fgroup.is-current > .alhm__fglink { color: var(--alhm-hover); }

/* ============================================================
 * Header effects (pure CSS — no images, no JS animation)
 *  1. First-visit intro: a tiny inline script adds  html.alhm-intro  only on the FIRST page of a visit
 *     (or first time ever / every load — widget control). Moving between pages never replays it.
 *  2. Idle shimmer line, hover effects, sticky hairline.
 * Hover effects run only on devices that can hover; ALL motion is off for "reduce motion".
 * Every animation ends exactly on the normal look, so nothing is left behind.
 * ============================================================ */
@property --alhm-shine { syntax: '<percentage>'; inherits: false; initial-value: -30%; }

@keyframes alhmIntroReveal { from { clip-path: inset(0 50% 0 50%); opacity: 0; } 30% { opacity: 1; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes alhmIntroLine   { 0% { transform: scaleX(0); opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes alhmIntroSheen  { from { background-position: -60% 0, 50% 100%; opacity: 1; } 85% { opacity: 1; } to { background-position: 160% 0, 50% 100%; opacity: 0; } }
@keyframes alhmIntroLogo   { from { opacity: 0; transform: scale(.7) translateY(10px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes alhmIntroGlow   { 0% { filter: drop-shadow(0 0 0 rgba(192, 167, 90, 0)); } 40% { filter: drop-shadow(0 0 18px rgba(192, 167, 90, .95)); } 100% { filter: drop-shadow(0 0 0 rgba(192, 167, 90, 0)); } }
@keyframes alhmIntroItem   { from { opacity: 0; transform: translateY(-16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes alhmIntroPop    { from { opacity: 0; transform: translateX(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes alhmIntroRing   { 0% { box-shadow: 0 0 0 0 rgba(192, 167, 90, .65); } 100% { box-shadow: 0 0 0 22px rgba(192, 167, 90, 0); } }
@keyframes alhmBtnShine    { from { opacity: 1; transform: skewX(-20deg) translateX(0); } to { opacity: 1; transform: skewX(-20deg) translateX(540%); } }
@keyframes alhmShine       { from { --alhm-shine: -30%; } to { --alhm-shine: 130%; } }

/* button shine layer (idle: invisible) */
.alhm.alhm--fx .alhm__btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.alhm.alhm--fx .alhm__btn--primary::after {
	content: '';
	position: absolute;
	top: 0; bottom: 0; left: -60%;
	width: 45%;
	pointer-events: none;
	background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
	transform: skewX(-20deg);
	opacity: 0;
}
/* gold hairline when the header is stuck after scrolling */
.alhm-header.is-stuck .alhm--fx .alhm__bar { box-shadow: inset 0 -1px 0 rgba(192, 167, 90, .45), 0 10px 30px -12px rgba(192, 167, 90, .28); }
/* underline grows from the centre with a soft glow */
.alhm.alhm--fx:not(.alhm--mobile) .alhm__link::after {
	left: 14px; right: 14px;
	transform-origin: 50% 50%;
	border-radius: 2px;
	box-shadow: 0 0 10px 1px rgba(192, 167, 90, .55);
}

@media (prefers-reduced-motion: no-preference) {
	/* ---------- 1. first-visit intro ---------- */
	html.alhm-intro .alhm .alhm__bar {
		position: relative;
		animation: alhmIntroReveal 1.1s cubic-bezier(.77, 0, .18, 1) backwards;
	}
	html.alhm-intro .alhm .alhm__bar::before {
		content: '';
		position: absolute;
		left: 0; right: 0; bottom: 0;
		height: 2px;
		pointer-events: none;
		background: linear-gradient(90deg, transparent 0, var(--alhm-hover, #C0A75A) 18%, #fff1bd 50%, var(--alhm-hover, #C0A75A) 82%, transparent 100%);
		box-shadow: 0 0 18px 2px rgba(192, 167, 90, .6);
		transform-origin: 50% 50%;
		animation: alhmIntroLine 1.7s cubic-bezier(.65, 0, .2, 1) .25s both;
	}
	html.alhm-intro .alhm .alhm__bar::after {
		content: '';
		position: absolute;
		inset: 0;
		pointer-events: none;
		background:
			linear-gradient(100deg, transparent 0, rgba(255, 226, 140, 0) 30%, rgba(255, 226, 140, .32) 50%, rgba(255, 226, 140, 0) 70%, transparent 100%) no-repeat,
			radial-gradient(ellipse 45% 130% at 50% 100%, rgba(192, 167, 90, .30), transparent 70%) no-repeat;
		background-size: 45% 100%, 100% 100%;
		animation: alhmIntroSheen 1.6s cubic-bezier(.4, 0, .2, 1) .55s both;
	}
	html.alhm-intro .alhm .alhm__logo { animation: alhmIntroLogo 1s cubic-bezier(.2, .8, .2, 1) .55s backwards; }
	html.alhm-intro .alhm .alhm__logo img { animation: alhmIntroGlow 1.8s ease-out 1.1s backwards; }
	html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item { animation: alhmIntroItem .75s cubic-bezier(.2, .8, .2, 1) backwards; }
	html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(1) { animation-delay: .80s; }
	html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(2) { animation-delay: .89s; }
	html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(3) { animation-delay: .98s; }
	html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(4) { animation-delay: 1.07s; }
	html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(5) { animation-delay: 1.16s; }
	html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(6) { animation-delay: 1.25s; }
	html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(n+7) { animation-delay: 1.34s; }
	html.alhm-intro .alhm:not(.alhm--mobile) .alhm__actions { animation: alhmIntroPop .85s cubic-bezier(.2, .8, .2, 1) 1.25s backwards; }
	html.alhm-intro .alhm:not(.alhm--mobile) .alhm__btn--primary { animation: alhmIntroRing 1.3s ease-out 1.8s 2 backwards; }
	html.alhm-intro .alhm:not(.alhm--mobile) .alhm__btn--primary::after { animation: alhmBtnShine 1s cubic-bezier(.4, 0, .2, 1) 2s both; }
	html.alhm-intro .alhm.alhm--mobile .alhm__toggle { animation: alhmIntroPop .8s cubic-bezier(.2, .8, .2, 1) .95s backwards; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	/* ---------- 2. idle shimmer: a slow gold light travels along the bottom edge ---------- */
	.alhm.alhm--fx .alhm__bar {
		background-image: linear-gradient(90deg, transparent calc(var(--alhm-shine, -30%) - 16%), var(--alhm-hover, #C0A75A) var(--alhm-shine, -30%), transparent calc(var(--alhm-shine, -30%) + 16%));
		background-size: 100% 1px;
		background-repeat: no-repeat;
		background-position: 0 100%;
		animation: alhmShine 7s linear infinite;
	}
	/* ---------- 3. hover effects ---------- */
	.alhm.alhm--fx:not(.alhm--mobile) .alhm__link { transition: color .2s ease, transform .25s ease, text-shadow .25s ease; }
	.alhm.alhm--fx:not(.alhm--mobile) .alhm__link:hover { transform: translateY(-1px); text-shadow: 0 0 16px rgba(192, 167, 90, .5); }

	.alhm.alhm--fx .alhm__logo { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
	.alhm.alhm--fx .alhm__logo:hover { transform: scale(1.05); }
	.alhm.alhm--fx .alhm__logo:hover img { filter: drop-shadow(0 0 12px rgba(192, 167, 90, .6)); }

	.alhm.alhm--fx .alhm__btn--primary { transition: transform .25s ease, box-shadow .3s ease, background-color .2s ease; }
	.alhm.alhm--fx .alhm__btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -6px rgba(192, 167, 90, .7), 0 0 0 1px rgba(255, 236, 170, .35); }
	.alhm.alhm--fx .alhm__btn--primary:hover::after { opacity: 1; transform: skewX(-20deg) translateX(540%); transition: transform .8s cubic-bezier(.4, 0, .2, 1), opacity .1s; }
}
