/* ==========================================================================
   AEH MALL base: tokens, fonts, GeneratePress resets, header, menu,
   footer, WhatsApp float, inner pages. Loaded site-wide.
   ========================================================================== */

@font-face {
	font-family: "Onest";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/onest-var.woff2") format("woff2-variations"), url("../fonts/onest-var.woff2") format("woff2");
}
@font-face {
	font-family: "Big Shoulders Stencil Display";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/big-shoulders-stencil-800.woff2") format("woff2");
}

:root {
	/* AEH MALL blue ground */
	--ink-0: #081325;
	--ink-1: #0c1c36;
	--ink-2: #132849;
	--line: #25395c;
	--line-soft: #192c4b;
	/* Off-white and cool greys */
	--bone: #f1f4f9;
	--bone-2: #c8d2e0;
	--mute: #93a3ba;
	/* Blues: brand, electric accent, petrol */
	--signal: #2446d8;
	--signal-hi: #5b86ff;
	--petrol: #0f5566;
	--paper: #f2f5f9;
	--paper-2: #e2e8f1;
	--ink-text: #0a1630;

	--f-display: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
	--f-label: "Big Shoulders Stencil Display", "Onest", sans-serif;
	--f-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;

	/* shape: controls are pills, frames and photos stay square */
	--r-ctl: 999px;

	--gutter: clamp(16px, 4vw, 56px);
	--max: 1480px;
	--header-h: 72px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-io: cubic-bezier(0.65, 0, 0.35, 1);

	/* z-index scale */
	--z-float: 40;
	--z-header: 50;
	--z-menu: 60;

	color-scheme: dark;
}

/* --- GeneratePress foundation resets ----------------------------------- */
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body.aeh {
	margin: 0;
	background: var(--ink-0);
	color: var(--bone);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

:where(body.aeh) a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s var(--ease);
}
:where(body.aeh) a:hover { color: var(--bone); }

:where(body.aeh) img { max-width: 100%; height: auto; }

body.aeh :focus-visible {
	outline: 2px solid var(--bone);
	outline-offset: 3px;
}

:where(body.aeh) :is(h1, h2, h3, h4) {
	font-family: var(--f-display);
	font-weight: 700;
	color: inherit;
	letter-spacing: -0.025em;
	line-height: 1;
	margin: 0;
}

:where(body.aeh) p { margin: 0; }
:where(body.aeh) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(body.aeh) :is(dl, dd) { margin: 0; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 14px 20px;
	background: var(--bone);
	color: var(--ink-0);
	font-weight: 600;
}

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
	--btn-bg: transparent;
	--btn-fg: var(--bone);
	--btn-bd: rgba(241, 244, 249, 0.4);
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 0 24px;
	background: var(--btn-bg);
	color: var(--btn-fg) !important;
	border: 1px solid var(--btn-bd);
	border-radius: var(--r-ctl);
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; }
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { --btn-bg: var(--bone); --btn-fg: var(--ink-0); --btn-bd: var(--bone); }
.btn--primary:hover { --btn-bg: #fff; --btn-bd: #fff; }
.btn--ghost:hover { --btn-bd: var(--bone); --btn-bg: rgba(241, 244, 249, 0.1); }
.btn--ink { --btn-bg: var(--ink-0); --btn-fg: var(--bone); --btn-bd: var(--ink-0); }
.btn--ink:hover { --btn-bg: #030a17; --btn-bd: #030a17; }

/* --- Header -------------------------------------------------------------- */
.aeh-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: var(--z-header);
	color: var(--bone);
	transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
	border-bottom: 1px solid transparent;
}
.aeh-header.is-solid {
	background: rgba(8, 19, 37, 0.9);
	border-bottom-color: var(--line-soft);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
}
@media (prefers-reduced-transparency: reduce) {
	.aeh-header.is-solid { background: var(--ink-0); backdrop-filter: none; }
}
body.aeh:not(.aeh-front) { padding-top: var(--header-h); }
.admin-bar .aeh-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .aeh-header { top: 46px; }
}

.aeh-header__bar {
	display: flex;
	align-items: center;
	gap: 32px;
	height: var(--header-h);
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.aeh-logo {
	display: inline-flex;
	align-items: baseline;
	gap: 12px;
	text-decoration: none;
	color: var(--bone) !important;
	line-height: 1;
}
.aeh-logo__word {
	font-family: var(--f-display);
	font-weight: 800;
	font-size: 23px;
	letter-spacing: -0.01em;
}
.aeh-logo__mall {
	font-weight: 600;
	margin-left: 0.22em;
	padding-left: 0.22em;
	border-left: 2px solid var(--signal-hi);
}
.aeh-logo__by {
	font-size: 13px;
	color: var(--mute);
	letter-spacing: 0.02em;
}

.aeh-nav { margin-left: auto; }
.aeh-nav__list { display: flex; gap: 4px; }
.aeh-nav__link {
	display: block;
	padding: 10px 14px;
	font-family: var(--f-display);
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0;
	text-decoration: none;
	color: var(--bone-2) !important;
	position: relative;
}
.aeh-nav__link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 6px;
	height: 2px;
	background: var(--signal-hi);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
}
.aeh-nav__link:hover { color: var(--bone) !important; }
.aeh-nav__link:hover::after,
.aeh-nav__link[aria-current="true"]::after { transform: scaleX(1); }

