/*
 * Accounting Team — "Bold gradient" layer.
 *
 * Loads after main.css and only restyles: vivid brand gradient, glass cards,
 * pill buttons, Alexandria headings over Readex Pro text. No markup changes.
 */

/* ---------- Fonts (self-hosted, variable) ---------- */

@font-face {
	font-family: "Alexandria";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/alexandria-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "Alexandria";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/alexandria-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Readex Pro";
	font-style: normal;
	font-weight: 160 700;
	font-display: swap;
	src: url("../fonts/readex-pro-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "Readex Pro";
	font-style: normal;
	font-weight: 160 700;
	font-display: swap;
	src: url("../fonts/readex-pro-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
	--at-magenta-500: #c13bea;
	--at-cyan-400: #38c6f4;

	--at-font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--at-font-display: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

	--at-gradient:
		radial-gradient(45% 60% at 0% 100%, rgb(193 59 234 / 0.55) 0%, rgb(193 59 234 / 0) 70%),
		radial-gradient(40% 55% at 100% 0%, rgb(56 198 244 / 0.35) 0%, rgb(56 198 244 / 0) 70%),
		linear-gradient(135deg, #070d24 0%, #12297a 38%, #2447d8 70%, #5c3bea 100%);
	--at-gradient-accent: linear-gradient(135deg, #3f52fb 0%, #5c3bea 55%, #c13bea 100%);
	--at-gradient-text: linear-gradient(120deg, #2447d8 0%, #5c3bea 50%, #c13bea 100%);

	--at-surface: #f4f5fd;
	--at-border: #e3e6f4;

	--at-radius-md: 14px;
	--at-radius-lg: 32px;
	--at-radius-xl: 32px;

	--at-shadow-sm: 0 1px 2px rgb(10 18 44 / 0.05), 0 2px 8px rgb(36 71 216 / 0.06);
	--at-shadow-md: 0 12px 32px rgb(36 71 216 / 0.14), 0 2px 6px rgb(10 18 44 / 0.06);
	--at-shadow-lg: 0 24px 60px rgb(36 52 160 / 0.2);
	--at-glow: 0 10px 30px rgb(92 59 234 / 0.38);

	/* Type scale, about 15% smaller than the first release (owner's request). */
	--at-h1: clamp(1.875rem, 1.25rem + 2.8vw, 3.5rem);
	--at-h2: clamp(1.375rem, 1.1rem + 1.2vw, 2.125rem);
	--at-h3: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	--at-h4: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
	--at-text-sm: 0.8125rem;
	--at-text-md: 0.9375rem;
	--at-text-lg: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);

	--at-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--at-ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
	--at-duration: 240ms;
}

/* ---------- Base ---------- */

body {
	font-family: var(--at-font);
	font-weight: 350;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.at-logo--text,
.at-card__title,
.at-empty__title {
	font-family: var(--at-font-display);
	font-weight: 700;
}

h1 {
	font-weight: 800;
	line-height: 1.2;
}

h2 {
	line-height: 1.3;
}

strong,
b {
	font-weight: 600;
}

::selection {
	background: #5c3bea;
	color: #fff;
}

/* ---------- Header: frosted, the blur sits on a pseudo-element so the fixed mobile menu is not trapped ---------- */

.at-header {
	background: transparent;
	border-block-end: 1px solid rgb(36 71 216 / 0.1);
}

.at-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(255 255 255 / 0.78);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
}

.at-header::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: -1px;
	block-size: 2px;
	background: var(--at-gradient-accent);
	opacity: 0.85;
}

.at-logo--text {
	background: var(--at-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: 1.25rem;
	font-weight: 800;
}

.at-nav-toggle {
	border-color: transparent;
	border-radius: 50%;
	background: var(--at-surface);
}

.at-nav {
	background: #fff;
}

.at-nav__menu a {
	font-weight: 500;
}

.at-nav__menu .current-menu-item > a,
.at-nav__menu .current-menu-ancestor > a,
.at-nav__menu a[aria-current="page"] {
	color: var(--at-violet-500);
	font-weight: 600;
}

@media (min-width: 1024px) {
	.at-nav__menu a {
		position: relative;
		border-radius: var(--at-radius-pill);
		padding-inline: var(--at-space-4);
	}

	.at-nav__menu a:hover {
		background: rgb(92 59 234 / 0.08);
		color: var(--at-violet-500);
	}

	.at-nav__menu .current-menu-item > a::after,
	.at-nav__menu a[aria-current="page"]::after {
		content: "";
		position: absolute;
		inset-inline: 30%;
		inset-block-end: 4px;
		block-size: 3px;
		border-radius: 3px;
		background: var(--at-gradient-accent);
	}

	.at-nav__menu .sub-menu {
		border: 0;
		border-radius: 18px;
		box-shadow: var(--at-shadow-lg);
	}

	/* Dropdown hint on items with a submenu. */
	.at-nav__menu > .menu-item-has-children > a::after {
		content: "";
		display: inline-block;
		inline-size: 0.4em;
		block-size: 0.4em;
		margin-inline-start: 0.45em;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-0.25em) rotate(45deg);
		opacity: 0.6;
		transition: transform var(--at-duration) var(--at-ease);
	}
}

/* ---------- Buttons ---------- */

.at-btn,
.wp-element-button,
.wp-block-button__link,
.elementor-widget-button .elementor-button {
	border: 0;
	border-radius: var(--at-radius-pill);
	background: var(--at-gradient-accent);
	background-size: 160% 100%;
	background-position: 0% 0;
	box-shadow: var(--at-glow);
	font-family: var(--at-font-display);
	font-weight: 600;
	transition: background-position 400ms var(--at-ease), transform var(--at-duration) var(--at-ease), box-shadow var(--at-duration) var(--at-ease);
}

.at-btn:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.elementor-widget-button .elementor-button:hover {
	background: var(--at-gradient-accent);
	background-size: 160% 100%;
	background-position: 100% 0;
	box-shadow: 0 14px 36px rgb(92 59 234 / 0.48);
	transform: translateY(-2px);
}

.at-btn--secondary,
.at-el-secondary .elementor-button {
	border: 2px solid var(--at-violet-500);
	background: transparent;
	box-shadow: none;
	color: var(--at-violet-500);
}

.at-btn--secondary:hover,
.at-el-secondary .elementor-button:hover {
	background: rgb(92 59 234 / 0.08);
	box-shadow: none;
	color: var(--at-violet-500);
}

.at-btn--ghost {
	background: transparent;
	box-shadow: none;
}

.at-btn--light,
.at-el-light .elementor-button {
	background: #fff;
	box-shadow: 0 10px 30px rgb(7 13 36 / 0.3);
	color: var(--at-navy-900);
}

.at-btn--light:hover,
.at-el-light .elementor-button:hover {
	background: #fff;
	color: var(--at-violet-500);
}

.at-btn--outline-light,
.at-el-outline-light .elementor-button {
	border: 1.5px solid rgb(255 255 255 / 0.45);
	background: rgb(255 255 255 / 0.1);
	box-shadow: none;
	color: #fff;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.at-btn--outline-light:hover,
.at-el-outline-light .elementor-button:hover {
	border-color: #fff;
	background: rgb(255 255 255 / 0.2);
	box-shadow: none;
	color: #fff;
}

.at-btn:disabled,
.at-btn[aria-disabled="true"] {
	background: var(--at-border);
	box-shadow: none;
	transform: none;
}

/* ---------- Gradient surfaces (hero, CTA bands) ---------- */

.at-gradient {
	overflow: hidden;
	background: var(--at-gradient);
	background-color: #070d24;
}

/* Soft moving light + fine grid texture */
.at-gradient::before {
	content: "";
	position: absolute;
	inset: -20%;
	z-index: -1;
	background:
		radial-gradient(30% 35% at 70% 30%, rgb(63 82 251 / 0.55) 0%, rgb(63 82 251 / 0) 70%),
		radial-gradient(25% 30% at 25% 70%, rgb(193 59 234 / 0.4) 0%, rgb(193 59 234 / 0) 70%);
	animation: at-drift 18s ease-in-out infinite alternate;
	pointer-events: none;
}

.at-gradient::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(70% 80% at 50% 40%, #000 0%, transparent 100%);
	mask-image: radial-gradient(70% 80% at 50% 40%, #000 0%, transparent 100%);
	pointer-events: none;
}

@keyframes at-drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(-6%, 4%, 0) scale(1.12); }
}

.at-gradient h1,
.at-gradient .elementor-heading-title {
	text-shadow: 0 2px 30px rgb(7 13 36 / 0.25);
}

.at-gradient .at-eyebrow,
.at-on-dark .at-eyebrow {
	border: 1px solid rgb(255 255 255 / 0.25);
	background: rgb(255 255 255 / 0.1);
	color: #fff;
}

.at-gradient .at-card,
.at-on-dark .at-card {
	border: 1px solid rgb(255 255 255 / 0.18);
	background: rgb(255 255 255 / 0.08);
	box-shadow: none;
	color: #fff;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.at-gradient .at-card .at-card__text,
.at-gradient .at-card .at-card__meta {
	color: rgb(255 255 255 / 0.78);
}

.at-hero h1,
.at-gradient h1 {
	font-size: var(--at-h1);
}

/* Hero content rises in once */
.at-hero .at-container > *,
.at-gradient .e-con-inner > *,
.at-gradient .elementor-widget {
	animation: at-rise 800ms var(--at-ease) both;
}

.at-gradient .elementor-widget:nth-child(2) { animation-delay: 80ms; }
.at-gradient .elementor-widget:nth-child(3) { animation-delay: 160ms; }
.at-gradient .elementor-widget:nth-child(4) { animation-delay: 240ms; }

@keyframes at-rise {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */

.at-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-2);
	padding: 4px 14px;
	border-radius: var(--at-radius-pill);
	background: rgb(92 59 234 / 0.08);
	color: var(--at-violet-500);
	font-family: var(--at-font-display);
	font-weight: 600;
	inline-size: fit-content;
	max-inline-size: 100%;
}

.at-eyebrow::before {
	content: "";
	inline-size: 6px;
	block-size: 6px;
	border-radius: 50%;
	background: var(--at-gradient-accent);
}

.at-section__head h2,
.at-section__title {
	position: relative;
}

.at-section--surface {
	background:
		radial-gradient(40% 60% at 100% 0%, rgb(92 59 234 / 0.07) 0%, rgb(92 59 234 / 0) 70%),
		radial-gradient(35% 50% at 0% 100%, rgb(56 198 244 / 0.08) 0%, rgb(56 198 244 / 0) 70%),
		var(--at-surface);
}

.at-lead {
	font-weight: 350;
}

/* ---------- Cards ---------- */

.at-card {
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-lg);
	box-shadow: var(--at-shadow-sm);
	transition: box-shadow 320ms var(--at-ease), transform 320ms var(--at-ease), border-color 320ms;
}

/* Gradient ring on hover */
.at-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	padding: 1.5px;
	border-radius: inherit;
	background: var(--at-gradient-accent);
	opacity: 0;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	transition: opacity 320ms var(--at-ease);
	pointer-events: none;
}

.at-card:has(.at-card__link:hover),
.at-card--interactive:hover {
	border-color: transparent;
	box-shadow: var(--at-shadow-md);
	transform: translateY(-6px);
}

.at-card:has(.at-card__link:hover)::before,
.at-card--interactive:hover::before {
	opacity: 1;
}

/* Elementor containers carrying .at-card set their own radius per element. */
.elementor .e-con.at-card,
.elementor .elementor-element.at-card {
	border-radius: var(--at-radius-lg) !important;
	overflow: hidden;
}

.at-card__media {
	overflow: hidden;
	background: var(--at-gradient);
}

.at-card__media img {
	transition: transform 600ms var(--at-ease);
}

.at-card:has(.at-card__link:hover) .at-card__media img {
	transform: scale(1.06);
}

.at-card__title {
	line-height: 1.45;
}

/* ---------- Badges, tabs, filters, forms ---------- */

.at-badge {
	font-weight: 500;
}

.at-badge--accent {
	background: rgb(92 59 234 / 0.1);
}

.at-tabs {
	gap: var(--at-space-1);
	padding: 4px;
	border: 0;
	border-radius: var(--at-radius-pill);
	background: var(--at-surface);
	inline-size: fit-content;
	max-inline-size: 100%;
	overflow-x: auto;
}

.at-tabs__tab {
	margin: 0;
	border: 0;
	border-radius: var(--at-radius-pill);
	white-space: nowrap;
}

.at-tabs__tab[aria-current="page"] {
	background: #fff;
	box-shadow: var(--at-shadow-sm);
	color: var(--at-violet-500);
}

.at-filters {
	border: 1px solid var(--at-border);
	background: #fff;
	box-shadow: var(--at-shadow-sm);
}

.at-input,
.at-select,
.at-textarea {
	border-color: #c9cee3;
	border-radius: 12px;
	background: #fbfbff;
}

.at-input:focus,
.at-select:focus,
.at-textarea:focus {
	border-color: var(--at-violet-500);
	background: #fff;
	box-shadow: 0 0 0 4px rgb(92 59 234 / 0.18);
}

.nav-links .page-numbers {
	border-radius: 50%;
}

.nav-links .page-numbers.current {
	border-color: transparent;
	background: var(--at-gradient-accent);
}

/* ---------- Footer ---------- */

.at-footer {
	position: relative;
	border: 0;
	background:
		radial-gradient(40% 80% at 100% 0%, rgb(92 59 234 / 0.08) 0%, rgb(92 59 234 / 0) 70%),
		var(--at-surface);
}

.at-footer::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-start: 0;
	block-size: 3px;
	background: var(--at-gradient-accent);
}

.at-footer__title {
	font-family: var(--at-font-display);
}

.at-footer li a:hover {
	color: var(--at-violet-500);
	text-decoration: none;
}

/* ---------- Elementor ---------- */

.elementor-widget-text-editor {
	font-family: var(--at-font);
}

.elementor-widget-heading .elementor-heading-title {
	font-family: var(--at-font-display);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.at-gradient::before {
		animation: none;
	}

	.at-card:has(.at-card__link:hover) .at-card__media img {
		transform: none;
	}

	.at-btn:hover,
	.elementor-widget-button .elementor-button:hover {
		transform: none;
	}
}

/* =====================================================================
 * Motion layer — animated backgrounds, reveals, tilt, extras.
 * Classes below are added by assets/js/effects.js; without JS nothing hides.
 * ===================================================================== */

/* ---------- Site-wide aurora behind everything ---------- */

body::before {
	content: "";
	position: fixed;
	inset: -25vmax;
	z-index: -1;
	background:
		radial-gradient(28vmax 28vmax at 20% 20%, rgb(63 82 251 / 0.10), transparent 70%),
		radial-gradient(24vmax 24vmax at 80% 30%, rgb(193 59 234 / 0.08), transparent 70%),
		radial-gradient(30vmax 30vmax at 50% 85%, rgb(56 198 244 / 0.09), transparent 70%);
	animation: at-aurora 30s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes at-aurora {
	0% { transform: translate3d(0, 0, 0) rotate(0deg); }
	50% { transform: translate3d(4%, -3%, 0) rotate(8deg); }
	100% { transform: translate3d(-4%, 3%, 0) rotate(-6deg); }
}

/* ---------- Hero: panning gradient, spotlight, floating figures ---------- */

.at-gradient {
	background-size: 180% 180%;
	animation: at-pan 22s ease-in-out infinite alternate;
}

@keyframes at-pan {
	from { background-position: 0% 50%; }
	to { background-position: 100% 50%; }
}

.at-fx {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

/* Light that follows the pointer */
.at-fx::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(180px circle at var(--mx, 70%) var(--my, 30%), rgb(255 255 255 / 0.12), transparent 70%);
	transition: background 120ms linear;
}

.at-fx__sym {
	position: absolute;
	inset-block-end: -60px;
	color: rgb(255 255 255 / 0.16);
	font-family: var(--at-font-display);
	font-weight: 800;
	line-height: 1;
	animation: at-float var(--d, 18s) linear var(--delay, 0s) infinite;
	will-change: transform, opacity;
}

@keyframes at-float {
	0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translate3d(var(--x, 30px), -120vh, 0) rotate(var(--r, 40deg)); opacity: 0; }
}

/* Keep real content above the effects */
.at-gradient > .e-con-inner,
.at-gradient > .elementor-widget,
.at-gradient > .e-con,
.at-gradient > .at-container {
	position: relative;
	z-index: 1;
}

/* Shimmering headline */
.at-gradient h1,
.at-gradient h1.elementor-heading-title,
.at-gradient .elementor-widget-heading:first-of-type .elementor-heading-title {
	background: linear-gradient(100deg, #fff 0%, #fff 35%, #d9cdff 45%, #ffffff 55%, #fff 100%);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: none;
	animation: at-shimmer-text 6s ease-in-out infinite;
}

@keyframes at-shimmer-text {
	0%, 60% { background-position: 100% 0; }
	100% { background-position: -50% 0; }
}

/* ---------- Scroll progress + header that tightens on scroll ---------- */

.at-progress {
	position: fixed;
	inset-inline: 0;
	inset-block-start: var(--wp-admin--admin-bar--height, 0px);
	z-index: 1000;
	block-size: 3px;
	background: var(--at-gradient-accent);
	transform: scaleX(var(--at-scroll, 0));
	transform-origin: right;
	pointer-events: none;
}

[dir="ltr"] .at-progress {
	transform-origin: left;
}

.at-header {
	transition: box-shadow 300ms var(--at-ease);
}

.at-header.is-scrolled {
	box-shadow: 0 10px 30px rgb(36 52 160 / 0.12);
}

/* The header keeps its height when scrolled: shrinking it moved the page
   under the reader and toggled the state back and forth near the top. */

/* ---------- Reveal on scroll ---------- */

.at-reveal {
	opacity: 0;
	translate: 0 28px;
	transition: opacity 700ms var(--at-ease) var(--at-delay, 0ms), translate 700ms var(--at-ease) var(--at-delay, 0ms);
}

.at-reveal.is-in {
	opacity: 1;
	translate: 0 0;
}

/* Kinds (effects.js): headings rise out of a line, text follows close behind,
   cards travel further, buttons settle. Long soft landings; the stagger comes
   from effects.js in reading order. Interactive cards keep their own
   transition list (hover), so only their distance changes. */
/* Repeated class (specificity 0,3,0): Elementor's own `.elementor-element { transition: … }` loads
   later and used to cancel the reveal on Elementor headings and text. Its
   transitions stay in each list. */
.at-reveal.at-reveal.at-reveal--mask {
	clip-path: inset(100% -1em -0.4em -1em);
	translate: 0 0.55em;
	transition: opacity 500ms var(--at-ease-reveal), translate 1000ms var(--at-ease-reveal), clip-path 1000ms var(--at-ease-reveal), background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s, transform 0.4s;
}

.at-reveal.at-reveal.at-reveal--mask.is-in {
	clip-path: inset(-0.4em -1em -0.4em -1em);
	translate: 0 0;
}

.at-reveal.at-reveal.at-reveal--text {
	translate: 0 16px;
	transition: opacity 800ms var(--at-ease-reveal), translate 800ms var(--at-ease-reveal), background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s, transform 0.4s;
}

.at-reveal--rise {
	translate: 0 40px;
}

.at-reveal.at-reveal.at-reveal--soft {
	translate: 0 10px;
	transition: opacity 600ms var(--at-ease-reveal), translate 700ms var(--at-ease-reveal), background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s, transform 0.4s;
}

.at-reveal.at-reveal.at-reveal--text.is-in,
.at-reveal.at-reveal.at-reveal--soft.is-in {
	translate: 0 0;
}

/* ---------- Cards: 3D tilt with moving sheen ---------- */

.at-card:has(.at-card__link:hover),
.at-card--interactive:hover {
	transform: none;
	translate: 0 -6px;
}

.at-card.at-tilt {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: box-shadow 320ms var(--at-ease), translate 320ms var(--at-ease), border-color 320ms, transform 120ms linear, opacity 700ms var(--at-ease), translate 700ms var(--at-ease);
}

.at-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 0%), rgb(92 59 234 / 0.10), transparent 60%);
	opacity: 0;
	transition: opacity 300ms var(--at-ease);
	pointer-events: none;
}

.at-card.at-tilt:hover::after {
	opacity: 1;
}

/* ---------- Easter egg: type "audit" anywhere ---------- */

.at-confetti {
	position: fixed;
	inset-block-start: -40px;
	z-index: 100000;
	font-family: var(--at-font-display);
	font-weight: 800;
	pointer-events: none;
	animation: at-fall var(--d, 2.6s) cubic-bezier(0.3, 0.6, 0.4, 1) forwards;
}

@keyframes at-fall {
	to { transform: translate3d(var(--x, 0), 110vh, 0) rotate(var(--r, 360deg)); opacity: 0.2; }
}

.at-toast {
	position: fixed;
	inset-block-end: 24px;
	inset-inline-start: 50%;
	z-index: 100001;
	padding: 12px 22px;
	border-radius: var(--at-radius-pill);
	background: var(--at-gradient-accent);
	box-shadow: var(--at-glow);
	color: #fff;
	font-family: var(--at-font-display);
	font-weight: 600;
	translate: 50% 0;
	animation: at-toast 3.2s var(--at-ease) forwards;
}

