* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #E2725B;
    --primary-light: #FFB199;
    --secondary: #556B2F;
    --accent: #FFD700;
    --dark: #1A1A2E;
    --light: #FFFFFF;
    --gray: #F5F5F5;
    --text: #333333;
    --muted: #6b7280;
    --line: rgba(26, 26, 46, 0.12);
    --wash: #fff8f1;
    --green-wash: #edf2e6;
    --shadow: 0 18px 48px rgba(26, 26, 46, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--text);
    font-family: "Lato", "Segoe UI", sans-serif;
    line-height: 1.6;
    background: var(--light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.eyebrow,
.section-kicker,
.articles-kicker,
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(26, 26, 46, 0.08);
    backdrop-filter: blur(18px);
}

.navbar .container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 900;
}

.nav-logo img,
.logo-icon {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.brand-wordmark {
    display: grid;
    line-height: 1.05;
}

.brand-wordmark strong {
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.1rem;
}

.brand-wordmark span {
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 0.9vw, 0.95rem);
    list-style: none;
}

.nav-menu a {
    position: relative;
    color: var(--dark);
    text-decoration: none;
    font-size: clamp(0.78rem, 0.82vw, 0.88rem);
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 1180px) and (min-width: 901px) {
    .navbar .container { gap: 0.75rem; }
    .nav-logo { gap: 0.45rem; }
    .nav-logo img, .logo-icon { width: 52px; height: 52px; }
    .brand-wordmark strong { font-size: 1rem; }
    .brand-wordmark span { font-size: 0.62rem; }
    .nav-menu { gap: 0.42rem; }
    .nav-social-group { gap: 0.2rem; margin-left: 0.15rem; padding-left: 0.45rem; }
    .nav-social-group a { width: 27px; height: 27px; font-size: 0.72rem; }
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.45rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-dropdown > a::before { content: ""; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.nav-submenu { position: absolute; top: calc(100% + 0.8rem); left: 50%; display: none; min-width: 150px; padding: 0.55rem; margin: 0; transform: translateX(-50%); list-style: none; background: var(--light); border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(26,26,46,0.12); }
.nav-dropdown.open .nav-submenu, .nav-dropdown:focus-within .nav-submenu { display: grid; gap: 0.2rem; }
.nav-submenu a { display: block; padding: 0.5rem 0.65rem; font-size: 0.78rem; }
.nav-submenu a::after { bottom: 0.2rem; left: 0.65rem; right: 0.65rem; }

/* Social & action icons in top nav */
.nav-social-group {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.4rem;
    padding-left: 0.85rem;
    border-left: 1.5px solid var(--line);
    list-style: none;
    flex-shrink: 0;
}

.nav-social-group a {
    color: var(--muted);
    font-size: 0.85rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 46, 0.04);
    border: 1px solid rgba(26, 26, 46, 0.06);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    line-height: 1;
}

.nav-social-group a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-social-group a:hover {
    color: var(--primary);
    background-color: var(--wash);
    border-color: rgba(226, 114, 91, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(226, 114, 91, 0.15);
}

.nav-social-group a::after {
    display: none !important;
}

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--light);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 19px;
    height: 2px;
    background: var(--dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn,
.back-btn,
.enroll-btn,
.ghost-btn,
.download-btn,
.retry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.8rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.back-btn:hover,
.enroll-btn:hover,
.ghost-btn:hover,
.download-btn:hover,
.retry-btn:hover {
    transform: translateY(-2px);
}

.btn-primary,
.enroll-btn,
.retry-btn {
    color: var(--light);
    background: var(--primary);
    box-shadow: 0 12px 24px rgba(226, 114, 91, 0.24);
}

.btn-secondary,
.ghost-btn,
.back-btn {
    color: var(--dark);
    background: var(--light);
    border-color: var(--line);
}

.btn-dark {
    color: var(--light);
    background: var(--dark);
}

.btn-outline {
    color: var(--secondary);
    background: transparent;
    border-color: rgba(85, 107, 47, 0.32);
}

.hero,
.hero-courses,
.articles-hero {
    position: relative;
    color: var(--light);
    overflow: hidden;
    background: var(--dark);
}

.hero {
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    padding: 8rem 0 5rem;
}

.hero .container {
    position: relative;
}

.hero-background,
.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.5) 48%, rgba(85, 107, 47, 0.5)),
        url("desola-lanre-ologun-IgUR1iX0mqM-unsplash.jpg") center / cover no-repeat;
}

.hero-background::after,
.hero-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    background: linear-gradient(0deg, rgba(26, 26, 46, 0.72), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(840px, 100%);
}

.hero-title,
.articles-hero h1 {
    margin-top: 0.9rem;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(3.2rem, 8vw, 7.5rem);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-subtitle,
.hero-description,
.articles-hero p {
    max-width: 700px;
    margin-top: 1.35rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.02rem, 1.6vw, 1.26rem);
}

.hero-reports {
    position: absolute;
    top: -2rem;
    right: -2rem;
    z-index: 2;
    width: min(250px, 28vw);
    display: grid;
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.16);
}

.hero-reports-head,
.hero-report-link {
    padding: 0.7rem 0.75rem;
    background: rgba(26, 26, 46, 0.42);
    backdrop-filter: blur(12px);
}

.hero-reports-head strong {
    display: block;
    color: var(--accent);
    font-size: 1rem;
    line-height: 1;
}

.hero-reports-head span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.7rem;
}

.hero-report-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.93);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.hero-report-link i {
    color: #ff6b6b;
}

.hero-report-link:hover {
    background: rgba(26, 26, 46, 0.56);
}

.hero-buttons,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-proof {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 3.2rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.16);
}

.hero-proof .stat,
.articles-stat {
    padding: 1rem;
    background: rgba(26, 26, 46, 0.42);
    backdrop-filter: blur(12px);
}

.hero-proof strong,
.articles-stat strong {
    display: block;
    color: var(--accent);
    font-size: 1.45rem;
    line-height: 1;
}

.hero-proof span,
.articles-stat span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
}

.section {
    padding: 5.5rem 0;
}

.section-alt {
    background: var(--wash);
}

.section-deep {
    color: var(--light);
    background:
        linear-gradient(135deg, rgba(85, 107, 47, 0.96), rgba(26, 26, 46, 0.98)),
        url("images/8Z9A1676.jpg") center / cover;
}

.section-header {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2.4rem;
}

.section-header.center {
    display: block;
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.section-header h2 {
    margin-top: 0.7rem;
    color: var(--dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1;
    font-weight: 800;
}

.team-section .section-header h2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
}

.section-deep .section-header h2,
.section-deep .section-header p {
    color: var(--light);
}

.section-header p,
.section-subtitle,
.about-text,
.reach-text,
.all-articles-intro {
    color: var(--muted);
    font-size: 1rem;
}

.section-deep .section-header p,
.section-deep .section-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

.about-layout,
.split-layout,
.article-layout,
.courses-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
    gap: 3rem;
    align-items: start;
}

.about-copy {
    display: grid;
    gap: 1.1rem;
}

.about-statements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about-statements article {
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--light);
}

.about-statements p {
    margin-top: 0.7rem;
    color: var(--secondary);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.35rem, 2.3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.12;
}

.about-initiatives p {
    color: var(--muted);
    font-size: 0.92rem;
}

.about-what-we-do {
    margin-top: 3rem;
}

.about-services {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.about-services p {
    padding: 1rem;
    border-top: 3px solid var(--primary);
    background: var(--light);
    color: var(--muted);
    font-size: 0.86rem;
}

.about-services b {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--dark);
}

.about-copy p {
    max-width: 74ch;
    font-size: 1.08rem;
}

