@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/InterVariable.woff2") format("woff2-variations");
}

:root {
    --aa-brand: #6d28d9;
    --aa-brand-hover: #5b21b6;
    --aa-brand-active: #4c1d95;
    --aa-brand-soft: #f5f3ff;
    --aa-brand-pale: #ede9fe;
    --aa-ink: #171320;
    --aa-ink-soft: #211b2d;
    --aa-violet: var(--aa-brand);
    --aa-violet-dark: var(--aa-brand-hover);
    --aa-lilac: var(--aa-brand-soft);
    --aa-lilac-strong: #c4b5fd;
    --aa-teal: #166534;
    --aa-sand: #f8f7fa;
    --aa-cream: #ffffff;
    --aa-line: #dcd8e4;
    --aa-control-border: #777181;
    --aa-muted: #595464;
    --aa-white: #ffffff;
    --aa-success: #166534;
    --aa-success-bg: #f0fdf4;
    --aa-warning: #92400e;
    --aa-warning-bg: #fffbeb;
    --aa-danger: #b91c1c;
    --aa-danger-bg: #fef2f2;
    --aa-info: #1d4ed8;
    --aa-info-bg: #eff6ff;
    --aa-shadow: 0 24px 70px rgba(23, 19, 32, .12);
    --aa-radius-control: 12px;
    --aa-radius-card: 16px;
    --aa-radius-panel: 24px;
    --aa-radius: var(--aa-radius-panel);
    --aa-font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

body.aa-site-active {
    background: var(--aa-sand);
    color: var(--aa-ink);
    font-family: var(--aa-font);
    -webkit-font-smoothing: antialiased;
}

.aa-site-active .entry-header,
.aa-site-active .page-title,
.aa-site-active .ast-breadcrumbs {
    display: none;
}

.aa-site-active .site-content .ast-container,
.aa-site-active .entry-content {
    max-width: none;
    padding: 0;
}

/* Astra keeps classic pages in its desktop content column unless the page was
 * authored with a full-width builder template. All branded pages are rendered
 * by this plugin, so they must own the complete canvas consistently. */
.aa-site-active .site-content .ast-container,
.aa-site-active .content-area,
.aa-site-active #primary,
.aa-site-active .site-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.aa-site-active .site-content .ast-container {
    display: block;
}

.aa-site-active #primary {
    width: 100% !important;
    margin: 0 !important;
}

.aa-site-active #secondary {
    display: none !important;
}

.aa-site-active .site-main > .ast-article-single {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent;
}

.aa-site-active .entry-content > .aa-site {
    width: 100%;
    margin: 0;
}

.aa-site,
.aa-site *,
.aa-site *::before,
.aa-site *::after {
    box-sizing: border-box;
}

.aa-site a:focus-visible,
.aa-site button:focus-visible,
.aa-site input:focus-visible,
.aa-site select:focus-visible,
.aa-site textarea:focus-visible,
.aa-site summary:focus-visible {
    outline: 3px solid var(--aa-violet);
    outline-offset: 3px;
}

.aa-site h1,
.aa-site h2,
.aa-site h3,
.aa-site p {
    margin-top: 0;
}

.aa-site h1,
.aa-site h2,
.aa-site h3 {
    color: var(--aa-ink);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.06;
}

.aa-site h1 {
    margin-bottom: 22px;
    font-size: clamp(42px, 5.6vw, 72px);
    line-height: 1.01;
}

.aa-site h2 {
    margin-bottom: 16px;
    font-size: clamp(32px, 4vw, 53px);
}

.aa-site h3 {
    margin-bottom: 9px;
    font-size: 21px;
}

.aa-site h1 em,
.aa-site h2 em {
    color: var(--aa-violet);
    font-style: normal;
}

.aa-wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.aa-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--aa-violet-dark) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.4;
    text-transform: uppercase;
}

.aa-kicker::before {
    width: 28px;
    height: 2px;
    flex: 0 0 auto;
    background: currentColor;
    content: "";
}

.aa-lead {
    max-width: 610px;
    margin-bottom: 0;
    color: var(--aa-muted);
    font-size: 18px;
    line-height: 1.65;
}

.aa-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.aa-button {
    display: inline-flex !important;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 19px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.aa-button:hover {
    transform: translateY(-2px);
}

.aa-button-primary {
    background: var(--aa-violet) !important;
    color: var(--aa-white) !important;
    box-shadow: 0 10px 24px rgba(103, 61, 230, .2);
}

.aa-button-primary:hover {
    background: var(--aa-violet-dark) !important;
    box-shadow: 0 13px 29px rgba(75, 43, 180, .28);
}

.aa-button-ghost {
    border-color: var(--aa-line);
    color: var(--aa-ink) !important;
}

.aa-button-ghost:hover {
    border-color: var(--aa-ink);
    background: var(--aa-white);
}

.aa-button-light {
    background: var(--aa-white) !important;
    color: var(--aa-ink) !important;
}

.aa-button-light:hover {
    background: var(--aa-lilac-strong) !important;
}

.aa-home-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 77px;
    background: var(--aa-sand);
}

.aa-home-hero::before {
    position: absolute;
    top: -260px;
    right: -170px;
    width: 570px;
    height: 570px;
    border: 1px solid rgba(103, 61, 230, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(103, 61, 230, .045), 0 0 0 75px rgba(103, 61, 230, .035);
    content: "";
}

.aa-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .94fr);
    align-items: center;
    gap: 68px;
}

.aa-hero-copy {
    position: relative;
    z-index: 1;
}

.aa-hero-media {
    position: relative;
    min-height: 500px;
    margin: 0;
}

.aa-hero-media::before {
    position: absolute;
    top: 34px;
    right: -17px;
    bottom: 12px;
    left: 22px;
    border-radius: 34px;
    background: var(--aa-lilac-strong);
    content: "";
    transform: rotate(4deg);
}

.aa-hero-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 500px;
    border-radius: 34px;
    object-fit: cover;
    box-shadow: var(--aa-shadow);
}

.aa-image-note {
    position: absolute;
    z-index: 2;
    right: -18px;
    bottom: -2px;
    display: grid;
    max-width: 260px;
    gap: 5px;
    padding: 17px 19px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    background: rgba(11, 19, 43, .92);
    color: var(--aa-white);
    box-shadow: 0 15px 35px rgba(11, 19, 43, .22);
}

.aa-image-note strong {
    font-size: 17px;
    letter-spacing: -.03em;
}

.aa-image-note span {
    color: #bbc4d8;
    font-size: 12px;
    line-height: 1.45;
}

.aa-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 39px;
    padding-top: 19px;
    border-top: 1px solid var(--aa-line);
    color: var(--aa-muted);
    font-size: 13px;
    font-weight: 700;
}

.aa-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.aa-proof i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--aa-teal);
}

.aa-proof-band {
    padding: 23px 0;
    border-top: 1px solid var(--aa-line);
    border-bottom: 1px solid var(--aa-line);
    background: var(--aa-cream);
}

.aa-proof-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.aa-proof-band strong {
    max-width: 300px;
    font-size: 15px;
    letter-spacing: -.025em;
}

.aa-proof-band-inner > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.aa-proof-band-inner > div span,
.aa-contact-pills span {
    padding: 9px 13px;
    border: 1px solid var(--aa-line);
    border-radius: 999px;
    color: var(--aa-muted);
    font-size: 12px;
    font-weight: 700;
}

.aa-section {
    padding: 104px 0;
}

.aa-section-light { background: var(--aa-cream); }
.aa-section-sand { background: var(--aa-sand); }
.aa-section-violet { background: var(--aa-lilac); }
.aa-section-navy { background: var(--aa-ink); color: var(--aa-white); }

.aa-heading {
    max-width: 710px;
}

.aa-heading > p:not(.aa-kicker) {
    max-width: 630px;
    margin-bottom: 0;
    color: var(--aa-muted);
    font-size: 17px;
    line-height: 1.65;
}

.aa-heading-inverse h2 { color: var(--aa-white); }
.aa-heading-inverse .aa-kicker { color: var(--aa-lilac-strong) !important; }
.aa-heading-inverse > p:not(.aa-kicker) { color: #bbc4d8; }

.aa-step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 48px;
}

.aa-step {
    min-height: 225px;
    padding: 27px;
    border: 1px solid var(--aa-line);
    border-radius: var(--aa-radius);
    background: var(--aa-sand);
}

.aa-step > span,
.aa-values article > span,
.aa-admission-grid article > span,
.aa-method-steps article > span {
    display: inline-grid;
    width: 39px;
    height: 39px;
    place-items: center;
    margin-bottom: 31px;
    border-radius: 12px;
    background: var(--aa-lilac);
    color: var(--aa-teal);
    font-size: 12px;
    font-weight: 700;
}

.aa-step h3 { margin-bottom: 8px; }
.aa-step p { margin-bottom: 0; color: var(--aa-muted); font-size: 14px; }

.aa-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 29px;
    color: var(--aa-violet-dark) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.aa-text-link:hover { gap: 13px; }

.aa-path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 46px;
}

.aa-path-card {
    display: flex;
    min-height: 375px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--aa-radius);
    background: var(--aa-ink-soft);
    color: var(--aa-white);
    text-decoration: none !important;
    transition: transform .22s ease, border-color .22s ease;
}

.aa-path-card:hover {
    border-color: rgba(222, 210, 255, .8);
    transform: translateY(-5px);
}

.aa-path-card > img {
    display: block;
    width: 100%;
    height: 184px;
    object-fit: cover;
}