@keyframes at-toast {
	0% { opacity: 0; transform: translateY(20px); }
	12%, 85% { opacity: 1; transform: none; }
	100% { opacity: 0; transform: translateY(10px); }
}

@media (prefers-reduced-motion: reduce) {
	body::before,
	.at-gradient,
	.at-gradient h1,
	.at-gradient .elementor-heading-title,
	.at-fx__sym {
		animation: none !important;
	}

	.at-fx__sym {
		display: none;
	}

	.at-reveal,
	.at-reveal.at-reveal.at-reveal--mask,
	.at-reveal.at-reveal.at-reveal--text,
	.at-reveal.at-reveal.at-reveal--soft {
		opacity: 1;
		translate: none;
		clip-path: none;
	}
}

/* =====================================================================
 * Dark mode — html[data-theme="dark"], set before paint by an inline
 * script in <head> (saved choice, else the system preference).
 * ===================================================================== */

html[data-theme="dark"] {
	color-scheme: dark;

	--at-bg: #070b1d;
	--at-card: #0f1631;
	--at-navy-900: #e8eaf7;
	--at-navy-700: #c3c9ff;
	--at-blue-600: #8c9bff;
	--at-blue-500: #8c9bff;
	--at-violet-500: #b49cff;
	--at-surface: #0c1330;
	--at-border: #232c52;
	--at-border-strong: #4a5480;
	--at-muted: #a0a8c6;

	--at-success: #5fd39a;
	--at-success-bg: rgb(95 211 154 / 0.12);
	--at-warning: #f5b453;
	--at-warning-bg: rgb(245 180 83 / 0.12);
	--at-danger: #ff8a80;
	--at-danger-bg: rgb(255 138 128 / 0.12);
	--at-info-bg: rgb(140 155 255 / 0.12);

	--at-gradient-text: linear-gradient(120deg, #8c9bff 0%, #b49cff 50%, #e08cff 100%);

	--at-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4), 0 2px 8px rgb(0 0 0 / 0.25);
	--at-shadow-md: 0 14px 34px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(140 155 255 / 0.12);
	--at-shadow-lg: 0 24px 60px rgb(0 0 0 / 0.55);
}

/* Elementor global palette */
html[data-theme="dark"] body {
	--e-global-color-primary: #e8eaf7;
	--e-global-color-text: #cfd4ea;
	--e-global-color-at_navy_900: #e8eaf7;
	--e-global-color-at_surface: #0c1330;
	--e-global-color-at_border: #232c52;
	--e-global-color-at_muted: #a0a8c6;

	background: var(--at-bg);
	color: var(--at-navy-900);
}

html[data-theme="dark"] body::before {
	background:
		radial-gradient(28vmax 28vmax at 20% 20%, rgb(63 82 251 / 0.16), transparent 70%),
		radial-gradient(24vmax 24vmax at 80% 30%, rgb(193 59 234 / 0.12), transparent 70%),
		radial-gradient(30vmax 30vmax at 50% 85%, rgb(56 198 244 / 0.10), transparent 70%);
}

html[data-theme="dark"] .at-header {
	border-block-end-color: rgb(140 155 255 / 0.15);
}

html[data-theme="dark"] .at-header::before {
	background: rgb(7 11 29 / 0.72);
}

html[data-theme="dark"] .at-header.is-scrolled {
	box-shadow: 0 10px 30px rgb(0 0 0 / 0.5);
}

html[data-theme="dark"] .at-nav,
html[data-theme="dark"] .at-nav__menu .sub-menu {
	background: #0b1129;
}

html[data-theme="dark"] .at-nav-toggle {
	background: #151d3f;
	color: var(--at-navy-900);
}

/* The official logo has dark lettering; show it light on dark surfaces. */
html[data-theme="dark"] .at-logo img {
	filter: brightness(0) invert(0.94);
}

html[data-theme="dark"] .at-card,
html[data-theme="dark"] .at-filters,
html[data-theme="dark"] .at-empty {
	border-color: var(--at-border);
	background: var(--at-card);
}

html[data-theme="dark"] .at-card::after {
	background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 0%), rgb(180 156 255 / 0.16), transparent 60%);
}

html[data-theme="dark"] .at-section--surface {
	background:
		radial-gradient(40% 60% at 100% 0%, rgb(92 59 234 / 0.14) 0%, rgb(92 59 234 / 0) 70%),
		radial-gradient(35% 50% at 0% 100%, rgb(56 198 244 / 0.08) 0%, rgb(56 198 244 / 0) 70%),
		var(--at-surface);
}

html[data-theme="dark"] .at-footer {
	background:
		radial-gradient(40% 80% at 100% 0%, rgb(92 59 234 / 0.14) 0%, rgb(92 59 234 / 0) 70%),
		#090e24;
}

html[data-theme="dark"] .at-tabs {
	background: var(--at-card);
}

html[data-theme="dark"] .at-tabs__tab[aria-current="page"] {
	background: #1a2350;
}

html[data-theme="dark"] .at-input,
html[data-theme="dark"] .at-select,
html[data-theme="dark"] .at-textarea {
	border-color: #3a4470;
	background: #0b1129;
	color: var(--at-navy-900);
}

html[data-theme="dark"] .at-badge,
html[data-theme="dark"] .at-badge--neutral {
	background: #1a2350;
}

html[data-theme="dark"] .at-eyebrow {
	background: rgb(180 156 255 / 0.12);
}

html[data-theme="dark"] .at-action-bar {
	background: rgb(7 11 29 / 0.95);
}

html[data-theme="dark"] .at-skeleton {
	background: linear-gradient(90deg, #0f1631 0%, #1a2350 50%, #0f1631 100%);
	background-size: 200% 100%;
}

/* White buttons keep dark text. */
html[data-theme="dark"] .at-btn--light,
html[data-theme="dark"] .at-el-light .elementor-button {
	color: #0a122c;
}

html[data-theme="dark"] .at-main .elementor-heading-title {
	color: var(--at-navy-900);
}

html[data-theme="dark"] .at-main .elementor-widget-text-editor {
	color: #cfd4ea;
}

/* ---------- Theme switch ---------- */

.at-theme-toggle {
	position: relative;
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	inline-size: var(--at-tap);
	block-size: var(--at-tap);
	margin-inline-start: auto;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 50%;
	background: var(--at-surface);
	color: var(--at-navy-900);
	cursor: pointer;
	transition: background-color var(--at-duration) var(--at-ease), transform var(--at-duration) var(--at-ease);
}

/* Language switch: "ENG" on Arabic pages, a decorated "ع" on English ones. */
.at-lang-toggle {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	min-inline-size: var(--at-tap);
	block-size: var(--at-tap);
	margin-inline-start: auto;
	padding-inline: 0.6rem;
	border-radius: 999px;
	background: var(--at-surface);
	color: var(--at-navy-900);
	font-family: var(--at-font-display);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
	text-decoration: none;
	transition: background-color var(--at-duration) var(--at-ease), transform var(--at-duration) var(--at-ease);
}

.at-lang-toggle:hover {
	transform: scale(1.06);
}

.at-lang-toggle--ar {
	padding-inline: 0;
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: 0;
	background-image: var(--at-gradient-accent, linear-gradient(135deg, #2447d8, #5c3bea));
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 1px 0 rgb(255 255 255 / 0.15);
	box-shadow: inset 0 0 0 1.5px rgb(92 59 234 / 0.35);
}

.at-lang-toggle + .at-theme-toggle {
	margin-inline-start: 0.5rem;
}

html[data-theme="dark"] .at-lang-toggle {
	background-color: #151d3f;
	color: #ffd479;
}

html[data-theme="dark"] .at-theme-toggle {
	background: #151d3f;
	color: #ffd479;
}

.at-theme-toggle:hover {
	transform: rotate(-12deg) scale(1.06);
}

.at-theme-toggle svg {
	grid-area: 1 / 1;
	inline-size: 20px;
	block-size: 20px;
	transition: transform 500ms var(--at-ease), opacity 300ms var(--at-ease);
}

.at-theme-toggle .at-icon-sun {
	opacity: 0;
	transform: rotate(-90deg) scale(0.4);
}

html[data-theme="dark"] .at-theme-toggle .at-icon-sun {
	opacity: 1;
	transform: none;
}

html[data-theme="dark"] .at-theme-toggle .at-icon-moon {
	opacity: 0;
	transform: rotate(90deg) scale(0.4);
}

@media (min-width: 1024px) {
	.at-theme-toggle {
		order: 3;
		margin-inline-start: 0;
	}
}

/* Circular reveal when switching (View Transitions) */
::view-transition-old(root),
::view-transition-new(root) {
	animation: none;
	mix-blend-mode: normal;
}

::view-transition-new(root) {
	animation: at-theme-reveal 650ms var(--at-ease);
}

@keyframes at-theme-reveal {
	from { clip-path: circle(0 at var(--at-vt-x, 50%) var(--at-vt-y, 0)); }
	to { clip-path: circle(var(--at-vt-r, 150vmax) at var(--at-vt-x, 50%) var(--at-vt-y, 0)); }
}

/* ---------- Counters: [at_counters] ---------- */

.at-counters {
	position: relative;
	z-index: 2;
	margin-block: calc(-1 * var(--at-space-7)) var(--at-space-6);
}

.at-counters__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: var(--at-space-3);
	max-inline-size: 960px;
	margin: 0 auto;
	padding: var(--at-space-4);
	list-style: none;
	border: 1px solid rgb(255 255 255 / 0.6);
	border-radius: var(--at-radius-xl);
	background: rgb(255 255 255 / 0.72);
	box-shadow: var(--at-shadow-lg);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
}

.at-counter {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--at-space-1);
	padding: var(--at-space-4) var(--at-space-3);
	text-align: center;
}

.at-counter + .at-counter {
	border-inline-start: 1px solid var(--at-border);
}

.at-counter__value {
	background: var(--at-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-family: var(--at-font-display);
	font-size: clamp(2.125rem, 1.6rem + 2.4vw, 3.125rem);
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	line-height: 1;
}

.at-counter__label {
	color: var(--at-muted);
	font-weight: 500;
}

.at-counter.is-done .at-counter__value {
	animation: at-pop 500ms var(--at-ease);
}

@keyframes at-pop {
	40% { transform: scale(1.12); }
}

@media (max-width: 639px) {
	.at-counter + .at-counter {
		border-inline-start: 0;
		border-block-start: 1px solid var(--at-border);
	}
}

html[data-theme="dark"] .at-counters__list {
	border-color: rgb(140 155 255 / 0.18);
	background: rgb(15 22 49 / 0.72);
}

/* =====================================================================
 * About and contact pages. Classes are set on the Elementor containers
 * (Advanced → CSS Classes) or come from [at_contact_topics].
 * ===================================================================== */

:root {
	--at-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
	--at-i-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
	--at-i-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E");
	--at-i-idea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
	--at-i-team: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0M16 4.5a3.5 3.5 0 0 1 0 7M21.5 20a6.5 6.5 0 0 0-4-6'/%3E%3C/svg%3E");
	--at-i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E");
	--at-i-help: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6V14M12 17h.01'/%3E%3C/svg%3E");
}

/* Gradient tile that holds a white icon */
.at-vm__card .elementor-heading-title::before,
.at-contact .at-card__body::before,
.at-help__icon {
	content: "";
	flex: none;
	inline-size: 52px;
	block-size: 52px;
	border-radius: 16px;
	background: var(--at-icon) center / 24px no-repeat, var(--at-gradient-accent);
	box-shadow: var(--at-glow);
}

/* ---------- About: intro ---------- */

.at-about-intro .elementor-heading-title::after {
	content: "";
	display: block;
	inline-size: 64px;
	block-size: 4px;
	margin-block-start: var(--at-space-3);
	border-radius: 4px;
	background: var(--at-gradient-accent);
}

.at-about-intro .elementor-widget-text-editor {
	max-inline-size: 56ch;
	font-size: clamp(1rem, 0.95rem + 0.45vw, 1.25rem);
	line-height: 1.9;
}

/* ---------- About: vision and mission ---------- */

.at-vm__card {
	padding: var(--at-space-6) !important;
}

.at-vm__card .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: var(--at-space-3);
}

.at-vm__card--vision {
	--at-icon: var(--at-i-eye);
}

.at-vm__card--mission {
	--at-icon: var(--at-i-target);
}

.at-vm__card--vision.at-card {
	border-color: transparent;
	background: var(--at-gradient) !important;
	background-color: #070d24 !important;
}

.at-vm__card--vision .elementor-heading-title,
.at-vm__card--vision .elementor-widget-text-editor {
	color: #fff !important;
}

.at-vm__card--vision .elementor-heading-title::before {
	background-color: rgb(255 255 255 / 0.14);
	background-image: var(--at-icon);
	box-shadow: none;
}

/* ---------- About: goals as numbered tiles ---------- */

.at-goals ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--at-space-4);
	margin: var(--at-space-5) 0 0;
	padding: 0 !important;
	list-style: none;
	counter-reset: at-goal;
}

.at-goals li {
	position: relative;
	margin: 0 !important;
	padding: 64px var(--at-space-5) var(--at-space-5);
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-lg);
	background: var(--at-card, #fff);
	box-shadow: var(--at-shadow-sm);
	font-weight: 500;
	line-height: 1.75;
	counter-increment: at-goal;
	transition: transform 320ms var(--at-ease), box-shadow 320ms var(--at-ease);
}

.at-goals li::before {
	content: counter(at-goal, decimal-leading-zero);
	position: absolute;
	inset-block-start: var(--at-space-4);
	inset-inline-start: var(--at-space-5);
	background: var(--at-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-family: var(--at-font-display);
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
}

.at-goals li:hover {
	box-shadow: var(--at-shadow-md);
	transform: translateY(-4px);
}

/* ---------- Contact: email card ---------- */

.at-contact {
	grid-template-columns: minmax(0, 1fr) !important;
	max-inline-size: 640px;
	margin-inline: auto;
}

.at-contact .at-card__body {
	--at-icon: var(--at-i-mail);

	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	column-gap: var(--at-space-4);
	row-gap: 2px;
	align-items: center;
	padding: var(--at-space-5) var(--at-space-6);
}

.at-contact .at-card__body::before {
	grid-row: span 2;
}

.at-contact .at-card__title {
	color: var(--at-muted);
	font-size: var(--at-text-sm);
	font-weight: 500;
}

.at-contact .at-card__text a {
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	font-weight: 600;
	text-decoration: none;
	word-break: break-all;
}

/* ---------- Contact: topics ---------- */

section.at-help {
	padding-block: var(--at-space-7);
}

.at-help .at-section__head {
	margin-inline: auto;
	text-align: center;
}

.at-help .at-eyebrow {
	margin-inline: auto;
}

.at-help__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--at-space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-help__item--idea { --at-icon: var(--at-i-idea); }
.at-help__item--team { --at-icon: var(--at-i-team); }
.at-help__item--chat { --at-icon: var(--at-i-chat); }
.at-help__item--help { --at-icon: var(--at-i-help); }

.at-help__link {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--at-space-2);
	block-size: 100%;
	padding: var(--at-space-5);
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-lg);
	background: var(--at-card, #fff);
	box-shadow: var(--at-shadow-sm);
	color: inherit;
	text-decoration: none;
	transition: transform 320ms var(--at-ease), box-shadow 320ms var(--at-ease), border-color 320ms;
}

.at-help__link:hover {
	border-color: transparent;
	box-shadow: var(--at-shadow-md);
	color: inherit;
	transform: translateY(-6px);
}

.at-help__icon {
	margin-block-end: var(--at-space-2);
}

.at-help__title {
	font-family: var(--at-font-display);
	font-size: var(--at-h4);
	font-weight: 700;
}

.at-help__text {
	color: var(--at-muted);
}

.at-help__arrow {
	inline-size: 22px;
	block-size: 22px;
	margin-block-start: auto;
	padding-block-start: var(--at-space-3);
	background: var(--at-violet-500);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center bottom / 22px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center bottom / 22px no-repeat;
	transition: translate 320ms var(--at-ease);
}

[dir="ltr"] .at-help__arrow {
	scale: -1 1;
}

.at-help__link:hover .at-help__arrow {
	translate: -6px 0;
}

@media (prefers-reduced-motion: reduce) {
	.at-goals li:hover,
	.at-help__link:hover {
		transform: none;
	}
}

/* =====================================================================
 * Page transitions and the menu capsule.
 * ===================================================================== */

/* ---------- Page transitions (cross-document view transitions) ---------- */

@view-transition {
	navigation: auto;
}

.at-header {
	view-transition-name: at-header;
}

::view-transition-old(root) {
	animation: at-page-out 280ms var(--at-ease) both;
}

::view-transition-new(root) {
	animation: at-page-in 520ms var(--at-ease) both;
}

/* The theme switch keeps its circular reveal. */
html.at-vt-theme::view-transition-old(root) {
	animation: none;
}

html.at-vt-theme::view-transition-new(root) {
	animation: at-theme-reveal 650ms var(--at-ease);
}

@keyframes at-page-out {
	to { opacity: 0; transform: translateY(-12px) scale(0.99); filter: blur(4px); }
}

@keyframes at-page-in {
	from { opacity: 0; transform: translateY(18px) scale(0.99); filter: blur(6px); }
}

/* Fallback for browsers without cross-document transitions (class set by effects.js). */
.at-page-enter .at-main {
	animation: at-page-in 520ms var(--at-ease) both;
}

/* ---------- Menu capsule with a sliding pill ---------- */

@media (min-width: 1024px) {
	.at-nav__menu {
		position: relative;
		isolation: isolate;
		gap: 2px;
		padding: 5px;
		border: 1px solid rgb(92 59 234 / 0.14);
		border-radius: var(--at-radius-pill);
		background: rgb(255 255 255 / 0.55);
		box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6), 0 6px 20px rgb(36 52 160 / 0.08);
	}

	.at-nav__menu > li > a {
		z-index: 1;
		min-block-size: 40px;
		padding-inline: 18px;
		transition: color 250ms var(--at-ease);
	}

	.at-nav__menu > li > a:hover {
		background: transparent;
	}

	.at-nav__menu .current-menu-item > a::after,
	.at-nav__menu a[aria-current="page"]::after {
		display: none;
	}

	.at-nav__menu > .current-menu-item > a,
	.at-nav__menu > .current-menu-ancestor > a,
	.at-nav__menu > li > a[aria-current="page"] {
		background: var(--at-gradient-accent);
		box-shadow: var(--at-glow);
		color: #fff !important;
	}

	.at-nav__pill {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 0;
		border-radius: var(--at-radius-pill);
		background: rgb(92 59 234 / 0.1);
		opacity: 0;
		pointer-events: none;
	}

	.at-nav__menu.has-pill .at-nav__pill {
		transition: transform 420ms var(--at-ease), width 420ms var(--at-ease), height 420ms var(--at-ease), opacity 200ms var(--at-ease);
	}

	html[data-theme="dark"] .at-nav__menu {
		border-color: rgb(140 155 255 / 0.18);
		background: rgb(255 255 255 / 0.04);
		box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
	}

	html[data-theme="dark"] .at-nav__pill {
		background: rgb(180 156 255 / 0.14);
	}
}

@media (prefers-reduced-motion: reduce) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) {
		animation: none !important;
	}

	.at-page-enter .at-main {
		animation: none;
	}
}

/* =====================================================================
 * Buttons on gradient bands (hero, CTA). The first button is the main
 * one (white), the next ones are glass. Hover: a light sweep crosses the
 * button and an arrow slides in. !important beats Elementor's per-element
 * colors, which the kit sets to white on these buttons.
 * ===================================================================== */

.at-gradient .elementor-widget-button .elementor-button {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 14px 28px !important;
	border: 1.5px solid transparent !important;
	font-size: 1.0625rem;
	transition: transform 350ms var(--at-ease), box-shadow 350ms var(--at-ease), background-color 350ms var(--at-ease), border-color 350ms var(--at-ease);
}

.at-gradient .elementor-widget-button:first-child .elementor-button {
	background: #fff !important;
	box-shadow: 0 10px 30px rgb(7 13 36 / 0.35) !important;
	color: #12297a !important;
}

.at-gradient .elementor-widget-button:not(:first-child) .elementor-button {
	border-color: rgb(255 255 255 / 0.5) !important;
	background: rgb(255 255 255 / 0.08) !important;
	box-shadow: none !important;
	color: #fff !important;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

/* Light sweep */
.at-gradient .elementor-widget-button .elementor-button::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(115deg, transparent 30%, rgb(92 59 234 / 0.2) 50%, transparent 70%);
	transform: translateX(120%);
	transition: transform 700ms var(--at-ease);
}

.at-gradient .elementor-widget-button:not(:first-child) .elementor-button::before {
	background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.3) 50%, transparent 70%);
}