.mission-strip {
    display: grid;
    gap: 1rem;
    padding-left: 1.4rem;
    border-left: 5px solid var(--primary);
}

.mission-strip strong {
    color: var(--secondary);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.45rem);
    line-height: 1.08;
}

.cards,
.solution-grid,
.benefits-grid,
.partners-grid,
.stats-grid,
.contact-grid,
.articles-grid,
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.benefits-grid,
.partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.solution-item,
.benefit-item,
.partner-card,
.stat-item,
.contact-item,
.article-card,
.course-card,
.article-panel,
.overview-item,
.stat-card,
.team-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--light);
}

.card,
.solution-item,
.benefit-item,
.partner-card,
.stat-item,
.contact-item,
.article-card,
.course-card,
.article-panel,
.team-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover,
.solution-item:hover,
.benefit-item:hover,
.partner-card:hover,
.article-card:hover,
.course-card:hover,
.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(226, 114, 91, 0.42);
    box-shadow: var(--shadow);
}

.card,
.solution-item,
.benefit-item,
.partner-card,
.contact-item {
    padding: 1.35rem;
}

.card-icon,
.benefit-icon,
.contact-icon {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-bottom: 1rem;
    color: var(--primary);
    background: rgba(226, 114, 91, 0.1);
    border-radius: 8px;
    font-size: 1.15rem;
}

.card h3,
.solution-item h3,
.partner-card h4,
.event-title {
    color: var(--dark);
    font-size: 1.25rem;
    line-height: 1.2;
}

.card p,
.solution-item p,
.partner-card p,
.benefit-item p,
.course-card p,
.article-card p {
    margin-top: 0.65rem;
    color: var(--muted);
}

.solution-number {
    color: var(--primary);
    font-family: "Merriweather", Georgia, serif;
    font-size: 2.5rem;
    line-height: 1;
}

.why-join .benefit-item,
.section-deep .benefit-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.section-deep .benefit-item p {
    color: rgba(255, 255, 255, 0.84);
}

.cta-center {
    margin-top: 2rem;
    text-align: center;
}

.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-item {
    padding: 1.4rem;
    background: var(--green-wash);
}

.stat-number {
    color: var(--secondary);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
}

.stat-label {
    margin-top: 0.45rem;
    color: var(--dark);
    font-weight: 900;
}

.testimonial {
    padding: 5.5rem 0;
    color: var(--dark);
    background: var(--accent);
}

.testimonial-content {
    max-width: 880px;
}

.quote-mark {
    color: var(--primary);
    font-family: "Merriweather", Georgia, serif;
    font-size: 4rem;
    line-height: 1;
}

.testimonial-text {
    margin-top: 0.5rem;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 4.2rem);
    line-height: 1.04;
}

.testimonial-author {
    margin-top: 1.2rem;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 800;
}

.event-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    height: 540px;
    max-width: none;
    padding: 1.5rem;
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 12px;
    background: #fffdfb;
    box-shadow: 0 18px 34px rgba(26, 26, 46, 0.12), 0 4px 10px rgba(26, 26, 46, 0.05);
    overflow: hidden;
}

.event-image {
    width: 100%;
    height: 160px;
    max-height: 160px;
    object-fit: cover;
    border-radius: 12px;
}

.event-card-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.event-copy {
    will-change: transform;
}

.event-details {
    flex-shrink: 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.event-card.event-hover-scroll .event-copy {
    animation: event-content-scroll var(--event-scroll-duration) linear infinite alternate;
}

@keyframes event-content-scroll {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(calc(-1 * var(--event-scroll-distance)));
    }
}

.event-title {
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.6rem, 1.9vw, 2rem);
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.event-description {
    display: grid;
    gap: 0.95rem;
    max-width: 64ch;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.85;
}

.event-description p,
.event-description ul,
.event-description ol,
.event-description blockquote,
.event-description pre {
    margin: 0;
}

.event-description li + li {
    margin-top: 0.35rem;
}

.event-description ul,
.event-description ol {
    padding-left: 1.35rem;
}

.event-description a {
    color: var(--primary);
    font-weight: 800;
    text-underline-offset: 0.16em;
}

.event-description blockquote {
    padding-left: 1rem;
    border-left: 3px solid rgba(226, 114, 91, 0.28);
    color: #4b5563;
}

.event-description h1,
.event-description h2,
.event-description h3 {
    color: var(--dark);
    font-family: "Merriweather", Georgia, serif;
    line-height: 1.15;
}

.event-description h1 {
    font-size: 1.55rem;
}

.event-description h2 {
    font-size: 1.4rem;
}

.event-description h3 {
    font-size: 1.22rem;
}

.event-badge,
.article-category,
.card-chip,
.course-category,
.course-level,
.tag,
.catalog-chip,
.featured-badge,
.course-index,
.course-price {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-badge,
.article-category,
.card-chip,
.course-category,
.featured-badge,
.course-index {
    color: var(--primary);
    background: rgba(226, 114, 91, 0.1);
}

.event-details,
.article-meta,
.course-meta,
.featured-summary,
.catalog-meta,
.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.event-details span,
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 0.82rem;
    color: var(--muted);
    background: var(--gray);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
}

.events-section-label {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 2rem 0 1rem;
    color: var(--dark);
}

.events-section-label:first-child {
    margin-top: 0;
}

.events-group + .events-group {
    margin-top: 2.5rem;
}

.events-stack {
    display: grid;
    gap: 1.75rem;
    align-items: start;
}

.events-past-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3rem) / 3);
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.1rem 0 1rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.events-past-scroll .event-card {
    height: 460px;
    align-self: start;
    scroll-snap-align: start;
}

.events-scroll-hint {
    margin: -0.15rem 0 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.event-past {
    opacity: 0.8;
    border-left-color: var(--muted);
}

.contact {
    background: var(--dark);
    color: var(--light);
}

.contact .section-header h2,
.contact .section-header p {
    color: var(--light);
}

.contact-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.contact-item a {
    color: var(--light);
    text-decoration: none;
    font-weight: 900;
}

.social-links,
.site-footer-socials,
.team-socials,
.tm-socials-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.social-link,
.site-footer-social,
.team-social-link,
.tm-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.8rem;
    color: var(--light);
    background: var(--secondary);
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-link:hover,
.site-footer-social:hover,
.team-social-link:hover,
.tm-social:hover {
    transform: translateY(-2px);
    background: var(--primary);
}

.site-footer {
    color: rgba(255, 255, 255, 0.8);
    background: var(--dark);
}

.site-footer-top {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
    gap: 2rem;
    padding: 4rem 0 2rem;
}

.site-footer-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.site-footer-mark img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: var(--light);
    border-radius: 8px;
}

.site-footer-mark-text strong {
    display: block;
    color: var(--light);
    font-family: "Merriweather", Georgia, serif;
}

.site-footer-mark-text span,
.site-footer-tagline {
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer-title {
    margin-bottom: 0.9rem;
    color: var(--light);
    font-size: 0.84rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer-links,
.site-footer-contact {
    display: grid;
    gap: 0.7rem;
    list-style: none;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--accent);
}

.site-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 1.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.carousel-shell,
.articles-carousel-wrapper {
    position: relative;
}

.articles-carousel-wrapper {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.carousel-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.carousel-kicker {
    color: var(--secondary);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.carousel-inline-controls {
    display: flex;
    gap: 0.5rem;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--dark);
    background: var(--light);
    cursor: pointer;
}

.carousel-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.carousel-viewport,
.articles-carousel-viewport {
    overflow: hidden;
}

.carousel-track,
.articles-carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.28s ease;
}

.articles-carousel-track .article-card,
.gallery-item,
.team-card {
    flex: 0 0 calc((100% - 2rem) / 3);
}

.team-card {
    padding: 1rem;
    background: var(--light);
}

.team-avatar,
.team-avatar-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: var(--green-wash);
}