.aa-path-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 22px 23px;
}

.aa-path-body small,
.aa-program-card small {
    display: block;
    margin-bottom: 12px;
    color: var(--aa-lilac-strong);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aa-path-body strong {
    margin-bottom: 8px;
    font-size: 21px;
    letter-spacing: -.035em;
}

.aa-path-body > span {
    color: #bbc4d8;
    font-size: 14px;
    line-height: 1.55;
}

/* Moodle catalogue cards keep the course content server-side, while showing
 * real Agir Africa photography whenever Moodle has no cover image. */
.aa-course-catalog-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-top: 42px;
}

.aa-course-catalog-head:first-child { margin-top: 0; }

.aa-course-catalog-status {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    color: var(--aa-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
}

.aa-course-catalog-status i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--aa-violet);
    box-shadow: 0 0 0 4px rgba(103, 61, 230, .12);
}

.aa-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.aa-course-card {
    display: flex;
    min-height: 398px;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--aa-line);
    border-radius: 20px;
    background: var(--aa-cream);
    color: var(--aa-ink);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.aa-course-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--aa-lilac);
}

.aa-course-card-media::after {
    position: absolute;
    inset: 0;
    background: rgba(27, 18, 56, .06);
    content: "";
    pointer-events: none;
}

.aa-course-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.aa-course-card:hover .aa-course-card-media img { transform: scale(1.04); }

.aa-course-card-body {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    padding: 22px 24px 24px;
}

.aa-course-card:hover {
    border-color: var(--aa-violet);
    box-shadow: 0 14px 30px rgba(27, 18, 56, .12);
    transform: translateY(-4px);
}

.aa-section-navy .aa-course-card {
    border-color: rgba(255, 255, 255, .14);
    background: var(--aa-ink-soft);
    color: var(--aa-white);
}

.aa-section-navy .aa-course-card:hover { border-color: var(--aa-lilac-strong); }

.aa-course-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 21px;
}

.aa-course-number {
    color: var(--aa-violet);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.aa-section-navy .aa-course-number { color: var(--aa-lilac-strong); }

.aa-course-category {
    max-width: 72%;
    color: var(--aa-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.35;
    text-align: right;
    text-transform: uppercase;
}

.aa-section-navy .aa-course-category { color: #cfc8e6; }

.aa-course-card h3 {
    margin-bottom: 10px;
    font-size: clamp(19px, 2.1vw, 25px);
    line-height: 1.13;
}

.aa-section-navy .aa-course-card h3 { color: var(--aa-white); }

.aa-course-card p {
    margin-bottom: 18px;
    color: var(--aa-muted);
    font-size: 14px;
    line-height: 1.55;
}

.aa-section-navy .aa-course-card p { color: #cfc8e6; }
.aa-section-navy .aa-course-catalog-status { color: #cfc8e6; }

.aa-course-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--aa-violet-dark) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.aa-course-link:hover { gap: 12px; }
.aa-section-navy .aa-course-link { color: var(--aa-lilac-strong) !important; }

.aa-catalog-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding: 20px 22px;
    border: 1px dashed var(--aa-line);
    border-radius: 18px;
    background: var(--aa-cream);
    color: var(--aa-muted);
    font-size: 14px;
    line-height: 1.5;
}

.aa-section-navy .aa-catalog-empty {
    border-color: rgba(255, 255, 255, .2);
    background: var(--aa-ink-soft);
    color: #cfc8e6;
}

.aa-section-action { margin-top: 28px; }

.aa-mission-grid,
.aa-two-col,
.aa-contact-grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    align-items: start;
    gap: 70px;
}

.aa-mission-card,
.aa-callout {
    padding: 36px;
    border-radius: 30px;
    background: var(--aa-lilac);
}

.aa-mission-card h2 { font-size: clamp(32px, 4vw, 46px); }
.aa-mission-card > p:last-child,
.aa-callout > p:last-child { margin-bottom: 0; color: #544f50; font-size: 18px; line-height: 1.45; }

.aa-cta-section { padding-top: 20px; background: var(--aa-sand); }

.aa-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 48px 54px;
    border-radius: 30px;
    background: var(--aa-lilac-strong);
}

.aa-cta-card h2 { margin-bottom: 9px; }
.aa-cta-card p:not(.aa-kicker) { margin-bottom: 0; color: #544f50; font-size: 16px; }

.aa-page-hero {
    position: relative;
    overflow: hidden;
    padding: 73px 0 72px;
    background: var(--aa-sand);
}

.aa-page-hero::after {
    position: absolute;
    right: -100px;
    bottom: -210px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(31, 138, 138, .2);
    border-radius: 50%;
    content: "";
}

.aa-page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .7fr);
    align-items: center;
    gap: 65px;
}

.aa-page-media { position: relative; margin: 0; }
.aa-page-media::before { position: absolute; inset: 14px -12px -14px 12px; border-radius: 28px; background: var(--aa-lilac-strong); content: ""; transform: rotate(3deg); }
.aa-page-media img { position: relative; display: block; width: 100%; height: 390px; border-radius: 28px; object-fit: cover; box-shadow: var(--aa-shadow); }

.aa-two-col { align-items: center; }
.aa-two-col-inverse { align-items: center; }
.aa-two-col-inverse h2 { color: var(--aa-white); }

.aa-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 29px 42px;
    margin-top: 39px;
}

.aa-values article,
.aa-admission-grid article { padding-top: 18px; border-top: 1px solid var(--aa-line); }
.aa-values article > span,
.aa-admission-grid article > span { width: auto; height: auto; margin: 0 0 16px; background: transparent; color: var(--aa-violet-dark); place-items: initial; font-size: 12px; }
.aa-values h3,
.aa-admission-grid h3 { margin-bottom: 8px; font-size: 19px; }
.aa-values p,
.aa-admission-grid p { margin-bottom: 0; color: var(--aa-muted); font-size: 14px; line-height: 1.55; }

.aa-program-grid {
    display: grid;
    gap: 18px;
    margin-top: 47px;
}

.aa-program-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    overflow: hidden;
    border: 1px solid var(--aa-line);
    border-radius: var(--aa-radius);
    background: var(--aa-sand);
}

.aa-program-card > img { width: 100%; height: 100%; min-height: 285px; object-fit: cover; }
.aa-program-card > div { padding: 28px 31px; }
.aa-program-card h3 { margin-bottom: 9px; font-size: 26px; }
.aa-program-card p { max-width: 630px; margin-bottom: 18px; color: var(--aa-muted); font-size: 15px; }
.aa-program-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--aa-ink); font-size: 14px; font-weight: 600; }
.aa-program-card li { display: flex; align-items: baseline; gap: 9px; }
.aa-program-card li::before { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--aa-teal); content: ""; }

.aa-mini-list { display: grid; gap: 13px; }
.aa-mini-list > div { padding: 20px 21px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: var(--aa-ink-soft); }
.aa-mini-list span { display: block; margin-bottom: 10px; color: var(--aa-lilac-strong); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.aa-mini-list strong { display: block; color: var(--aa-white); font-size: 17px; letter-spacing: -.025em; }
.aa-mini-list p { margin: 4px 0 0; color: #bbc4d8; font-size: 13px; }

.aa-admission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; margin-top: 45px; }
.aa-admission-grid article { min-height: 210px; padding: 20px 21px; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); background: var(--aa-sand); }
.aa-admission-grid article > span { margin-bottom: 32px; }

.aa-faq { display: grid; gap: 12px; }
.aa-faq details { border-bottom: 1px solid var(--aa-line); }
.aa-faq summary { padding: 18px 0; cursor: pointer; font-size: 17px; font-weight: 700; list-style: none; }
.aa-faq summary::-webkit-details-marker { display: none; }
.aa-faq summary::after { float: right; color: var(--aa-violet-dark); content: "+"; font-size: 23px; line-height: 1; }
.aa-faq details[open] summary::after { content: "–"; }
.aa-faq details p { max-width: 520px; margin: 0 0 20px; color: var(--aa-muted); font-size: 14px; line-height: 1.6; }

.aa-method-steps { display: grid; gap: 0; margin-top: 47px; }
.aa-method-steps article { display: grid; grid-template-columns: 64px 1fr; gap: 21px; padding: 24px 0; border-top: 1px solid var(--aa-line); }
.aa-method-steps article:last-child { border-bottom: 1px solid var(--aa-line); }
.aa-method-steps article > span { margin: 0; background: var(--aa-lilac); }
.aa-method-steps h3 { margin-bottom: 7px; font-size: 25px; }
.aa-method-steps p { max-width: 600px; margin-bottom: 0; color: var(--aa-muted); font-size: 15px; }