.aeh-header__wa {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid rgba(241, 244, 249, 0.35);
	border-radius: var(--r-ctl);
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.01em;
	text-decoration: none;
	color: var(--bone) !important;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.aeh-header__wa:hover {
	background: var(--bone);
	color: var(--ink-0) !important;
	border-color: var(--bone);
}
.aeh-header__wa .icon { width: 18px; height: 18px; }

.aeh-burger {
	display: none;
	align-items: center;
	gap: 10px;
	height: 44px;
	margin-left: auto;
	padding: 0 4px 0 12px;
	background: none;
	border: 0;
	color: var(--bone);
	font-family: var(--f-display);
	font-weight: 500;
	font-size: 15px;
	cursor: pointer;
}
.aeh-burger .icon { width: 26px; height: 26px; }
.aeh-burger__close { display: none; }
.aeh-burger[aria-expanded="true"] .aeh-burger__open { display: none; }
.aeh-burger[aria-expanded="true"] .aeh-burger__close { display: block; }

@media (max-width: 1023px) {
	.aeh-nav { display: none; }
	.aeh-burger { display: inline-flex; }
	.aeh-header__wa { margin-left: auto; }
	.aeh-header__bar { gap: 12px; }
}
@media (max-width: 599px) {
	:root { --header-h: 64px; }
	.aeh-logo__by { display: none; }
	.aeh-header__wa { padding: 0 12px; }
	.aeh-header__wa-num { display: none; }
	.aeh-header__wa .icon { width: 20px; height: 20px; }
	.aeh-burger__label { display: none; }
}

/* --- Mobile menu --------------------------------------------------------- */
.aeh-menu {
	position: fixed;
	inset: var(--header-h) 0 0 0;
	z-index: var(--z-menu);
	background: var(--ink-0);
	overflow-y: auto;
	overscroll-behavior: contain;
	border-top: 1px solid var(--line-soft);
}
.aeh-menu[hidden] { display: none; }
.admin-bar .aeh-menu { top: calc(var(--header-h) + 46px); }
.aeh-menu__inner {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 28px var(--gutter) 32px;
}
.aeh-menu__nav a {
	display: block;
	padding: 6px 0;
	font-family: var(--f-display);
	font-weight: 700;
	font-size: clamp(36px, 10.5vw, 56px);
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-decoration: none;
	color: var(--bone) !important;
}
.aeh-menu__label {
	font-size: 14px;
	color: var(--mute);
	margin-bottom: 8px;
}
.aeh-menu__units a {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--line-soft);
	text-decoration: none;
}
.aeh-menu__unit {
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 19px;
	letter-spacing: -0.01em;
}
.aeh-menu__ind { grid-column: 1; font-size: 14px; color: var(--mute); }
.aeh-menu__units .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--mute); }
.aeh-menu__wa {
	display: block;
	padding: 20px;
	background: var(--signal);
	color: #fff !important;
	text-decoration: none;
	border-radius: 18px;
}
.aeh-menu__wa-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 16px;
}
.aeh-menu__wa-num {
	display: block;
	margin-top: 6px;
	font-family: var(--f-display);
	font-weight: 700;
	font-size: clamp(34px, 10vw, 52px);
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}
/* JS animates the panel in; without it the menu simply shows */
.js .aeh-menu.is-open .aeh-menu__inner > * {
	animation: aeh-menu-in 0.5s var(--ease) both;
}
.js .aeh-menu.is-open .aeh-menu__inner > *:nth-child(2) { animation-delay: 0.06s; }
.js .aeh-menu.is-open .aeh-menu__inner > *:nth-child(3) { animation-delay: 0.12s; }
@keyframes aeh-menu-in {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}
body.aeh-menu-open { overflow: hidden; }
@media (min-width: 1024px) {
	.aeh-menu { display: none !important; }
}

