/*
 * About page (web/about.html). Colors come from the AIHub logo (green "HUB",
 * blue/coral/amber/sky puzzle bulb) and the home-page banner (cyan -> magenta
 * over deep indigo). Everything is scoped under .ah-hero / .ah-about.
 */
:root {
    --ah-indigo: #1b1f5e;
    --ah-indigo-soft: #2a2f86;
    --ah-cyan: #1fb3cc;
    --ah-magenta: #d6246e;
    --ah-green: #229a36;
    --ah-blue: #5b8fbf;
    --ah-sky: #6ab7ea;
    --ah-amber: #f2a93b;
    --ah-coral: #f06a6a;

    --ah-ink: #1d2233;
    --ah-muted: #5a6275;
    --ah-line: #e3e7ef;
    --ah-surface: #ffffff;
    --ah-tint: #f5f7fb;

    --ah-gradient: linear-gradient(90deg, var(--ah-cyan), var(--ah-magenta));
    --ah-radius: 14px;
    --ah-shadow: 0 1px 2px rgba(27, 31, 94, .06), 0 8px 24px rgba(27, 31, 94, .07);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.ah-hero {
    position: relative;
    background-color: var(--ah-indigo);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.ah-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(27, 31, 94, .92) 0%, rgba(27, 31, 94, .72) 45%, rgba(214, 36, 110, .55) 100%);
}
.ah-hero__inner {
    position: relative;
    padding-top: 64px;
    padding-bottom: 72px;
}
.ah-hero__logo {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 8px auto 20px;
}
.ah-hero__title {
    margin: 0 0 14px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: #fff;
}
.ah-hero__lead {
    max-width: 680px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
}
.ah-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.ah-btn,
.ah-btn:focus {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.ah-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}
.ah-btn--primary {
    background: var(--ah-green);
    color: #fff;
    box-shadow: 0 6px 18px rgba(34, 154, 54, .35);
}
.ah-btn--primary:hover { color: #fff; background: #1d8a30; }
.ah-btn--ghost {
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
}
.ah-btn--ghost:hover { color: var(--ah-indigo); background: #fff; }
.ah-btn--light {
    background: #fff;
    color: var(--ah-indigo);
}
.ah-btn--light:hover { color: var(--ah-magenta); }

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */
.ah-about {
    color: var(--ah-ink);
    /* The site footer is navbar-fixed-bottom */
    padding-bottom: 50px;
}
.ah-section {
    padding: 72px 0;
    background: var(--ah-surface);
}
.ah-section--tint { background: var(--ah-tint); }

.ah-section__head {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}
.ah-section__head h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ah-indigo);
}
.ah-kicker {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ah-magenta);
}
.ah-kicker::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin: 8px auto 0;
    border-radius: 2px;
    background: var(--ah-gradient);
}
.ah-kicker--light { color: #fff; opacity: .9; }

/* ------------------------------------------------------------------ */
/* Grid + cards                                                        */
/* ------------------------------------------------------------------ */
.ah-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .ah-grid--2 { grid-template-columns: repeat(2, 1fr); }
    .ah-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .ah-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
    .ah-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
/* Five sponsors: 2 per row on phones, 3 on tablets, all in one row on desktop. */
.ah-sponsors--5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .ah-sponsors--5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .ah-sponsors--5 { grid-template-columns: repeat(5, 1fr); } }

.ah-card {
    position: relative;
    padding: 28px;
    background: var(--ah-surface);
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius);
    box-shadow: var(--ah-shadow);
}
.ah-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ah-indigo);
}
.ah-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ah-muted);
}

.ah-card--accent-blue,
.ah-card--accent-green,
.ah-card--accent-amber { border-top-width: 4px; }
.ah-card--accent-blue { border-top-color: var(--ah-blue); }
.ah-card--accent-green { border-top-color: var(--ah-green); }
.ah-card--accent-amber { border-top-color: var(--ah-amber); }