/* Arrow that slides in */
.at-gradient .elementor-widget-button .elementor-button-content-wrapper::after {
	content: "";
	flex: none;
	inline-size: 0;
	block-size: 18px;
	margin-inline-start: 0;
	background: currentcolor;
	opacity: 0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
	transition: inline-size 350ms var(--at-ease), margin 350ms var(--at-ease), opacity 250ms var(--at-ease);
}

[dir="ltr"] .at-gradient .elementor-widget-button .elementor-button-content-wrapper::after {
	scale: -1 1;
}

.at-gradient .elementor-widget-button .elementor-button-content-wrapper {
	align-items: center;
}

.at-gradient .elementor-widget-button .elementor-button:hover,
.at-gradient .elementor-widget-button .elementor-button:focus-visible {
	transform: translateY(-3px);
}

.at-gradient .elementor-widget-button:first-child .elementor-button:hover,
.at-gradient .elementor-widget-button:first-child .elementor-button:focus-visible {
	box-shadow: 0 16px 40px rgb(92 59 234 / 0.45) !important;
}

.at-gradient .elementor-widget-button:not(:first-child) .elementor-button:hover,
.at-gradient .elementor-widget-button:not(:first-child) .elementor-button:focus-visible {
	border-color: #fff !important;
	background: rgb(255 255 255 / 0.18) !important;
}

.at-gradient .elementor-widget-button .elementor-button:hover::before,
.at-gradient .elementor-widget-button .elementor-button:focus-visible::before {
	transform: translateX(-120%);
}

.at-gradient .elementor-widget-button .elementor-button:hover .elementor-button-content-wrapper::after,
.at-gradient .elementor-widget-button .elementor-button:focus-visible .elementor-button-content-wrapper::after {
	inline-size: 18px;
	margin-inline-start: 10px;
	opacity: 1;
}

.at-gradient .elementor-widget-button .elementor-button:active {
	transform: translateY(-1px) scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
	.at-gradient .elementor-widget-button .elementor-button,
	.at-gradient .elementor-widget-button .elementor-button::before {
		transition: none;
	}

	.at-gradient .elementor-widget-button .elementor-button:hover {
		transform: none;
	}
}

/* =====================================================================
 * Fixes for the parent theme's own hover motion (v0.8.0) and Elementor
 * labels.
 * ===================================================================== */

/* The parent lifts cards and gives them a light grey border on hover.
   Keep this layer's tilt and glow instead, on the same pointer devices. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.at-card:hover,
	.e-con.at-card:hover {
		border-color: var(--at-border);
		box-shadow: var(--at-shadow-md);
	}

	.at-card.at-tilt:hover,
	.e-con.at-card.at-tilt:hover {
		transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	}

	.at-card:has(.at-card__link:hover),
	.e-con.at-card:has(.at-card__link:hover) {
		border-color: transparent;
	}
}

/* Eyebrow labels (pills). Elementor renders them as a block widget with a
   container and a paragraph inside, which pushed the dot to the top corner
   and left the text off-centre. The pill hugs its text, the text is centred,
   and the dot sits vertically centred on the start (right, in Arabic) side. */
.elementor-widget.at-eyebrow,
.at-eyebrow {
	position: relative;
	display: inline-flex !important;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	inline-size: fit-content !important;
	max-inline-size: 100%;
	padding: 6px 16px;
	text-align: center;
}

.at-eyebrow > .elementor-widget-container,
.at-eyebrow p,
.at-eyebrow .elementor-heading-title {
	flex: 0 1 auto;
	margin: 0;
	padding: 0;
	line-height: 1.5;
	text-align: center;
}

.at-eyebrow::before {
	position: static !important;
	inset: auto !important;
	order: -1;
	flex: none;
	align-self: center;
	inline-size: 12px;
	block-size: 12px;
	margin: 0;
	border-radius: 50%;
	transform: none;
	box-shadow: 0 0 0 4px rgb(92 59 234 / 0.2);
}

/* Centred sections keep the pill centred too. */
.elementor-widget.at-eyebrow.elementor-align-center,
.has-text-align-center .at-eyebrow,
.at-section__head[style*="center"] .at-eyebrow {
	margin-inline: auto;
}

.at-gradient .at-eyebrow::before,
.at-on-dark .at-eyebrow::before {
	background: #fff;
	box-shadow: 0 0 0 4px rgb(255 255 255 / 0.25);
}

/* Elementor grids default to two rows, so a grid whose cards fit in one row
   kept an empty second row (a large gap under "ماذا نقدم؟" and under the
   vision and mission cards). Let card grids size their rows to the cards. */
.elementor .e-con.e-grid:has(> .at-card),
.elementor .e-con.e-grid > .e-con-inner:has(> .at-card) {
	--e-con-grid-template-rows: none;
	grid-template-rows: none;
	grid-auto-rows: auto;
}

/* Contact: the phone card gets a phone icon instead of the envelope. */
.at-contact .at-card__body:has(a[href^="tel:"]) {
	--at-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
}

/* =====================================================================
 * UI polish: dropdown menus, text page typography, FAQ accordion and the
 * certifications guide in dark mode.
 * ===================================================================== */

/* ---------- Dropdown menus ---------- */

/* Decorative header layers never catch the pointer. */
.at-header::before,
.at-header::after {
	pointer-events: none;
}

@media (min-width: 1024px) {
	/* The menu (and its dropdowns) paints above the header's gradient line. */
	.at-nav__menu {
		z-index: 2;
	}

	/* Open below the header line, not on top of it, with an invisible bridge
	   so the pointer can travel from the item to the menu. */
	.at-nav__menu .sub-menu {
		inset-block-start: calc(100% + 28px);
		z-index: 20;
		min-inline-size: 210px;
		padding: 6px;
		border: 1px solid rgb(92 59 234 / 0.12);
	}

	.at-nav__menu .sub-menu::before {
		content: "";
		position: absolute;
		inset-inline: 0;
		inset-block-end: 100%;
		block-size: 30px;
	}

	.at-nav__menu .sub-menu li + li {
		margin-block-start: 2px;
	}

	.at-nav__menu .sub-menu a {
		display: flex;
		min-block-size: 42px;
		padding-inline: 14px;
		border-radius: 12px;
		color: var(--at-navy-900);
		font-size: 0.9375rem;
		white-space: nowrap;
	}

	.at-nav__menu .sub-menu a::after {
		display: none;
	}

	.at-nav__menu .sub-menu a:hover,
	.at-nav__menu .sub-menu .current-menu-item > a {
		background: rgb(92 59 234 / 0.08);
		color: var(--at-violet-500);
	}

	.at-nav__menu > .menu-item-has-children:hover > a::after,
	.at-nav__menu > .menu-item-has-children:focus-within > a::after {
		transform: translateY(0.05em) rotate(225deg);
	}

	html[data-theme="dark"] .at-nav__menu .sub-menu {
		border-color: rgb(140 155 255 / 0.18);
	}

	/* The solid panel colour is for the mobile menu only. */
	html[data-theme="dark"] .at-nav {
		background: transparent;
	}

	html[data-theme="dark"] .at-nav__menu .sub-menu a {
		color: var(--at-navy-900);
	}

	html[data-theme="dark"] .at-nav__menu .sub-menu a:hover {
		background: rgb(180 156 255 / 0.12);
		color: #c9bcff;
	}
}

/* ---------- Text pages: calmer headings and reading width ---------- */

.at-entry__header h1 {
	font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.375rem);
	line-height: 1.3;
}

.at-entry__header .at-lead {
	max-inline-size: 68ch;
}

.at-entry__content > * {
	max-inline-size: 72ch;
}

.at-entry__content h2 {
	margin-block: var(--at-space-6) var(--at-space-3);
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	line-height: 1.45;
}

.at-entry__content h3 {
	margin-block: var(--at-space-5) var(--at-space-2);
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.at-entry__content > h2:first-child,
.at-entry__content > h3:first-child {
	margin-block-start: 0;
}

.at-entry__content p,
.at-entry__content li {
	line-height: 1.9;
}

/* ---------- FAQ accordion (markup from inc/pages.php) ---------- */

.at-faq {
	display: grid;
	gap: var(--at-space-3);
	max-inline-size: 820px;
}

.at-entry__content > .at-faq {
	max-inline-size: 820px;
}

.at-faq__item {
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-lg);
	background: var(--at-white);
	transition: border-color var(--at-duration) var(--at-ease), box-shadow var(--at-duration) var(--at-ease);
}

.at-faq__item[open] {
	border-color: rgb(92 59 234 / 0.35);
	box-shadow: var(--at-shadow-md);
}

.at-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--at-space-4);
	min-block-size: 60px;
	padding: var(--at-space-3) var(--at-space-5);
	cursor: pointer;
	list-style: none;
}

.at-faq__q::-webkit-details-marker {
	display: none;
}

.at-faq__q h2 {
	margin: 0;
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
	line-height: 1.5;
}

.at-faq__q::after {
	content: "";
	flex: none;
	inline-size: 10px;
	block-size: 10px;
	margin-block-start: -4px;
	border-right: 2px solid var(--at-violet-500);
	border-bottom: 2px solid var(--at-violet-500);
	transform: rotate(45deg);
	transition: transform var(--at-duration) var(--at-ease);
}

.at-faq__item[open] > .at-faq__q::after {
	margin-block-start: 4px;
	transform: rotate(225deg);
}

.at-faq__q:focus-visible {
	border-radius: var(--at-radius-lg);
	outline: 3px solid var(--at-blue-500);
	outline-offset: 2px;
}

.at-faq__a {
	padding: 0 var(--at-space-5) var(--at-space-4);
	color: var(--at-muted);
}

.at-faq__a > :last-child {
	margin-block-end: 0;
}

.at-faq__intro {
	margin-block-end: var(--at-space-5);
}

/* ---------- Certifications guide: dark mode and display font ---------- */

.at-certs__group-title,
.at-cert-card__abbr,
.at-cert__abbr {
	font-family: var(--at-font-display);
}

.at-cert-card__head {
	position: relative;
	overflow: hidden;
}

html[data-theme="dark"] .at-steps__item,
html[data-theme="dark"] .at-chip,
html[data-theme="dark"] .at-cert__section,
html[data-theme="dark"] .at-faq__item {
	border-color: rgb(140 155 255 / 0.16);
	background: rgb(255 255 255 / 0.03);
}

html[data-theme="dark"] .at-cert-fact,
html[data-theme="dark"] .at-note,
html[data-theme="dark"] .at-chip__count {
	border-color: rgb(140 155 255 / 0.16);
	background: #121a3b;
}

html[data-theme="dark"] .at-cert .at-chips li {
	background: rgb(147 163 255 / 0.14);
}

html[data-theme="dark"] .at-faq__item[open] {
	border-color: rgb(180 156 255 / 0.4);
}

/* ---------- Mobile menu: sub-items read as part of their section ---------- */

@media (max-width: 1023.98px) {
	.at-nav__menu .sub-menu {
		margin-block: 2px var(--at-space-2);
		margin-inline-start: var(--at-space-2);
		padding-inline-start: var(--at-space-3);
		border-inline-start: 2px solid rgb(92 59 234 / 0.25);
	}

	.at-nav__menu .sub-menu a {
		min-block-size: 44px;
		border-block-end: 0;
		color: var(--at-muted);
		font-size: 1rem;
		font-weight: 500;
	}

	.at-nav__menu .sub-menu .current-menu-item > a {
		color: var(--at-violet-500);
	}

	.at-nav__menu > .menu-item-has-children > a {
		border-block-end: 0;
	}
}

/* ---------- Small fixes from the live review ---------- */

/* Event hero: room between the type labels and the title. */
.at-event__hero .at-card__badges {
	flex-wrap: wrap;
	gap: var(--at-space-2);
	margin-block-end: var(--at-space-4);
}

/* Contact: the email fits on one line on phones instead of breaking
   mid-word. */
@media (max-width: 639.98px) {
	.at-contact .at-card__body {
		grid-template-columns: 44px minmax(0, 1fr);
		column-gap: var(--at-space-3);
		padding: var(--at-space-4);
	}

	.at-contact .at-card__body::before {
		inline-size: 44px;
		block-size: 44px;
		border-radius: 14px;
		background-size: 20px, auto;
	}

	.at-contact .at-card__text a {
		font-size: min(1.25rem, 4.1vw);
		word-break: normal;
		overflow-wrap: anywhere;
	}
}

/* A button after an empty state gets breathing room (e.g. the team page). */
.at-empty + p {
	margin-block-start: var(--at-space-5);
}

/* ---------- Carousel arrows in the bold style ---------- */

.at-carousel__btn {
	box-shadow: var(--at-shadow-sm);
}

.at-carousel__btn:hover:not(:disabled) {
	border-color: transparent;
	background: var(--at-gradient-accent);
	color: #fff;
}

html[data-theme="dark"] .at-carousel__btn {
	border-color: rgb(140 155 255 / 0.2);
	background: #151d3f;
	color: var(--at-navy-900);
}

/* =====================================================================
 * Card motion (replaces the earlier lift and pointer-following tilt).
 * Hover: a slight scale (2.5%) with a soft shadow, and a gentle image
 * zoom inside the card. Scroll: cards fade in with a short stagger.
 * Nothing follows the pointer and nothing changes the layout.
 * ===================================================================== */

/* No lift, tilt or cursor sheen anywhere, including touch screens where a
   tap would otherwise leave a card raised. */
.at-card:hover,
.at-card:has(.at-card__link:hover),
.at-card--interactive:hover,
.e-con.at-card:hover,
.at-help__link:hover {
	transform: none;
	translate: none;
}

.at-card::after {
	display: none;
}

.at-card,
.e-con.at-card,
.at-help__link {
	transition:
		transform 260ms var(--at-ease),
		box-shadow 260ms var(--at-ease),
		border-color 260ms var(--at-ease);
}

/* Scroll reveal: a short rise and fade, staggered by modern.js. */
.at-reveal {
	translate: 0 14px;
	transition:
		opacity 600ms var(--at-ease) var(--at-delay, 0ms),
		translate 600ms var(--at-ease) var(--at-delay, 0ms);
}

.at-card.at-reveal,
.e-con.at-card.at-reveal {
	transition:
		opacity 600ms var(--at-ease) var(--at-delay, 0ms),
		translate 600ms var(--at-ease) var(--at-delay, 0ms),
		transform 260ms var(--at-ease),
		box-shadow 260ms var(--at-ease),
		border-color 260ms var(--at-ease);
}

.at-reveal.is-in {
	translate: 0 0;
}

.at-card__media img {
	transition: transform 300ms var(--at-ease);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.at-card:hover,
	.at-card:has(.at-card__link:hover),
	.at-card--interactive:hover,
	.e-con.at-card:hover,
	.at-help__link:hover {
		transform: scale(1.025);
		box-shadow: 0 18px 40px rgb(36 52 160 / 0.14), 0 4px 12px rgb(36 52 160 / 0.06);
	}

	.at-card:hover .at-card__media img,
	.at-card:has(.at-card__link:hover) .at-card__media img {
		transform: scale(1.06);
	}

	/* Inside the carousel the scroller clips overflow: a tighter shadow
	   stays within its padding. */
	.at-carousel__track > .at-card:hover,
	.at-carousel__track > .at-card:has(.at-card__link:hover) {
		box-shadow: 0 8px 16px rgb(36 52 160 / 0.16), 0 2px 6px rgb(36 52 160 / 0.08);
	}

	html[data-theme="dark"] .at-card:hover,
	html[data-theme="dark"] .at-card:has(.at-card__link:hover),
	html[data-theme="dark"] .at-card--interactive:hover,
	html[data-theme="dark"] .e-con.at-card:hover,
	html[data-theme="dark"] .at-help__link:hover {
		box-shadow: 0 18px 40px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(140 155 255 / 0.18);
	}

	html[data-theme="dark"] .at-carousel__track > .at-card:hover,
	html[data-theme="dark"] .at-carousel__track > .at-card:has(.at-card__link:hover) {
		box-shadow: 0 8px 16px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(140 155 255 / 0.18);
	}
}

@media (prefers-reduced-motion: reduce) {
	.at-reveal {
		translate: none;
	}

	.at-card:hover,
	.at-card:has(.at-card__link:hover),
	.e-con.at-card:hover,
	.at-help__link:hover,
	.at-card:hover .at-card__media img,
	.at-card:has(.at-card__link:hover) .at-card__media img {
		transform: none;
	}
}

/* =====================================================================
 * UI refresh: centred text pages, About cards and goals, policy
 * sections, FAQ slide, learning hub, join call to action and a faint
 * accounting background.
 * ===================================================================== */

:root {
	--at-i-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5h6a4 4 0 0 1 4 4v11a3 3 0 0 0-3-3H2zM22 5h-6a4 4 0 0 0-4 4v11a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
	--at-i-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18M6 16v-5M11 16V6M16 16v-8M20 16v-3'/%3E%3C/svg%3E");
	--at-i-award: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 14 7 22l5-3 5 3-1.5-8'/%3E%3C/svg%3E");
	--at-i-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
	--at-i-planner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2.5'/%3E%3Cpath d='M3 8.5h18M7 5.75h4M11.5 12.5h5.5M11.5 16.5h5.5'/%3E%3Ccircle cx='7.5' cy='12.5' r='1' fill='white' stroke='none'/%3E%3Ccircle cx='7.5' cy='16.5' r='1' fill='white' stroke='none'/%3E%3C/svg%3E");
	--at-i-books: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h4v16H4zM10 4h4v16h-4zM15.5 5.5l3.9-1 3.6 14.6-3.9 1z'/%3E%3C/svg%3E");
	--at-i-flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 4h11l-2 4 2 4H5'/%3E%3C/svg%3E");
	--at-i-route: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='5' r='2'/%3E%3Cpath d='M8 19h7a3 3 0 0 0 0-6H9a3 3 0 0 1 0-6h7'/%3E%3C/svg%3E");
	--at-i-map: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4 3 6v14l6-2 6 2 6-2V4l-6 2zM9 4v14M15 6v14'/%3E%3C/svg%3E");
}

/* ---------- Text pages: a centred, balanced column ---------- */

.at-entry:is(.type-page, .type-atc_news, .type-atc_resource, .type-atc_person) .at-entry__header,
.at-entry:is(.type-page, .type-atc_news, .type-atc_resource, .type-atc_person) .at-entry__content {
	max-inline-size: 860px;
	margin-inline: auto;
}

.at-entry:is(.type-page, .type-atc_news, .type-atc_resource, .type-atc_person) .at-entry__content > * {
	max-inline-size: none;
}

/* ---------- About: one wide card above vision and mission ---------- */

.at-about-overview .at-about-card {
	gap: var(--at-space-3) !important;
	padding: var(--at-space-6) !important;
}

.at-about-overview .at-about-card--wide {
	grid-column: 1 / -1;
}

.at-about-card .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: var(--at-space-3);
	margin: 0;
}

.at-about-card .elementor-heading-title::before {
	content: "";
	flex: none;
	inline-size: 48px;
	block-size: 48px;
	border-radius: 14px;
	background: var(--at-icon, var(--at-i-team)) center / 22px no-repeat, var(--at-gradient-accent);
	box-shadow: var(--at-glow);
}

.at-about-card--wide { --at-icon: var(--at-i-team); }
.at-about-card--vision { --at-icon: var(--at-i-eye); }
.at-about-card--mission { --at-icon: var(--at-i-target); }

.at-about-card .elementor-widget-text-editor {
	color: var(--at-muted);
	line-height: 1.9;
}

.at-about-card--wide .elementor-widget-text-editor {
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	color: var(--at-navy-900);
}

/* ---------- About: goals as icon cards ---------- */

.at-goals li {
	display: flex;
	flex-direction: column;
	gap: var(--at-space-3);
	padding: var(--at-space-5) !important;
	transition: transform 260ms var(--at-ease), box-shadow 260ms var(--at-ease), border-color 260ms var(--at-ease);
}

.at-goals li::before {
	content: "";
	position: static;
	display: block;
	inline-size: 44px;
	block-size: 44px;
	border-radius: 12px;
	background: var(--at-goal-icon, var(--at-i-idea)) center / 22px no-repeat, var(--at-gradient-accent);
	-webkit-background-clip: border-box;
	background-clip: border-box;
	-webkit-text-fill-color: initial;
	box-shadow: var(--at-glow);
}

.at-goals li:nth-child(8n+1) { --at-goal-icon: var(--at-i-book); }
.at-goals li:nth-child(8n+2) { --at-goal-icon: var(--at-i-chart); }
.at-goals li:nth-child(8n+3) { --at-goal-icon: var(--at-i-award); }
.at-goals li:nth-child(8n+4) { --at-goal-icon: var(--at-i-calendar); }
.at-goals li:nth-child(8n+5) { --at-goal-icon: var(--at-i-idea); }
.at-goals li:nth-child(8n+6) { --at-goal-icon: var(--at-i-team); }
.at-goals li:nth-child(8n+7) { --at-goal-icon: var(--at-i-books); }
.at-goals li:nth-child(8n+8) { --at-goal-icon: var(--at-i-flag); }