/* --- WhatsApp float ------------------------------------------------------ */
.aeh-float {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: var(--z-float);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background: var(--signal);
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	text-decoration: none;
	box-shadow: 0 14px 34px -14px rgba(3, 10, 30, 0.75);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.25s var(--ease);
}
.aeh-float .icon { width: 24px; height: 24px; }
.aeh-float__text {
	position: absolute;
	right: calc(100% + 8px);
	top: 50%;
	display: grid;
	padding: 8px 14px 9px;
	background: var(--ink-1);
	border: 1px solid rgba(241, 244, 249, 0.18);
	border-radius: 12px;
	white-space: nowrap;
	line-height: 1.05;
	opacity: 0;
	transform: translate(8px, -50%);
	pointer-events: none;
	transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.aeh-float__label { font-size: 12px; color: var(--mute); }
.aeh-float__num {
	font-family: var(--f-display);
	font-weight: 700;
	font-size: 17px;
	font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (min-width: 768px) {
	.aeh-float:hover,
	.aeh-float:focus-visible { background: #1d3cc4; }
	.aeh-float:hover .aeh-float__text,
	.aeh-float:focus-visible .aeh-float__text { opacity: 1; transform: translate(0, -50%); }
}
.aeh-float.is-hidden {
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	visibility: hidden;
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

/* --- Footer -------------------------------------------------------------- */
body.aeh .site-footer { background: none; padding: 0; }

.aeh-footer {
	background: var(--ink-0);
	border-top: 1px solid var(--line-soft);
	padding: 72px var(--gutter) 28px;
	font-size: 15px;
	color: var(--bone-2);
}
.aeh-footer > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.aeh-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--line-soft);
}
.aeh-logo--footer .aeh-logo__word { font-size: 38px; }
.aeh-footer__line { margin-top: 14px; max-width: 34ch; color: var(--mute); }
.aeh-footer__wa {
	display: grid;
	text-decoration: none;
	color: var(--bone) !important;
	text-align: right;
}
.aeh-footer__wa-label {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	font-size: 14px;
	color: var(--mute);
}
.aeh-footer__wa-num {
	font-family: var(--f-display);
	font-weight: 700;
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	transition: color 0.25s var(--ease);
}
.aeh-footer__wa:hover .aeh-footer__wa-num { color: var(--signal-hi); }

.aeh-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 1.4fr;
	gap: 40px;
	padding: 40px 0 48px;
}
.aeh-footer__head {
	font-family: var(--f-display) !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase;
	color: var(--mute);
	margin-bottom: 14px !important;
}
.aeh-footer__col li + li { margin-top: 8px; }
.aeh-footer__col a { text-decoration: none; }
.aeh-footer__col a:hover { color: var(--bone); text-decoration: underline; }
.aeh-footer__muted { color: var(--mute); margin-left: 6px; font-size: 14px; }
.aeh-footer__data dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.aeh-footer__data dt { font-size: 13px; color: var(--mute); }
.aeh-footer__data dd { margin-top: 2px; }
.aeh-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 20px;
	border-top: 1px solid var(--line-soft);
	font-size: 13px;
	color: var(--mute);
}
@media (max-width: 899px) {
	.aeh-footer { padding-top: 56px; padding-bottom: 96px; }
	.aeh-footer__grid { grid-template-columns: 1fr 1fr; }
	.aeh-footer__data { grid-column: 1 / -1; }
	.aeh-footer__wa { text-align: left; }
	.aeh-footer__wa-label { justify-content: flex-start; }
}
@media (max-width: 559px) {
	.aeh-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.aeh-footer__data dl { grid-template-columns: 1fr; }
}

/* --- Inner pages (posts, pages, archives rendered by GeneratePress) ----- */
body.aeh:not(.aeh-front) .site.grid-container { max-width: 900px; }
body.aeh:not(.aeh-front) .separate-containers .inside-article,
body.aeh:not(.aeh-front) .one-container .container,
body.aeh:not(.aeh-front) .inside-article,
body.aeh:not(.aeh-front) .site-main > *,
body.aeh:not(.aeh-front) .widget-area .widget {
	background: transparent;
	color: var(--bone-2);
}
body.aeh:not(.aeh-front) .site-content { padding-top: 56px; padding-bottom: 80px; }
body.aeh:not(.aeh-front) .entry-title,
body.aeh:not(.aeh-front) .page-title { font-size: clamp(40px, 6vw, 72px); color: var(--bone); }
body.aeh:not(.aeh-front) .entry-content a { color: var(--bone); text-decoration: underline; }
body.aeh:not(.aeh-front) .entry-meta,
body.aeh:not(.aeh-front) .entry-meta a { color: var(--mute); }
body.aeh:not(.aeh-front) input,
body.aeh:not(.aeh-front) textarea,
body.aeh:not(.aeh-front) select {
	background: var(--ink-1);
	color: var(--bone);
	border: 1px solid var(--line);
	border-radius: 0;
}
body.aeh:not(.aeh-front) button,
body.aeh:not(.aeh-front) input[type="submit"],
body.aeh:not(.aeh-front) .button {
	background: var(--bone);
	color: var(--ink-0);
	border-radius: var(--r-ctl);
	font-family: var(--f-display);
	font-weight: 600;
}

/* GeneratePress paints button:hover/focus grey; our bare buttons stay bare */
body.aeh .aeh-burger,
body.aeh .aeh-burger:hover,
body.aeh .aeh-burger:focus,
body.aeh .hero__code,
body.aeh .hero__code:hover,
body.aeh .hero__code:focus,
body.aeh .hero__pause,
body.aeh .hero__pause:hover,
body.aeh .hero__pause:focus {
	background-color: transparent;
	color: var(--bone);
}