.ah-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
}
.ah-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ah-icon--cyan { color: #0f8ba0; background: rgba(31, 179, 204, .12); }
.ah-icon--green { color: var(--ah-green); background: rgba(34, 154, 54, .12); }
.ah-icon--magenta { color: var(--ah-magenta); background: rgba(214, 36, 110, .1); }

.ah-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ah-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ah-muted);
}
.ah-list li:last-child { margin-bottom: 0; }
.ah-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ah-gradient);
}

/* Activities */
.ah-card--logo {
    display: flex;
    flex-direction: column;
    text-align: center;
}
.ah-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    margin-bottom: 18px;
    padding: 10px;
    border-bottom: 1px solid var(--ah-line);
}
.ah-logo-box img {
    max-width: 100%;
    max-height: 76px;
    object-fit: contain;
}
.ah-card--logo h3 { font-size: 17px; }

/* Plan */
.ah-card--plan h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.ah-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.ah-dot--cyan { background: var(--ah-cyan); }
.ah-dot--magenta { background: var(--ah-magenta); }

/* ------------------------------------------------------------------ */
/* People                                                              */
/* ------------------------------------------------------------------ */
.ah-person {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--ah-surface);
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius);
    box-shadow: var(--ah-shadow);
}
.ah-person::before {
    content: "";
    height: 5px;
    background: var(--ah-gradient);
}
.ah-person__photo {
    width: 132px;
    height: 132px;
    margin: 28px 28px 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--ah-cyan), 0 8px 20px rgba(27, 31, 94, .15);
}
.ah-person__body {
    padding: 20px 28px 28px;
}
.ah-person__body h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: var(--ah-indigo);
}
.ah-person__role {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ah-magenta);
}
.ah-person__body p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ah-muted);
}
.ah-person__body .ah-person__role { color: var(--ah-magenta); }
.ah-person__meta {
    padding-top: 12px;
    border-top: 1px solid var(--ah-line);
    font-size: 14px !important;
}
.ah-person__contact {
    margin: 0;
    font-family: Menlo, Consolas, monospace;
    font-size: 13px !important;
    color: var(--ah-indigo-soft) !important;
}
@media (min-width: 992px) {
    .ah-person { flex-direction: column; }
}

.ah-member {
    padding: 28px 24px;
    text-align: center;
    background: var(--ah-surface);
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius);
    box-shadow: var(--ah-shadow);
}
.ah-member img {
    width: 112px;
    height: 112px;
    margin-bottom: 16px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 25%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--ah-line);
}
.ah-member h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ah-indigo);
}
.ah-member p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ah-muted);
}

/* ------------------------------------------------------------------ */
/* Sponsors                                                            */
/* ------------------------------------------------------------------ */
.ah-sponsor {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    padding: 20px;
    background: var(--ah-surface);
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius);
    transition: box-shadow .15s ease, transform .15s ease;
}
.ah-sponsor:hover,
.ah-sponsor:focus {
    transform: translateY(-2px);
    box-shadow: var(--ah-shadow);
}
.ah-sponsor img {
    max-width: 100%;
    max-height: 84px;
    object-fit: contain;
}

/* ------------------------------------------------------------------ */
/* Call to action                                                      */
/* ------------------------------------------------------------------ */
.ah-cta {
    padding: 64px 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(115deg, var(--ah-indigo) 0%, #1b6f98 50%, var(--ah-magenta) 100%);
}
.ah-cta h2 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}
.ah-cta p {
    margin: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, .88);
}

/* ------------------------------------------------------------------ */
/* Small screens                                                       */
/* ------------------------------------------------------------------ */
@media (max-width: 767px) {
    .ah-hero__inner { padding-top: 44px; padding-bottom: 52px; }
    .ah-hero__title { font-size: 30px; }
    .ah-hero__lead { font-size: 16px; }
    .ah-section { padding: 52px 0; }
    .ah-section__head h2, .ah-cta h2 { font-size: 24px; }
    .ah-card, .ah-person__body { padding-left: 22px; padding-right: 22px; }
    .ah-person__photo { margin-left: 22px; }
}