.at-goals li:hover {
	transform: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.at-goals li:hover {
		box-shadow: 0 18px 40px rgb(36 52 160 / 0.14), 0 4px 12px rgb(36 52 160 / 0.06);
		transform: scale(1.025);
	}

	html[data-theme="dark"] .at-goals li:hover {
		box-shadow: 0 18px 40px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(140 155 255 / 0.18);
	}
}

.at-goals li.at-reveal {
	transition:
		opacity 600ms var(--at-ease) var(--at-delay, 0ms),
		translate 600ms var(--at-ease) var(--at-delay, 0ms),
		transform 260ms var(--at-ease),
		box-shadow 260ms var(--at-ease);
}

html[data-theme="dark"] .at-goals li {
	border-color: rgb(140 155 255 / 0.16);
	background: rgb(255 255 255 / 0.03);
}

/* ---------- About: join call to action ---------- */

.at-join-cta > .e-con-inner {
	align-items: center;
}

.at-join-cta .at-join-cta__card {
	align-items: center;
	gap: var(--at-space-3) !important;
	inline-size: 100%;
	max-inline-size: 760px;
	margin-inline: auto;
	padding: var(--at-space-7) var(--at-space-5) !important;
	border: 1px solid rgb(92 59 234 / 0.16);
	border-radius: var(--at-radius-xl);
	background:
		radial-gradient(60% 80% at 100% 0%, rgb(92 59 234 / 0.10), transparent 70%),
		radial-gradient(50% 70% at 0% 100%, rgb(56 198 244 / 0.10), transparent 70%),
		var(--at-white);
	text-align: center;
}

.at-join-cta .elementor-heading-title,
.at-join-cta .elementor-widget-text-editor {
	text-align: center;
}

.at-join-cta .elementor-widget-text-editor {
	max-inline-size: 56ch;
	color: var(--at-muted);
}

html[data-theme="dark"] .at-join-cta .at-join-cta__card {
	border-color: rgb(140 155 255 / 0.18);
	background:
		radial-gradient(60% 80% at 100% 0%, rgb(180 156 255 / 0.12), transparent 70%),
		radial-gradient(50% 70% at 0% 100%, rgb(56 198 244 / 0.08), transparent 70%),
		rgb(255 255 255 / 0.03);
}

/* ---------- Policies: soft section cards ---------- */

.at-policy {
	display: grid;
	gap: var(--at-space-4);
}

.at-policy__intro {
	padding: var(--at-space-5) var(--at-space-6);
	border-inline-start: 4px solid var(--at-violet-500);
	border-radius: var(--at-radius-lg);
	background: rgb(92 59 234 / 0.06);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.9;
}

.at-policy__intro > :last-child,
.at-policy__section > :last-child {
	margin-block-end: 0;
}

.at-policy__section {
	padding: var(--at-space-5) var(--at-space-6);
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-lg);
	background: var(--at-white);
	box-shadow: var(--at-shadow-sm);
}

.at-policy__section h2 {
	display: flex;
	align-items: center;
	gap: var(--at-space-3);
	margin: 0 0 var(--at-space-3);
	font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
}

.at-policy__section h2::before {
	content: "";
	flex: none;
	inline-size: 6px;
	block-size: 1.1em;
	border-radius: 3px;
	background: var(--at-gradient-accent);
}

.at-policy__section ul {
	display: grid;
	gap: var(--at-space-2);
	margin: 0;
	padding-inline-start: 1.25em;
}

.at-policy__section li::marker {
	color: var(--at-violet-500);
}

.at-policy__section p,
.at-policy__section li {
	line-height: 1.9;
}

html[data-theme="dark"] .at-policy__section {
	border-color: rgb(140 155 255 / 0.16);
	background: rgb(255 255 255 / 0.03);
}

html[data-theme="dark"] .at-policy__intro {
	background: rgb(180 156 255 / 0.10);
}

/* ---------- FAQ: answers slide (height animated by modern.js) ---------- */

.at-faq__a {
	padding: 0;
	overflow: hidden;
}

.at-faq__a-inner {
	padding: 0 var(--at-space-5) var(--at-space-4);
}

.at-faq__a-inner > :last-child {
	margin-block-end: 0;
}

/* ---------- Learning hub icons ---------- */

.at-help__item--certs { --at-icon: var(--at-i-award); }
.at-help__item--paths { --at-icon: var(--at-i-route); }
.at-help__item--library { --at-icon: var(--at-i-book); }
.at-help__item--planner { --at-icon: var(--at-i-planner); }
.at-help__item--map { --at-icon: var(--at-i-map); }

.at-learning {
	margin-block-start: var(--at-space-2);
}

@media (min-width: 640px) {
	.at-learning {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Accounting terms inside the gradient sections ----------
   Added by effects.js to the same layer as the floating symbols. */

.at-fx__sym--term {
	color: rgb(255 255 255 / 0.11);
	font-weight: 700;
	white-space: nowrap;
}

/* ---------- Centred headings, introductions and hero text ----------
   Reading direction stays RTL; lists, forms, cards and long body text
   keep their natural alignment. */

.e-con.at-gradient > .e-con-inner,
.at-hero .at-container {
	align-items: center;
	text-align: center;
}

.e-con.at-gradient > .e-con-inner > .e-con {
	justify-content: center;
}

.e-con.at-gradient .elementor-widget-text-editor,
.at-hero .at-lead {
	max-inline-size: 60ch;
	margin-inline: auto;
}

.at-hero__actions {
	justify-content: center;
}

.at-main .e-con.e-parent > .e-con-inner > :is(.elementor-widget-heading, .elementor-widget-text-editor),
.at-main .e-con.e-parent > :is(.elementor-widget-heading, .elementor-widget-text-editor) {
	text-align: center;
}

.at-about-card,
.at-about-card .elementor-widget-text-editor {
	text-align: center;
}

.at-about-card .elementor-heading-title {
	justify-content: center;
}

.at-section__head {
	margin-inline: auto;
	text-align: center;
}

.at-section__head--controls {
	justify-content: center;
}

.at-section__head--controls > div:first-child {
	flex-basis: 100%;
	max-inline-size: none;
}

.at-entry__header,
.at-entry.type-page .at-entry__content > p:first-child:not(:only-child) {
	text-align: center;
}

.at-entry__header > * {
	margin-inline: auto;
}

/* =====================================================================
 * Sitewide centring: text, cards, grids, forms and information boxes
 * sit on the page's centre line. Reading direction stays RTL and typed
 * text in inputs keeps its natural side.
 * ===================================================================== */

.at-main {
	text-align: center;
}

.at-main :is(input, textarea, select) {
	text-align: start;
}

.at-main .at-ltr {
	unicode-bidi: isolate;
}

/* Bulleted lists stay readable: natural alignment, centred as a block. */
.at-main :is(ul, ol):not([class]) {
	inline-size: fit-content;
	max-inline-size: 100%;
	margin-inline: auto;
	text-align: start;
}

.at-goals ul:not([class]) {
	inline-size: auto;
	text-align: center;
}

.at-goals li {
	align-items: center;
}

/* Blocks with a width limit sit in the middle. */
.at-main :is(.at-narrow, .at-lead, .at-section__head, .at-entry__header > *, .at-form, .at-topic-form, .at-alert, .at-empty) {
	margin-inline: auto;
}

/* Rows of chips, badges, tabs, buttons and meta wrap around the centre. */
.at-main :is(.at-card__badges, .at-card__meta, .at-chips, .at-tabs, .at-certs__jump, .at-cert-card__meta, .at-cert__actions, .at-filters__actions, .at-hero__actions, .at-action-bar, .atc-my__actions, .atc-cert-tools, .nav-links, .at-event__facts, .at-profile__header) {
	justify-content: center;
}

.at-main .at-section__more {
	text-align: center;
}

/* Card grids: incomplete rows are centred instead of hugging one side. */
.at-main :is(.at-grid, .at-cert-grid, .at-people, .at-orgchart__depts, .at-dept__achievements, .at-steps, .at-cert-facts, .at-cert__sections, .atc-my__grid, .at-help__grid, .at-topics) {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.at-main :is(.at-grid, .at-cert-grid, .at-people, .at-orgchart__depts, .at-dept__achievements, .at-steps, .at-cert-facts, .at-cert__sections, .atc-my__grid, .at-help__grid, .at-topics) > * {
	flex: 0 1 100%;
	min-inline-size: 0;
}

@media (min-width: 640px) {
	.at-main :is(.at-grid--2, .at-grid--3, .at-cert-grid, .at-people, .at-orgchart__depts, .at-dept__achievements, .at-steps, .at-cert-facts, .atc-my__grid, .at-help__grid) > * {
		flex-basis: calc(50% - var(--at-space-5));
	}
}

@media (min-width: 900px) {
	.at-main :is(.at-cert__sections, .at-topics) > * {
		flex-basis: calc(50% - var(--at-space-5));
	}
}

@media (min-width: 1024px) {
	.at-main :is(.at-grid--3, .at-cert-facts, .at-people, .at-orgchart__depts, .at-dept__achievements, .atc-my__grid) > * {
		flex-basis: calc(33.333% - var(--at-space-5));
	}

	.at-main :is(.at-cert-grid, .at-steps, .at-help__grid:not(.at-learning)) > * {
		flex-basis: calc(25% - var(--at-space-5));
	}
}

/* Cards and boxes: content on the centre line. */
.at-main :is(.at-card__body, .at-cert-fact, .at-person, .at-orgdept, .at-cert__section, .at-roadmap__stage, .atc-my__tile, .at-help__link) {
	align-items: center;
	text-align: center;
}

.at-main .at-person {
	flex-direction: column;
}

.at-main .at-steps__item {
	align-items: center;
	padding-inline: var(--at-space-4);
	padding-block-start: calc(var(--at-space-4) + 44px);
}

.at-main .at-steps__item::before {
	inset-inline-start: 50%;
	translate: 50% 0;
}

[dir="ltr"] .at-main .at-steps__item::before {
	translate: -50% 0;
}

/* Definition lists and checklists: a compact block in the middle. */
.at-main :is(.at-dl, .at-checklist) {
	inline-size: fit-content;
	max-inline-size: 100%;
	margin-inline: auto;
	text-align: start;
}

/* Forms: centred container and labels, natural text inside the fields. */
.at-main :is(.at-form, .at-topic-form) {
	max-inline-size: 640px;
	justify-items: center;
}

.at-main .at-topic-form > * {
	inline-size: 100%;
}

.at-main .at-field {
	align-items: stretch;
}

.at-main .at-check {
	justify-content: center;
	text-align: start;
}

.at-main :is(.at-form, .at-topic-form) :is(.at-btn, button[type="submit"]) {
	inline-size: auto;
	min-inline-size: 200px;
	margin-inline: auto;
}

.at-main .at-filters__actions {
	display: flex;
}

/* Profile and single headers. */
.at-main .at-profile__header {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.at-main .at-gradient > .at-container {
	text-align: center;
}

.at-main .at-gradient > .at-container > * {
	margin-inline: auto;
}

/* Event page: one centred column, registration box under the details. */
@media (min-width: 1024px) {
	.at-main .at-event__layout {
		grid-template-columns: minmax(0, 760px);
		grid-template-areas: "main" "aside";
		justify-content: center;
	}

	.at-main .at-event__aside {
		position: static;
	}
}

/* Section titles, codes and questions. */
.at-main .at-certs__group-title {
	justify-content: center;
}

.at-main .at-certs__group-title::before {
	content: "";
	flex: 1;
	block-size: 1px;
	background: var(--at-border);
}

.at-main .at-policy__section h2 {
	justify-content: center;
}

.at-main .at-faq__q > :first-child {
	flex: 1;
	text-align: center;
}

.at-main .e-con.at-card {
	align-items: center;
	text-align: center;
}

/* Width-limited blocks inside page content sit in the middle. */
.at-main .at-entry__content > * {
	margin-inline: auto;
}

.at-main :is(.at-cert__abbr, .at-cert-card__abbr) {
	text-align: center;
}

/* =====================================================================
 * Detail pages (events, projects, news, library items, people,
 * departments, certificates, learning paths, topics): the title stays
 * centred, the content reads from the right in section cards with clear
 * headings, fact rows and link rows. Listing pages are not affected.
 * ===================================================================== */

.at-detail-page .at-main {
	text-align: start;
}

.at-detail-page .at-main :is(.at-event__hero, .at-entry__header, .at-detail__header, .at-profile__header, .at-cert__header) {
	text-align: center;
}

.at-detail-page .at-main :is(ul, ol):not([class]) {
	inline-size: auto;
	margin-inline: 0;
	padding-inline-start: 1.25em;
}

.at-detail-page .at-main .at-entry__content {
	text-align: start;
}

.at-detail-page .at-main .at-entry__content > * {
	margin-inline: 0;
}

.at-detail__section .at-people {
	justify-content: flex-start;
}

/* ---------- Layout: content beside a summary card ---------- */

.at-detail__header {
	padding-block: var(--at-space-7) var(--at-space-5);
}

.at-detail__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--at-space-2) var(--at-space-3);
	margin: var(--at-space-3) 0 0;
	padding: 0;
	list-style: none;
}

.at-detail__date {
	color: var(--at-muted);
	font-size: var(--at-text-sm);
}

.at-detail__layout {
	display: grid;
	gap: var(--at-space-5);
	padding-block: var(--at-space-6) var(--at-space-8);
}

.at-entry .at-detail__layout {
	padding-block-start: 0;
}

.at-detail__main {
	display: grid;
	gap: var(--at-space-5);
	align-content: start;
	min-inline-size: 0;
}

.at-detail--reading .at-detail__main {
	max-inline-size: 780px;
	margin-inline: auto;
	padding-block-end: var(--at-space-8);
}

@media (min-width: 1024px) {
	.at-detail__layout {
		grid-template-columns: minmax(0, 1fr) 340px;
		grid-template-areas: "main aside";
		align-items: start;
		gap: var(--at-space-6);
	}

	.at-detail__main {
		grid-area: main;
	}

	.at-detail__aside {
		position: sticky;
		inset-block-start: calc(var(--at-header-h) + var(--at-space-5));
		grid-area: aside;
	}
}

/* ---------- Section cards ---------- */

.at-detail__section,
.at-detail-page.single-atc_person .at-entry__content,
.at-detail-page .at-cert__section {
	margin: 0;
	padding: var(--at-space-5) var(--at-space-6);
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-lg);
	background: var(--at-white);
	box-shadow: var(--at-shadow-sm);
	text-align: start;
}

@media (max-width: 639.98px) {
	.at-detail__section,
	.at-detail-page.single-atc_person .at-entry__content,
	.at-detail-page .at-cert__section {
		padding: var(--at-space-4);
	}
}

.at-detail__title,
.at-detail-page .at-cert__section > h2,
.at-detail-page .at-section__head h2 {
	display: flex;
	align-items: center;
	gap: var(--at-space-3);
	margin: 0 0 var(--at-space-4);
	padding-block-end: var(--at-space-3);
	border-block-end: 1px solid var(--at-border);
	font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
	text-align: start;
}

.at-detail__title::before,
.at-detail-page .at-cert__section > h2::before,
.at-detail-page .at-section__head h2::before {
	content: "";
	flex: none;
	inline-size: 36px;
	block-size: 36px;
	border-radius: 10px;
	background: var(--at-icon, var(--at-i-book)) center / 18px no-repeat, var(--at-gradient-accent);
	box-shadow: var(--at-glow);
}

.at-detail__title--award { --at-icon: var(--at-i-award); }
.at-detail__title--book { --at-icon: var(--at-i-book); }
.at-detail__title--books { --at-icon: var(--at-i-books); }
.at-detail__title--calendar { --at-icon: var(--at-i-calendar); }
.at-detail__title--chart { --at-icon: var(--at-i-chart); }
.at-detail__title--eye { --at-icon: var(--at-i-eye); }
.at-detail__title--flag { --at-icon: var(--at-i-flag); }
.at-detail__title--idea { --at-icon: var(--at-i-idea); }
.at-detail__title--map { --at-icon: var(--at-i-map); }
.at-detail__title--route { --at-icon: var(--at-i-route); }
.at-detail__title--target { --at-icon: var(--at-i-target); }
.at-detail__title--team { --at-icon: var(--at-i-team); }

.at-detail-page .at-section__head {
	max-inline-size: none;
	margin-inline: 0;
	text-align: start;
}

.at-detail__prose {
	line-height: 1.9;
}

.at-detail__prose > :first-child {
	margin-block-start: 0;
}

.at-detail__prose > :last-child {
	margin-block-end: 0;
}

.at-detail__note {
	margin-block: var(--at-space-4) 0;
}

.at-detail__more {
	margin-block: var(--at-space-4) 0;
}

/* ---------- Lists ---------- */

.at-detail__list {
	display: grid;
	gap: var(--at-space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-detail__list li {
	position: relative;
	padding-inline-start: 2em;
	line-height: 1.8;
}

.at-detail__list--dot li::before {
	content: "";
	position: absolute;
	inset-block-start: 0.7em;
	inset-inline-start: 0.5em;
	inline-size: 8px;
	block-size: 8px;
	border-radius: 50%;
	background: var(--at-gradient-accent);
}

.at-detail__list--check li::before {
	content: "✓";
	position: absolute;
	inset-block-start: 0.2em;
	inset-inline-start: 0;
	display: grid;
	place-items: center;
	inline-size: 1.4em;
	block-size: 1.4em;
	border-radius: 50%;
	background: rgb(92 59 234 / 0.1);
	color: var(--at-violet-500);
	font-size: 0.85em;
	font-weight: 800;
	line-height: 1;
}

/* ---------- Facts: label and value rows with dividers ---------- */

.at-facts {
	display: grid;
	margin: 0;
}

.at-facts__row {
	display: grid;
	grid-template-columns: minmax(7.5em, 30%) 1fr;
	gap: var(--at-space-4);
	padding-block: var(--at-space-3);
	border-block-end: 1px dashed var(--at-border);
}

.at-facts__row:first-child {
	padding-block-start: 0;
}

.at-facts__row:last-child {
	padding-block-end: 0;
	border-block-end: 0;
}

.at-facts dt {
	color: var(--at-muted);
	font-size: var(--at-text-sm);
	font-weight: 600;
}

.at-facts dd {
	margin: 0;
	color: var(--at-navy-900);
	font-weight: 600;
	line-height: 1.7;
}

.at-detail__aside .at-facts__row,
.at-facts--grid .at-facts__row {
	grid-template-columns: 1fr;
	gap: 2px;
}

@media (max-width: 639.98px) {
	.at-facts__row {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* ---------- Summary card (registration, project or item facts) ---------- */

.at-detail__panel {
	position: relative;
	overflow: hidden;
	padding: var(--at-space-5);
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-lg);
	background: var(--at-white);
	box-shadow: var(--at-shadow-md);
	text-align: start;
}

.at-detail__panel::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	block-size: 4px;
	background: var(--at-gradient-accent);
}

.at-detail__panel-title {
	margin: 0 0 var(--at-space-3);
	font-size: var(--at-h4);
}

.at-detail__panel :is(form, .at-form) {
	max-inline-size: none;
	justify-items: stretch;
}

.at-detail__panel-foot {
	margin: var(--at-space-4) 0 0;
	padding-block-start: var(--at-space-4);
	border-block-start: 1px solid var(--at-border);
}

.at-detail__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--at-space-2);
}

/* ---------- Image ---------- */

.at-detail__media {
	display: flex;
	justify-content: center;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-lg);
	background: var(--at-surface);
}

.at-detail__media img {
	display: block;
	inline-size: 100%;
	block-size: auto;
	max-block-size: 560px;
	object-fit: contain;
}

/* ---------- Link rows ---------- */