.team-avatar-placeholder,
.tm-initials {
    display: grid;
    place-items: center;
    color: var(--secondary);
    font-family: "Merriweather", Georgia, serif;
    font-size: 2.2rem;
}

.team-name {
    margin-top: 1rem;
    color: var(--dark);
    font-weight: 900;
}

.team-role,
.team-bio {
    color: var(--muted);
    font-size: 0.92rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: var(--gray);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 1rem;
    color: var(--light);
    background: linear-gradient(0deg, rgba(26, 26, 46, 0.78), transparent);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.22);
}

.carousel-dot.active {
    background: var(--primary);
}

.articles-loading,
.loading-spinner,
.loading-state,
.error-message,
.no-courses {
    width: 100%;
    padding: 2rem;
    color: var(--muted);
    text-align: center;
}

.modal,
.newsletter-popup,
.tm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 1rem;
    background: rgba(26, 26, 46, 0.72);
    backdrop-filter: blur(10px);
}

.modal {
    align-items: center;
    justify-content: center;
}

.modal-content,
.popup-content,
.tm-modal {
    width: min(720px, 100%);
    max-height: 90vh;
    overflow: auto;
    margin: auto;
    padding: 1.4rem;
    color: var(--text);
    background: var(--light);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.modal-content h3,
.popup-content h3,
.tm-modal h3 {
    color: var(--dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 2rem;
}

.modal-subtext,
.popup-content p,
.tm-bio-text {
    margin: 0.65rem 0 1rem;
    color: var(--muted);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

input,
select,
textarea {
    width: 100%;
    margin-bottom: 0.8rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--dark);
    font: inherit;
    background: var(--light);
}

label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--dark);
    font-weight: 900;
}

.form-checkbox label,
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--muted);
    font-weight: 700;
}

.form-checkbox input,
.checkbox-label input {
    width: auto;
    margin-top: 0.35rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.course-enroll-modal .modal-content {
    position: relative;
}

.course-enroll-modal .close-modal {
    float: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.form-toast {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 2200;
    width: min(380px, calc(100% - 2rem));
    padding: 0.9rem 1rem;
    color: var(--light);
    background: #0f9f62;
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-weight: 900;
}

.form-toast.error {
    background: #dc2626;
}

.close-popup,
.close-modal,
.tm-close {
    float: right;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--light);
    cursor: pointer;
}

.tm-overlay.open {
    display: grid;
    place-items: center;
}

.tm-avatar-wrap img,
.tm-initials {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.gallery-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.modal-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.article-container,
.courses-main {
    padding: 7rem 0 5rem;
    background: var(--wash);
}

.articles-shell,
.catalog-section {
    display: grid;
    gap: 2rem;
}

.articles-hero {
    padding: 8rem 0 4rem;
}

.articles-hero .container {
    position: relative;
    z-index: 1;
}

.articles-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(26, 26, 46, 0.92), rgba(26, 26, 46, 0.52)),
        url("images/8Z9A1740.jpg") center / cover no-repeat;
}

.articles-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: min(720px, 100%);
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.16);
}

.article-header,
.article-body,
.all-articles-section,
.overview-card,
.overview-stats,
.featured-course {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--light);
}

.article-header,
.article-body,
.all-articles-section,
.overview-card,
.overview-stats {
    padding: 1.5rem;
}

.article-title {
    margin: 0.8rem 0;
    color: var(--dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.98;
}

.article-image,
.card-image,
.course-visual,
.featured-media {
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.article-image {
    min-height: 380px;
    margin-top: 1.2rem;
    background-size: cover;
    background-position: center;
}

.article-body {
    margin-top: 1rem;
}

.article-body h2,
.article-body h3 {
    margin: 1.5rem 0 0.7rem;
    color: var(--dark);
}

.article-body p,
.article-body li {
    color: #4b5563;
    line-height: 1.9;
}

.article-body ul,
.article-body ol {
    margin: 0.8rem 0 1.2rem 1.3rem;
}

.article-sidebar {
    display: grid;
    gap: 1.1rem;
    position: sticky;
    top: 96px;
}

.article-panel {
    padding: 1rem;
    box-shadow: 0 14px 34px rgba(26, 26, 46, 0.08);
}

.article-panel-heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.article-panel-icon {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    color: var(--light);
    background: var(--primary);
    border-radius: 8px;
}

.article-panel-kicker {
    display: block;
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.article-panel h3 {
    margin: 0.16rem 0 0;
    color: var(--dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.35rem;
    line-height: 1.05;
}

.article-focus-panel {
    background:
        linear-gradient(180deg, rgba(255, 248, 241, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(226, 114, 91, 0.25);
}

.article-focus-panel p {
    color: #4b5563;
    line-height: 1.75;
}

.article-focus-meta {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 114, 91, 0.18);
}

.article-focus-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.article-focus-meta i {
    color: var(--primary);
}

.article-sidebar-list {
    display: grid;
    gap: 0.65rem;
}

.article-sidebar-link {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem;
    color: inherit;
    text-decoration: none;
    border-radius: 8px;
    background: var(--gray);
    border: 1px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.article-sidebar-link:hover {
    transform: translateX(3px);
    background: var(--light);
    border-color: rgba(226, 114, 91, 0.24);
}

.article-link-index {
    display: inline-grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    color: var(--secondary);
    background: var(--green-wash);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 900;
}

.article-link-copy {
    min-width: 0;
}

.article-sidebar-link strong {
    display: block;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.28;
}

.article-sidebar-link span {
    color: var(--muted);
    font-size: 0.86rem;
}

.read-next-panel {
    background: var(--light);
}

.article-card {
    display: grid;
    color: inherit;
    text-decoration: none;
}

.card-image {
    height: 220px;
}

.card-image > div,
.article-card img {
    width: 100%;
    height: 100%;
}

.card-image-placeholder,
.article-image-content {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--light);
    font-size: 2rem;
}

.card-content,
.course-body {
    padding: 1rem;
}

.card-topline,
.course-topline,
.course-footer,
.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.article-card h4,
.course-card h3,
.featured-course h3,
.overview-card h2,
.catalog-header h2 {
    color: var(--dark);
    font-family: "Merriweather", Georgia, serif;
    line-height: 1.08;
}

.article-card h4 {
    margin-top: 0.8rem;
    font-size: 1.35rem;
}

.card-footer,
.read-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--secondary);
    font-size: 0.86rem;
    font-weight: 900;
}

.hero-courses {
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    padding: 8rem 0 4rem;
}

.hero-courses .hero-background {
    background:
        linear-gradient(90deg, rgba(26, 26, 46, 0.9), rgba(85, 107, 47, 0.52)),
        url("images/345A4690.jpg") center / cover no-repeat;
}

.hero-shell {
    position: relative;
    z-index: 1;
    width: min(820px, 100%);
}

.hero-courses .hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
}

.hero-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.78);
}

.courses-overview {
    margin-bottom: 3rem;
}

.overview-grid,
.stat-grid,
.featured-summary {
    display: grid;
    gap: 0.8rem;
}

.overview-grid,
.stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.overview-item,
.stat-card {
    padding: 1rem;
    background: var(--gray);
}