.aa-contact-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.aa-contact-pills span { border-color: rgba(11, 19, 43, .15); background: rgba(255, 255, 255, .35); color: var(--aa-ink); }
.aa-contact-intro h2 { font-size: clamp(31px, 4vw, 47px); }
.aa-contact-list { display: grid; gap: 20px; margin-top: 36px; }
.aa-contact-list > div { display: flex; align-items: flex-start; gap: 13px; }
.aa-contact-list > div > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: var(--aa-lilac); color: var(--aa-violet-dark); font-weight: 700; }
.aa-contact-list strong { display: block; margin: 0 0 4px; font-size: 16px; }
.aa-contact-list p { max-width: 310px; margin: 0; color: var(--aa-muted); font-size: 13px; }
.aa-form-card { padding: 31px; border: 1px solid var(--aa-line); border-radius: 27px; background: var(--aa-sand); }
.aa-contact-form-wrap { width: 100%; }
.aa-form-notice { margin-bottom: 19px; padding: 13px 15px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.aa-form-success { background: #dff1ea; color: #155746; }
.aa-form-error { background: #fbe0d9; color: #832d1c; }
.aa-contact-form { display: grid; gap: 17px; }
.aa-contact-form label { display: grid; gap: 7px; color: var(--aa-ink); font-size: 13px; font-weight: 700; }
.aa-contact-form label > span,
.aa-contact-form label > span[aria-hidden="true"] { color: var(--aa-violet-dark); }
.aa-contact-form input:not([type="checkbox"]),
.aa-contact-form select,
.aa-contact-form textarea { width: 100%; margin: 0; padding: 13px 14px; border: 1px solid #d7d2c9; border-radius: 11px; background: var(--aa-white); color: var(--aa-ink); font: inherit; font-size: 14px; }
.aa-contact-form input:not([type="checkbox"]):focus,
.aa-contact-form select:focus,
.aa-contact-form textarea:focus { border-color: var(--aa-teal); box-shadow: 0 0 0 3px rgba(31, 138, 138, .13); outline: none; }
.aa-contact-form textarea { min-height: 132px; resize: vertical; }
.aa-form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.aa-checkbox { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 9px !important; color: var(--aa-muted) !important; font-size: 12px !important; font-weight: 600 !important; line-height: 1.4; }
.aa-checkbox input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--aa-teal); }
.aa-contact-form .aa-button { width: max-content; border: 0; cursor: pointer; }
.aa-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }

.aa-contact-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.aa-contact-bottom h2 { margin-bottom: 0; }

/* The starter theme stretches its header button to the full builder row and
 * inherits a low-contrast dark palette. Reset that builder chrome here so the
 * shared header has one stable, readable lockup on every branded page. */
.aa-site-active #masthead.site-header {
    position: relative;
    z-index: 20;
    min-height: 0 !important;
    height: auto !important;
    background: var(--aa-cream) !important;
    color: var(--aa-ink) !important;
}

.aa-site-active #masthead .ast-main-header-wrap,
.aa-site-active #masthead .ast-primary-header-bar,
.aa-site-active #masthead .site-primary-header-wrap,
.aa-site-active #masthead .ast-builder-grid-row,
.aa-site-active #masthead .site-header-section,
.aa-site-active #masthead .ast-header-button-1 {
    min-height: 0 !important;
    height: auto !important;
}

.aa-site-active #masthead .ast-primary-header-bar {
    border-bottom: 1px solid var(--aa-line) !important;
    background: var(--aa-cream) !important;
}

.aa-site-active #masthead .site-primary-header-wrap {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 !important;
}

.aa-site-active #masthead .ast-builder-grid-row {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    column-gap: clamp(24px, 3.8vw, 56px);
    align-items: center;
    min-height: 88px !important;
}

.aa-site-active #masthead .site-header-primary-section-left,
.aa-site-active #masthead .site-header-primary-section-center,
.aa-site-active #masthead .site-header-primary-section-right {
    min-width: 0;
    align-items: center;
}

.aa-site-active #masthead .site-header-primary-section-center { justify-content: center; }
.aa-site-active #masthead .site-header-primary-section-right { justify-content: flex-end; }

.aa-site-active #masthead .custom-logo-link {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-height: 56px;
    gap: 12px;
    padding: 2px 0;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--aa-ink);
    text-decoration: none;
}

.aa-site-active #masthead .custom-logo {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.aa-site-active #masthead .aa-logo-lockup {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.aa-site-active #masthead .aa-logo-wordmark {
    color: var(--aa-ink);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1;
    white-space: nowrap;
}

.aa-site-active #masthead .aa-logo-tagline {
    color: var(--aa-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .015em;
    line-height: 1.2;
    white-space: nowrap;
}

.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li > a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 10px !important;
    border-radius: 9px;
    color: var(--aa-ink) !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: color .15s ease;
}

.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li > a:hover,
.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li > a:focus-visible {
    background: rgba(103, 61, 230, .07);
    color: var(--aa-violet-dark) !important;
}

.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li.current-menu-item > a,
.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li > a[aria-current="page"],
.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li > a[aria-current="location"] {
    background: transparent;
    color: var(--aa-violet-dark) !important;
    font-weight: 600;
}

.aa-site-active #masthead #primary-site-navigation-desktop .aa-menu-cta { display: none !important; }
.aa-site-active #masthead:not(:has(.ast-custom-button-link)) #primary-site-navigation-desktop .aa-menu-cta { display: flex !important; }

.aa-site-active #masthead .ast-header-button-1 {
    display: flex !important;
    align-items: center;
    width: auto !important;
    padding: 0 0 0 8px !important;
}

.aa-site-active #masthead .ast-header-button-1 .ast-builder-button-wrap {
    display: flex;
    align-items: center;
    height: auto !important;
}

.aa-site-active #masthead .ast-header-button-1 .ast-custom-button-link {
    display: inline-flex !important;
    min-height: 46px;
    align-items: center;
    gap: 9px;
    padding: 0 17px !important;
    border-radius: 999px;
    background: var(--aa-violet) !important;
    color: var(--aa-white) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(103, 61, 230, .2);
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.aa-site-active #masthead .ast-header-button-1 .ast-custom-button-link:hover,
.aa-site-active #masthead .ast-header-button-1 .ast-custom-button-link:focus-visible {
    background: var(--aa-violet-dark) !important;
    box-shadow: 0 10px 22px rgba(75, 43, 180, .25);
    color: var(--aa-white) !important;
    transform: translateY(-1px);
}

.aa-site-active #masthead .ast-header-button-1 .ast-custom-button {
    display: inline !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit;
    line-height: 1;
}

.aa-site-active #masthead .ast-header-button-1 .menu-link { display: none !important; }

.aa-site-active #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
    min-height: 76px !important;
}

.aa-site-active #masthead .ast-mobile-header-wrap .ast-builder-grid-row {
    min-height: 76px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 14px;
}

.aa-site-active #masthead .ast-mobile-header-wrap .site-primary-header-wrap {
    width: 100%;
    padding: 0 18px !important;
}

.aa-site-active #masthead .ast-mobile-header-wrap .site-branding { padding: 10px 0; }
.aa-site-active #masthead .ast-mobile-header-wrap .custom-logo-link { min-height: 50px; }

.aa-site-active #masthead .ast-mobile-header-wrap .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid rgba(11, 19, 43, .16) !important;
    border-radius: 12px;
    background: var(--aa-white) !important;
    color: var(--aa-ink) !important;
}

.aa-site-active #masthead .ast-mobile-header-wrap .menu-toggle .ast-mobile-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.aa-site-active #masthead .ast-mobile-header-content {
    border-top: 1px solid var(--aa-line);
    background: var(--aa-cream) !important;
    box-shadow: 0 18px 34px rgba(11, 19, 43, .12);
}

.aa-site-active #masthead .ast-mobile-header-content .main-header-menu {
    display: grid;
    gap: 3px;
    padding: 14px 18px 18px;
}

.aa-site-active #masthead .ast-mobile-header-content .main-header-menu > li > a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0 13px !important;
    border-radius: 0;
    color: var(--aa-ink) !important;
    font-size: 15px;
    font-weight: 600;
}

.aa-site-active #masthead .ast-mobile-header-content .main-header-menu > li > a:hover,
.aa-site-active #masthead .ast-mobile-header-content .main-header-menu > li > a:focus-visible {
    background: rgba(103, 61, 230, .07);
    color: var(--aa-violet-dark) !important;
}

.aa-site-active #masthead .ast-mobile-header-content .main-header-menu > li.current-menu-item > a {
    border-inline-start: 0;
    background: transparent;
    color: var(--aa-violet-dark) !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
}

.aa-site-active #masthead .ast-mobile-header-content .main-header-menu > .aa-menu-cta > a {
    justify-content: center;
    margin-top: 8px;
    background: var(--aa-violet) !important;
    color: var(--aa-white) !important;
    white-space: nowrap;
}