.at-detail__links {
	display: grid;
	gap: var(--at-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-detail__links a {
	display: flex;
	align-items: center;
	gap: var(--at-space-3);
	padding: var(--at-space-3) var(--at-space-4);
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-md);
	color: inherit;
	text-decoration: none;
	transition: border-color 200ms var(--at-ease), background-color 200ms var(--at-ease), transform 200ms var(--at-ease);
}

.at-detail__links a::after {
	content: "←";
	margin-inline-start: auto;
	color: var(--at-violet-500);
	font-weight: 700;
}

[dir="ltr"] .at-detail__links a::after {
	content: "→";
}

.at-detail__links a:hover,
.at-detail__links a:focus-visible {
	border-color: var(--at-violet-500);
	background: rgb(92 59 234 / 0.05);
}

@media (prefers-reduced-motion: no-preference) {
	.at-detail__links a:hover {
		transform: translateX(-3px);
	}

	[dir="ltr"] .at-detail__links a:hover {
		transform: translateX(3px);
	}
}

.at-detail__link-title {
	font-weight: 700;
}

.at-detail__link-note {
	color: var(--at-muted);
	font-size: var(--at-text-sm);
}

.at-detail__back {
	margin: 0;
	text-align: start;
}

/* ---------- Other detail pages (parent templates) ---------- */

.at-detail-page :is(.at-cert-fact, .at-cert__section, .at-topic) {
	align-items: flex-start;
	text-align: start;
}

.at-detail-page .at-cert__actions {
	justify-content: flex-start;
}

.at-detail-page .at-checklist {
	inline-size: auto;
	margin-inline: 0;
}

.at-detail-page.single-atc_person .at-entry__content {
	margin-block-end: var(--at-space-5);
}

.at-detail-page.single-atc_topic .at-topics {
	display: block;
	max-inline-size: 760px;
	margin-inline: auto;
}

.at-detail-page.single-atc_topic .at-topics > * + * {
	margin-block-start: var(--at-space-5);
}

.at-detail-page.single-atc_topic .at-topic .at-card__body {
	align-items: stretch;
	text-align: start;
}

.at-detail-page.single-atc_topic .at-container > p:last-child {
	max-inline-size: 760px;
	margin-inline: auto;
	text-align: start;
}

/* ---------- Dark mode ---------- */

html[data-theme="dark"] :is(.at-detail__section, .at-detail__panel, .at-detail-page.single-atc_person .at-entry__content, .at-detail-page .at-cert__section) {
	border-color: rgb(140 155 255 / 0.16);
	background: rgb(255 255 255 / 0.03);
}

html[data-theme="dark"] :is(.at-detail__title, .at-detail-page .at-cert__section > h2, .at-detail-page .at-section__head h2, .at-detail__panel-foot) {
	border-color: rgb(140 155 255 / 0.16);
}

html[data-theme="dark"] .at-facts__row {
	border-color: rgb(140 155 255 / 0.14);
}

html[data-theme="dark"] .at-detail__links a {
	border-color: rgb(140 155 255 / 0.16);
}

html[data-theme="dark"] .at-detail__links a:hover {
	background: rgb(180 156 255 / 0.08);
}

html[data-theme="dark"] .at-detail__media {
	border-color: rgb(140 155 255 / 0.16);
	background: rgb(255 255 255 / 0.03);
}

html[data-theme="dark"] .at-detail__list--check li::before {
	background: rgb(180 156 255 / 0.16);
	color: #c9b8ff;
}

/* =====================================================================
 * Department page: the structure and the events use the full content
 * width; the tree keeps its centred design with more room between
 * levels and members. Events slide in the same carousel as the home page.
 * ===================================================================== */

.at-dept__body > .at-dept__section--wide {
	max-inline-size: none;
}

.at-dept__section--wide .at-section__head {
	max-inline-size: none;
	margin-block-end: var(--at-space-5);
}

.at-dept__section--wide .at-section__head h2 {
	margin-block-start: 0;
}

.at-dept .at-orgtree {
	gap: var(--at-space-8);
	padding-block: var(--at-space-4) var(--at-space-2);
}

.at-dept .at-orgtree__level {
	gap: var(--at-space-5) var(--at-space-7);
}

.at-dept .at-orgtree__level + .at-orgtree__level::before {
	inset-block-start: calc(-1 * var(--at-space-8));
	block-size: var(--at-space-8);
}

.at-dept .at-orgp {
	min-inline-size: 150px;
	padding: var(--at-space-3) var(--at-space-4);
}

.at-dept .at-orgp__avatar {
	margin-block-end: var(--at-space-2);
}

/* Members hang from one bar (from the first member's centre to the
   last's) with a short line each; a lone member hangs straight down. */
.at-dept .at-orgtree__level--member {
	--at-tree-gap: var(--at-space-7);
	column-gap: var(--at-tree-gap);
	padding-block-start: var(--at-space-6);
	border-block-start: 0;
}

.at-dept .at-orgtree__level--member > .at-orgp {
	position: relative;
}

.at-dept .at-orgtree__level--member > .at-orgp::before,
.at-dept .at-orgtree__level--member > .at-orgp::after {
	content: "";
	position: absolute;
	inset-block-start: calc(-1 * var(--at-space-6));
}

.at-dept .at-orgtree__level--member > .at-orgp::before {
	inset-inline-start: 50%;
	block-size: var(--at-space-6);
	border-inline-start: 2px solid var(--at-border);
}

.at-dept .at-orgtree__level--member > .at-orgp::after {
	inset-inline: calc(-0.5 * var(--at-tree-gap));
	border-block-start: 2px solid var(--at-border);
}

.at-dept .at-orgtree__level--member > .at-orgp:first-child::after {
	inset-inline-start: 50%;
}

.at-dept .at-orgtree__level--member > .at-orgp:last-child::after {
	inset-inline-end: 50%;
}

.at-dept .at-orgtree__level--member > .at-orgp:only-child::after {
	display: none;
}

@media (min-width: 640px) {
	.at-dept .at-orgtree__level--member {
		flex-wrap: nowrap;
	}

	/* Large departments (8+ members): rows of cards under one bar, instead
	   of a single row wider than the page. */
	.at-dept .at-orgtree__level--member:has(> :nth-child(8)) {
		flex-wrap: wrap;
		justify-content: center;
		inline-size: 100%;
		gap: var(--at-space-5) var(--at-space-4);
		padding-block-start: var(--at-space-5);
		border-block-start: 2px solid var(--at-border);
	}

	.at-dept .at-orgtree__level--member:has(> :nth-child(8)) > .at-orgp {
		flex: 0 1 160px;
	}

	.at-dept .at-orgtree__level--member:has(> :nth-child(8)) > .at-orgp::before,
	.at-dept .at-orgtree__level--member:has(> :nth-child(8)) > .at-orgp::after {
		display: none;
	}
}

/* Phones: members two per row, joined to the level above by its line. */
@media (max-width: 639.98px) {
	.at-dept .at-orgtree__level--member {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		inline-size: 100%;
		gap: var(--at-space-4) var(--at-space-3);
		padding-block-start: var(--at-space-2);
	}

	.at-dept .at-orgtree__level--member > .at-orgp::before,
	.at-dept .at-orgtree__level--member > .at-orgp::after {
		display: none;
	}

	.at-dept .at-orgtree__level--member:has(> :only-child) {
		grid-template-columns: 1fr;
	}

	.at-dept .at-orgp {
		min-inline-size: 0;
		padding-inline: var(--at-space-2);
	}
}

/* ---------- Department achievements: cards beside the project cards ---------- */

.at-dept__achievement .at-card__body {
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: var(--at-space-3);
	padding-block: var(--at-space-6);
	text-align: center;
}

.at-dept__achievement-icon {
	inline-size: 52px;
	block-size: 52px;
	border-radius: 16px;
	background: var(--at-i-award) center / 24px no-repeat, linear-gradient(135deg, #16a34a, #22c55e);
	box-shadow: 0 8px 20px rgb(22 163 74 / 0.25);
}

.at-dept__achievement .at-card__text {
	margin: 0;
	color: var(--at-navy-900);
	font-weight: 600;
	line-height: 1.8;
}

html[data-theme="dark"] .at-dept__achievement-icon {
	box-shadow: 0 8px 20px rgb(22 163 74 / 0.35);
}

/* ---------- News marquee (home page; effects.js) ----------
   The cards glide left in an endless loop. The shift uses the individual
   `translate` property, which hover, lift and reveal rules must not reset
   here, and it is never transitioned (the script animates it per frame). */

.at-carousel--marquee .at-carousel__track {
	overflow: hidden;
	scroll-snap-type: none;
	scroll-behavior: auto;
	touch-action: pan-y;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}

.at-carousel--marquee .at-carousel__track:active {
	cursor: grabbing;
}

.at-carousel--marquee .at-carousel__track > * {
	translate: var(--at-shift, 0px) 0 !important;
	transition-property: opacity, box-shadow, border-color, transform !important;
	will-change: translate;
}

.at-carousel--marquee img {
	-webkit-user-drag: none;
	user-select: none;
}

/* =====================================================================
 * Brand typography (approved 2026-11-23): IBM Plex Sans Arabic for Arabic
 * (Arabic glyphs at 112% so small text keeps its reading size) and IBM
 * Plex Sans for English. Alexandria and Readex Pro files stay for rollback.
 * ================================================================== */
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2");size-adjust:112%;unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2");size-adjust:112%;unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format("woff2");size-adjust:112%;unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format("woff2");size-adjust:112%;unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

html[lang^="en"] {
	--at-font: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
	--at-font-display: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Elementor text uses the same tokens. */
.elementor-widget-heading .elementor-heading-title,
.elementor-button {
	font-family: var(--at-font-display);
}

.elementor-widget-text-editor,
.elementor-widget-text-editor * {
	font-family: var(--at-font);
}

/* Weights: 400 text, 500 labels and navigation, 600 cards, buttons and
   subheadings, 700 main headings. */
body,
p,
li,
dd,
td,
input,
select,
textarea,
.at-lead {
	font-weight: 400;
}

h1,
.elementor-widget-heading h1.elementor-heading-title {
	font-weight: 700 !important;
}

h2,
h3,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title,
[class*="card__title"],
[class*="__title"]:not(h1),
.at-cert__abbr,
.at-cert-card__abbr,
.at-btn,
.elementor-button,
button,
[type="submit"] {
	font-weight: 600 !important;
}

nav a,
.menu-item > a,
label,
dt,
.at-eyebrow,
.at-badge,
[class*="badge"],
[class*="chip"],
.at-help strong {
	font-weight: 500 !important;
}

/* Body text on the dark gradient sections, one step heavier for contrast. */
.at-gradient p,
.at-gradient .elementor-widget-text-editor,
.at-gradient .elementor-widget-text-editor *,
[class*="hero"] p,
.at-lead {
	font-weight: 500;
}

/* Arabic letters are joined: never track them. */
html[lang="ar"] * {
	letter-spacing: 0 !important;
}

/* About, "Join us": the button kept the outline-white settings of the
   button it was copied from (white label on the white card). Give it the
   site's standard primary button look. The repeated class outranks
   Elementor's lazy-background rule (background-image: none !important on
   lower sections), and the solid colour shows if that rule still applies. */
.at-join-cta .elementor-widget-button .elementor-button.elementor-button.elementor-button.elementor-button {
	border-color: transparent !important;
	background-color: #3f52fb !important;
	background-image: var(--at-gradient-accent) !important;
	color: #fff !important;
}

/* =====================================================================
 * Event and project cards: the "financial statement" card (decision 88).
 * Whole poster over a blurred copy of itself, title, one statement line,
 * a closing double rule with "View details". One quiet hover state.
 * ================================================================== */
.at-card--statement {
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	text-align: start;
}

.at-card--statement::before,
.at-card--statement::after {
	display: none;
}

/* Hover and focus: the hairline turns blue. No lift, scale, ring or zoom. */
.at-card.at-card--statement:hover,
.at-card.at-card--statement:has(.at-card__link:hover),
.at-card.at-card--statement:has(.at-card__link:focus-visible) {
	border-color: var(--at-blue-600);
	box-shadow: var(--at-shadow-sm);
	transform: none;
	translate: none;
}

.at-card--statement .at-card__media img,
.at-card.at-card--statement:hover .at-card__media img,
.at-card.at-card--statement:has(.at-card__link:hover) .at-card__media img {
	transform: none;
	transition: none;
}

.at-card--statement .at-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	block-size: auto;
	overflow: hidden;
	background: #0b1330;
}

.at-card--statement .at-card__backdrop {
	display: block;
	position: absolute;
	inset: -24px;
	inline-size: calc(100% + 48px);
	max-inline-size: none;
	block-size: calc(100% + 48px);
	object-fit: cover;
	filter: blur(22px) saturate(1.1) brightness(0.72);
}

.at-card--statement .at-card__media .at-card__poster {
	position: relative;
	z-index: 1;
	display: block;
	inline-size: 100%;
	max-inline-size: none;
	block-size: 100%;
	padding-block: var(--at-space-4);
	object-fit: contain;
	filter: drop-shadow(0 8px 16px rgb(0 0 0 / 0.35));
}

/* The title link covers the whole card (as on news cards); the poster sits
   on its own layer, so the link's overlay goes above it to keep the image
   clickable. One link per card: no nested links, one tab stop. */
.at-card--statement .at-card__link::after {
	z-index: 2;
}

.at-main .at-card--statement .at-card__body,
.at-card--statement .at-card__body {
	flex: 1;
	align-items: stretch;
	gap: var(--at-space-3);
	padding: 18px 20px;
	text-align: start;
}

.at-card--statement .at-card__badges {
	justify-content: flex-start;
}

.at-card--statement .at-card__title {
	display: -webkit-box;
	min-block-size: calc(2 * 1.45em);
	overflow: hidden;
	font-size: 1.0625rem;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	/* Room for long titles; the full title is on the item's page. */
	-webkit-line-clamp: 3;
}

.at-card__row {
	display: flex;
	align-items: baseline;
	gap: var(--at-space-3);
	margin: 0;
	padding-block-start: 10px;
	border-block-start: 1px solid var(--at-border);
	font-size: 0.875rem;
}

.at-card__row dt {
	color: var(--at-muted);
	font-weight: 400;
}

.at-card__row dd {
	margin: 0;
	margin-inline-start: auto;
	color: var(--at-navy-900);
	font-variant-numeric: tabular-nums;
	font-weight: 500;
}

.at-card__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-block-start: auto;
	padding-block-start: 10px;
	border-block-start: 3px double var(--at-border-strong, #b9bfd8);
	color: var(--at-blue-600);
	font-size: 0.875rem;
	font-weight: 600 !important;
}

.at-card__more::after {
	content: "←";
}

[dir="ltr"] .at-card__more::after {
	content: "→";
}

/* No image: a branded cover with the item's name. */
.at-card--statement .at-card__cover {
	display: flex;
	flex-direction: column;
	padding: 20px 22px;
	background-color: #15307f;
	background-image: linear-gradient(135deg, #0a1238 0%, #15307f 55%, #2447d8 100%);
	color: #fff;
	overflow-wrap: anywhere;
}

.at-card__cover::before {
	content: "";
	position: absolute;
	inset-block-end: -18%;
	inset-inline-end: -8%;
	inline-size: 62%;
	aspect-ratio: 512 / 410;
	background: url("../images/at-mark.png") center / contain no-repeat;
	opacity: 0.08;
}

.at-card__cover > * {
	position: relative;
}

.at-card__cover-brand {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-2);
	font-size: 0.75rem;
	font-weight: 500;
	opacity: 0.85;
}

.at-card__cover-mark {
	inline-size: 22px;
	aspect-ratio: 512 / 410;
	background: url("../images/at-mark.png") center / contain no-repeat;
}

.at-card__cover-kind {
	margin-block-start: auto;
	font-size: 1rem;
	font-weight: 600;
	opacity: 0.92;
}

[dir="ltr"] .at-card__cover-kind {
	text-transform: capitalize;
}

/* One footer line under the double rule: the date (or status) and
   "View details". The title is shown once, above it. */
.at-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
	margin-block-start: auto;
	padding-block-start: 12px;
	border-block-start: 3px double var(--at-border-strong, #b9bfd8);
}

.at-card__foot .at-card__row {
	padding: 0;
	border: 0;
}

.at-card__foot .at-card__row dd {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--at-navy-900);
	font-size: var(--at-text-sm);
	font-weight: 500;
}

.at-card__row--date dd::before {
	content: "";
	flex: none;
	inline-size: 15px;
	block-size: 15px;
	background: var(--at-muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E") center / contain no-repeat;
}

.at-card__foot .at-card__row--status dd {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--at-info-bg);
	color: var(--at-blue-600);
	font-weight: 600;
}

.at-card__foot .at-card__more {
	gap: 6px;
	margin: 0;
	margin-inline-start: auto;
	padding: 0;
	border: 0;
}

/* Announcements: type and date on one line, then the title once. No empty
   colour block when there is no image. */
.at-card--news .at-card__body {
	gap: var(--at-space-3);
	text-align: start;
}

.at-card__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.at-card__date {
	margin-inline-start: auto;
	color: var(--at-muted);
	font-size: var(--at-text-sm);
	font-variant-numeric: tabular-nums;
}

.at-card--news .at-card__title {
	font-size: var(--at-h4);
	line-height: 1.5;
}

.at-card--news .at-card__text {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}


/* Balance: one card width everywhere; one or two cards sit centred. */
.at-main .at-grid:has(> .at-card--statement) {
	justify-content: center;
}

@media (min-width: 640px) and (max-width: 1023px) {
	.at-carousel__track:has(> .at-card--statement):not(:has(> :nth-child(3))) {
		justify-content: center;
	}
}

@media (min-width: 1024px) {
	.at-carousel__track:has(> .at-card--statement):not(:has(> :nth-child(4))) {
		justify-content: center;
	}
}

/* Events archive: recent past events when nothing is upcoming. */
.at-events-past {
	margin-block-start: var(--at-space-8, 48px);
	padding-block-start: var(--at-space-6, 32px);
	border-block-start: 1px solid var(--at-border);
}

.at-events-past__title {
	margin: 0 0 var(--at-space-5);
	font-size: var(--at-h2);
}

/* Mobile header: solid in both modes, so posters never show through it. */
@media (max-width: 1023px) {
	.at-header::before {
		background: #fff;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	html[data-theme="dark"] .at-header::before {
		background: #070b1d;
	}
}

/* Desktop header: nearly opaque, so page text and posters scrolling under
   it no longer show through behind the menu (decision 89). */
@media (min-width: 1024px) {
	.at-header::before {
		background: rgb(255 255 255 / 0.96);
	}

	html[data-theme="dark"] .at-header::before {
		background: rgb(7 11 29 / 0.96);
	}
}

/* Certification study resources: source site and kind on each row, two
   columns on wide screens (decision 90). */
.at-cert__resource-list a {
	align-items: flex-start;
}

.at-cert__resource-text {
	display: grid;
	gap: 2px;
	min-inline-size: 0;
}

.at-cert__resource-list .at-detail__link-title {
	font-weight: 500;
	line-height: 1.5;
}

.at-cert__resource-list .at-detail__link-note {
	font-size: var(--at-text-sm);
}

.at-cert__resource-icon {
	flex: none;
	inline-size: 36px;
	block-size: 36px;
	border-radius: 10px;
	background: var(--at-surface);
	position: relative;
}

.at-cert__resource-icon::before {
	content: "";
	position: absolute;
	inset: 9px;
	background: var(--at-blue-600);
	-webkit-mask: var(--at-res-icon) center / contain no-repeat;
	mask: var(--at-res-icon) center / contain no-repeat;
}

.at-cert__resource-icon--file {
	--at-res-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E");
}

.at-cert__resource-icon--page {
	--at-res-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E");
}

.at-cert__resource-list a::after {
	align-self: center;
}

@media (min-width: 900px) {
	.at-cert__resource-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.at-cert__estimate {
	margin-block: calc(-1 * var(--at-space-3)) var(--at-space-5);
	color: var(--at-muted);
	font-size: var(--at-text-sm);
}

/* =====================================================================
 * Concept A "The Accounting Ledger" (decision 91): a trial balance in the
 * home hero, notes numbering on "What we offer", the double total rule on
 * section and contact-band headings, ruled ledger paper on certification
 * card heads. Static (no motion), CSS only.
 * ================================================================== */

/* Home hero: the text moves to the reading side, next to the illustration.
   The original hero background (gradient, floating symbols and accounting
   terms from effects.js) stays behind it, as before the ledger. Only when
   the illustration is present: the theme adds .at-hero--ledger to the hero
   together with the illustration (inc/ledger.php), so none of this needs
   :has(). */
.at-gradient.at-hero--ledger > .e-con-inner > .elementor-element {
	text-align: start;
}

.at-gradient.at-hero--ledger .elementor-heading-title,
.at-gradient.at-hero--ledger .elementor-widget-text-editor {
	text-align: start !important;
}

.at-gradient.at-hero--ledger .at-eyebrow {
	align-self: flex-start;
	margin-inline: 0 !important;
}

.at-gradient.at-hero--ledger .e-con.e-child {
	justify-content: flex-start !important;
}

.at-ledger {
	--at-ledger-ry: -14deg;
	--at-ledger-rz: 2deg;
	--at-ledger-shift: 13px;
	position: relative;
	order: 99;
	inline-size: 100%;
	max-inline-size: 420px;
	margin: 28px auto 26px;
	perspective: 1400px;
	color: #0d1433;
	font-size: 0.8125rem;
	line-height: 1.5;
}

[dir="rtl"] .at-ledger {
	--at-ledger-ry: 14deg;
	--at-ledger-rz: -2deg;
	--at-ledger-shift: -13px;
}

@media (min-width: 900px) {
	.at-gradient.at-hero--ledger > .e-con-inner {
		display: grid !important;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		align-content: center;
		align-items: center;
		column-gap: 56px;
		row-gap: 16px;
	}

	.at-gradient.at-hero--ledger > .e-con-inner > .elementor-element {
		grid-column: 1;
	}

	.at-ledger {
		grid-column: 2;
		grid-row: 1 / span 6;
		margin: 0;
	}
}

.at-ledger__sheet {
	border-radius: 14px;
	background: #fbfcff;
	box-shadow: 0 30px 50px -24px rgb(2 6 24 / 0.65);
	transform: rotateX(calc(9deg - var(--at-ty, 0) * 7deg)) rotateY(calc(var(--at-ledger-ry) + var(--at-tx, 0) * 9deg)) rotateZ(var(--at-ledger-rz));
}

.at-ledger__sheet--back,
.at-ledger__sheet--mid {
	position: absolute;
	inset: 0;
}

.at-ledger__sheet--back {
	background: #c9d0ef;
	opacity: 0.55;
	translate: calc(2 * var(--at-ledger-shift) - var(--at-tx, 0) * 12px) calc(26px - var(--at-ty, 0) * 8px);
}

.at-ledger__sheet--mid {
	background: #e4e8f8;
	opacity: 0.85;
	translate: calc(var(--at-ledger-shift) - var(--at-tx, 0) * 6px) calc(13px - var(--at-ty, 0) * 4px);
}

.at-ledger__sheet--front {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 22px 24px 18px;
}

.at-ledger__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block-end: 12px;
	font-size: 0.9375rem;
	font-weight: 600;
}