.stat-card strong {
    display: block;
    color: var(--dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 2rem;
}

.featured-course {
    display: none;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.featured-course.active {
    display: grid;
}

.featured-media {
    aspect-ratio: 2 / 1;
    position: relative;
    overflow: hidden;
}

.featured-media img,
.course-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--light);
    background: rgba(26, 26, 46, 0.72);
}

.featured-content {
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: 1rem;
}

.course-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.course-visual {
    position: relative;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

.course-overlay {
    position: absolute;
    inset: auto 0.8rem 0.8rem;
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
}

.course-price {
    color: var(--secondary);
    background: var(--light);
}

.course-price.free {
    color: #0f9f62;
}

.course-meta,
.course-tags,
.learning-outcomes,
.course-footer {
    padding: 0 1rem 1rem;
}

.learning-outcomes {
    color: var(--muted);
}

.course-footer {
    align-self: end;
}

.course-status {
    color: var(--muted);
    font-weight: 900;
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        inset: 76px 0 auto;
        display: grid;
        gap: 0;
        padding: 1rem 20px 1.4rem;
        background: var(--light);
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu a {
        display: block;
        padding: 0.78rem 0;
    }

    .nav-dropdown { width: 100%; }
    .nav-dropdown > a { width: fit-content; }
    .nav-submenu { position: static; display: none; gap: 0.1rem; width: 100%; padding: 0.25rem 0 0.25rem 1rem; transform: none; border: 0; box-shadow: none; background: transparent; }
    .nav-dropdown.open .nav-submenu { display: grid; }
    .nav-submenu a { padding: 0.35rem 0; font-size: 0.82rem; }

    .nav-social-group {
        margin-left: 0;
        padding: 1.2rem 0 0.8rem;
        border-top: 1px solid rgba(26, 26, 46, 0.08);
        border-left: none;
        padding-left: 0;
        gap: 0.75rem;
        justify-content: flex-start;
    }

    .nav-social-group a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        padding: 0;
    }

    .hamburger {
        display: flex;
    }

    .section-header,
    .about-layout,
    .split-layout,
    .article-layout,
    .courses-overview,
    .featured-course.active {
        grid-template-columns: 1fr;
    }

    .cards,
    .solution-grid,
    .benefits-grid,
    .partners-grid,
    .stats-grid,
    .contact-grid,
    .articles-grid,
    .courses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .events-past-scroll {
        grid-auto-columns: calc((100% - 1.5rem) / 2);
    }

    .article-sidebar {
        position: static;
    }

    .hero-reports {
        top: 6.5rem;
        right: -0.8rem;
        width: min(300px, 38vw);
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand-wordmark {
        display: none;
    }

    .hero,
    .hero-courses {
        min-height: 82vh;
        padding: 6.5rem 0 3.5rem;
    }

    .hero-reports {
        position: relative;
        top: 0;
        right: 0;
        width: min(100%, 420px);
        margin: 0 0 1.1rem;
    }

    .about-statements,
    .about-services {
        grid-template-columns: 1fr;
    }

    .hero-proof,
    .articles-stats,
    .cards,
    .solution-grid,
    .benefits-grid,
    .partners-grid,
    .stats-grid,
    .contact-grid,
    .articles-grid,
    .courses-grid,
    .overview-grid,
    .stat-grid,
    .gallery-modal-grid {
        grid-template-columns: 1fr;
    }

    .articles-carousel-track .article-card,
    .gallery-item,
    .team-card {
        flex-basis: 100%;
    }

    .articles-carousel-wrapper {
        grid-template-columns: 1fr;
    }

    .events-past-scroll {
        grid-auto-columns: 100%;
    }

    .event-card {
        height: 500px;
    }

    .events-past-scroll .event-card {
        height: 500px;
    }

    .articles-carousel-wrapper > .carousel-btn {
        display: none;
    }

    .form-row,
    .site-footer-top {
        grid-template-columns: 1fr;
    }

    .site-footer-bottom,
    .catalog-header,
    .card-topline,
    .course-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .modal-actions {
        justify-content: stretch;
    }

    .modal-actions .btn,
    .course-footer .enroll-btn,
    .course-footer .ghost-btn {
        width: 100%;
    }
}


/* ===== merged from fixes.css ===== */
/* Load AFTER styles.css. Targeted fixes only, nothing rewritten. */
:root {
    --accent: #FFD700;
    --gray: #F5F5F5;        /* was cool #F5F5F5, now matches warm wash */
    --sand: #edf2e6;
}
html { scroll-padding-top: 88px; }              /* anchors no longer hide under fixed nav */
body { overflow-x: clip; }

/* Type */
.hero-title, .section-header h2, .article-title { letter-spacing: -0.02em; text-wrap: balance; }
.section-header p, .about-copy p, .card p, .partner-card p { text-wrap: pretty; }
.hero-eyebrow { color: var(--primary-light); }

/* Hero */
.hero { min-height: 88dvh; }
.hero-reports { top: -2.5rem; right: -1rem; }
.navbar { transition: box-shadow .25s ease; }
.navbar.scrolled { box-shadow: 0 10px 30px rgba(26, 26, 46, .08); }


/* Equal 3-up cards get some rhythm */
.cards .card:nth-child(2) { transform: translateY(1.5rem); }
.cards .card:nth-child(2):hover { transform: translateY(1.2rem); }
.solution-grid { grid-template-columns: 1.3fr 1fr; }
.solution-grid .solution-item:first-child { grid-row: span 2; padding: 2rem; }

/* Nav: 1025-1280px was overflowing */
@media (min-width: 1025px) and (max-width: 1280px) {
    .brand-wordmark { display: none; }
    .nav-menu { gap: .5rem; }
    .nav-menu a { font-size: .76rem; }
}

/* Carousel: CSS showed 3-up on tablet while JS paged 2-up */
@media (max-width: 1024px) {
    .articles-carousel-track .article-card, .gallery-item, .team-card { flex-basis: calc((100% - 1rem) / 2); }
    .about-services, .about-statements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards, .solution-grid { grid-template-columns: 1fr; }
    .cards .card:nth-child(2) { transform: none; }
    .solution-grid .solution-item:first-child { grid-row: auto; }
    .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-reports { right: 0; }
    .nav-menu { max-height: calc(100dvh - 76px); overflow-y: auto; }
}
@media (max-width: 700px) {
    .articles-carousel-track .article-card, .gallery-item, .team-card { flex-basis: 100%; }
    .about-services, .about-statements, .stats-grid { grid-template-columns: 1fr; }
}

/* Events: fixed 540px cards clipped text, hover-scroll never worked on touch */
.event-card, .events-past-scroll .event-card { height: auto; }
.event-card-content { overflow: visible; }
.event-description { max-height: 13rem; overflow-y: auto; padding-right: .5rem; }
.event-card.event-hover-scroll .event-copy { animation: none; }

/* States */
.btn:active, .carousel-btn:active, .enroll-btn:active { transform: translateY(1px) scale(.98); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.team-card { cursor: pointer; }
.carousel-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Past events: equal-height cards in the scroller */
.events-past-scroll { align-items: stretch; }
.events-past-scroll .event-card { align-self: stretch; }

/* ===== Career Café: modern African editorial layer ===== */
:root {
    --gold: #E2725B;
    --gold-soft: #FFB199;
    --sun: #FFD700;
    --cream: #fff8f1;
    --sand: #edf2e6;
    --brown: #1A1A2E;
    --wash: #fff8f1;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --pat-diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='none' stroke='%23E2725B' stroke-width='1.2'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z'/%3E%3C/g%3E%3C/svg%3E");
    --pat-diamond-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='none' stroke='%231A1A2E' stroke-width='1.2'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z'/%3E%3C/g%3E%3C/svg%3E");
    --pat-weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14'%3E%3Cpath d='M0 10 10 3 20 10 30 3 40 10' fill='none' stroke='%23E2725B' stroke-width='1.4'/%3E%3Cpath d='M0 13H40' stroke='%23E2725B' stroke-width='.8'/%3E%3C/svg%3E");
    --pat-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M0 6H28M0 14H28M0 22H28' stroke='%231A1A2E' stroke-width='1'/%3E%3Cpath d='M4 3v6M14 11v6M24 19v6' stroke='%231A1A2E' stroke-width='1.6'/%3E%3C/svg%3E");
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .11 0 0 0 0 .08 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body::before { content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; background: var(--grain); opacity: .05; mix-blend-mode: multiply; }
.section-alt, .article-container, .courses-main { background: var(--cream); }
.section { padding: 6.5rem 0 7.25rem; }

/* Icons (Lucide) */
.lucide { width: 1.1em; height: 1.1em; stroke-width: 1.6; flex: none; vertical-align: -.15em; }
i[data-lucide] { display: inline-block; width: 1.1em; height: 1.1em; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.card-icon .lucide, .benefit-icon .lucide, .contact-icon .lucide { width: 1.3rem; height: 1.3rem; }
.nav-social-group .lucide { width: 1rem; height: 1rem; }

/* Navigation */
.navbar { background: rgba(255, 248, 241, .9); border-bottom: 1px solid rgba(226, 114, 91, .22); }
.nav-menu a { font-weight: 700; letter-spacing: .01em; }
.nav-menu a::after { background: var(--gold); }
.nav-social-group a:hover { color: var(--gold); border-color: rgba(226, 114, 91, .45); background: #fff8f1; box-shadow: 0 4px 10px rgba(226, 114, 91, .18); }

/* Buttons */
.btn, .enroll-btn, .ghost-btn, .back-btn, .retry-btn { border-radius: 999px; padding: .8rem 1.4rem; }
.btn-primary, .enroll-btn { background: var(--dark); color: var(--cream); box-shadow: 0 12px 24px rgba(26, 26, 46, .22); }
.btn-primary .lucide { color: var(--sun); }
.btn-primary:hover { background: #2a2a47; }
.btn-secondary { background: transparent; border-color: rgba(226, 114, 91, .55); color: var(--brown); }
.btn-secondary:hover { background: #fff8f1; }

/* Hero */
.hero-background::before { content: ""; position: absolute; inset: 0; background: var(--pat-diamond); opacity: .08; mask-image: linear-gradient(90deg, transparent 45%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000); }
.hero-proof strong, .hero-reports-head strong { color: var(--sun); }
.divider { height: 14px; background: var(--cream) var(--pat-weave) repeat-x center; opacity: .95; border-bottom: 1px solid rgba(226, 114, 91, .25); }

/* Shared decorative silhouettes */
.sil, .about-africa, .quote-africa, .footer-sil, .footer-africa { position: absolute; pointer-events: none; color: var(--brown); }
.sil { width: clamp(140px, 22vw, 300px); opacity: .07; }
.about { position: relative; overflow: hidden; background: var(--cream); padding-top: clamp(4.5rem, 8vw, 7.5rem); }
.about::before { content: ""; position: absolute; inset: 0; background: var(--pat-diamond); opacity: .06; mask-image: linear-gradient(90deg, transparent 50%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 50%, #000); pointer-events: none; }
.about > .container { position: relative; z-index: 2; }
.about-africa { right: -7%; top: 4%; width: min(52vw, 660px); color: var(--gold); opacity: .09; }
.sil-about { right: 4%; bottom: 7rem; }
.challenge, .partners { position: relative; overflow: hidden; }
.challenge > .container, .partners > .container { position: relative; z-index: 2; }
.sil-challenge { right: 5%; top: 2.5rem; width: clamp(110px, 12vw, 170px); }
.sil-partners { left: 3%; top: 2rem; width: clamp(110px, 12vw, 170px); }

/* About: editorial composition */
.about-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.about-title { margin-top: 1rem; max-width: 21ch; color: var(--dark); font-family: "Merriweather", Georgia, serif; font-size: clamp(2.5rem, 4vw, 4.5rem); line-height: 1.02; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.about-lede { max-width: 52ch; padding-left: 1.4rem; border-left: 2px solid var(--gold-soft); color: #333333; font-size: 1.08rem; line-height: 1.75; }
.about-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.about-card { position: relative; overflow: hidden; padding: 2.2rem 2.2rem 2.4rem; background: #ffffff; border: 1px solid rgba(226, 114, 91, .32); border-radius: 4px 32px 4px 32px; box-shadow: 0 24px 40px -28px rgba(26, 26, 46, .35); }
.about-card:nth-child(2) { margin-top: 2.5rem; border-radius: 32px 4px 32px 4px; }
.about-card::after { content: ""; position: absolute; right: -14px; top: -14px; width: 110px; height: 110px; background: var(--pat-diamond); opacity: .12; }
.about-num { display: block; margin-bottom: .6rem; color: var(--gold); font-family: "Merriweather", Georgia, serif; font-size: 3rem; line-height: 1; font-weight: 700; }
.about-card p { margin-top: .9rem; max-width: 34ch; color: var(--brown); font-family: "Merriweather", Georgia, serif; font-size: clamp(1.3rem, 1.8vw, 1.65rem); line-height: 1.3; font-weight: 600; }
.section-kicker { color: var(--gold); }

/* Hubs: Nairobi - Kigali - Accra */
.hubs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: clamp(4rem, 7vw, 6rem); padding: 2.4rem 0; border-block: 1px solid rgba(226, 114, 91, .3); }
.hubs-copy { max-width: 46ch; color: #333333; line-height: 1.75; }
.hubs-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; text-align: center; }
.hubs-track::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 7px; border-top: 2px dotted var(--gold-soft); }
.hub { position: relative; display: grid; gap: .15rem; justify-items: center; }
.hub-dot { width: 16px; height: 16px; margin-bottom: .6rem; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); box-shadow: 0 0 0 5px rgba(255, 177, 153, .25); }
.hub strong { color: var(--dark); font-family: "Merriweather", Georgia, serif; font-size: 1.6rem; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; }
.hub small { color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

/* Initiatives */
.initiatives { margin-top: clamp(3.5rem, 6vw, 5rem); }
.initiative-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; margin-top: 1.2rem; }
.initiative { padding: .4rem 0 .4rem 1.5rem; border-left: 3px solid var(--gold); }
.initiative h3 { color: var(--dark); font-family: "Merriweather", Georgia, serif; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; }
.initiative p { max-width: 52ch; margin-top: .6rem; color: var(--muted); }

/* What we do */
.what-we-do { margin-top: clamp(4rem, 7vw, 6rem); }
.services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 2rem; margin-top: 1.2rem; }
.service { grid-column: span 2; padding: 1.5rem .2rem 2rem; border-top: 1px solid rgba(226, 114, 91, .4); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.service:nth-child(n+4) { grid-column: span 3; }
.service:hover { transform: translateY(-4px); border-top-color: var(--gold); background: linear-gradient(180deg, rgba(255, 177, 153, .14), transparent 70%); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; color: var(--gold); }
.service-num { font-family: "Merriweather", Georgia, serif; font-size: 2rem; line-height: 1; font-weight: 700; }
.service-top .lucide { width: 1.5rem; height: 1.5rem; }
.service h3 { color: var(--dark); font-size: .92rem; font-weight: 800; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }
.service p { max-width: 40ch; margin-top: .6rem; color: var(--muted); font-size: .95rem; }
.about-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 3rem; }

/* Other sections: calmer cards, subtle motifs */
.card, .partner-card, .benefit-item, .solution-item { border-radius: 4px 22px 4px 22px; }
.card:nth-child(2) { border-radius: 22px 4px 22px 4px; }
.card::after, .partner-card::after { content: ""; position: absolute; right: -10px; top: -10px; width: 72px; height: 72px; background: var(--pat-diamond); opacity: .1; pointer-events: none; }
.card-icon, .benefit-icon, .contact-icon { color: var(--gold); background: rgba(255, 177, 153, .2); border-radius: 50%; }
.card:hover, .solution-item:hover, .partner-card:hover, .benefit-item:hover, .team-card:hover, .article-card:hover { border-color: rgba(226, 114, 91, .5); box-shadow: 0 20px 40px -22px rgba(26, 26, 46, .35); }
.stat-item { background: #edf2e6; border-color: rgba(226, 114, 91, .25); }
.stat-number { color: var(--gold); }
.section-deep { background: linear-gradient(135deg, rgba(26, 26, 46, .97), rgba(26, 26, 46, .98)), url("images/8Z9A1676.jpg") center / cover; position: relative; }
.section-deep::before { content: ""; position: absolute; inset: 0; background: var(--pat-diamond); opacity: .05; pointer-events: none; }
.section-deep .container { position: relative; }
.solution-number { color: var(--sun); }
.event-badge, .card-chip, .article-category, .course-category { color: var(--gold); background: rgba(255, 177, 153, .22); }
.read-more { color: var(--gold); }

/* Testimonial: golden editorial pull quote */
.testimonial { position: relative; overflow: hidden; padding: clamp(5rem, 9vw, 8.5rem) 0; color: var(--brown); background: var(--sun); clip-path: polygon(0 0, 100% 3vw, 100% 100%, 0 calc(100% - 3vw)); }
.testimonial::before { content: ""; position: absolute; inset: 0; background: var(--pat-lines); opacity: .08; }
.testimonial::after { content: ""; position: absolute; right: -40px; top: 3vw; width: 340px; height: 340px; background: var(--pat-diamond-dark); opacity: .09; transform: rotate(8deg); }
.quote-africa { left: -4%; bottom: -8%; width: min(40vw, 460px); color: var(--brown); opacity: .06; }
.sil-quote { right: 3%; bottom: 3.5vw; opacity: .12; width: clamp(160px, 22vw, 300px); }
.testimonial-grid { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); align-items: start; }
.quote-mark { color: var(--brown); font-family: "Merriweather", Georgia, serif; font-size: clamp(5rem, 9vw, 8rem); line-height: .75; opacity: .85; }
.testimonial-content { max-width: 46rem; }
.testimonial-text { font-family: "Merriweather", Georgia, serif; font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.25; font-weight: 600; letter-spacing: -.005em; margin-top: 0; text-wrap: pretty; }
.testimonial-author { display: grid; gap: .2rem; margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid rgba(26, 26, 46, .4); max-width: 24rem; }
.testimonial-author strong { font-size: .95rem; font-weight: 800; }
.testimonial-author span { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

/* Contact + footer */
.contact { position: relative; background: var(--dark); }
.site-footer { position: relative; background: var(--brown); }
.footer-sil { left: 50%; top: 0; width: min(80%, 440px); transform: translate(-50%, -100%); color: var(--gold-soft); opacity: .11; }
.contact { padding-bottom: 8rem; }
.contact .container { position: relative; z-index: 2; }
.footer-africa { right: 2%; bottom: 1rem; width: clamp(120px, 16vw, 220px); color: var(--gold-soft); opacity: .07; }
.site-footer .container { position: relative; z-index: 2; }
.site-footer-bottom { border-top-color: rgba(255, 177, 153, .22); }
.site-footer a:hover, .site-footer-mark-text span, .site-footer-tagline { color: var(--gold-soft); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; background: var(--pat-weave) repeat-x center; opacity: .6; }

/* Scroll reveals (JS adds .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
    .about-head, .hubs, .initiative-grid { grid-template-columns: 1fr; }
    .about-title { max-width: 20ch; }
    .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service, .service:nth-child(n+4) { grid-column: auto; }
    .sil-about { bottom: 2rem; }
}
@media (max-width: 700px) {
    .section { padding: 4.5rem 0 5rem; }
    .about-cards, .services { grid-template-columns: 1fr; }
    .about-card:nth-child(2) { margin-top: 0; }
    .about-card { padding: 1.7rem; }
    .about-lede { padding-left: 1rem; font-size: 1rem; }
    .hub strong { font-size: 1.15rem; letter-spacing: .03em; }
    .hubs-track::before { left: 17%; right: 17%; }
    .sil, .about-africa { display: none; }
    .quote-africa { opacity: .05; }
    .sil-quote { display: block; width: 130px; opacity: .1; right: 1rem; bottom: 1.5rem; }
    .testimonial { clip-path: polygon(0 0, 100% 24px, 100% 100%, 0 calc(100% - 24px)); }
    .testimonial-grid { grid-template-columns: 1fr; gap: .4rem; }
    .quote-mark { font-size: 4.5rem; height: 2.8rem; }
    .testimonial-text { font-size: 1.45rem; }
    .about::before, .hero-background::before, .section-deep::before { opacity: .035; }
    .footer-sil { width: 96%; }
}
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .spin { animation: none; }
}
/* ===== About Us: Career Café Africa editorial redesign (namespaced .ab-*) ===== */
:root { --ab-ink: #1A1A2E; --ab-gold: #FFD700; }
.ab { position: relative; overflow: hidden; background: var(--cream); color: var(--brown); font-family: "Lato", system-ui, sans-serif; }
.ab .sil { fill: currentColor; position: absolute; pointer-events: none; }
.ab-label { display: flex; align-items: center; gap: .9rem; margin: 0; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.large-section-label, .ab-label-large { font-size: clamp(1.25rem, 2.2vw, 2rem); letter-spacing: .12em; }
.ab-label::before { content: ""; width: 1px; height: 2.6rem; background: var(--gold); }

/* Hero */
.ab-hero { position: relative; padding: clamp(5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem); }
.ab-hero::before { content: ""; position: absolute; inset: 0; background: var(--pat-weave); opacity: .08; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); pointer-events: none; }
.ab-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ab-title { margin: 1.6rem 0 0; color: var(--dark); font-family: "Merriweather", Georgia, serif; font-size: clamp(2.5rem, 3.7vw, 4.2rem); line-height: 1.03; font-weight: 700; letter-spacing: -.02em; }
.ab-title span { display: block; }
.ab-lede { display: grid; gap: 1rem; max-width: 54ch; margin-top: 2rem; padding-left: 1.4rem; border-left: 2px solid var(--gold-soft); color: #333333; line-height: 1.75; }
.ab-lede p { margin: 0; font-size: clamp(1.08rem, 1.4vw, 1.2rem); }
.ab-art { margin: 0; justify-self: end; width: min(100%, 430px); }
.ab-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.a-frame { fill: none; stroke: var(--gold-soft); stroke-width: 1.5; }
.a-arch { fill: var(--ab-ink); }
.a-sun { fill: var(--ab-gold); }
.a-af { fill: var(--gold-soft); opacity: .78; }
.a-people { fill: var(--cream); color: var(--cream); }

/* Mission / Vision */
.ab-mv { position: relative; overflow: hidden; background: var(--ab-ink); color: var(--cream); padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem); }
.ab-mv::before { content: ""; position: absolute; inset: 0; background: url("images/african-pattern.jpg") center / 340px repeat; filter: invert(1); opacity: .035; pointer-events: none; }
.ab-mv-sil { right: 3%; bottom: -8%; width: clamp(150px, 20vw, 280px); color: var(--cream); opacity: .08; }
.ab-mv-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.ab-conn { grid-column: 1 / 8; grid-row: 1; height: 0; border-top: 1px solid rgba(255, 177, 153, .55); transform-origin: left; }
.ab-panel { padding-left: clamp(1.2rem, 2.4vw, 2.4rem); border-left: 1px solid rgba(255, 177, 153, .55); }
.ab-mission { grid-column: 1 / 7; grid-row: 2; padding-top: 2.5rem; padding-bottom: 1rem; }
.ab-vision { grid-column: 8 / 13; grid-row: 1 / 3; padding-top: clamp(7rem, 12vw, 11rem); }
.ab-no { display: block; color: transparent; -webkit-text-stroke: 1px var(--gold-soft); font-size: clamp(4.5rem, 9vw, 8.5rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.ab-h { margin: 1.2rem 0 0; color: var(--gold-soft); font-size: .78rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; }
.ab-rule { display: block; width: 3.5rem; height: 2px; margin: 1.1rem 0 1.4rem; background: var(--gold-soft); transition: width .5s var(--ease); }
.ab-panel:hover .ab-rule { width: 6rem; }
.ab-panel p { max-width: 30ch; margin: 0; font-family: "Merriweather", Georgia, serif; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.28; font-weight: 600; }

/* Editorial break */
.ab-break { position: relative; overflow: hidden; padding: clamp(6rem, 11vw, 10rem) 0 clamp(7rem, 12vw, 11rem); text-align: center; }
.ab-break::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; background: var(--pat-weave) repeat-x center; opacity: .7; }
.ab-break-sils { left: 0; bottom: 0; width: 100%; height: 70%; color: var(--brown); opacity: .07; }
.ab-break .container { position: relative; z-index: 2; }
.ab-break-k { margin: 0; color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .5em; text-transform: uppercase; padding-left: .5em; }
.ab-break-t { margin: 1.2rem 0 0; color: var(--dark); font-family: "Merriweather", Georgia, serif; font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.ab-line { display: block; width: min(14rem, 50%); height: 2px; margin: 2.2rem auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform-origin: center; }

/* Flagship initiatives */
.ab-flag { position: relative; background: var(--sand); padding: clamp(4rem, 7vw, 6rem) 0; }
.ab-flag::before { content: ""; position: absolute; inset: 0; background: var(--pat-lines); opacity: .05; pointer-events: none; }
.ab-flag-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ab-flag-t { margin: 1.4rem 0 0; max-width: 14ch; color: var(--dark); font-family: "Merriweather", Georgia, serif; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.08; font-weight: 700; }
.ab-init { padding: .3rem 0 .3rem 1.6rem; border-left: 3px solid var(--gold); }
.ab-init + .ab-init { margin: 2.2rem 0 0 clamp(0rem, 4vw, 3.5rem); }
.ab-init h4 { margin: 0; color: var(--dark); font-family: "Merriweather", Georgia, serif; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.15; font-weight: 700; }
.ab-init p { max-width: 52ch; margin: .6rem 0 0; color: #6b7280; line-height: 1.7; }

/* What we do */
.ab-wwd { position: relative; padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(5rem, 8vw, 7.5rem); }
.ab-svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); margin-top: 2rem; }
.ab-svc { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; padding: 1.8rem 3.6rem 2.2rem 1rem; border-top: 1px solid rgba(226, 114, 91, .4); transition: background .4s var(--ease); }
.ab-svc:nth-child(even), .ab-cta { margin-top: 3.5rem; }
.ab-svc::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.ab-svc:hover { background: linear-gradient(180deg, rgba(255, 177, 153, .16), transparent 75%); }
.ab-svc:hover::before { transform: scaleX(1); }
.ab-svc-no { color: var(--gold); font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; transition: transform .4s var(--ease); }
.ab-svc:hover .ab-svc-no { transform: translateX(6px); }
.ab-svc h3 { margin: 0; color: var(--dark); font-family: "Merriweather", Georgia, serif; font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.15; font-weight: 700; }
.ab-svc p { max-width: 38ch; margin: .55rem 0 0; color: #6b7280; font-size: .95rem; line-height: 1.65; }
.ab-ic, .ab-arr { position: absolute; right: 1rem; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ab-ic { top: 1.7rem; width: 1.5rem; height: 1.5rem; }
.ab-arr { bottom: 1.8rem; width: 1.25rem; height: 1.25rem; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .4s var(--ease); }
.ab-svc:hover .ab-arr { opacity: 1; transform: none; }
.ab-cta { position: relative; display: flex; flex-wrap: wrap; align-content: center; gap: .9rem; padding: 2rem; background: var(--ab-ink); border-radius: 4px 28px 4px 28px; overflow: hidden; }
.ab-cta::before { content: ""; position: absolute; right: -20px; top: -20px; width: 120px; height: 120px; background: var(--pat-diamond); opacity: .18; pointer-events: none; }
.ab-cta .btn { position: relative; }
.ab-cta .btn-primary { background: var(--ab-gold); color: var(--brown); box-shadow: none; }
.ab-cta .btn-primary:hover { background: var(--gold-soft); }
.ab-cta .btn-secondary { color: var(--cream); border-color: rgba(255, 177, 153, .6); }
.ab-cta .btn-secondary:hover { background: rgba(255, 177, 153, .15); }

/* Testimonial */
.ab-quote { position: relative; overflow: hidden; background: #FFD700; color: var(--brown); padding: clamp(5rem, 9vw, 8rem) 0; }
.ab-quote::before { content: ""; position: absolute; inset: 0; background: url("images/african-pattern.jpg") center / 340px repeat; mix-blend-mode: multiply; opacity: .05; pointer-events: none; }
.ab-quote-af { position: absolute; right: -5%; top: 50%; width: min(42vw, 480px); height: auto; transform: translateY(-50%); fill: var(--brown); opacity: .08; pointer-events: none; }
.ab-quote .container { position: relative; z-index: 2; }
.ab-quote-in { max-width: 46rem; margin: 0 auto; }
.ab-qm { display: block; height: 2rem; font-family: "Merriweather", Georgia, serif; font-size: 3.2rem; line-height: 1; font-weight: 700; opacity: .55; }
.ab-qt { margin: 0; font-family: "Merriweather", Georgia, serif; font-size: clamp(1.6rem, 2.7vw, 2.4rem); line-height: 1.4; font-weight: 600; text-wrap: pretty; }
.ab-qa { display: grid; gap: .45rem; justify-items: end; margin-top: 3rem; text-align: right; }
.ab-qa::before { content: ""; width: 3rem; height: 1px; margin-bottom: 1rem; background: var(--brown); opacity: .6; }
.ab-qa strong { font-size: .9rem; font-weight: 800; }
.ab-qa span { font-size: .8rem; font-weight: 500; opacity: .8; }

/* Motion */
.js .ab-r { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .ab-r.in { opacity: 1; transform: none; }
.js .ab-conn, .js .ab-line { transform: scaleX(0); opacity: 1; transition: transform 1.4s var(--ease) .2s; }
.js .ab-conn.in, .js .ab-break .in .ab-line { transform: scaleX(1); }
.js .ab-break .ab-line { transform: scaleX(0); }

/* Responsive */
@media (max-width: 960px) {
    .ab-hero-grid, .ab-flag-grid { grid-template-columns: 1fr; }
    .ab-art { justify-self: center; width: min(78%, 360px); margin-top: 1rem; }
    .ab-mv-grid { display: block; }
    .ab-conn { display: none; }
    .ab-panel { padding-top: 0; }
    .ab-vision { margin: 3.5rem 0 0 clamp(1.5rem, 8vw, 4rem); }
    .ab-mission { padding-top: 0; }
    .ab-svc-grid { grid-template-columns: 1fr; }
    .ab-svc:nth-child(even), .ab-cta { margin-top: 0; }
    .ab-cta { margin-top: 2rem; }
    .ab-break-sils { opacity: .06; }
}
@media (max-width: 600px) {
    .ab-title { font-size: clamp(2.5rem, 11vw, 3rem); }
    .ab-lede { padding-left: 1rem; }
    .ab-svc { padding-right: 3rem; gap: .9rem; }
    .ab-quote-af { width: 80vw; right: -20%; opacity: .1; }
    .ab-qa { justify-items: start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .js .ab-r, .js .ab-conn, .js .ab-line, .ab-svc, .ab-svc::before, .ab-arr, .ab-svc-no, .ab-rule { opacity: 1 !important; transform: none !important; transition: none !important; }
    .ab-arr { opacity: 0 !important; }
    .ab-svc:hover .ab-arr { opacity: 1 !important; }
}


/* Reports dialog + mobile hero declutter */
.hero-reports-btn { display: none; margin-top: 1.4rem; padding: .7rem 1.2rem; border: 1px solid rgba(255, 177, 153, .7); border-radius: 999px; background: rgba(26, 26, 46, .45); color: #fff; font: 700 .85rem "Lato", sans-serif; cursor: pointer; backdrop-filter: blur(8px); }
.hero-reports-btn i { margin-right: .5rem; color: var(--sun); }
#reportsNavLink { cursor: pointer; }
.rp-dialog { inset: 0; margin: auto; max-height: 90vh; width: min(92vw, 440px); padding: 1.4rem; border: 1px solid rgba(226, 114, 91, .4); border-radius: 4px 24px 4px 24px; background: var(--cream); color: var(--brown); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.rp-dialog::backdrop { background: rgba(26, 26, 46, .6); }
.rp-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.rp-head strong { display: block; font: 700 1.7rem "Merriweather", Georgia, serif; }
.rp-head span { color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.rp-close { border: 0; background: none; color: var(--brown); font-size: 2rem; line-height: 1; cursor: pointer; }
.rp-link { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid rgba(226, 114, 91, .35); color: var(--brown); text-decoration: none; font-size: .95rem; font-weight: 600; line-height: 1.45; }
.rp-link i { margin-top: .15rem; color: var(--gold); font-size: 1.2rem; }
.rp-link:hover span { text-decoration: underline; }
@media (max-width: 900px) {
    .hero-reports { display: none; }
    .hero-reports-btn { display: inline-flex; align-items: center; }
}
@media (max-width: 700px) {
    .hero, .hero-courses { min-height: 0; padding: 6rem 0 2.5rem; }
    .hero-title { font-size: clamp(2.6rem, 12vw, 3.2rem); line-height: .98; }
    .hero-subtitle { margin-top: 1rem; font-size: 1rem; }
    .hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.8rem; }
    .hero-proof .stat { padding: .75rem .55rem; }
    .hero-proof strong { font-size: 1.05rem; }
    .hero-proof span { display: block; margin-top: .35rem; font-size: .66rem; line-height: 1.3; }
}

/* Publications tabs + video */
.pub-tabs { display: inline-flex; gap: .4rem; margin: 0 0 2rem; padding: .3rem; border: 1px solid rgba(226, 114, 91, .4); border-radius: 999px; }
.pub-tab { padding: .6rem 1.4rem; border: 0; border-radius: 999px; background: transparent; color: var(--brown); font: 700 .88rem "Lato", sans-serif; cursor: pointer; transition: background .3s var(--ease), color .3s; }
.pub-tab.active { background: var(--ab-ink); color: var(--cream); }
.pub-tab:not(.active):hover { background: rgba(255, 177, 153, .22); }
.pub-panel[hidden] { display: none; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.video-card { min-width: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px 28px 4px 28px; background: var(--ab-ink); box-shadow: 0 24px 50px -24px rgba(26, 26, 46, .5); }
.video-frame iframe, .video-play, .video-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play { padding: 0; border: 0; cursor: pointer; background: none; }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26, 26, 46, .45), transparent 60%); }
.video-play-icon { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-items: center; width: 4.6rem; height: 4.6rem; border-radius: 50%; background: #FFD700; color: var(--brown); font-size: 1.3rem; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.video-play:hover .video-play-icon, .video-play:focus-visible .video-play-icon { transform: translate(-50%, -50%) scale(1.08); }
.video-title { margin: 1rem 0 0; color: var(--dark); font-family: "Merriweather", Georgia, serif; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.25; }
.video-link { display: inline-block; margin-top: 1rem; color: var(--gold); font-size: .9rem; font-weight: 700; text-decoration: none; }
.video-link:hover { text-decoration: underline; }
@media (max-width: 700px) {
    .video-grid { grid-template-columns: 1fr; }
}
.ab-credit { margin: 0; font-size: .75rem; opacity: .7; }
.ab-credit a { color: inherit; }

/* ===== Palette pass: exact Career Café tokens =====
   Dark = structure (navy) · Wash/Gray = breathing space · Primary coral = buttons + accents
   Primary-light = accents on navy · Secondary olive = small text labels, links · Accent yellow = emphasis */
.section-alt { background: var(--green-wash); }
.btn-primary, .enroll-btn { background: var(--primary); color: var(--dark); box-shadow: 0 12px 24px rgba(226, 114, 91, .28); }
.btn-primary:hover, .enroll-btn:hover { background: var(--primary-light); }
.btn-primary .lucide, .btn-primary i { color: var(--dark); }
.btn-secondary { border-color: var(--primary); color: var(--dark); }
.btn-secondary:hover { background: rgba(226, 114, 91, .1); }
/* small text in olive for legibility on light backgrounds (coral stays for rules, numerals, icons) */
.section-kicker, .ab-label, .ab-break-k, .video-link, .rp-head span, .hub small, .read-more,
.event-badge, .card-chip, .article-category, .course-category { color: var(--secondary); }
.event-badge, .card-chip, .article-category, .course-category { background: var(--green-wash); }
.ab-label::before, .ab-lede, .ab-init, .ab-svc, .ab-conn { border-color: var(--primary); }
.ab-label::before { background: var(--primary); }
.ab-svc-no, .ab-ic, .ab-arr { color: var(--primary); }
.ab-ic, .ab-arr { stroke: var(--primary); }
.ab-cta .btn-primary { background: var(--accent); color: var(--dark); box-shadow: none; }
.ab-cta .btn-primary:hover { background: var(--primary-light); }
.ab-cta .btn-secondary { color: #fff; border-color: var(--primary-light); }
.ab-cta .btn-secondary:hover { background: rgba(255, 177, 153, .18); }
.ab-quote { background: var(--accent); }
.ab-flag { background: var(--green-wash); }
.pub-tab.active { background: var(--dark); color: #fff; }
.pub-tab:not(.active):hover { background: rgba(226, 114, 91, .14); }
.rp-link, .rp-dialog { color: var(--dark); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
/* labels on navy use the lighter coral */
.section-deep .section-kicker, .contact .section-kicker, .site-footer .section-kicker, .hero .section-kicker,
.section-deep .read-more, .contact .read-more { color: var(--primary-light); }

/* About Us: straight single column on tablet/mobile */
@media (max-width: 960px) {
    .ab-vision { margin: 2.5rem 0 0; }
    .ab-init + .ab-init { margin: 1.8rem 0 0; }
}