/* Keyboard focus is independent of the destination indicator. */
.aa-site-active #masthead a:focus-visible,
.aa-site-active #masthead button:focus-visible {
    outline: 2px solid var(--aa-violet);
    outline-offset: 4px;
}
.aa-site-active #masthead .aa-header-cta[aria-current] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.aa-footer,
.aa-footer * {
    box-sizing: border-box;
}
.aa-footer {
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: var(--aa-ink);
    color: #d9dfeb;
}
.aa-footer-main {
    display: grid;
    grid-template-columns: minmax(250px, 1.65fr) repeat(2, minmax(150px, 1fr)) minmax(210px, 1.25fr);
    gap: 42px;
    padding-top: 70px;
    padding-bottom: 62px;
}
.aa-footer-brand { max-width: 330px; }
.aa-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--aa-white) !important;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.04em;
    text-decoration: none;
}
.aa-footer-logo-mark {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
}
.aa-footer-logo-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.aa-footer-brand > p,
.aa-footer-column > p { margin: 20px 0 0; color: #aeb8ca; font-size: 14px; line-height: 1.7; }
.aa-footer-contact-link,
.aa-footer-email,
.aa-footer-arrow-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 19px; color: var(--aa-white) !important; font-size: 13px; font-weight: 700; text-decoration: none; }
.aa-footer-contact-link span,
.aa-footer-arrow-link span { color: var(--aa-violet); font-size: 16px; }
.aa-footer-email { display: block; margin-top: 9px; color: #aeb8ca !important; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.aa-footer-column h2 { margin: 2px 0 18px; color: var(--aa-white); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.aa-footer-column ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.aa-footer-column li { margin: 0; padding: 0; }
.aa-footer-column li a { color: #aeb8ca !important; font-size: 14px; text-decoration: none; }
.aa-footer-column a:hover,
.aa-footer-column a:focus-visible,
.aa-footer-brand a:hover,
.aa-footer-brand a:focus-visible { color: var(--aa-lilac-strong) !important; }
.aa-footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.aa-footer-social a { color: #aeb8ca !important; font-size: 12px; text-decoration: none; }
.aa-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.aa-footer-bottom p { margin: 0; color: #8793a8; font-size: 12px; }
.aa-footer-legal { display: flex; flex-wrap: wrap; gap: 17px; }
.aa-footer-legal a { color: #aeb8ca !important; font-size: 12px; text-decoration: none; }

/* The transparent PNG stays legible on both light and dark theme headers;
 * the mark is integrated into the header instead of sitting in a tile. */
/* Dark mode is opt-in through the same classes/attribute used by common
 * WordPress theme toggles while the surrounding header switches to ink with
 * a fully contrasted menu. */
body.aa-site-active.dark #masthead.site-header,
body.aa-site-active.is-dark #masthead.site-header,
body.aa-site-active[data-theme="dark"] #masthead.site-header,
body.aa-site-active .dark #masthead.site-header {
    background: var(--aa-ink) !important;
    color: var(--aa-white) !important;
}

body.aa-site-active.dark #masthead .ast-primary-header-bar,
body.aa-site-active.is-dark #masthead .ast-primary-header-bar,
body.aa-site-active[data-theme="dark"] #masthead .ast-primary-header-bar,
body.aa-site-active .dark #masthead .ast-primary-header-bar {
    border-bottom-color: rgba(255, 255, 255, .16) !important;
    background: var(--aa-ink) !important;
}

body.aa-site-active.dark #masthead #primary-site-navigation-desktop .main-header-menu > li > a,
body.aa-site-active.is-dark #masthead #primary-site-navigation-desktop .main-header-menu > li > a,
body.aa-site-active[data-theme="dark"] #masthead #primary-site-navigation-desktop .main-header-menu > li > a,
body.aa-site-active .dark #masthead #primary-site-navigation-desktop .main-header-menu > li > a {
    color: #f7f4ff !important;
}

body.aa-site-active.dark #masthead .aa-logo-wordmark,
body.aa-site-active.is-dark #masthead .aa-logo-wordmark,
body.aa-site-active[data-theme="dark"] #masthead .aa-logo-wordmark,
body.aa-site-active .dark #masthead .aa-logo-wordmark { color: var(--aa-white); }

body.aa-site-active.dark #masthead .aa-logo-tagline,
body.aa-site-active.is-dark #masthead .aa-logo-tagline,
body.aa-site-active[data-theme="dark"] #masthead .aa-logo-tagline,
body.aa-site-active .dark #masthead .aa-logo-tagline { color: #c7d0dc; }

body.aa-site-active.dark #masthead .custom-logo-link,
body.aa-site-active.is-dark #masthead .custom-logo-link,
body.aa-site-active[data-theme="dark"] #masthead .custom-logo-link,
body.aa-site-active .dark #masthead .custom-logo-link {
    background: transparent !important;
    box-shadow: none;
}

body.aa-site-active.dark #masthead .ast-mobile-header-content,
body.aa-site-active.is-dark #masthead .ast-mobile-header-content,
body.aa-site-active[data-theme="dark"] #masthead .ast-mobile-header-content,
body.aa-site-active .dark #masthead .ast-mobile-header-content { background: var(--aa-ink) !important; }

body.aa-site-active.dark #masthead .ast-mobile-header-content .main-header-menu > li > a,
body.aa-site-active.is-dark #masthead .ast-mobile-header-content .main-header-menu > li > a,
body.aa-site-active[data-theme="dark"] #masthead .ast-mobile-header-content .main-header-menu > li > a,
body.aa-site-active .dark #masthead .ast-mobile-header-content .main-header-menu > li > a { color: #f7f4ff !important; }

body.aa-site-active.dark #masthead .ast-mobile-header-wrap .menu-toggle,
body.aa-site-active.is-dark #masthead .ast-mobile-header-wrap .menu-toggle,
body.aa-site-active[data-theme="dark"] #masthead .ast-mobile-header-wrap .menu-toggle,
body.aa-site-active .dark #masthead .ast-mobile-header-wrap .menu-toggle {
    border-color: rgba(255, 255, 255, .22) !important;
    background: var(--aa-ink-soft) !important;
    color: var(--aa-white) !important;
}

@media (max-width: 980px) {
    .aa-hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .aa-hero-media { width: min(680px, 100%); min-height: 0; }
    .aa-page-hero-grid { grid-template-columns: 1fr; gap: 42px; }
    .aa-page-media { width: min(630px, 100%); }
    .aa-mission-grid, .aa-two-col, .aa-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .aa-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .aa-course-catalog-head { align-items: flex-start; flex-direction: column; gap: 7px; }
    .aa-admission-grid { grid-template-columns: repeat(2, 1fr); }
    .aa-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 30px; }
    .aa-footer-brand { max-width: none; }
}

@media (max-width: 720px) {
    .aa-wrap { width: min(100% - 30px, 570px); }
    .aa-home-hero { padding: 58px 0 55px; }
    .aa-hero-media img { height: 385px; border-radius: 27px; }
    .aa-hero-media { min-height: 390px; }
    .aa-hero-media::before { border-radius: 27px; }
    .aa-image-note { right: -5px; bottom: -10px; max-width: 230px; padding: 14px 15px; }
    .aa-proof-band-inner { align-items: flex-start; flex-direction: column; }
    .aa-proof-band-inner > div { justify-content: flex-start; }
    .aa-section { padding: 72px 0; }
    .aa-step-grid, .aa-path-grid { grid-template-columns: 1fr; margin-top: 31px; }
    .aa-course-grid { grid-template-columns: 1fr; }
    .aa-course-card { min-height: 0; }
    .aa-course-card-body { padding: 20px 21px 21px; }
    .aa-catalog-empty { align-items: flex-start; flex-direction: column; }
    .aa-step { min-height: 0; }
    .aa-path-card { min-height: 0; }
    .aa-path-card > img { height: 220px; }
    .aa-values { grid-template-columns: 1fr; gap: 22px; }
    .aa-program-card { grid-template-columns: 1fr; }
    .aa-program-card > img { height: 230px; min-height: 0; }
    .aa-program-card > div { padding: 24px 22px; }
    .aa-admission-grid { grid-template-columns: 1fr; margin-top: 31px; }
    .aa-admission-grid article { min-height: 0; }
    .aa-cta-card { align-items: flex-start; flex-direction: column; padding: 32px 26px; }
    .aa-page-hero { padding: 57px 0 60px; }
    .aa-page-media img { height: 320px; border-radius: 24px; }
    .aa-form-row { grid-template-columns: 1fr; }
    .aa-form-card { padding: 22px 18px; }
    .aa-contact-bottom { align-items: flex-start; flex-direction: column; }
    .aa-site-active .site-header .main-header-menu > .menu-item > a { padding: 9px 12px; }
    .aa-site-active .custom-logo-link { min-height: 48px; padding: 2px 0; border-radius: 0; }
    .aa-site-active .custom-logo { width: 40px; height: 40px; }
    .aa-footer-main { grid-template-columns: 1fr; gap: 31px; padding-top: 54px; padding-bottom: 46px; }
    .aa-footer-bottom { align-items: flex-start; flex-direction: column; gap: 11px; }
}

@media (max-width: 430px) {
    .aa-site-active #masthead .aa-logo-tagline { display: none; }
    .aa-site-active #masthead .custom-logo-link { min-height: 48px; padding: 2px 0; }
    .aa-site-active #masthead .custom-logo { width: 40px; height: 40px; }
    .aa-site-active #masthead .aa-logo-wordmark { font-size: 17px; }
}

/* 2.0 — Magazine des savoirs.
 * The homepage follows an editorial rhythm while inner pages keep the same
 * tokens and components. Motion is progressive enhancement in site.js. */
.aa-home {
    background: var(--aa-white);
}

.aa-home .aa-wrap {
    width: min(1240px, calc(100% - 56px));
}

.aa-home-hero {
    padding: 30px 0 0;
    overflow: hidden;
    background: var(--aa-white);
}

.aa-home-hero::before {
    display: none;
}

.aa-editorial-hero {
    display: grid;
    grid-template-columns: minmax(330px, .82fr) minmax(500px, 1.28fr) minmax(130px, .3fr);
    align-items: stretch;
    gap: 0;
    min-height: 610px;
}

.aa-editorial-hero .aa-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 46px 44px 0;
}