.at-ledger__mark {
	inline-size: 26px;
	aspect-ratio: 512 / 410;
	background: #2447d8;
	-webkit-mask: url("../images/at-mark.png") center / contain no-repeat;
	mask: url("../images/at-mark.png") center / contain no-repeat;
}

.at-ledger__row {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr;
	align-items: center;
	gap: 12px;
	padding-block: 8px;
	border-block-start: 1px solid #e6e9f5;
}

.at-ledger__row--labels {
	border-block-start-color: #c9cee3;
	color: #5b6380;
	font-size: 0.75rem;
}

.at-ledger__row--labels span:not(:first-child) {
	text-align: center;
}

.at-ledger__account {
	color: #2a3150;
}

.at-ledger__cell {
	min-inline-size: 0;
}

.at-ledger__cell i {
	display: block;
	inline-size: calc(var(--at-w) * 1.7%);
	block-size: 7px;
	border-radius: 2px;
	background: #b8c3f2;
}

.at-ledger__row--total {
	border-block-start: 3px double #9aa3c9;
	font-weight: 600;
}

.at-ledger__row--total .at-ledger__cell {
	display: flex;
	align-items: center;
	gap: 6px;
}

.at-ledger__row--total .at-ledger__cell i {
	flex: 1;
	background: #2447d8;
}

.at-ledger__row--total b {
	color: #2447d8;
	font-size: 0.8125rem;
}

.at-ledger__rule {
	margin-block-start: auto;
	padding-block-start: 12px;
	color: #2447d8;
	font-weight: 600;
	text-align: center;
}

/* Dark mode: a lighter navy sheet with a fine edge so it stands off the dark
   hero, brighter bars and text (AA on the sheet), same brand blues. */
html[data-theme="dark"] .at-ledger { color: #eef0fb; }
html[data-theme="dark"] .at-ledger__sheet { box-shadow: 0 30px 50px -22px rgb(0 0 0 / 0.8); }
html[data-theme="dark"] .at-ledger__sheet--front { background: #1d2860; box-shadow: inset 0 0 0 1px rgb(140 155 255 / 0.32), 0 30px 50px -22px rgb(0 0 0 / 0.8); }
html[data-theme="dark"] .at-ledger__sheet--mid { background: #2a3678; opacity: 0.75; }
html[data-theme="dark"] .at-ledger__sheet--back { background: #34418c; opacity: 0.45; }
html[data-theme="dark"] .at-ledger__row { border-block-start-color: #34407c; }
html[data-theme="dark"] .at-ledger__row--labels { border-block-start-color: #4a5596; color: #bcc3e2; }
html[data-theme="dark"] .at-ledger__account { color: #dfe3f6; }
html[data-theme="dark"] .at-ledger__cell i { background: #6f80e0; }
html[data-theme="dark"] .at-ledger__row--total { border-block-start-color: #7d88c4; }
html[data-theme="dark"] .at-ledger__row--total .at-ledger__cell i,
html[data-theme="dark"] .at-ledger__mark { background: #a5b1ff; }
html[data-theme="dark"] .at-ledger__row--total b,
html[data-theme="dark"] .at-ledger__rule { color: #a5b1ff; }

/* Mobile: about 25% smaller than the 330px first draft, close under the buttons. */
@media (max-width: 899px) {
	.at-ledger { max-inline-size: 248px; margin: 0 auto 22px; font-size: 0.6875rem; --at-ledger-shift: 9px; }
	[dir="rtl"] .at-ledger { --at-ledger-shift: -9px; }
	.at-ledger__sheet { border-radius: 11px; }
	.at-ledger__sheet--back { translate: calc(2 * var(--at-ledger-shift) - var(--at-tx, 0) * 12px) calc(18px - var(--at-ty, 0) * 8px); }
	.at-ledger__sheet--mid { translate: calc(var(--at-ledger-shift) - var(--at-tx, 0) * 6px) calc(9px - var(--at-ty, 0) * 4px); }
	.at-ledger__sheet--front { padding: 13px 14px 11px; }
	.at-ledger__head { padding-block-end: 8px; font-size: 0.8125rem; }
	.at-ledger__mark { inline-size: 20px; }
	.at-ledger__row { gap: 8px; padding-block: 5px; }
	.at-ledger__row--labels { font-size: 0.6875rem; }
	.at-ledger__cell i { block-size: 5px; }
	.at-ledger__row--total b { font-size: 0.6875rem; }
	.at-ledger__rule { padding-block-start: 8px; }
}

/* Interactive trial balance (decision 94, assets/js/ledger.js). The script
   adds .is-live; without it the illustration stays static and decorative. */
/* Amounts are hidden until the eye button opens them (.is-open); closed, the
   ledger keeps the static look. Without the script the eye is not shown. */
.at-ledger:not(.is-open) :is(.at-ledger__input, .at-ledger__badge, .at-ledger__foot, output) {
	display: none;
}

.at-ledger:not(.is-live) .at-ledger__eye {
	display: none;
}

.at-ledger__eye {
	display: inline-grid;
	place-items: center;
	flex: none;
	inline-size: 28px;
	block-size: 28px;
	margin-inline-end: 8px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #2447d8;
	cursor: pointer;
}

.at-ledger__eye svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.at-ledger__eye-slash {
	display: inline;
}

/* Crossed eye while the amounts are hidden, open eye while they show. */
.at-ledger__eye[data-open="true"] .at-ledger__eye-slash {
	display: none;
}

.at-ledger__eye:hover,
.at-ledger__eye[data-open="true"] {
	background: #eef1ff;
}

.at-ledger__eye:focus-visible {
	outline: 2px solid #2447d8;
	outline-offset: 1px;
}

.at-ledger.is-live .at-ledger__sheet--front {
	translate: calc(var(--at-tx, 0) * 5px) calc(var(--at-ty, 0) * 4px);
	background:
		radial-gradient(circle at calc(50% + var(--at-tx, 0) * 40%) calc(30% + var(--at-ty, 0) * 30%), rgb(255 255 255 / 0.7), transparent 60%),
		#fbfcff;
	box-shadow: calc(var(--at-tx, 0) * -16px) calc(30px - var(--at-ty, 0) * 10px) 50px -24px rgb(2 6 24 / 0.65);
}

.at-ledger.is-live .at-ledger__head > span:first-child {
	flex: 1;
}

.at-ledger__badge {
	margin-inline-end: 10px;
	padding: 1px 8px;
	border-radius: 999px;
	background: #eef1ff;
	color: #2447d8;
	font-size: 0.6875rem;
	font-weight: 600;
	white-space: nowrap;
}

.at-ledger .at-ledger__input {
	display: block;
	box-sizing: border-box;
	inline-size: 100%;
	max-inline-size: 7.5em;
	min-block-size: 26px;
	margin: 0 auto 3px;
	padding: 2px 6px;
	border: 1px solid #d3d9f0;
	border-radius: 6px;
	background: #fff;
	color: #0d1433;
	font: inherit;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	line-height: 1.4;
	text-align: center;
}

.at-ledger__input:hover {
	border-color: #9aa8e6;
}

.at-ledger__input:focus-visible,
.at-ledger__reset:focus-visible {
	outline: 2px solid #2447d8;
	outline-offset: 1px;
}

.at-ledger__input:focus-visible {
	border-color: #2447d8;
}

.at-ledger__input[aria-invalid="true"] {
	border-color: #b42318;
}

.at-ledger.is-open .at-ledger__row {
	padding-block: 5px;
}

.at-ledger.is-open .at-ledger__cell i {
	max-inline-size: 100%;
	margin-inline: auto;
	block-size: 5px;
	transition: inline-size 0.2s ease;
}

.at-ledger.is-open .at-ledger__row--total .at-ledger__cell {
	gap: 5px;
}

.at-ledger.is-live .at-ledger__row--total .at-ledger__cell i {
	flex: 1;
	margin: 0;
	transform: scaleX(var(--at-total, 1));
	transform-origin: left;
	transition: transform 0.2s ease;
}

[dir="rtl"] .at-ledger.is-live .at-ledger__row--total .at-ledger__cell i {
	transform-origin: right;
}

.at-ledger__row--total output {
	min-inline-size: 2.5em;
	font-variant-numeric: tabular-nums;
	direction: ltr;
}

.at-ledger[data-state="unbalanced"] .at-ledger__row--total b {
	visibility: hidden;
}

.at-ledger.is-open .at-ledger__rule::before {
	content: "✓ ";
	content: "✓ " / "";
}

.at-ledger.is-live .at-ledger__rule[data-state="unbalanced"] {
	color: #b42318;
}

.at-ledger.is-open .at-ledger__rule[data-state="unbalanced"]::before {
	content: "≠ ";
	content: "≠ " / "";
}

.at-ledger p.at-ledger__rule {
	margin: 0;
	margin-block-start: auto;
	font-weight: 600;
}

.at-ledger__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-block-start: 10px;
	padding-block-start: 10px;
	border-block-start: 1px dashed #d5daf0;
}

.at-ledger__note {
	margin: 0;
	color: #5b6380;
	font-size: 0.6875rem;
	line-height: 1.5;
}

.at-ledger__reset {
	flex: none;
	min-block-size: 28px;
	padding: 3px 12px;
	border: 1px solid #c4cdf3;
	border-radius: 999px;
	background: transparent;
	color: #2447d8;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
}

.at-ledger__reset:hover {
	background: #eef1ff;
}

html[data-theme="dark"] .at-ledger.is-live .at-ledger__sheet--front {
	background:
		radial-gradient(circle at calc(50% + var(--at-tx, 0) * 40%) calc(30% + var(--at-ty, 0) * 30%), rgb(165 177 255 / 0.14), transparent 60%),
		#1d2860;
	box-shadow: inset 0 0 0 1px rgb(140 155 255 / 0.32), calc(var(--at-tx, 0) * -16px) calc(30px - var(--at-ty, 0) * 10px) 50px -22px rgb(0 0 0 / 0.8);
}

html[data-theme="dark"] .at-ledger__eye { color: #c9d0ff; }
html[data-theme="dark"] .at-ledger__eye:hover,
html[data-theme="dark"] .at-ledger__eye[data-open="true"] { background: rgb(165 177 255 / 0.16); }
html[data-theme="dark"] .at-ledger__eye:focus-visible { outline-color: #a5b1ff; }
html[data-theme="dark"] .at-ledger__badge { background: rgb(165 177 255 / 0.16); color: #c9d0ff; }
html[data-theme="dark"] .at-ledger__input { border-color: #4a5596; background: #141c48; color: #eef0fb; }
html[data-theme="dark"] .at-ledger__input:hover { border-color: #7d88c4; }
html[data-theme="dark"] .at-ledger__input:focus-visible,
html[data-theme="dark"] .at-ledger__reset:focus-visible { outline-color: #a5b1ff; border-color: #a5b1ff; }
html[data-theme="dark"] .at-ledger__input[aria-invalid="true"] { border-color: #ffb4a9; }
html[data-theme="dark"] .at-ledger.is-live .at-ledger__rule[data-state="unbalanced"] { color: #ffb4a9; }
html[data-theme="dark"] .at-ledger__foot { border-block-start-color: #4a5596; }
html[data-theme="dark"] .at-ledger__note { color: #bcc3e2; }
html[data-theme="dark"] .at-ledger__reset { border-color: #4a5596; color: #c9d0ff; }
html[data-theme="dark"] .at-ledger__reset:hover { background: rgb(165 177 255 / 0.12); }

@media (max-width: 899px) {
	.at-ledger__badge { margin-inline-end: 6px; padding: 0 6px; font-size: 0.625rem; }
	.at-ledger .at-ledger__input { min-block-size: 24px; margin-block-end: 2px; padding: 1px 4px; }
	.at-ledger.is-open .at-ledger__row { padding-block: 3px; }
	.at-ledger.is-open .at-ledger__cell i { block-size: 4px; }
	.at-ledger__eye { inline-size: 26px; block-size: 26px; margin-inline-end: 6px; }
	.at-ledger__foot { margin-block-start: 8px; padding-block-start: 8px; }
	.at-ledger__note { font-size: 0.625rem; }
	.at-ledger__reset { min-block-size: 26px; padding: 2px 10px; font-size: 0.6875rem; }
}

/* Reveal and hide the amounts: fields and the footer grow in and fade, rows
   ease their spacing. Hiding plays the reverse (.is-closing, ledger.js). */
.at-ledger.is-live .at-ledger__row {
	transition: padding-block 0.22s ease;
}

.at-ledger.is-open :is(.at-ledger__input, .at-ledger__foot) {
	animation: at-ledger-grow 0.24s ease both;
}

.at-ledger.is-open :is(output, .at-ledger__badge, .at-ledger__rule) {
	animation: at-ledger-fade 0.24s ease both;
}

.at-ledger.is-closing :is(.at-ledger__input, .at-ledger__foot) {
	animation: at-ledger-shrink 0.2s ease both;
}

.at-ledger.is-closing :is(output, .at-ledger__badge) {
	animation: at-ledger-fade 0.2s ease reverse both;
}

@keyframes at-ledger-grow {
	from { opacity: 0; min-block-size: 0; max-block-size: 0; padding-block: 0; margin-block: 0; border-block-width: 0; }
	to { opacity: 1; max-block-size: 120px; }
}

@keyframes at-ledger-shrink {
	from { opacity: 1; max-block-size: 120px; }
	to { opacity: 0; min-block-size: 0; max-block-size: 0; padding-block: 0; margin-block: 0; border-block-width: 0; }
}

@keyframes at-ledger-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* The badge sits in the title row on wide screens and in the note on phones,
   so "Trial balance" stays on one line. */
.at-ledger .at-ledger__badge--note {
	display: none;
}

@media (max-width: 899px) {
	.at-ledger.is-open .at-ledger__head .at-ledger__badge {
		display: none;
	}

	.at-ledger.is-open .at-ledger__badge--note {
		display: inline-block;
		margin-inline-end: 4px;
		vertical-align: 1px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.at-ledger.is-live .at-ledger__row,
	.at-ledger.is-open :is(.at-ledger__input, .at-ledger__foot, output, .at-ledger__badge, .at-ledger__rule),
	.at-ledger.is-closing :is(.at-ledger__input, .at-ledger__foot, output, .at-ledger__badge) {
		animation: none;
		transition: none;
	}

	.at-ledger.is-open .at-ledger__cell i,
	.at-ledger.is-live .at-ledger__row--total .at-ledger__cell i {
		transition: none;
	}
}

/* ---------- The paper extends and folds back (decision 104, ledger.js) ----------
   One persistent sheet: one progress value --p (0 folded, 1 extended)
   drives it continuously. Each amount row has its own window (--q, staggered
   by --i), then the totals and the footer. No part switches display, text or
   layout at any point (the .is-open class only informs assistive technology
   here); the paper's real height follows its content, so the content below
   moves with it. */
.at-ledger.is-motion {
	--p: 0;
	--h-in: 26px;
}

.at-ledger.is-motion :is(.at-ledger__input, .at-ledger__foot, .at-ledger__badge, output, .at-ledger__rule) {
	animation: none !important;
}

.at-ledger.is-motion .at-ledger__row {
	--q: clamp(0, calc((var(--p) - var(--i, 0) * 0.06) / 0.5), 1);
	/* The row tightens only once its field is tall enough to push it apart. */
	--qs: clamp(0, calc((var(--q) - 0.55) / 0.45), 1);
	padding-block: calc(8px - 3px * var(--qs));
	transition: none;
}

.at-ledger.is-motion .at-ledger__row--labels {
	--q: clamp(0, calc(var(--p) / 0.5), 1);
}

/* Each amount row eases from its folded to its extended height over its own
   window (heights measured by ledger.js), so the paper grows from the first
   frame instead of waiting for a field to outgrow its label. */
.at-ledger.is-motion .at-ledger__row:not(.at-ledger__row--labels):not(.at-ledger__row--total) {
	box-sizing: border-box;
	min-block-size: calc(var(--h0, 0px) + (var(--h1, 0px) - var(--h0, 0px)) * var(--q));
}

.at-ledger.is-motion .at-ledger__input {
	display: block;
	overflow: hidden;
	min-block-size: 0;
	block-size: calc(var(--h-in) * var(--q));
	margin-block-end: calc(3px * var(--q));
	padding-block: calc(2px * var(--q));
	border-block-width: min(1px, calc(var(--q) * 4px));
	opacity: clamp(0, calc(var(--q) * 1.8 - 0.55), 1);
	transform: translateY(calc((1 - var(--q)) * -6px));
}

/* Bars: the same bars glide from the illustration's place to their place
   under the fields, each with its own row. */
.at-ledger.is-motion .at-ledger__row:not(.at-ledger__row--total) .at-ledger__cell i {
	max-inline-size: none;
	block-size: calc(7px - 2px * var(--qs));
	inline-size: calc(var(--at-w) * 1.7% * (1 - var(--q)) + min(var(--at-w) * 1.7%, 100%) * var(--q));
	margin-inline: calc((100% - min(var(--at-w) * 1.7%, 100%)) * 0.5 * var(--q)) 0;
	transition: none;
}

.at-ledger.is-motion:not(.is-animating) .at-ledger__row:not(.at-ledger__row--total) .at-ledger__cell i {
	transition: inline-size 0.2s ease, margin 0.2s ease;
}

.at-ledger.is-live.is-motion .at-ledger__row--total .at-ledger__cell i {
	block-size: calc(7px - 2px * var(--qs));
}

/* Totals: the figures open beside the bars. */
.at-ledger.is-motion .at-ledger__row--total {
	--q: clamp(0, calc((var(--p) - 0.3) / 0.5), 1);
}

.at-ledger.is-motion .at-ledger__row--total .at-ledger__cell {
	gap: calc(6px - 1px * var(--p));
}

.at-ledger.is-motion .at-ledger__row--total output {
	display: inline-block;
	overflow: hidden;
	min-inline-size: calc(2.5em * var(--q));
	max-inline-size: calc(6em * var(--q));
	margin-inline-end: calc(-6px * (1 - var(--q)));
	opacity: clamp(0, calc(var(--q) * 1.6 - 0.4), 1);
	white-space: nowrap;
}

/* Title badge (wide screens): it opens in the title line. */
.at-ledger.is-motion .at-ledger__head .at-ledger__badge {
	--qb: clamp(0, calc((var(--p) - 0.08) / 0.5), 1);
	display: inline-block;
	overflow: hidden;
	max-inline-size: calc(12em * var(--qb));
	margin-inline-end: calc(10px * var(--qb));
	padding-inline: calc(8px * var(--qb));
	opacity: clamp(0, calc(var(--qb) * 1.6 - 0.4), 1);
	vertical-align: middle;
}

/* Footer: the note and Reset unfold last, at the paper's bottom edge. */
.at-ledger.is-motion .at-ledger__foot {
	--qf: clamp(0, calc((var(--p) - 0.5) / 0.5), 1);
	display: flex;
	overflow: hidden;
	box-sizing: content-box;
	align-items: safe center;
	block-size: calc(var(--h-foot, 40px) * var(--qf));
	margin-block-start: calc(10px * var(--qf));
	padding-block-start: calc(10px * var(--qf));
	border-block-start-width: min(1px, calc(var(--qf) * 4px));
	opacity: clamp(0, calc(var(--qf) * 1.6 - 0.4), 1);
}

/* Balance line: its wording stays; the mark and the extra words open beside
   it (spans and their widths --w from ledger.js). */
.at-ledger.is-motion .at-ledger__rule {
	--qr: clamp(0, calc((var(--p) - 0.3) / 0.55), 1);
}

.at-ledger.is-motion .at-ledger__rule::before {
	content: none;
}

.at-ledger.is-motion .at-ledger__rule-more {
	display: inline-block;
	overflow: hidden;
	max-inline-size: calc(var(--w, 0px) * min(1, var(--qr) / 0.6));
	/* The space opens first, then the words fade in: no clipped letters. */
	opacity: clamp(0, calc((var(--qr) - 0.6) / 0.4), 1);
	white-space: pre;
	vertical-align: bottom;
}

/* While the paper's edge leads the rows, the free space opens above the
   totals, so the totals, the balance line and the footer ride the edge. */
.at-ledger.is-motion .at-ledger__row--total {
	margin-block-start: auto;
}

.at-ledger.is-motion p.at-ledger__rule {
	margin-block-start: 0;
}

/* Folded: the hidden parts take no space and cannot be reached. */
.at-ledger.is-motion.is-collapsed :is(.at-ledger__input, .at-ledger__foot, .at-ledger__row--total output, .at-ledger__head .at-ledger__badge) {
	visibility: hidden;
}

/* The eye opens: the slash draws back, the lid narrows and widens, the
   pupil focuses (values from ledger.js). */
.at-ledger.is-motion .at-ledger__eye .at-ledger__eye-slash {
	display: inline;
	stroke-dasharray: 24;
	stroke-dashoffset: calc(24 * var(--es, 0));
}

.at-ledger.is-motion .at-ledger__eye :is(.at-ledger__eye-lid, circle) {
	transform-box: view-box;
	transform-origin: 12px 12px;
}

.at-ledger.is-motion .at-ledger__eye .at-ledger__eye-lid {
	transform: scaleY(var(--el, 1));
}

.at-ledger.is-motion .at-ledger__eye circle {
	transform: scale(var(--ep, 1));
}

.at-ledger.is-motion .at-ledger__eye {
	transition: background-color 0.3s var(--at-ease-out, ease);
}

@media (max-width: 899px) {
	.at-ledger.is-motion {
		--h-in: 24px;
	}

	.at-ledger.is-motion .at-ledger__row {
		padding-block: calc(5px - 2px * var(--qs));
	}

	.at-ledger.is-motion .at-ledger__row:not(.at-ledger__row--total) .at-ledger__cell i,
	.at-ledger.is-live.is-motion .at-ledger__row--total .at-ledger__cell i {
		block-size: calc(5px - 1px * var(--qs));
	}

	.at-ledger.is-motion .at-ledger__input {
		margin-block-end: calc(2px * var(--q));
		padding-block: calc(1px * var(--q));
	}

	/* Phones: the badge lives in the note, which unfolds with the footer. */
	.at-ledger.is-motion .at-ledger__head .at-ledger__badge {
		display: none;
	}

	.at-ledger.is-motion .at-ledger__badge--note {
		display: inline-block;
		margin-inline-end: 4px;
		vertical-align: 1px;
	}

	.at-ledger.is-motion .at-ledger__foot {
		margin-block-start: calc(8px * var(--qf));
		padding-block-start: calc(8px * var(--qf));
	}
}

/* What we offer (home): numbered like notes to the financial statements,
   text from the reading side. */
body.home .e-con.e-grid {
	counter-reset: at-note;
}

body.home .e-con.e-grid > .e-con.at-card {
	counter-increment: at-note;
	align-items: stretch;
}

body.home .e-con.e-grid > .e-con.at-card .elementor-heading-title,
body.home .e-con.e-grid > .e-con.at-card .elementor-widget-text-editor {
	text-align: start !important;
}

body.home .e-con.e-grid > .e-con.at-card > .elementor-widget-heading:first-child::before {
	content: "إيضاح " counter(at-note);
	content: "إيضاح " counter(at-note) / "";
	display: block;
	margin-block-end: 12px;
	padding-block-end: 8px;
	border-block-end: 3px double var(--at-border-strong, #b9bfd8);
	color: var(--at-blue-600);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	text-align: start;
}

html[lang^="en"] body.home .e-con.e-grid > .e-con.at-card > .elementor-widget-heading:first-child::before {
	content: "Note " counter(at-note);
	content: "Note " counter(at-note) / "";
}

/* Double total rule under home section headings and contact-band headings. */
body.home .elementor > .e-con:not(.at-gradient) > .e-con-inner > .elementor-widget-heading h2.elementor-heading-title::after,
body.home .at-section__head h2::after,
.elementor > .e-con.at-gradient:not(:first-child) h2.elementor-heading-title::after {
	content: "";
	display: block;
	inline-size: 56px;
	margin: 10px auto 0;
	border-block-end: 3px double var(--at-border-strong, #b9bfd8);
}

.elementor > .e-con.at-gradient:not(:first-child) h2.elementor-heading-title::after {
	border-block-end-color: rgb(255 255 255 / 0.5);
}

/* Certification card heads: ruled ledger paper in brand blue instead of glow spots. */
.at-cert-card__head.at-gradient {
	background: repeating-linear-gradient(0deg, rgb(255 255 255 / 0.07) 0 1px, transparent 1px 12px), linear-gradient(160deg, #0a1238 0%, #15307f 60%, #2447d8 100%);
}

.at-cert-card__head.at-gradient::before,
.at-cert-card__head.at-gradient::after {
	display: none;
}

/* =====================================================================
 * Typography system (design phase 1 proposal): one size per role on every
 * page. Same IBM Plex families and brand colours; the change is sizes,
 * line heights and line length.
 *   body 16 px (was 15) · labels and meta 14 px (was 13–14)
 *   home, about and contact heroes unchanged (56 px)
 *   page titles 28–40 px everywhere (were 38 or 56 px)
 *   section titles 24–32 px (were 34 px) · content sub-titles 19–22 px
 *   (were 18–24 px) · card titles 18 px (were 13–24 px)
 *   reading line at most about 70 characters (was up to about 106)
 * ================================================================== */
:root {
	--at-text-sm: 0.875rem;
	--at-text-md: 1rem;
	--at-text-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
	--at-h1-page: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
	--at-h2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
	--at-h2-sub: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
	--at-h3: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
	--at-h4: 1.125rem;
	--at-lh-body: 1.8;
	--at-lh-heading: 1.35;
	--at-measure: 68ch;
}

html[lang^="en"] {
	--at-lh-body: 1.7;
	--at-lh-heading: 1.28;
}

/* Running text: one line height, a comfortable line length. */
body,
.at-entry__content p,
.at-entry__content li,
.at-policy__section p,
.at-policy__section li {
	line-height: var(--at-lh-body);
}

.at-entry__content > p,
.at-entry__content > ul,
.at-entry__content > ol,
.at-policy__section p,
.at-policy__section ul,
.at-policy__section ol {
	max-inline-size: var(--at-measure);
	margin-inline: auto;
}

/* Long policy text reads from the reading side (right in Arabic, left in
   English) inside the centred column; headings stay centred. */
.at-policy__section p,
.at-policy__section li {
	text-align: start;
}

/* Page titles: the same size on every inner page (events, projects,
   departments, certificates, policies, archives). The home, about and
   contact heroes keep their larger title. */
.at-entry__header h1,
.at-detail-page .at-gradient h1 {
	font-size: var(--at-h1-page);
	line-height: var(--at-lh-heading);
	text-wrap: balance;
}

/* Section and sub-section titles. */
h2,
.elementor-widget-heading h2.elementor-heading-title {
	line-height: var(--at-lh-heading);
	text-wrap: balance;
}

.at-detail__title,
.at-detail-page .at-cert__section > h2,
.at-policy__section h2,
.at-entry__content h2,
.at-main .at-certs__group-title,
.at-main .at-certs__subtitle {
	font-size: var(--at-h2-sub);
	line-height: 1.4;
}

.at-detail__panel-title {
	font-size: var(--at-h3);
	line-height: 1.4;
}

/* Card titles: one clear hierarchy, sized by the card's role. Featured
   cards (events, projects, news, departments) 18 px; the dense
   certificate grid 16–17 px; contact cards keep small labels. */
.at-card__title,
.at-card--statement .at-card__title {
	font-size: var(--at-h4);
	line-height: 1.5;
}

.at-main .at-cert-card .at-card__title {
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
	line-height: 1.5;
}

/* Meta, labels and help text: one size, tighter single-line spacing. */
.at-card__meta,
.at-card__row,
.at-cert-fact dt,
.at-help,
.at-note,
.at-card__date {
	line-height: 1.6;
}

/* Buttons and text links that act as buttons. */
.at-btn,
.elementor-widget-button .elementor-button,
.at-card__more {
	line-height: 1.4;
}

/* =====================================================================
 * "What do we offer?" on the home page: four interactive 3D objects
 * (design phase 2, Concept A, decision 97; assets/js/offer.js). Built
 * only where WebGL works; otherwise the four Elementor cards stay.
 * ================================================================== */
.at-offer-source[hidden] {
	display: none !important;
}

.at-offer {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	--at-offer-fg: var(--at-navy-900, #0a122c);
	--at-offer-accent: var(--at-blue-600, #2447d8);
	--at-offer-bg: var(--at-bg, #ffffff);
}

.at-offer__body {
	display: grid;
	gap: clamp(20px, 3vw, 48px);
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
}

/* Objects: a 2x2 stage. Each quadrant is a real button (tab) over its own 3D viewport. */
.at-offer__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 0.92;
}

.at-offer__gl {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.at-offer__tabs {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.at-offer__tab {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0 8px 12px;
	border: 1px solid transparent;
	border-radius: 24px;
	background: transparent;
	color: var(--at-offer-fg);
	font: inherit;
	cursor: pointer;
	transition: border-color 0.4s cubic-bezier(0.33, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.33, 0, 0.2, 1);
	-webkit-tap-highlight-color: transparent;
}

/* While the 3D library loads, soft pedestals hold the place. */
.at-offer__stage.is-loading .at-offer__tab {
	background: radial-gradient(48% 22% at 50% 70%, color-mix(in srgb, var(--at-offer-accent) 10%, transparent), transparent 70%);
}

.at-offer__label {
	padding: 4px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--at-offer-bg) 70%, transparent);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	transition: color 0.4s, background-color 0.4s;
}

.at-offer__tab[aria-selected="true"] {
	border-color: color-mix(in srgb, var(--at-offer-accent) 35%, transparent);
	background: color-mix(in srgb, var(--at-offer-accent) 5%, transparent);
}

.at-offer__tab[aria-selected="true"] .at-offer__label {
	background: var(--at-offer-accent);
	color: #fff;
}

html[data-theme="dark"] .at-offer__tab[aria-selected="true"] .at-offer__label {
	color: #070b1d;
}

.at-offer__tab:focus-visible,
.at-offer__panel:focus-visible {
	outline: 2px solid var(--at-offer-accent);
	outline-offset: 2px;
}

/* The selected service's text */
.at-offer__panel {
	position: relative;
	min-height: 15rem;
	text-align: start;
	border-radius: 12px;
}

.at-offer__inner {
	display: grid;
	gap: 12px;
}

.at-offer__kind {
	color: var(--at-muted);
	font-size: 0.875rem;
	font-weight: 500;
}

.at-main .at-offer__panel h3,
.at-offer__panel h3 {
	margin: 0;
	color: var(--at-offer-fg);
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
	font-weight: 700;
	line-height: 1.35;
	text-align: start;
}

.at-offer__panel p {
	max-width: 40ch;
	margin: 0;
	color: var(--at-muted);
	font-size: 1.0625rem;
	line-height: 1.8;
	text-align: start;
}

.at-offer__rule {
	width: 48px;
	border-top: 3px double var(--at-offer-accent);
	opacity: 0.7;
}

.at-offer__dots {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.at-offer__dots span {
	width: 22px;
	height: 4px;
	border-radius: 4px;
	background: var(--at-border);
	transition: background-color 0.4s, width 0.4s cubic-bezier(0.33, 0, 0.2, 1);
}

.at-offer__dots span.on {
	width: 36px;
	background: var(--at-offer-accent);
}

@media (max-width: 820px) {
	.at-offer__body {
		grid-template-columns: 1fr;
	}

	.at-offer__stage {
		aspect-ratio: 1 / 1.02;
	}

	.at-offer__tabs {
		gap: 8px;
	}

	.at-offer__label {
		padding: 3px 10px;
		font-size: 0.875rem;
	}

	.at-offer__panel {
		min-height: 0;
		text-align: center;
	}

	.at-main .at-offer__panel h3,
	.at-offer__panel h3,
	.at-offer__panel p {
		margin-inline: auto;
		text-align: center;
	}

	.at-offer__rule,
	.at-offer__dots {
		justify-content: center;
		margin-inline: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.at-offer__tab,
	.at-offer__label,
	.at-offer__dots span {
		transition: none;
	}
}

/* =====================================================================
 * Home hero, the name only (Dean's review, decision 98): the team name is
 * the whole headline; the official description and the introduction stay
 * on the About page and in the footer. The headline uses Alexandria (OFL,
 * self-hosted above); the rest of the site keeps IBM Plex.
 * ================================================================== */
.at-gradient.at-hero--ledger .at-eyebrow,
.at-gradient.at-hero--ledger .at-lead {
	display: none !important;
}

.at-gradient.at-hero--ledger h1.elementor-heading-title {
	margin: 0;
	color: #fff;
	font-family: "Alexandria", var(--at-font-display);
	font-size: clamp(3rem, 1.9rem + 4.4vw, 5.5rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

html[lang^="en"] .at-gradient.at-hero--ledger h1.elementor-heading-title {
	font-size: clamp(2.75rem, 1.7rem + 4.2vw, 5.25rem);
	letter-spacing: -0.035em;
}

.at-gradient.at-hero--ledger > .e-con-inner > .e-con.e-child {
	margin-block-start: clamp(20px, 2.4vw, 32px);
	gap: 12px;
}

@media (max-width: 899px) {
	/* Phones and tablets: one centred column, the name, the buttons, then the ledger. */
	.at-gradient.at-hero--ledger > .e-con-inner {
		align-items: center;
		padding-block: clamp(28px, 6vw, 48px) 4px;
	}

	.at-gradient.at-hero--ledger > .e-con-inner > .elementor-element,
	.at-gradient.at-hero--ledger .elementor-heading-title {
		text-align: center !important;
	}

	.at-gradient.at-hero--ledger h1.elementor-heading-title {
		font-size: clamp(2.6rem, 1.4rem + 7vw, 3.75rem);
	}

	.at-gradient.at-hero--ledger .e-con.e-child {
		flex-direction: row !important;
		flex-wrap: wrap;
		justify-content: center !important;
		gap: 10px;
	}

	.at-gradient.at-hero--ledger .e-con.e-child > .elementor-element {
		width: auto !important;
	}

	.at-gradient.at-hero--ledger .e-con.e-child .elementor-button {
		padding: 12px 20px;
		font-size: 0.9375rem;
	}

	.at-gradient.at-hero--ledger .at-ledger {
		margin-block: 32px 8px;
	}
}

/* =====================================================================
 * Smoothness pass (Dean's review): native smooth scrolling for in-page
 * links, softer section reveals, pressed states, and the 3D section fades
 * in when it is ready. No scroll hijacking; reduced motion keeps all of
 * it off; content stays visible without JavaScript (reveals are added by
 * effects.js only).
 * ================================================================== */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}

	.at-reveal {
		translate: 0 22px;
		transition:
			opacity 820ms cubic-bezier(0.16, 1, 0.3, 1) var(--at-delay, 0ms),
			translate 820ms cubic-bezier(0.16, 1, 0.3, 1) var(--at-delay, 0ms);
	}

	.at-card.at-reveal,
	.e-con.at-card.at-reveal {
		transition:
			opacity 820ms cubic-bezier(0.16, 1, 0.3, 1) var(--at-delay, 0ms),
			translate 820ms cubic-bezier(0.16, 1, 0.3, 1) var(--at-delay, 0ms),
			transform 320ms var(--at-ease),
			box-shadow 320ms var(--at-ease),
			border-color 320ms var(--at-ease);
	}

	.at-reveal.is-in {
		translate: 0 0;
	}

	.at-btn:active,
	.wp-element-button:active,
	.wp-block-button__link:active,
	.elementor-widget-button .elementor-button:active,
	.at-offer__tab:active .at-offer__label {
		transform: translateY(0) scale(0.97);
		transition-duration: 120ms;
	}

	.at-offer__gl {
		opacity: 0;
		transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1);
	}

	.at-offer.is-ready .at-offer__gl {
		opacity: 1;
	}
}

a,
button {
	-webkit-tap-highlight-color: transparent;
}

/* Ledger height measurement (ledger.js): the rows' transitions and
   animations are off for one synchronous measurement only. */
.at-ledger.is-measuring,
.at-ledger.is-measuring * {
	transition: none !important;
	animation: none !important;
}

/* =====================================================================
 * Owner refinements (decision 99): headline room, "What we offer" in one
 * row on desktop with the text below, and the home "About the team"
 * introduction (the text that was under the hero headline).
 * ================================================================== */

/* Headline: more room before any size change. The face is one variable so
   the approved font can be swapped in one place (Alexandria until then). */
.at-gradient.at-hero--ledger {
	--at-hero-font: "Alexandria";
}

.at-gradient.at-hero--ledger h1.elementor-heading-title {
	padding-block: 0.08em 0.12em;
	font-family: var(--at-hero-font), var(--at-font-display);
	font-size: clamp(2.875rem, 1.85rem + 4.1vw, 5.125rem);
	line-height: 1.3;
	overflow: visible;
}

html[lang^="en"] .at-gradient.at-hero--ledger h1.elementor-heading-title {
	font-size: clamp(2.625rem, 1.65rem + 4vw, 5rem);
	line-height: 1.18;
}

@media (min-width: 1200px) {
	.at-gradient.at-hero--ledger > .e-con-inner {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
		column-gap: 48px;
	}
}

/* The ledger's stacked sheets lean outwards; never let them widen the page. */
.at-gradient.at-hero--ledger {
	overflow-x: clip;
}

/* "What we offer" on desktop and laptop: the four objects in one open row,
   the selected service's text centred below. Phones keep the 2x2 grid. */
@media (min-width: 821px) {
	.at-offer__body {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		gap: clamp(8px, 1.6vw, 20px);
	}

	.at-offer__stage {
		aspect-ratio: 4 / 1.22;
		max-width: 1180px;
	}

	.at-offer__tabs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-rows: minmax(0, 1fr);
		gap: clamp(8px, 1.4vw, 20px);
	}

	.at-offer__tab,
	.at-offer__tab[aria-selected="true"] {
		border-color: transparent;
		background: transparent;
	}

	.at-offer__tab:hover .at-offer__label {
		background: color-mix(in srgb, var(--at-offer-accent) 12%, var(--at-offer-bg));
	}

	.at-offer__tab[aria-selected="true"]:hover .at-offer__label {
		background: var(--at-offer-accent);
	}

	.at-offer__panel {
		width: 100%;
		max-width: 46rem;
		min-height: 10.5rem;
		text-align: center;
	}

	.at-main .at-offer__panel h3,
	.at-offer__panel h3,
	.at-offer__panel p {
		margin-inline: auto;
		text-align: center;
	}

	.at-offer__inner {
		justify-items: center;
	}

	.at-offer__dots {
		justify-content: center;
	}
}

/* Home "About the team": the original introduction, centred under the heading. */
.at-about-intro .elementor-heading-title {
	text-align: center;
}

.at-about-intro__text {
	max-width: 62ch;
	margin-inline: auto;
	text-align: center;
}

.at-about-intro__text p {
	margin: 0 0 0.6em;
	color: var(--at-muted);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.9;
	text-align: center;
}

.at-about-intro__text p:first-child {
	color: var(--at-navy-900);
	font-weight: 600;
}

.at-about-intro__text p:last-child {
	margin-bottom: 0;
}

/* =====================================================================
 * News system (content phase): default branded cover on any card without
 * an image, the home news ticker, source lines, the news archive filters
 * and the optional urgent alert bar.
 * ===================================================================== */

.at-card__cover {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 20px 22px;
	background-color: #15307f;
	background-image: linear-gradient(135deg, #0a1238 0%, #15307f 55%, #2447d8 100%);
	color: #fff;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.at-card--news .at-card__cover {
	aspect-ratio: 16 / 9;
}

.at-card__source {
	margin: 0;
	color: var(--at-muted);
	font-size: var(--at-text-sm);
}

/* Ticker: one quiet line above the cards. */
.at-ticker {
	display: flex;
	align-items: center;
	gap: var(--at-space-3);
	margin-block-end: var(--at-space-5);
	padding: 6px;
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-pill);
	background: var(--at-card, #fff);
	min-block-size: 48px;
}

.at-ticker__label {
	flex: none;
	padding: 6px 14px;
	border-radius: var(--at-radius-pill);
	background-image: var(--at-gradient);
	background-color: #2447d8;
	color: #fff;
	font-size: var(--at-text-sm);
	font-weight: 600;
	white-space: nowrap;
}

.at-ticker__viewport {
	flex: 1;
	min-inline-size: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}

.at-ticker__track {
	display: flex;
	inline-size: max-content;
	animation: at-ticker var(--at-ticker-duration, 30s) linear infinite;
	will-change: transform;
}

[dir="rtl"] .at-ticker__track {
	animation-name: at-ticker-rtl;
}

.at-ticker__list {
	display: flex;
	flex: none;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-inline: 18px;
	white-space: nowrap;
	font-size: var(--at-text-sm);
}

.at-ticker__item::before {
	content: "";
	inline-size: 5px;
	block-size: 5px;
	margin-inline-end: 10px;
	border-radius: 50%;
	background: var(--at-border-strong);
}

.at-ticker__item a {
	color: inherit;
	font-weight: 500;
	text-decoration: none;
}

.at-ticker__item a:hover,
.at-ticker__item a:focus-visible {
	color: var(--at-blue-600);
	text-decoration: underline;
}

.at-ticker__tag {
	color: var(--at-blue-600);
	font-size: 0.75rem;
	font-weight: 600;
}

.at-ticker__tag--urgent {
	color: var(--at-warning);
}

.at-ticker__toggle {
	display: inline-grid;
	flex: none;
	place-items: center;
	inline-size: 36px;
	block-size: 36px;
	border: 0;
	border-radius: 50%;
	background: var(--at-surface);
	color: inherit;
	cursor: pointer;
}

.at-ticker__toggle:focus-visible {
	outline: 2px solid var(--at-blue-600);
	outline-offset: 2px;
}

.at-ticker__play,
.at-ticker.is-paused .at-ticker__pause {
	display: none;
}

.at-ticker.is-paused .at-ticker__play {
	display: inline;
}

.at-ticker:hover .at-ticker__track,
.at-ticker:focus-within .at-ticker__track,
.at-ticker.is-held .at-ticker__track,
.at-ticker.is-paused .at-ticker__track {
	animation-play-state: paused;
}

@keyframes at-ticker {
	to {
		transform: translateX(-50%);
	}
}

@keyframes at-ticker-rtl {
	to {
		transform: translateX(50%);
	}
}

/* Reduced motion or no script: a still line the visitor can scroll. */
@media (prefers-reduced-motion: reduce) {
	.at-ticker__track {
		animation: none;
	}

	.at-ticker__viewport {
		overflow-x: auto;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.at-ticker__list--copy {
		display: none;
	}
}

.at-ticker:not(.is-ready) .at-ticker__track {
	animation: none;
}

.at-ticker:not(.is-ready) .at-ticker__viewport {
	overflow-x: auto;
}

.at-ticker:not(.is-ready) .at-ticker__list--copy {
	display: none;
}

/* News archive: category chips and search. */
.at-news-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--at-space-3);
	margin-block-end: var(--at-space-6);
}

.at-news-filter__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-news-filter__chip {
	display: inline-flex;
	align-items: center;
	min-block-size: var(--at-tap);
	padding-inline: 16px;
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-pill);
	color: inherit;
	font-size: var(--at-text-sm);
	font-weight: 500;
	text-decoration: none;
}

.at-news-filter__chip[aria-current="true"] {
	border-color: transparent;
	background-image: var(--at-gradient);
	background-color: #2447d8;
	color: #fff;
}

.at-news-filter__search {
	display: flex;
	flex: 1 1 260px;
	gap: 8px;
	margin-inline-start: auto;
	max-inline-size: 420px;
}

.at-news-filter__search input {
	flex: 1 1 0;
	inline-size: 0;
	min-inline-size: 0;
	min-block-size: var(--at-tap);
	padding-inline: 14px;
	border: 1px solid var(--at-border-strong);
	border-radius: var(--at-radius-pill);
	background: transparent;
	color: inherit;
	font: inherit;
}

.at-news-filter__search button {
	flex: none;
	min-block-size: var(--at-tap);
}

@media (max-width: 640px) {
	.at-news-filter__search {
		flex-basis: 100%;
		max-inline-size: none;
		margin-inline-start: 0;
	}
}

/* Single news: source and the linked event. */
.at-news-source {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--at-space-3);
	margin-block: var(--at-space-6) 0;
	padding: var(--at-space-4) var(--at-space-5);
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-lg);
}

.at-news-source p {
	margin: 0;
	color: var(--at-muted);
	font-size: var(--at-text-sm);
}

.at-news-source p strong {
	color: inherit;
}

.at-news-detail-cover {
	margin: 0 0 var(--at-space-6);
	border-radius: var(--at-radius-lg);
	aspect-ratio: 16 / 7;
	justify-content: flex-end;
}

.at-news-detail-cover .at-card__cover-kind {
	margin-block-start: var(--at-space-3);
	font-size: 1.25rem;
}

/* Urgent alert bar: only with an active urgent announcement marked for it. */
.at-alert-bar {
	position: relative;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--at-space-3);
	padding: 10px var(--at-gutter);
	padding-inline-end: 56px;
	background: #7a2e0e;
	color: #fff;
	font-size: var(--at-text-sm);
	text-align: center;
}

.at-alert-bar[hidden] {
	display: none;
}

.at-alert-bar a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.at-alert-bar__close {
	position: absolute;
	inset-block-start: 50%;
	inset-inline-end: 8px;
	display: inline-grid;
	place-items: center;
	inline-size: 40px;
	block-size: 40px;
	margin-block-start: -20px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.at-alert-bar__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 1px;
}

.at-seats-note {
	margin: 0 0 var(--at-space-3);
	font-weight: 600;
}

/* =====================================================================
 * Typography and motion refinements (decision 102).
 * ================================================================== */

/* About: the text of "Who we are", "Vision" and "Mission" uses the goal
   cards' text style. Wording, centring, headings and cards unchanged. */
.at-about-card .elementor-widget-text-editor,
.at-about-card--wide .elementor-widget-text-editor,
.at-about-card .elementor-widget-text-editor p,
.at-help__text {
	color: var(--at-navy-900);
	font-size: var(--at-text-md, 1rem);
	font-weight: 500;
	line-height: 1.75;
}

/* One set of motion tokens for the whole site. */
:root {
	--at-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--at-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--at-ease-in: cubic-bezier(0.5, 0, 0.75, 0);
	--at-dur-fast: 180ms;
	--at-dur: 320ms;
	--at-dur-slow: 560ms;
}

@media (prefers-reduced-motion: no-preference) {
	/* Page to page: a short exit and a calm arrival, no blur (sharper text
	   and lighter on the graphics chip). */
	::view-transition-old(root) {
		animation: at-page-out 200ms var(--at-ease-in) both;
	}

	::view-transition-new(root) {
		animation: at-page-in 460ms var(--at-ease-out) both;
	}

	/* Section reveals: a shorter rise. */
	.at-reveal {
		translate: 0 16px;
	}

	.at-reveal.is-in {
		translate: 0 0;
	}

	/* Menu, buttons and cards share the same curve and pace. */
	.at-nav__pill {
		transition: transform 460ms var(--at-ease-out), width 460ms var(--at-ease-out), height 460ms var(--at-ease-out), opacity var(--at-dur-fast) var(--at-ease-out);
	}

	.at-nav__menu > li > a,
	.at-btn,
	.wp-element-button,
	.elementor-widget-button .elementor-button,
	.at-news-filter__chip,
	.at-carousel__btn,
	.at-ticker__toggle {
		transition-duration: var(--at-dur);
		transition-timing-function: var(--at-ease-out);
	}

	.at-card,
	.at-help__link,
	.at-goals li,
	.at-orgp {
		transition-timing-function: var(--at-ease-out);
	}
}

@keyframes at-page-out {
	to { opacity: 0; transform: translateY(-10px); }
}

@keyframes at-page-in {
	from { opacity: 0; transform: translateY(14px); }
}

/* ---------- Animated icons (motion.js) ----------
   The CSS icon tile is replaced by the same tile holding an inline SVG.
   At rest each icon matches its CSS version line for line. */
.at-ai-host::before {
	content: none !important;
	display: none !important;
}

.at-ai {
	display: inline-grid;
	flex: none;
	place-items: center;
	color: #fff;
}

.at-ai-tile {
	display: grid;
	place-items: center;
}

.at-ai svg {
	display: block;
	overflow: visible;
}

.at-ai svg * {
	transform-box: view-box;
	transition:
		transform 480ms var(--at-ease-out),
		opacity 320ms var(--at-ease-out),
		stroke-dashoffset 560ms var(--at-ease-out),
		stroke-dasharray 520ms var(--at-ease-out),
		fill-opacity 320ms var(--at-ease-out);
}

/* Hidden extras at rest. */
.at-ai .ai-glint,
.at-ai .ai-lines,
.at-ai .ai-pin,
.at-ai .ai-dot,
.at-ai .ai-a,
.at-ai .ai-badge,
.at-ai .ai-runner {
	opacity: 0;
}

.at-ai .ai-wave,
.at-ai .ai-star,
.at-ai .ai-check,
.at-ai .ai-ray {
	opacity: 0;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}

/* Who we are: the two people step together. */
.at-ai.is-active .ai-p1 { transform: translate(0.6px, -1px); transition-delay: 80ms; }
.at-ai.is-active .ai-p2 { transform: translate(-1.4px, -1px); }

/* Vision: one blink, then a focused gaze. */
.at-ai .ai-lid,
.at-ai .ai-pupil {
	transform-origin: 12px 12px;
	transition: transform 240ms var(--at-ease-out);
}

.at-ai.is-beat .ai-lid { transform: scaleY(0.04); transition-duration: 150ms; transition-timing-function: var(--at-ease-in); }
.at-ai.is-beat .ai-pupil { transform: scaleY(0); opacity: 0; transition-duration: 120ms; transition-timing-function: var(--at-ease-in); }
.at-ai.is-active:not(.is-beat) .ai-pupil { transform: scale(0.8); }
.at-ai.is-active .ai-glint { opacity: 1; transition-delay: 220ms; }

/* Mission: the rings close in, one after another, on a growing centre. */
.at-ai .ai-r1,
.at-ai .ai-r2,
.at-ai .ai-r3 { transform-origin: 12px 12px; }
.at-ai .ai-r1 { transition-delay: 140ms; }
.at-ai .ai-r2 { transition-delay: 70ms; }
.at-ai.is-active .ai-r1 { transform: scale(0.88); transition-delay: 0ms; }
.at-ai.is-active .ai-r2 { transform: scale(0.8); transition-delay: 90ms; }
.at-ai.is-active .ai-r3 { transform: scale(1.4); transition-delay: 180ms; }

/* Knowledge: two pages turn and the text appears. */
.at-ai .ai-page { transform-origin: 12px 12px; stroke-width: 1.4; opacity: 0; transition: transform 600ms var(--at-ease-in-out), opacity 160ms linear 600ms; }
.at-ai .ai-page1 { transition-delay: 120ms, 720ms; }
.at-ai.is-active .ai-page1 { opacity: 1; transform: scaleX(-1); transition-delay: 0ms, 0ms; }
.at-ai.is-active .ai-page2 { opacity: 1; transform: scaleX(-1); transition-delay: 150ms, 150ms; }
.at-ai.is-active .ai-lines { opacity: 1; transition-delay: 520ms; }

/* Development: the bars drop, then rise one after another. */
.at-ai .ai-bar { transition: stroke-dasharray 520ms cubic-bezier(0.34, 1.4, 0.64, 1); }
.at-ai .ai-b1 { stroke-dasharray: 5 20; }
.at-ai .ai-b2 { stroke-dasharray: 10 20; }
.at-ai .ai-b3 { stroke-dasharray: 8 20; }
.at-ai .ai-b4 { stroke-dasharray: 3 20; }
.at-ai.is-active .ai-b1 { stroke-dasharray: 4 20; }
.at-ai.is-active .ai-b2 { stroke-dasharray: 6.5 20; transition-delay: 80ms; }
.at-ai.is-active .ai-b3 { stroke-dasharray: 9 20; transition-delay: 160ms; }
.at-ai.is-active .ai-b4 { stroke-dasharray: 12 20; transition-delay: 240ms; }
.at-ai.is-active.is-beat .ai-bar { stroke-dasharray: 0.5 20; transition: stroke-dasharray 160ms var(--at-ease-in); }

/* Certificates: the ribbon tails sway and a star is drawn on the medal. */
.at-ai .ai-tail-l { transform-origin: 8.5px 14px; }
.at-ai .ai-tail-r { transform-origin: 15.5px 14px; }
.at-ai.is-active .ai-tail-l { transform: rotate(6deg); }
.at-ai.is-active .ai-tail-r { transform: rotate(-6deg); transition-delay: 60ms; }
.at-ai .ai-star { stroke-dasharray: none; stroke-dashoffset: 0; transform-origin: 12px 9px; transform: rotate(-36deg); }
.at-ai.is-active .ai-star { opacity: 1; transform: none; transition: opacity 360ms var(--at-ease-out) 140ms, transform 560ms var(--at-ease-out) 140ms; }

/* Events: two calendar pages flip up and the date is marked. */
.at-ai .ai-leaf { transform-origin: 12px 10px; transition: transform 460ms var(--at-ease-in-out), opacity 460ms var(--at-ease-in); }
.at-ai .ai-ring { transition-duration: 300ms; }
.at-ai.is-active .ai-leaf1 { transform: scaleY(0); opacity: 0; }
.at-ai.is-active .ai-leaf2 { transform: scaleY(0); opacity: 0; transition-delay: 170ms; }
.at-ai.is-active .ai-ring1 { transform: translateY(1px); }
.at-ai.is-active .ai-ring2 { transform: translateY(1px); transition-delay: 60ms; }
.at-ai.is-active .ai-check { opacity: 1; stroke-dashoffset: 0; transition-delay: 460ms; }

/* Ideas: the bulb lights: a soft glow fills the glass and five short rays
   are drawn outward, clear of the outline. */
.at-ai .ai-glow { fill-opacity: 0; }
.at-ai.is-active .ai-glow { fill-opacity: 0.28; }
.at-ai.is-active .ai-ray { opacity: 1; stroke-dashoffset: 0; transition-delay: 120ms; }
.at-ai.is-active .ai-ray2 { transition-delay: 160ms; }
.at-ai.is-active .ai-ray3 { transition-delay: 200ms; }
.at-ai.is-active .ai-ray4 { transition-delay: 240ms; }
.at-ai.is-active .ai-ray5 { transition-delay: 280ms; }

/* Library: books are taken from the shelf. */
.at-ai .ai-bk3 { transform-origin: 21px 20px; }
.at-ai.is-active .ai-bk2 { transform: translateY(-2.5px); }
.at-ai.is-active .ai-bk1 { transform: translateY(-1px); transition-delay: 70ms; }
.at-ai.is-active .ai-bk3 { transform: rotate(-6deg); transition-delay: 120ms; }

/* Study planner: the two courses are ticked off one after the other and the
   plan's progress bar fills; it all eases back when the pointer leaves. */
.at-ai .ai-pl-ck,
.at-ai .ai-pl-bar {
	opacity: 0;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}
.at-ai .ai-pl-dot1 { transform-origin: 7.5px 12.5px; }
.at-ai .ai-pl-dot2 { transform-origin: 7.5px 16.5px; }
.at-ai.is-active .ai-pl-dot { opacity: 0; transform: scale(0.2); }
.at-ai.is-active .ai-pl-dot2 { transition-delay: 150ms; }
.at-ai.is-active .ai-pl-ck { opacity: 1; stroke-dashoffset: 0; transition-delay: 90ms; }
.at-ai.is-active .ai-pl-ck2 { transition-delay: 240ms; }
.at-ai.is-active .ai-pl-bar { opacity: 1; stroke-dashoffset: 0; transition-delay: 380ms; }

/* Flag: the cloth catches the wind. */
.at-ai .ai-cloth { transform-origin: 5px 8px; }
.at-ai.is-active .ai-cloth { transform: skewY(-10deg) scaleX(0.88); }

/* Route: a marker travels the path to the destination. */
.at-ai .ai-end { fill: currentColor; fill-opacity: 0; }
.at-ai .ai-runner { stroke-dasharray: 0.001 2; stroke-dashoffset: 0; }
.at-ai.is-active .ai-runner { animation: at-ai-run 900ms var(--at-ease-in-out) both; }
.at-ai.is-active .ai-end { fill-opacity: 1; transition-delay: 820ms; }

@keyframes at-ai-run {
	0% { opacity: 1; stroke-dashoffset: 0; }
	84% { opacity: 1; }
	100% { opacity: 0; stroke-dashoffset: -0.94; }
}

/* Map: a pin drops in. */
.at-ai .ai-pin { transform: translateY(-3.5px); }
.at-ai.is-active .ai-pin { opacity: 1; transform: none; }

/* Messages: typing dots. */
.at-ai .ai-dot { transform: translateY(1.5px); }
.at-ai.is-active .ai-dot { opacity: 1; transform: none; }
.at-ai.is-active .ai-dot2 { transition-delay: 90ms; }
.at-ai.is-active .ai-dot3 { transition-delay: 180ms; }

/* Help: the question becomes an answer. */
.at-ai .ai-a { transform: translateY(1.5px); }
.at-ai.is-active .ai-q { opacity: 0; transform: translateY(-1.5px); }
.at-ai.is-active .ai-a { opacity: 1; transform: none; transition-delay: 120ms; }

/* Phone: it rings. */
.at-ai.is-active .ai-wave { opacity: 1; stroke-dashoffset: 0; }
.at-ai.is-active .ai-wave2 { transition-delay: 140ms; }

/* Mail: a new message arrives. */
.at-ai .ai-flap { transform-origin: 12px 7px; }
.at-ai .ai-badge { transform-origin: 19.6px 5.4px; transform: scale(0); }
.at-ai.is-active .ai-flap { transform: translateY(0.8px) scaleY(0.8); }
.at-ai.is-active .ai-badge { opacity: 1; transform: none; transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
	.at-ai svg * {
		transition: none !important;
	}
}

/* =====================================================================
 * Under-development state (decision 109): an intended section with no
 * published content keeps its page and shows this instead of a blank one.
 * ===================================================================== */

.at-building {
	border-color: var(--at-border);
	background:
		radial-gradient(520px 220px at 50% 0%, rgb(63 82 251 / 0.08), transparent 70%),
		var(--at-surface);
	box-shadow: var(--at-shadow-sm);
}

.at-building::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	block-size: 3px;
	background: var(--at-gradient-accent);
}

.at-building__title {
	font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
	font-weight: 700;
}

.at-building__block--3 {
	animation: at-building-dash 2.4s linear infinite;
}

.at-building__dot {
	transform-box: fill-box;
	transform-origin: center;
	animation: at-building-pulse 2.4s var(--at-ease) infinite;
}

@keyframes at-building-dash {
	to { stroke-dashoffset: -20; }
}

@keyframes at-building-pulse {
	0%, 100% { opacity: 0.55; transform: scale(0.85); }
	50% { opacity: 1; transform: scale(1.15); }
}

html[data-theme="dark"] .at-building {
	border-color: var(--at-border);
	background:
		radial-gradient(520px 220px at 50% 0%, rgb(92 59 234 / 0.18), transparent 70%),
		var(--at-card);
}

html[data-theme="dark"] .at-building__road {
	stroke: rgb(255 255 255 / 0.28);
}

@media (prefers-reduced-motion: reduce) {
	.at-building__block--3,
	.at-building__dot {
		animation: none;
	}
}

/* Project hosted on another website: "Visit Website" in the hero (decision 113). */
.at-event__hero-cta {
	margin-block: var(--at-space-5) 0;
}


/* "What we offer": static renders of the four approved objects (assets/images/offer/,

 cut from the live scene at rest) show with the page; the interactive canvas fades in

 beneath them and they are removed once it is in place (offer.js adds .is-live). */

.at-offer__tab::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--at-offer-still) center / contain no-repeat;
	pointer-events: none;
}

.at-offer__label {
	position: relative;
}

.at-offer.is-live .at-offer__tab::before {
	content: none;
}

.at-offer__stage.is-loading .at-offer__tab {
	background: none;
}

.at-offer__tab:nth-child(1) { --at-offer-still: url("../images/offer/0-light-d.webp"); }

.at-offer__tab:nth-child(2) { --at-offer-still: url("../images/offer/1-light-d.webp"); }

.at-offer__tab:nth-child(3) { --at-offer-still: url("../images/offer/2-light-d.webp"); }

.at-offer__tab:nth-child(4) { --at-offer-still: url("../images/offer/3-light-d.webp"); }

html[data-theme="dark"] .at-offer__tab:nth-child(1) { --at-offer-still: url("../images/offer/0-dark-d.webp"); }

html[data-theme="dark"] .at-offer__tab:nth-child(2) { --at-offer-still: url("../images/offer/1-dark-d.webp"); }

html[data-theme="dark"] .at-offer__tab:nth-child(3) { --at-offer-still: url("../images/offer/2-dark-d.webp"); }

html[data-theme="dark"] .at-offer__tab:nth-child(4) { --at-offer-still: url("../images/offer/3-dark-d.webp"); }

@media (max-width: 820px) {
	.at-offer__tab:nth-child(1) { --at-offer-still: url("../images/offer/0-light-m.webp"); }
	.at-offer__tab:nth-child(2) { --at-offer-still: url("../images/offer/1-light-m.webp"); }
	.at-offer__tab:nth-child(3) { --at-offer-still: url("../images/offer/2-light-m.webp"); }
	.at-offer__tab:nth-child(4) { --at-offer-still: url("../images/offer/3-light-m.webp"); }
	html[data-theme="dark"] .at-offer__tab:nth-child(1) { --at-offer-still: url("../images/offer/0-dark-m.webp"); }
	html[data-theme="dark"] .at-offer__tab:nth-child(2) { --at-offer-still: url("../images/offer/1-dark-m.webp"); }
	html[data-theme="dark"] .at-offer__tab:nth-child(3) { --at-offer-still: url("../images/offer/2-dark-m.webp"); }
	html[data-theme="dark"] .at-offer__tab:nth-child(4) { --at-offer-still: url("../images/offer/3-dark-m.webp"); }
}