.aa-edition {
    margin: 0 0 24px;
    color: var(--aa-violet-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.aa-home .aa-editorial-hero h1 {
    max-width: 8ch;
    margin-bottom: 24px;
    color: #111018;
    font-family: var(--aa-font);
    font-size: clamp(58px, 5.45vw, 88px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: .94;
}

.aa-home .aa-editorial-hero h1 em {
    display: block;
    color: var(--aa-violet);
}

.aa-editorial-hero .aa-lead {
    max-width: 34rem;
    font-size: 16px;
    line-height: 1.7;
}

.aa-editorial-hero .aa-actions {
    margin-top: 26px;
}

.aa-editorial-hero .aa-proof {
    gap: 13px 18px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--aa-line);
}

.aa-editorial-hero .aa-proof span {
    font-size: 11px;
}

.aa-editorial-hero .aa-hero-media {
    min-height: 610px;
    margin: 0;
    overflow: hidden;
    background: var(--aa-ink);
}

.aa-editorial-hero .aa-hero-media::before {
    display: none;
}

.aa-editorial-hero .aa-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 610px;
    border-radius: 0;
    object-fit: cover;
    object-position: 52% center;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.aa-editorial-hero .aa-hero-media:hover img {
    transform: scale(1.025);
}

.aa-hero-index {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding-left: 24px;
    border-left: 1px solid var(--aa-line);
}

.aa-hero-index > span {
    margin-bottom: 24px;
    color: var(--aa-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.6;
    text-transform: uppercase;
}

.aa-hero-index a {
    display: grid;
    gap: 6px;
    min-height: 98px;
    align-content: center;
    padding: 16px 8px 16px 0;
    border-top: 1px solid var(--aa-line);
    color: var(--aa-ink) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
}

.aa-hero-index a:last-child {
    border-bottom: 1px solid var(--aa-line);
}

.aa-hero-index a b {
    color: var(--aa-violet);
    font-size: 11px;
}

.aa-hero-index a:hover,
.aa-hero-index a:focus-visible {
    color: var(--aa-violet-dark) !important;
    transform: translateX(4px);
}

.aa-proof-band {
    border-top: 1px solid #eee7df;
    border-bottom: 1px solid #eee7df;
    background: #fbf8f4;
}

.aa-proof-band-inner {
    min-height: 104px;
}

.aa-proof-band-inner strong {
    max-width: 280px;
    color: var(--aa-ink);
    font-size: 14px;
    line-height: 1.45;
}

.aa-proof-band-inner > div {
    gap: 0;
}

.aa-proof-band-inner > div span {
    min-width: 190px;
    padding: 14px 28px;
    border: 0;
    border-left: 1px solid #dfd8cf;
    border-radius: 0;
    background: transparent;
    color: var(--aa-ink);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.aa-course-editorial {
    padding: 82px 0 94px;
    background: var(--aa-white);
}

.aa-editorial-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--aa-violet);
}

.aa-editorial-heading > p {
    margin: 0;
    color: var(--aa-violet-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.aa-editorial-heading h2 {
    margin: 0;
    color: var(--aa-ink);
    font-family: var(--aa-font);
    font-size: clamp(34px, 3.2vw, 50px);
    font-weight: 500;
    letter-spacing: -.04em;
}

.aa-editorial-heading > a {
    color: var(--aa-violet-dark) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.aa-course-editorial .aa-course-catalog-head {
    margin-bottom: 18px;
    color: var(--aa-muted);
    font-size: 12px;
}

.aa-course-editorial .aa-course-catalog-status {
    color: var(--aa-muted);
}

.aa-course-editorial .aa-course-grid {
    display: grid;
    grid-template-columns: 1.28fr repeat(3, minmax(0, .72fr));
    grid-template-rows: repeat(2, minmax(315px, auto));
    gap: 0;
    border-top: 1px solid var(--aa-line);
    border-left: 1px solid var(--aa-line);
}

.aa-course-editorial .aa-course-card {
    min-width: 0;
    min-height: 0;
    border: 0;
    border-right: 1px solid var(--aa-line);
    border-bottom: 1px solid var(--aa-line);
    border-radius: 0;
    background: var(--aa-white);
    box-shadow: none;
    color: var(--aa-ink);
    overflow: hidden;
    transform: none;
}

.aa-course-editorial .aa-course-card-1 {
    grid-row: 1 / span 2;
}

.aa-course-editorial .aa-course-card-media {
    height: 152px;
    background: var(--aa-lilac);
}

.aa-course-editorial .aa-course-card-media::after {
    display: none;
}

.aa-course-editorial .aa-course-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aa-course-editorial .aa-course-card-1 .aa-course-card-media {
    height: 386px;
}

.aa-course-editorial .aa-course-card-body {
    min-height: 160px;
    padding: 18px 18px 19px;
}

.aa-course-editorial .aa-course-card-1 .aa-course-card-body {
    min-height: 245px;
    padding: 25px 26px 28px;
    background: var(--aa-ink);
}

.aa-course-editorial .aa-course-card:hover {
    border-color: var(--aa-violet);
    box-shadow: inset 0 0 0 2px var(--aa-violet);
    transform: none;
}

.aa-course-editorial .aa-course-card:hover .aa-course-card-media img {
    transform: scale(1.035);
}

.aa-course-editorial .aa-course-card-top {
    margin-bottom: 12px;
}

.aa-course-editorial .aa-course-number,
.aa-course-editorial .aa-course-category {
    color: var(--aa-violet-dark);
    font-size: 9px;
    letter-spacing: .1em;
}

.aa-course-editorial .aa-course-card-1 .aa-course-number,
.aa-course-editorial .aa-course-card-1 .aa-course-category,
.aa-course-editorial .aa-course-card-1 .aa-course-link {
    color: var(--aa-lilac-strong) !important;
}

.aa-course-editorial .aa-course-card h3 {
    margin-bottom: 8px;
    font-family: var(--aa-font);
    font-size: clamp(18px, 1.5vw, 25px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.aa-course-editorial .aa-course-card-1 h3 {
    color: var(--aa-white);
    font-size: clamp(28px, 2.9vw, 43px);
}

.aa-course-editorial .aa-course-card p {
    display: -webkit-box;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--aa-muted);
    font-size: 11px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.aa-course-editorial .aa-course-card-1 p {
    color: #d7d0e9;
    font-size: 13px;
    -webkit-line-clamp: 4;
}

.aa-course-editorial .aa-course-link {
    margin-top: auto;
    color: var(--aa-ink) !important;
    font-size: 11px;
}

.aa-method-editorial {
    padding: 78px 0;
    border-top: 1px solid var(--aa-line);
    background: var(--aa-white);
}

.aa-method-layout {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.65fr);
    gap: 58px;
    align-items: start;
}

.aa-method-intro {
    padding-left: 22px;
    border-left: 2px solid var(--aa-violet);
}

.aa-method-intro h2 {
    margin-bottom: 25px;
    font-family: var(--aa-font);
    font-size: clamp(34px, 3.6vw, 54px);
    font-weight: 500;
    letter-spacing: -.045em;
}

.aa-method-editorial .aa-step-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    margin: 42px 0 0;
}

.aa-method-editorial .aa-step-grid::before {
    position: absolute;
    top: 17px;
    right: 7%;
    left: 7%;
    height: 1px;
    background: var(--aa-line);
    content: "";
}

.aa-method-editorial .aa-step {
    position: relative;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.aa-method-editorial .aa-step > span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 50%;
    background: var(--aa-violet);
    color: var(--aa-white);
    font-size: 11px;
    font-weight: 700;
}

.aa-method-editorial .aa-step h3 {
    font-size: 17px;
    letter-spacing: -.025em;
}

.aa-method-editorial .aa-step p {
    color: var(--aa-muted);
    font-size: 12px;
    line-height: 1.65;
}

.aa-impact-story {
    background: #f5f1ec;
}

.aa-impact-grid {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    min-height: 405px;
}

.aa-impact-grid figure {
    min-height: 405px;
    margin: 0;
    overflow: hidden;
}

.aa-impact-grid figure img {
    width: 100%;
    height: 100%;
    min-height: 405px;
    object-fit: cover;
}

.aa-impact-grid blockquote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 58px 65px;
}

.aa-impact-grid blockquote > span {
    height: 50px;
    color: var(--aa-violet);
    font-family: var(--aa-font);
    font-size: 78px;
    line-height: 1;
}

.aa-impact-grid blockquote p {
    max-width: 740px;
    margin-bottom: 19px;
    color: #16121e;
    font-family: var(--aa-font);
    font-size: clamp(29px, 3vw, 47px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.06;
}

.aa-impact-grid blockquote cite {
    color: var(--aa-muted);
    font-size: 13px;
    font-style: normal;
}

.aa-impact-grid .aa-text-link {
    width: fit-content;
    margin-top: 26px;
}

.aa-campus-bridge {
    padding: 37px 0;
    background: var(--aa-violet);
    color: var(--aa-white);
}

.aa-campus-bridge .aa-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.aa-campus-bridge p {
    margin: 0 0 8px;
    color: #e8e1ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.aa-campus-bridge h2 {
    margin: 0 0 7px;
    color: var(--aa-white);
    font-family: var(--aa-font);
    font-size: clamp(30px, 3.25vw, 48px);
    font-weight: 500;
    letter-spacing: -.04em;
}

.aa-campus-bridge div > span {
    color: #e8e1ff;
    font-size: 14px;
}

.aa-button-gold {
    background: var(--aa-brand) !important;
    color: var(--aa-white) !important;
    box-shadow: 0 10px 24px rgba(27, 18, 56, .18);
}

.aa-button-gold:hover {
    background: var(--aa-brand-hover) !important;
    color: var(--aa-white) !important;
}

.aa-button-gold:active {
    background: var(--aa-brand-active) !important;
}

.aa-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s cubic-bezier(.2, .8, .2, 1) var(--aa-reveal-delay, 0ms),
        transform .55s cubic-bezier(.2, .8, .2, 1) var(--aa-reveal-delay, 0ms);
}

.aa-reveal.aa-reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.aa-button:active,
.aa-course-link:active,
.aa-text-link:active {
    transform: scale(.97);
}

@media (max-width: 1120px) {
    .aa-editorial-hero {
        grid-template-columns: minmax(310px, .85fr) minmax(430px, 1.15fr);
    }
    .aa-hero-index {
        display: none;
    }
    .aa-course-editorial .aa-course-grid {
        grid-template-columns: 1.2fr repeat(2, minmax(0, .8fr));
        grid-template-rows: repeat(3, minmax(280px, auto));
    }
    .aa-course-editorial .aa-course-card-1 {
        grid-row: 1 / span 2;
    }
}

@media (max-width: 820px) {
    .aa-home .aa-wrap {
        width: min(100% - 34px, 680px);
    }
    .aa-editorial-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .aa-editorial-hero .aa-hero-copy {
        padding: 52px 0 44px;
    }
    .aa-home .aa-editorial-hero h1 {
        max-width: 10ch;
        font-size: clamp(52px, 11vw, 76px);
    }
    .aa-editorial-hero .aa-hero-media,
    .aa-editorial-hero .aa-hero-media img {
        min-height: 460px;
    }
    .aa-proof-band-inner,
    .aa-proof-band-inner > div {
        align-items: stretch;
        flex-direction: column;
    }
    .aa-proof-band-inner {
        gap: 20px;
        padding-top: 26px;
        padding-bottom: 26px;
    }
    .aa-proof-band-inner > div span {
        min-width: 0;
        padding: 12px 0;
        border: 0;
        border-top: 1px solid #dfd8cf;
        text-align: left;
    }
    .aa-editorial-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 11px;
    }
    .aa-course-editorial .aa-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }
    .aa-course-editorial .aa-course-card-1 {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .aa-course-editorial .aa-course-card-1 .aa-course-card-media {
        height: 360px;
    }
    .aa-method-layout,
    .aa-impact-grid {
        grid-template-columns: 1fr;
    }
    .aa-method-layout {
        gap: 35px;
    }
    .aa-impact-grid blockquote {
        padding: 48px 34px 56px;
    }
    .aa-campus-bridge .aa-wrap {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .aa-editorial-hero .aa-hero-media,
    .aa-editorial-hero .aa-hero-media img {
        min-height: 350px;
        height: 350px;
    }
    .aa-editorial-hero .aa-proof {
        display: grid;
        grid-template-columns: 1fr;
    }
    .aa-course-editorial {
        padding: 64px 0 72px;
    }
    .aa-course-editorial .aa-course-grid {
        grid-template-columns: 1fr;
    }
    .aa-course-editorial .aa-course-card-1 {
        grid-column: auto;
    }
    .aa-course-editorial .aa-course-card-media,
    .aa-course-editorial .aa-course-card-1 .aa-course-card-media {
        height: 230px;
    }
    .aa-course-editorial .aa-course-card-1 .aa-course-card-body {
        min-height: 0;
    }
    .aa-method-editorial .aa-step-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 12px;
    }
    .aa-method-editorial .aa-step-grid::before {
        top: 0;
        bottom: 0;
        left: 18px;
        width: 1px;
        height: auto;
    }
    .aa-method-editorial .aa-step {
        min-height: 95px;
        padding-left: 58px;
    }
    .aa-method-editorial .aa-step > span {
        position: absolute;
        top: 0;
        left: 0;
    }
    .aa-impact-grid figure,
    .aa-impact-grid figure img {
        min-height: 300px;
        height: 300px;
    }
    .aa-impact-grid blockquote {
        padding: 40px 22px 48px;
    }
    .aa-impact-grid blockquote p {
        font-size: 30px;
    }
}

/* 2.1 — A living editorial system shared by every public page. */
.aa-home-hero .aa-wrap {
    width: min(1440px, 100%);
}

.aa-editorial-hero {
    grid-template-columns: minmax(420px, .92fr) minmax(520px, 1.08fr);
    min-height: 535px;
}

.aa-editorial-hero .aa-hero-copy {
    padding: 46px 48px 42px max(34px, calc((100vw - 1280px) / 2));
}

.aa-home .aa-editorial-hero h1 {
    max-width: 10ch;
    margin-bottom: 20px;
    font-size: clamp(54px, 5vw, 74px);
    line-height: .96;
}

.aa-home .aa-editorial-hero h1 em {
    margin-top: 2px;
}

.aa-editorial-hero .aa-lead {
    max-width: 30rem;
    color: #454054;
    font-size: 17px;
    line-height: 1.55;
}

.aa-editorial-hero .aa-hero-media,
.aa-editorial-hero .aa-hero-media img {
    min-height: 535px;
}

.aa-editorial-hero .aa-hero-media img {
    object-position: 58% center;
}

.aa-editorial-hero .aa-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 27px;
    padding-top: 17px;
}

.aa-editorial-hero .aa-proof span {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding-right: 14px;
}

.aa-editorial-hero .aa-proof span + span {
    padding-left: 14px;
    border-left: 1px solid var(--aa-line);
}

.aa-editorial-hero .aa-proof strong {
    color: var(--aa-ink);
    font-size: 11px;
    letter-spacing: -.01em;
}

.aa-editorial-hero .aa-proof small {
    color: var(--aa-muted);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.35;
}

.aa-page-hero {
    padding: 58px 0 62px;
    border-bottom: 1px solid var(--aa-line);
    background: #f8f5ff;
}

.aa-page-hero::after,
.aa-page-media::before {
    display: none;
}

.aa-page-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    gap: clamp(42px, 7vw, 92px);
}

.aa-page-hero-grid > * {
    min-width: 0;
}

.aa-page-index {
    display: block;
    margin-bottom: 24px;
    color: var(--aa-brand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

.aa-inner-page .aa-page-hero h1 {
    max-width: 13ch;
    margin-bottom: 22px;
    font-family: var(--aa-font);
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: .98;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.aa-inner-page .aa-page-hero .aa-kicker {
    margin-bottom: 15px;
}

.aa-inner-page .aa-page-hero .aa-lead {
    max-width: 38rem;
    font-size: 17px;
    line-height: 1.58;
}

.aa-page-media {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 22px 55px rgba(27, 18, 56, .13);
}

.aa-page-media img {
    height: 410px;
    border-radius: 0;
    box-shadow: none;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.aa-page-media:hover img {
    transform: scale(1.025);
}

.aa-mission-page .aa-page-hero { background: #fffaf2; }
.aa-method-page .aa-page-hero { background: #f7f3e2; }
.aa-program-page .aa-page-hero { background: var(--aa-lilac); }
.aa-admission-page .aa-page-hero { background: #fff8f1; }
.aa-contact-page .aa-page-hero { background: #f7f3ff; }

.aa-site-active #masthead .ast-builder-grid-row {
    min-height: 94px !important;
}

.aa-site-active #masthead .custom-logo {
    width: 48px;
    height: 48px;
}

.aa-site-active #masthead .aa-logo-wordmark {
    font-size: 19px;
}

.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li > a {
    min-height: 46px;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}

.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li > a:hover,
.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li > a:focus-visible {
    background: transparent;
}

.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li.current-menu-item > a,
.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li > a[aria-current="page"],
.aa-site-active #masthead #primary-site-navigation-desktop .main-header-menu > li > a[aria-current="location"] {
    border-bottom-color: var(--aa-violet);
    background: transparent;
}

.aa-site-active #masthead .ast-header-button-1 .ast-custom-button-link {
    border-radius: 10px;
}

@media (max-width: 1120px) {
    .aa-editorial-hero {
        grid-template-columns: minmax(390px, .94fr) minmax(440px, 1.06fr);
    }
    .aa-editorial-hero .aa-hero-copy {
        padding-left: 28px;
    }
}

@media (max-width: 820px) {
    .aa-home-hero .aa-wrap {
        width: min(100% - 34px, 680px);
    }
    .aa-editorial-hero {
        grid-template-columns: 1fr;
    }
    .aa-editorial-hero .aa-hero-copy {
        padding: 48px 0 40px;
    }
    .aa-page-hero-grid {
        grid-template-columns: 1fr;
    }
    .aa-inner-page .aa-page-hero h1 {
        max-width: 14ch;
        font-size: clamp(46px, 10.5vw, 68px);
    }
}

@media (max-width: 560px) {
    .aa-home .aa-editorial-hero h1 {
        max-width: 11ch;
        font-size: clamp(48px, 14vw, 62px);
    }
    .aa-editorial-hero .aa-proof {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .aa-editorial-hero .aa-proof span,
    .aa-editorial-hero .aa-proof span + span {
        padding: 0;
        border-left: 0;
    }
    .aa-inner-page .aa-page-hero h1 {
        max-width: none;
        font-size: clamp(42px, 13vw, 56px);
    }
    .aa-page-media img {
        height: 310px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aa-site *, .aa-site *::before, .aa-site *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .aa-reveal { opacity: 1; transform: none; }
}

/* 2.2 — Responsive course discovery.
 * WordPress markets the formations; Moodle is reserved for enrolled learners. */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.aa-site-active,
.aa-site {
    font-family: var(--aa-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.aa-site h1,
.aa-site h2,
.aa-site h3,
.aa-site p {
    text-wrap: pretty;
}

.aa-site h1,
.aa-site h2,
.aa-site h3 {
    font-family: var(--aa-font);
    text-wrap: balance;
}

.aa-home-hero {
    padding-top: 0;
}

.aa-editorial-hero {
    grid-template-columns: minmax(500px, .96fr) minmax(560px, 1.04fr);
    min-height: min(680px, calc(100svh - 94px));
}

.aa-editorial-hero .aa-hero-copy {
    padding: clamp(54px, 6vw, 92px) clamp(42px, 5vw, 74px) clamp(48px, 5vw, 76px) max(34px, calc((100vw - 1280px) / 2));
}

.aa-home .aa-editorial-hero h1 {
    max-width: 12ch;
    margin-bottom: 24px;
    font-size: clamp(62px, 5.7vw, 88px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .9;
}

.aa-home .aa-editorial-hero h1 em {
    font-style: normal;
}

.aa-editorial-hero .aa-lead {
    max-width: 32rem;
    font-size: 18px;
    line-height: 1.55;
}

.aa-editorial-hero .aa-hero-media,
.aa-editorial-hero .aa-hero-media img {
    min-height: min(680px, calc(100svh - 94px));
}

.aa-editorial-hero .aa-proof {
    max-width: 34rem;
}

.aa-proof-band {
    overflow: hidden;
    border-color: rgba(103, 61, 230, .14);
    background: var(--aa-ink);
    color: #fff;
}

.aa-proof-marquee {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    overflow: hidden;
}

.aa-proof-track {
    display: flex;
    width: max-content;
    min-width: 200%;
    align-items: center;
    animation: aa-proof-flow 26s linear infinite;
    will-change: transform;
}

.aa-proof-track span {
    display: inline-flex;
    flex: 1 0 25%;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-inline: 28px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    white-space: nowrap;
}

.aa-proof-track span::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--aa-brand-light);
    content: "";
}

.aa-proof-marquee:hover .aa-proof-track {
    animation-play-state: paused;
}

@keyframes aa-proof-flow {
    to { transform: translate3d(-50%, 0, 0); }
}

.aa-course-editorial {
    padding: clamp(76px, 9vw, 132px) 0;
}

.aa-editorial-heading {
    grid-template-columns: minmax(0, .6fr) minmax(420px, 1.4fr) auto;
    margin-bottom: clamp(38px, 5vw, 66px);
}

.aa-editorial-heading h2 {
    max-width: 18ch;
    font-size: clamp(42px, 4.8vw, 68px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: .98;
}

.aa-course-grid {
    grid-auto-flow: dense;
}

.aa-course-card[id^="formation-"] {
    scroll-margin-top: 118px;
}

.aa-course-card[id^="formation-"]:target {
    outline: 4px solid var(--aa-brand);
    outline-offset: 5px;
}

.aa-course-card h3 {
    font-weight: 700;
    letter-spacing: -.025em;
}

.aa-course-link,
.aa-text-link,
.aa-footer-arrow-link {
    min-height: 44px;
    align-items: center;
}

.aa-course-link {
    display: inline-flex;
}

.aa-button:active,
.aa-course-link:active,
.aa-text-link:active,
.aa-footer-arrow-link:active {
    transform: scale(.96);
}

.aa-method-editorial .aa-step-grid {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.aa-method-editorial .aa-step {
    flex: 1 1 0;
    min-width: 0;
    padding: clamp(28px, 3vw, 46px);
    border: 1px solid rgba(103, 61, 230, .16);
    background: rgba(255, 255, 255, .04);
    transition: flex-grow .35s cubic-bezier(.2, .8, .2, 1), background-color .2s ease, border-color .2s ease;
}

.aa-method-editorial .aa-step + .aa-step {
    border-left: 0;
}

.aa-method-editorial .aa-step:hover,
.aa-method-editorial .aa-step:focus-within {
    flex-grow: 1.3;
    border-color: rgba(243, 179, 64, .72);
    background: rgba(255, 255, 255, .1);
}

.aa-method-editorial .aa-step-grid::before {
    display: none;
}

.aa-inline-image {
    display: inline-block;
    width: clamp(68px, 7vw, 108px);
    height: .72em;
    margin-inline: .12em;
    overflow: hidden;
    border-radius: 999px;
    vertical-align: .02em;
    outline: 1px solid rgba(255, 255, 255, .18);
}

.aa-inline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aa-site-active #masthead .ast-builder-grid-row {
    min-height: 84px !important;
}

.aa-site-active #masthead .ast-header-button-1 .ast-custom-button-link,
.aa-site-active #masthead .aa-menu-cta > a {
    white-space: nowrap;
}

.aa-site-active #masthead .menu-toggle,
.aa-site-active #masthead .ast-custom-button-link,
.aa-site-active #masthead .main-header-menu > li > a {
    min-height: 44px;
}

.aa-footer-main {
    gap: clamp(32px, 5vw, 72px);
}

@media (max-width: 1120px) {
    .aa-editorial-hero {
        grid-template-columns: minmax(430px, .95fr) minmax(440px, 1.05fr);
    }

    .aa-home .aa-editorial-hero h1 {
        font-size: clamp(58px, 6.4vw, 72px);
    }
}

@media (max-width: 820px) {
    .aa-home-hero .aa-wrap {
        width: 100%;
    }

    .aa-editorial-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .aa-editorial-hero .aa-hero-copy {
        padding: 52px max(22px, 6vw) 34px;
    }

    .aa-home .aa-editorial-hero h1 {
        max-width: 14ch;
        font-size: clamp(48px, 10vw, 68px);
    }

    .aa-editorial-hero .aa-hero-media,
    .aa-editorial-hero .aa-hero-media img {
        min-height: 0;
        height: clamp(320px, 55vw, 440px);
    }

    .aa-editorial-heading {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .aa-course-editorial .aa-course-grid,
    .aa-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .aa-course-editorial .aa-course-card-1 {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .aa-method-editorial .aa-step-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .aa-method-editorial .aa-step,
    .aa-method-editorial .aa-step + .aa-step {
        border: 1px solid rgba(103, 61, 230, .16);
    }

    .aa-page-hero {
        padding: 46px 0 52px;
    }

    .aa-page-hero-grid {
        gap: 32px;
    }
}

@media (max-width: 560px) {
    .aa-wrap,
    .aa-home .aa-wrap {
        width: min(100% - 32px, 528px);
    }

    .aa-home-hero .aa-wrap {
        width: 100%;
    }

    .aa-editorial-hero .aa-hero-copy {
        padding: 38px 16px 22px;
    }

    .aa-edition {
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: .13em;
    }

    .aa-home .aa-editorial-hero h1 {
        max-width: 15ch;
        margin-bottom: 16px;
        font-size: clamp(38px, 11.2vw, 44px);
        letter-spacing: -.045em;
        line-height: .92;
    }

    .aa-editorial-hero .aa-lead {
        font-size: 17px;
        line-height: 1.48;
    }

    .aa-editorial-hero .aa-actions {
        display: grid;
        gap: 10px;
        margin-top: 19px;
    }

    .aa-editorial-hero .aa-actions .aa-button {
        width: 100%;
        min-height: 46px;
        justify-content: space-between;
        padding: 12px 17px;
    }

    .aa-editorial-hero .aa-actions .aa-button-ghost {
        min-height: 40px;
        padding-block: 8px;
        border: 0;
        box-shadow: none;
    }

    .aa-editorial-hero .aa-proof {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: calc(100vw - 16px);
        gap: 0;
        margin-top: 20px;
        padding-top: 14px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        scroll-snap-type: inline proximity;
    }

    .aa-editorial-hero .aa-proof::-webkit-scrollbar {
        display: none;
    }

    .aa-editorial-hero .aa-proof > br {
        display: none;
    }

    .aa-editorial-hero .aa-proof span,
    .aa-editorial-hero .aa-proof span + span {
        flex: 0 0 150px;
        gap: 2px;
        padding: 0 15px 0 0;
        border: 0;
        scroll-snap-align: start;
    }

    .aa-editorial-hero .aa-proof strong {
        font-size: 10px;
    }

    .aa-editorial-hero .aa-proof small {
        font-size: 9px;
    }

    .aa-editorial-hero .aa-hero-media,
    .aa-editorial-hero .aa-hero-media img {
        width: 100%;
        height: clamp(240px, 72vw, 285px);
        min-height: 0;
        border-radius: 0;
        object-position: 52% 42%;
    }

    .aa-proof-marquee {
        min-height: 50px;
    }

    .aa-proof-track span {
        flex-basis: 42vw;
        padding-inline: 16px;
        font-size: 10px;
    }

    .aa-course-editorial {
        padding: 66px 0 76px;
    }

    .aa-editorial-heading {
        margin-bottom: 32px;
    }

    .aa-editorial-heading h2 {
        max-width: 15ch;
        font-size: clamp(34px, 10vw, 42px);
    }

    .aa-course-editorial .aa-course-grid,
    .aa-course-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .aa-course-editorial .aa-course-card-1 {
        grid-column: auto;
    }

    .aa-course-editorial .aa-course-card-media,
    .aa-course-editorial .aa-course-card-1 .aa-course-card-media,
    .aa-course-card-media {
        height: 220px;
    }

    .aa-course-card-body,
    .aa-course-editorial .aa-course-card-1 .aa-course-card-body {
        min-height: 0;
        padding: 22px;
    }

    .aa-course-card h3 {
        font-size: 25px;
        line-height: 1.04;
    }

    .aa-course-card p {
        font-size: 15px;
        line-height: 1.5;
    }

    .aa-method-editorial,
    .aa-impact-story,
    .aa-campus-bridge {
        padding-block: 72px;
    }

    .aa-impact-grid figure,
    .aa-impact-grid figure img {
        height: 260px;
        min-height: 260px;
    }

    .aa-impact-grid blockquote {
        padding: 34px 20px 42px;
    }

    .aa-impact-grid blockquote p {
        font-size: clamp(28px, 8.5vw, 36px);
    }

    .aa-inner-page .aa-page-hero h1 {
        max-width: 15ch;
        font-size: clamp(38px, 11vw, 46px);
        line-height: .96;
    }

    .aa-inner-page .aa-page-hero .aa-lead {
        font-size: 16px;
    }

    .aa-page-media img {
        height: 250px;
    }

    .aa-section {
        padding: 68px 0;
    }

    .aa-cta-card,
    .aa-campus-bridge .aa-wrap {
        gap: 22px;
        padding: 28px 22px;
    }

    .aa-site-active #masthead .ast-mobile-header-wrap .site-primary-header-wrap {
        padding-inline: 16px !important;
    }

    .aa-site-active #masthead .ast-mobile-header-wrap .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .aa-site-active #masthead .ast-mobile-header-content .main-header-menu > li > a {
        min-height: 48px;
        align-items: center;
    }

    .aa-footer-main {
        gap: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .aa-proof-track { animation: none; transform: none; }
}

/* 2.3 — Production responsive refinement.
 * Keep marketing content comfortably inset and readable before the narrowest
 * phone breakpoint, without changing the desktop editorial composition. */
@media (max-width: 820px) {
    .aa-editorial-hero .aa-hero-media {
        width: calc(100% - 32px);
        margin: 0 16px 24px;
        border-radius: 24px;
        box-shadow: 0 18px 48px rgba(27, 18, 56, .12);
    }

    .aa-editorial-hero .aa-hero-media::before,
    .aa-editorial-hero .aa-hero-media img {
        width: 100%;
        border-radius: inherit;
    }

    .aa-editorial-hero .aa-proof strong {
        font-size: 12px;
        line-height: 1.25;
    }

    .aa-editorial-hero .aa-proof small {
        font-size: 11px;
        line-height: 1.35;
    }
}

@media (max-width: 720px) {
    .aa-editorial-hero .aa-proof {
        width: 100%;
        gap: 12px;
        overflow: visible;
    }

    .aa-course-editorial .aa-course-grid,
    .aa-course-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .aa-course-editorial .aa-course-card-1 {
        grid-column: auto;
    }

    .aa-proof-marquee {
        min-height: 0;
        padding: 18px 16px;
    }

    .aa-proof-track {
        display: grid;
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 18px;
        animation: none;
        transform: none;
        will-change: auto;
    }

    .aa-proof-track span {
        flex: none;
        justify-content: flex-start;
        padding: 0;
        font-size: 12px;
        line-height: 1.35;
        white-space: normal;
    }

    .aa-proof-track span[aria-hidden="true"] {
        display: none;
    }
}

@media (max-width: 480px) {
    .aa-editorial-hero .aa-proof {
        display: flex;
        width: calc(100vw - 16px);
        gap: 0;
        margin-top: 22px;
        padding-top: 4px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        scroll-snap-type: inline proximity;
    }

    .aa-editorial-hero .aa-proof::-webkit-scrollbar {
        display: none;
    }

    .aa-editorial-hero .aa-proof span,
    .aa-editorial-hero .aa-proof span + span {
        display: grid;
        flex: 0 0 198px;
        width: 198px;
        min-height: 58px;
        grid-template-columns: 1fr;
        align-items: center;
        gap: 3px;
        padding: 10px 18px 10px 0;
        border: 0;
        scroll-snap-align: start;
    }

    .aa-editorial-hero .aa-proof small {
        text-align: start;
    }

    .aa-proof-track {
        grid-template-columns: 1fr;
    }
}
/* Programme is a decision surface: filters immediately follow the compact introduction. */
.aa-program-page .aa-catalog-intro{padding:32px 0;background:var(--aa-lilac,#f5f3ff)}
.aa-program-page .aa-catalog-intro-grid{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:32px;align-items:center}
.aa-program-page .aa-catalog-intro h1{font-size:clamp(2rem,3vw,3rem);line-height:1.12;margin:8px 0 12px;letter-spacing:-.03em}
.aa-program-page .aa-catalog-intro p{margin:0;max-width:780px}
.aa-program-page .aa-catalog-intro a{color:var(--aa-brand);text-decoration:underline}
.aa-program-page .aa-catalog-intro img{width:160px;height:112px;object-fit:cover;border-radius:16px}
.aa-program-page #cours-campus{padding:24px 0 40px}
.aa-program-page #cours-campus .aa-heading{margin-bottom:16px}
.aa-program-page #cours-campus .aa-heading h2{font-size:1.4rem;margin:0}
.aa-program-page #cours-campus .aa-commerce-catalog{margin:0}
@media(max-width:720px){.aa-program-page .aa-catalog-intro{padding:24px 0}.aa-program-page .aa-catalog-intro-grid{grid-template-columns:minmax(0,1fr) 80px;gap:16px}.aa-program-page .aa-catalog-intro img{width:80px;height:96px}.aa-program-page .aa-catalog-intro h1{font-size:1.8rem}}

/* 2.5 — Agir Africa visual identity v1.1.
 * Keep the established information architecture while mapping the official
 * semantic tokens, typography, marks and interaction geometry. */
body.aa-site-active,
.aa-site,
.aa-site button,
.aa-site input,
.aa-site select,
.aa-site textarea {
    font-family: var(--aa-font);
}

.aa-site h1,
.aa-site h2,
.aa-site h3,
.aa-site h4,
.aa-site h5,
.aa-site h6,
.aa-home .aa-editorial-hero h1,
.aa-impact-grid blockquote p {
    font-family: var(--aa-font);
    font-weight: 600;
    letter-spacing: -.025em;
}

.aa-home .aa-editorial-hero h1 {
    max-width: 13ch;
    font-size: clamp(2rem, 4.25vw, 3rem);
    line-height: 1.15;
}

.aa-inner-page .aa-page-hero h1,
.aa-program-page .aa-catalog-intro h1 {
    font-size: clamp(1.75rem, 3.4vw, 2.25rem);
    line-height: 1.2;
}

.aa-site h2,
.aa-editorial-heading h2,
.aa-method-intro h2,
.aa-impact-grid blockquote p {
    font-size: clamp(1.5rem, 2.7vw, 2.25rem);
    line-height: 1.3;
}

.aa-site h3,
.aa-course-card h3 {
    font-size: 1.25rem;
    line-height: 1.35;
}

.aa-site :where(.aa-button, button, input[type="button"], input[type="submit"], .button),
.aa-site-active #masthead :where(a, button) {
    min-height: 44px;
    border-radius: var(--aa-radius-control);
    font-weight: 600;
}

.aa-button,
.aa-button-primary,
.aa-site-active #masthead .aa-header-cta {
    background: var(--aa-brand);
    border-color: var(--aa-brand);
    color: var(--aa-white);
}

.aa-button:hover,
.aa-button-primary:hover,
.aa-site-active #masthead .aa-header-cta:hover {
    background: var(--aa-brand-hover);
    border-color: var(--aa-brand-hover);
}

.aa-button:active,
.aa-button-primary:active,
.aa-site-active #masthead .aa-header-cta:active {
    background: var(--aa-brand-active);
    border-color: var(--aa-brand-active);
}

.aa-button-ghost,
.aa-site .button.alt,
.aa-site .btn-outline-primary {
    background: var(--aa-white);
    border-color: var(--aa-brand);
    color: var(--aa-brand);
}

.aa-button-ghost:hover,
.aa-site .button.alt:hover,
.aa-site .btn-outline-primary:hover {
    background: var(--aa-brand-soft);
    color: var(--aa-brand-hover);
}

.aa-button-ghost:active,
.aa-site .button.alt:active,
.aa-site .btn-outline-primary:active {
    background: var(--aa-brand-pale);
    color: var(--aa-brand-active);
}

.aa-site :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    min-height: 44px;
    border-color: var(--aa-control-border);
    border-radius: var(--aa-radius-control);
    background: var(--aa-white);
    color: var(--aa-ink);
}

.aa-form-success { background: var(--aa-success-bg); color: var(--aa-success); }
.aa-form-error { background: var(--aa-danger-bg); color: var(--aa-danger); }

.aa-course-card,
.aa-step,
.aa-values article,
.aa-form-card,
.aa-faq,
.aa-callout {
    border-color: var(--aa-line);
    border-radius: var(--aa-radius-card);
}

.aa-cta-card,
.aa-campus-bridge .aa-wrap,
.aa-impact-grid,
.aa-page-media,
.aa-editorial-hero .aa-hero-media {
    border-radius: var(--aa-radius-panel);
}

.aa-proof-band,
.aa-campus-bridge,
.aa-footer {
    background: #171320;
}

.aa-proof-band :where(span, p),
.aa-campus-bridge :where(h2, p, span),
.aa-footer :where(p, a, h2) {
    color: #f8f7fa;
}

.aa-course-editorial,
.aa-impact-story,
.aa-program-page .aa-catalog-intro,
.aa-mission-page .aa-page-hero,
.aa-method-page .aa-page-hero,
.aa-admission-page .aa-page-hero,
.aa-contact-page .aa-page-hero {
    background: var(--aa-sand);
}

.aa-site-active #masthead .custom-logo {
    width: 180px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
}

.aa-footer-logo {
    width: min(210px, 100%);
}

.aa-footer-logo > img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 480px) {
    .aa-site-active #masthead .custom-logo {
        width: 160px;
        height: auto;
    }
    .aa-home .aa-editorial-hero h1 {
        font-size: 2rem;
    }
}
