/* ==========================================================================
   Alumni portal
   Scoped under .alum-* so nothing on the public site changes.
   Colours and spacing come from the tokens in site.css, so dark mode works
   without a second palette.
   ========================================================================== */

.alum-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sky-deep);
    margin-bottom: .75rem;
}
.alum-eyebrow i { color: var(--gold); }

/* ---------- hero ---------- */
.alum-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
    background:
        radial-gradient(900px 420px at 12% -10%, rgba(135, 206, 235, .22), transparent 60%),
        radial-gradient(700px 380px at 92% 8%, rgba(245, 184, 61, .16), transparent 65%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff;
}
.alum-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 184, 61, .7), transparent);
}
.alum-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}
.alum-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 1.12;
    margin: 0 0 1rem;
    color: #fff;
}
.alum-hero h1 span { color: var(--gold); }
.alum-hero__lead {
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
    max-width: 40rem;
    margin-bottom: 1.5rem;
}
.alum-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2rem;
}
.alum-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 4vw, 3rem);
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .16);
}
.alum-stats div { min-width: 7rem; }
.alum-stats dt {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1;
    color: var(--gold);
}
.alum-stats dd {
    margin: .35rem 0 0;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .68);
}
.alum-hero__card {
    background: var(--card);
    color: var(--ink);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.alum-hero__card h2 {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1rem;
}
.alum-hero__card h2 i { color: var(--gold); }
.alum-steps {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: .85rem;
}
.alum-steps li { display: flex; gap: .75rem; align-items: flex-start; }
.alum-steps li > span {
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .78rem;
    font-weight: 800;
    color: var(--navy);
    background: var(--gold);
}
.alum-steps strong { display: block; font-size: .92rem; }
.alum-steps p { margin: .1rem 0 0; font-size: .84rem; color: var(--muted); line-height: 1.5; }

/* ---------- portal tab bar ---------- */
.alum-nav {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    /* Above the site header (1030): while scrolling, the portal tabs stay usable
       instead of sliding underneath the main navigation bar. */
    z-index: 1040;
}
.alum-nav .container {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 3.5rem;
}
.alum-tabs {
    display: flex;
    gap: .25rem;
    overflow-x: auto;
    scrollbar-width: thin;
    flex: 1 1 auto;
}
.alum-tab {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .8rem;
    font-size: .86rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.alum-tab i { font-size: .8rem; opacity: .8; }
.alum-tab:hover { color: var(--ink); }
.alum-tab.is-active {
    color: var(--navy);
    border-bottom-color: var(--gold);
}
[data-theme="dark"] .alum-tab.is-active { color: var(--sky); }
.alum-who {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex: 0 0 auto;
    font-size: .82rem;
}
.alum-who__name {
    color: var(--muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.alum-who__name:hover { color: var(--ink); }
.alum-signout {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    border-radius: 999px;
    padding: .3rem .8rem;
    font-size: .78rem;
}
.alum-signout:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- sections ---------- */
.alum-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.alum-section--tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.alum-section--tint { background: var(--tint); }
.alum-section__head { max-width: 44rem; margin-bottom: 2rem; }
.alum-section__head h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin: 0 0 .4rem;
}
.alum-section__head p { color: var(--muted); margin: 0; }
.alum-section__head--row {
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}
.alum-grid { display: grid; gap: 1.25rem; }
.alum-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alum-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.alum-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- cards ---------- */
.alum-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow);
    height: 100%;
}
.alum-card h3 {
    font-size: 1.02rem;
    margin: 0 0 .5rem;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.alum-card h3 i { color: var(--gold); font-size: .95rem; }
.alum-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: .75rem; }
.alum-card p:last-child { margin-bottom: 0; }
.alum-card__icon {
    display: inline-grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: .9rem;
    background: var(--tint);
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: .9rem;
}
[data-theme="dark"] .alum-card__icon { color: var(--sky); }
.alum-card--row { display: flex; gap: 1rem; align-items: flex-start; }
.alum-card--row .alum-card__icon { margin-bottom: 0; flex: 0 0 auto; }

/* ---------- people ---------- */
.alum-person { text-align: center; }
.alum-person h3 { font-size: 1rem; margin: .75rem 0 .15rem; }
.alum-person__meta { color: var(--muted); font-size: .8rem; margin: 0; }
.alum-person__job { font-size: .85rem; margin: .35rem 0 0; }
.alum-person__job span { color: var(--muted); }
.alum-person__name { color: var(--ink); text-decoration: none; }
.alum-person__name:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .alum-person__name:hover { color: var(--sky); }
.alum-person__link { margin-top: .55rem; }
.alum-avatar {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    object-fit: cover;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: var(--gold);
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .02em;
    border: 2px solid var(--gold);
    flex: 0 0 auto;
}
.alum-avatar--lg { width: 5rem; height: 5rem; font-size: 1.4rem; }
.alum-avatar--xl { width: 4.4rem; height: 4.4rem; font-size: 1.25rem; }

/* ---------- events ---------- */
.alum-event {
    display: flex;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem;
    box-shadow: var(--shadow);
    height: 100%;
}
.alum-event__date {
    flex: 0 0 auto;
    width: 3.6rem;
    height: 4rem;
    border-radius: .8rem;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-content: center;
    text-align: center;
    line-height: 1;
}
.alum-event__date span {
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
}
.alum-event__date strong { font-size: 1.5rem; font-family: 'Playfair Display', Georgia, serif; }
.alum-event h3 { font-size: .98rem; margin: 0 0 .35rem; }
.alum-event p { font-size: .86rem; color: var(--muted); margin: 0 0 .3rem; line-height: 1.55; }
.alum-event__meta { font-size: .8rem; }
.alum-event__meta i { color: var(--sky-deep); }
.alum-dot { margin: 0 .15rem; }

/* ---------- stories ---------- */
.alum-story {
    display: flex;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
}
.alum-story__img { width: 9rem; object-fit: cover; flex: 0 0 auto; }
.alum-story > div { padding: 1.15rem; }
.alum-story h3 { font-size: 1rem; margin: .4rem 0 .25rem; }
.alum-story p { font-size: .87rem; color: var(--muted); margin: 0 0 .35rem; line-height: 1.6; }
.alum-story__by { font-size: .78rem; color: var(--sky-deep); }
.alum-tag {
    display: inline-block;
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--navy);
    background: var(--gold);
    border-radius: 999px;
    padding: .2rem .6rem;
}
[data-theme="dark"] .alum-tag { color: #08142a; }

/* ---------- split / callout / cta ---------- */
.alum-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.alum-split h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin: 0 0 .6rem;
}
.alum-split p { color: var(--muted); line-height: 1.75; }
.alum-callout {
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.alum-callout h3 { font-size: 1rem; margin: 0 0 .75rem; }
.alum-contact { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; font-size: .88rem; }
.alum-contact i { color: var(--sky-deep); width: 1.1rem; }
.alum-cta {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff;
    padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.alum-cta .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.alum-cta h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 .35rem; color: #fff; }
.alum-cta p { margin: 0; color: rgba(255, 255, 255, .78); max-width: 40rem; }
.alum-cta__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- buttons and links ---------- */
.alum-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.alum-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.alum-btn--gold { background: var(--gold); border-color: var(--gold); color: #08142a; }
.alum-btn--gold:hover { color: #08142a; }
.alum-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.alum-btn--ghost:hover { color: var(--ink); border-color: var(--ink); }
.alum-hero .alum-btn--ghost,
.alum-cta .alum-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.alum-hero .alum-btn--ghost:hover,
.alum-cta .alum-btn--ghost:hover { color: #fff; border-color: #fff; }
.alum-btn--sm { padding: .42rem .85rem; font-size: .8rem; }
.alum-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    font-size: .87rem;
    text-decoration: none;
}
.alum-link:hover { text-decoration: underline; }
.alum-hero .alum-link, .alum-cta .alum-link { color: var(--gold); }

/* ---------- forms ---------- */
.alum-form-wrap {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 2.25rem);
    box-shadow: var(--shadow);
    max-width: 60rem;
    margin: 0 auto;
}
.alum-form-wrap--narrow { max-width: 46rem; margin-top: 2rem; }
.alum-form-intro { margin-bottom: 1.5rem; }
.alum-form-intro h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; margin: 0 0 .4rem; }
.alum-form-intro p { color: var(--muted); margin: 0 0 .5rem; font-size: .9rem; }
.alum-form { display: grid; gap: 1rem; }
.alum-fieldset {
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.1rem 1.1rem .6rem;
    margin: 0;
}
.alum-fieldset legend {
    float: none;
    width: auto;
    padding: 0 .45rem;
    margin: 0 0 .35rem -.2rem;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sky-deep);
}
.alum-fieldset legend i { margin-right: .3rem; }
.alum-field { margin-bottom: .85rem; }
.alum-field label {
    display: block;
    font-size: .84rem;
    font-weight: 600;
    margin-bottom: .3rem;
}
.alum-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
}
.alum-field--short { max-width: 16rem; }
.alum-form .form-control,
.alum-form .form-select { border-radius: .65rem; padding: .6rem .75rem; font-size: .92rem; }
.alum-form textarea.form-control { resize: vertical; min-height: 6rem; }
.alum-hint { font-size: .78rem; color: var(--muted); margin: .3rem 0 0; }
.alum-req { color: #c0392b; }
.alum-opt { color: var(--muted); font-weight: 400; }
.alum-consent {
    background: var(--tint);
    border-radius: .9rem;
    padding: .9rem 1rem;
    font-size: .85rem;
    line-height: 1.6;
}
.alum-consent label { display: flex; gap: .65rem; align-items: flex-start; margin: 0; }
.alum-consent input { margin-top: .25rem; flex: 0 0 auto; }
.alum-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: .5rem;
}
.alum-form-actions--between { justify-content: space-between; }
.alum-pw { position: relative; }
.alum-pw .form-control { padding-right: 2.6rem; }
.alum-pw__toggle {
    position: absolute;
    right: .35rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: .35rem .5rem;
    border-radius: .5rem;
    line-height: 1;
}
.alum-pw__toggle:hover { color: var(--ink); }
.alum-preview {
    margin-top: .6rem;
    width: 6rem;
    height: 6rem;
    object-fit: cover;
    border-radius: .8rem;
    border: 1px solid var(--line);
}
.alum-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- auth screens ---------- */
.alum-auth {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 1.5rem;
    max-width: 58rem;
    margin: 0 auto;
    align-items: start;
}
.alum-auth__card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--shadow);
}
.alum-auth__card h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.6rem; margin: 0 0 1rem; }
.alum-auth__side {
    background: var(--tint);
    border-radius: var(--radius);
    padding: 1.5rem;
    font-size: .88rem;
    color: var(--muted);
}
.alum-auth__side h3 { font-size: .95rem; color: var(--ink); margin: 0 0 .75rem; }
.alum-auth__side p { line-height: 1.65; }
.alum-auth__alt { margin: 1rem 0 0; font-size: .87rem; }
.alum-check { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.alum-check i { color: #2e7d32; margin-right: .4rem; }
[data-theme="dark"] .alum-check i { color: #7bd88f; }

/* ---------- status page ---------- */
.alum-status-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.alum-status-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 4px solid var(--muted);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--shadow);
}
.alum-status-card--pending { border-left-color: var(--gold); }
.alum-status-card--approved { border-left-color: #2e7d32; }
.alum-status-card--rejected { border-left-color: #c0392b; }
.alum-status-card--suspended { border-left-color: #6c757d; }
.alum-status-card__head h2 { font-size: 1.4rem; margin: .6rem 0 .75rem; }
.alum-status-card p { color: var(--muted); line-height: 1.7; }
.alum-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: .3rem .7rem;
    background: var(--tint);
    color: var(--ink);
}
.alum-status--approved { background: rgba(46, 125, 50, .14); color: #2e7d32; }
.alum-status--pending { background: rgba(245, 184, 61, .22); color: #8a6100; }
.alum-status--rejected { background: rgba(192, 57, 43, .12); color: #c0392b; }
.alum-status--suspended { background: rgba(108, 117, 125, .16); color: #495057; }
.alum-status--private { background: rgba(108, 117, 125, .14); color: var(--muted); }
[data-theme="dark"] .alum-status--approved { color: #7bd88f; }
[data-theme="dark"] .alum-status--pending { color: #ffd166; }
[data-theme="dark"] .alum-status--rejected { color: #ff8f85; }
[data-theme="dark"] .alum-status--suspended { color: #c9d3e0; }
.alum-timeline { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .9rem; }
.alum-timeline li { display: flex; gap: .8rem; align-items: flex-start; }
.alum-timeline li > span {
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: var(--card);
    margin-top: .3rem;
    flex: 0 0 auto;
}
.alum-timeline .is-done > span { background: #2e7d32; border-color: #2e7d32; }
.alum-timeline .is-now > span { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245, 184, 61, .18); }
.alum-timeline strong { display: block; font-size: .88rem; }
.alum-timeline p { margin: .1rem 0 0; font-size: .82rem; color: var(--muted); }
.alum-quote {
    margin: .5rem 0 1rem;
    padding: .8rem 1rem;
    border-left: 3px solid var(--gold);
    background: var(--tint);
    border-radius: .5rem;
    font-size: .9rem;
}
.alum-side-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: var(--shadow);
    height: fit-content;
}
.alum-side-card h3 { font-size: .95rem; margin: 0 0 .75rem; }
.alum-dl { margin: 0; display: grid; gap: .55rem; font-size: .87rem; }
.alum-dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .45rem; }
.alum-dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.alum-dl dt { color: var(--muted); font-weight: 500; }
.alum-dl dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- dashboard ---------- */
.alum-dash-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}
.alum-dash-head__who { display: flex; align-items: center; gap: 1rem; }
.alum-dash-head__who h2 { font-size: 1.35rem; margin: 0 0 .2rem; }
.alum-dash-head__who .alum-status { margin-top: .45rem; }
.alum-dash-head__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.alum-dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.alum-meter { height: .55rem; border-radius: 999px; background: var(--line); overflow: hidden; margin: .5rem 0 .4rem; }
.alum-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--sky-deep), var(--gold)); border-radius: 999px; }
.alum-meter__label { font-size: .8rem; color: var(--muted); margin: 0 0 .6rem; }
.alum-mini-stats { display: flex; gap: 1.5rem; margin: .5rem 0 .75rem; }
.alum-mini-stats div { display: grid; }
.alum-mini-stats strong { font-family: 'Playfair Display', Georgia, serif; font-size: 1.6rem; line-height: 1; }
.alum-mini-stats span { font-size: .76rem; color: var(--muted); }

/* ---------- misc ---------- */
.alum-note {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    font-size: .8rem;
    color: var(--muted);
    background: var(--tint);
    border-radius: .7rem;
    padding: .65rem .8rem;
    margin: 1rem 0 0;
    line-height: 1.55;
}
.alum-note i { color: var(--sky-deep); margin-top: .15rem; }
.alum-flash { padding-top: 1rem; }
.alum-flash .alert:last-child { margin-bottom: 0; }

/* ---------- directory ---------- */
.alum-filter {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}
.alum-filter__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, .8fr)) auto;
    gap: .85rem;
    align-items: end;
}
.alum-filter .alum-field { margin-bottom: 0; }
.alum-filter .form-control,
.alum-filter .form-select { border-radius: .65rem; padding: .55rem .7rem; font-size: .88rem; }
.alum-filter__actions { display: flex; gap: .5rem; }
.alum-filter__actions .alum-btn { padding: .62rem 1rem; }
.alum-dir-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: 0 0 1rem;
}
.alum-dir-head__count { margin: 0; color: var(--muted); font-size: .9rem; }
.alum-dir-head__count strong { color: var(--ink); }
.alum-directory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.alum-dir-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
    height: 100%;
}
.alum-dir-card__head { display: flex; align-items: center; gap: .85rem; }
.alum-dir-card__head h3 { font-size: 1rem; margin: 0 0 .15rem; line-height: 1.3; }
.alum-dir-card__head h3 a { color: var(--ink); text-decoration: none; }
.alum-dir-card__head h3 a:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .alum-dir-card__head h3 a:hover { color: var(--sky); }
.alum-dir-card__job { font-size: .87rem; margin: .8rem 0 .3rem; }
.alum-dir-card__job span { color: var(--muted); }
.alum-dir-card__facts { list-style: none; padding: 0; margin: .35rem 0 .5rem; display: grid; gap: .25rem; font-size: .8rem; color: var(--muted); }
.alum-dir-card__facts i { color: var(--sky-deep); width: 1.05rem; }
.alum-dir-card__bio { font-size: .84rem; color: var(--muted); line-height: 1.6; margin: .4rem 0 .75rem; }
.alum-dir-card__link { margin-top: auto; padding-top: .5rem; }
.alum-dir-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1.5rem;
}
.alum-empty {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.25rem) 1.5rem;
    background: var(--tint);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}
.alum-empty > i { font-size: 2rem; color: var(--gold); margin-bottom: .75rem; }
.alum-empty h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; margin: 0 0 .4rem; }
.alum-empty p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin: 0 auto 1rem; max-width: 26rem; }
.alum-callout--inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    margin-bottom: 1.25rem;
}
.alum-callout--inline h3 { margin: 0 0 .2rem; font-size: .98rem; }
.alum-callout--inline h3 i { color: var(--gold); margin-right: .35rem; }
.alum-callout--inline p { margin: 0; font-size: .87rem; color: var(--muted); max-width: 48rem; }

/* ---------- profile editor ---------- */
.alum-edit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr);
    gap: 1.5rem;
    align-items: start;
}
.alum-edit-grid .alum-form-wrap { max-width: none; margin: 0; }
.alum-preview-card h3 i { color: var(--gold); }
.alum-preview-card__head { display: flex; align-items: center; gap: .85rem; margin-bottom: .75rem; }
.alum-preview-card__head h4 { font-size: 1rem; margin: 0 0 .1rem; line-height: 1.3; }
.alum-preview-card__job { font-size: .86rem; margin: 0 0 .5rem; }
.alum-preview-card__job span { color: var(--muted); }
.alum-preview-card .alum-status { margin-bottom: .75rem; }
.alum-preview-card .alum-link { display: flex; margin-top: .6rem; }
.alum-preview-card .alum-hint { margin-top: .75rem; }
.alum-photo-row { display: flex; align-items: flex-start; gap: 1.1rem; margin-bottom: .85rem; }
.alum-photo-row__fields { flex: 1 1 auto; min-width: 0; }
.alum-file-label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: .3rem; }
.alum-checkline { display: flex; align-items: flex-start; gap: .6rem; margin: 0; font-size: .87rem; line-height: 1.5; cursor: pointer; }
.alum-checkline input { margin-top: .22rem; flex: 0 0 auto; }
.alum-checkline strong { display: block; font-weight: 700; }
.alum-checkline .alum-hint { display: block; margin: .1rem 0 0; }
.alum-privacy-primary {
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: .9rem;
    padding: .9rem 1rem;
    margin-bottom: .6rem;
}
.alum-checkgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .6rem; }
.alum-checkgrid .alum-checkline {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: .8rem;
    padding: .7rem .8rem;
}
.alum-form-links { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.alum-form .form-control:disabled,
.alum-form .form-control[readonly] {
    background: var(--tint);
    color: var(--muted);
    opacity: 1;
    cursor: not-allowed;
}

/* ---------- public profile ---------- */
.alum-profile {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr);
    gap: 1.5rem;
    align-items: start;
}
.alum-profile__main {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 2.25rem);
    box-shadow: var(--shadow);
}
.alum-profile__head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}
.alum-profile__identity { min-width: 0; }
.alum-profile__identity h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.15;
    margin: 0 0 .35rem;
}
.alum-profile__meta { color: var(--muted); margin: 0 0 .6rem; font-size: .92rem; }
.alum-profile__badges { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; }
.alum-profile__links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.35rem; }
.alum-profile__back { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.alum-prose { margin-top: 1.35rem; }
.alum-prose h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; margin: 0 0 .5rem; }
.alum-prose p { color: var(--ink); line-height: 1.8; margin: 0; }
.alum-profile__side .alum-side-card { height: fit-content; }
.alum-profile__side h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; margin: 0 0 .9rem; display: flex; align-items: center; gap: .45rem; }
.alum-profile__side h2 i { color: var(--gold); font-size: 1rem; }
.alum-facts { margin: 0; display: grid; gap: .6rem; font-size: .87rem; }
.alum-facts div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.alum-facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.alum-facts dt { color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: .4rem; }
.alum-facts dt i { color: var(--sky-deep); width: 1rem; }
.alum-facts dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.alum-facts--compact { font-size: .82rem; margin-top: .6rem; }
.alum-contact-note { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.alum-contact-note h3 { font-size: .92rem; margin: 0 0 .35rem; display: flex; align-items: center; gap: .4rem; }
.alum-contact-note h3 i { color: var(--gold); }
.alum-contact-note p { font-size: .84rem; color: var(--muted); line-height: 1.6; margin: 0 0 .75rem; }
.alum-status--listed { background: rgba(63, 169, 214, .16); color: #1f7fae; }
[data-theme="dark"] .alum-status--listed { color: #7cc8ec; }

/* ---------- events list & detail ---------- */
.alum-event__body { flex: 1 1 auto; min-width: 0; }
.alum-event__title { font-size: .98rem; margin: 0 0 .35rem; line-height: 1.35; }
.alum-event__title a,
.alum-event__title-link { color: var(--ink); text-decoration: none; }
.alum-event__title a:hover,
.alum-event__title-link:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .alum-event__title a:hover,
[data-theme="dark"] .alum-event__title-link:hover { color: var(--sky); }
.alum-event__summary { font-size: .86rem; color: var(--muted); margin: 0 0 .3rem; line-height: 1.6; }
.alum-event__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: .7rem; }
.alum-event__capacity { font-size: .76rem; color: var(--muted); }
.alum-event__capacity i { color: var(--sky-deep); }
.alum-event__link { margin-left: auto; font-size: .8rem; }
.alum-event-list { display: grid; gap: .9rem; }
.alum-event--past { box-shadow: none; }
.alum-event--past .alum-event__date { background: var(--tint); color: var(--ink); }
.alum-event--past .alum-event__date span { color: var(--sky-deep); }
.alum-event-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.alum-event-tabs a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--muted);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}
.alum-event-tabs a:hover { color: var(--ink); border-color: var(--sky-deep); }
.alum-event-tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.alum-event-tabs a.on i { color: var(--gold); }
.alum-event-tabs__count { font-size: .72rem; background: var(--tint); color: var(--ink); border-radius: 999px; padding: .05rem .45rem; }
.alum-event-tabs a.on .alum-event-tabs__count { background: rgba(255, 255, 255, .16); color: #fff; }
[data-theme="dark"] .alum-event-tabs__count { color: var(--ink); }

.alum-event-page {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr);
    gap: 1.5rem;
    align-items: start;
}
.alum-event-page__main {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--shadow);
}
.alum-event-page__side .alum-side-card { height: fit-content; }
.alum-event-banner {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid var(--line);
    margin-bottom: 1.25rem;
    display: block;
}
.alum-event-page__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem 1.25rem;
    margin: 1rem 0 1.35rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.alum-event-fact dt {
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--muted);
    margin-bottom: .2rem;
}
.alum-event-fact dt i { color: var(--sky-deep); margin-right: .3rem; }
.alum-event-fact dd { margin: 0; font-size: .9rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.alum-reg-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    margin: 0 0 .8rem;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.alum-reg-card h2 i { color: var(--gold); font-size: 1rem; }
.alum-reg-card .alum-meter { margin: .25rem 0 .35rem; }
.alum-reg-card .alum-meter__label { margin-bottom: .9rem; }
.alum-reg-status { margin: 0 0 .65rem; }
.alum-reg-note {
    font-size: .86rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: .8rem;
    padding: .75rem .85rem;
    margin: 0 0 .8rem;
}
.alum-reg-form .alum-field { margin-bottom: .85rem; }
.alum-reg-form .alum-btn,
.alum-reg-card > .alum-btn { width: 100%; justify-content: center; }
.alum-reg-card .alum-btn--sm { width: auto; }
.alum-reg-card .alum-hint a { color: var(--link); }
.alum-mini-list { list-style: none; padding: 0; margin: .4rem 0 .7rem; display: grid; gap: .55rem; }
.alum-mini-list li { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; padding-bottom: .5rem; border-bottom: 1px dashed var(--line); }
.alum-mini-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.alum-mini-list a { color: var(--ink); font-weight: 600; font-size: .87rem; text-decoration: none; }
.alum-mini-list a:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .alum-mini-list a:hover { color: var(--sky); }
.alum-mini-list .alum-hint { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
    .alum-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .alum-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .alum-hero__grid { grid-template-columns: 1fr; }
    .alum-hero__card { max-width: 34rem; }
    .alum-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .alum-auth { grid-template-columns: 1fr; }
    .alum-status-wrap { grid-template-columns: 1fr; }
    .alum-split { grid-template-columns: 1fr; }
    .alum-nav { position: static; }
    .alum-nav .container { flex-wrap: wrap; padding-top: .35rem; padding-bottom: .35rem; }
    .alum-who { order: 3; }
    .alum-filter__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .alum-filter__actions { grid-column: 1 / -1; }
    .alum-edit-grid,
    .alum-profile,
    .alum-event-page { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .alum-grid--2,
    .alum-grid--3,
    .alum-grid--4 { grid-template-columns: 1fr; }
    .alum-dash-grid { grid-template-columns: 1fr; }
    .alum-field-row { grid-template-columns: 1fr; }
    .alum-story { flex-direction: column; }
    .alum-story__img { width: 100%; height: 10rem; }
    .alum-stats { gap: 1.25rem; }
    .alum-stats div { min-width: 5.5rem; }
    .alum-cta .container { flex-direction: column; align-items: flex-start; }
    .alum-form-actions--between { justify-content: flex-start; }
    .alum-directory { grid-template-columns: 1fr; }
    .alum-filter__grid { grid-template-columns: 1fr; }
    .alum-checkgrid { grid-template-columns: 1fr; }
    .alum-photo-row { flex-direction: column; }
    .alum-profile__head { flex-direction: column; align-items: flex-start; }
    .alum-form-links { flex-direction: row; flex-wrap: wrap; }
    .alum-callout--inline { align-items: flex-start; }
    .alum-dir-foot { flex-direction: column; align-items: flex-start; }
    .alum-event-page__facts { grid-template-columns: 1fr; }
    .alum-event__link { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .alum-btn { transition: none; }
    .alum-btn:hover { transform: none; }
}

/* ==========================================================================
   Stage 7: success stories
   ========================================================================== */

/* landing-page story cards */
.alum-story__link { color: var(--ink); text-decoration: none; }
.alum-story__link:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .alum-story__link:hover { color: var(--sky); }
.alum-story__more { display: inline-flex; margin-top: .35rem; font-size: .8rem; }

/* list toolbar and category chips */
.alum-story-toolbar,
.alum-opp-toolbar,
.alum-mentor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1rem;
    margin-bottom: 1rem;
}
.alum-story-search,
.alum-opp-search,
.alum-mentor-search { display: flex; gap: .5rem; flex: 1 1 18rem; max-width: 30rem; }
.alum-story-search .form-control,
.alum-opp-search .form-control,
.alum-mentor-search .form-control { border-radius: .65rem; }
.alum-story-cats,
.alum-opp-cats { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.35rem; }
.alum-opp-views { display: flex; flex-wrap: wrap; gap: .4rem; }
.alum-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.alum-chip:hover { border-color: var(--sky-deep); color: var(--navy); text-decoration: none; }
.alum-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.alum-chip__count { font-size: .7rem; opacity: .75; }
[data-theme="dark"] .alum-chip:hover { color: var(--sky); }
[data-theme="dark"] .alum-chip.on { background: var(--gold); border-color: var(--gold); color: #08142a; }

/* story cards */
.alum-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.alum-story-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.alum-story-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy), var(--sky-deep));
    color: rgba(255, 255, 255, .82);
}
.alum-story-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.alum-story-card__media--empty { display: flex; align-items: center; justify-content: center; font-size: 1.9rem; }
.alum-story-card__body { display: flex; flex-direction: column; gap: .35rem; flex: 1 1 auto; padding: 1.15rem; }
.alum-story-card__body h3 { font-size: 1.05rem; line-height: 1.35; margin: .1rem 0 .15rem; }
.alum-story-card__body h3 a { color: var(--ink); text-decoration: none; }
.alum-story-card__body h3 a:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .alum-story-card__body h3 a:hover { color: var(--sky); }
.alum-story-card__excerpt { margin: 0; font-size: .87rem; line-height: 1.65; color: var(--muted); }
.alum-story-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem .4rem;
    margin: auto 0 0;
    padding-top: .7rem;
    font-size: .76rem;
    color: var(--muted);
}
.alum-story-card__meta i { color: var(--sky-deep); }
.alum-story-card__more { font-size: .8rem; font-weight: 700; color: var(--sky-deep); text-decoration: none; }
.alum-story-card__more:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .alum-story-card__more:hover { color: var(--sky); }

/* story detail */
.alum-story-detail { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .75fr); gap: 1.5rem; align-items: start; }
.alum-story-article {
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.alum-story-article__head { padding: 1.5rem 1.5rem 1.1rem; }
.alum-story-article__head h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin: .55rem 0 .6rem;
}
.alum-story-article__head .alum-tag { margin-right: .4rem; }
.alum-story-article__head .alum-status { vertical-align: middle; }
.alum-story-article__meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: 0; font-size: .82rem; color: var(--muted); }
.alum-story-article__meta i { color: var(--sky-deep); }
.alum-story-article__hero { display: block; width: 100%; max-height: 26rem; object-fit: cover; }
.alum-story-prose { padding: 1.5rem; font-size: .98rem; line-height: 1.8; color: var(--ink); overflow-wrap: anywhere; }
.alum-story-article__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--line);
    background: var(--tint);
}
.alum-story-side { display: grid; gap: 1rem; position: sticky; top: 1rem; }
.alum-story-author__head { display: flex; align-items: center; gap: .85rem; margin-bottom: .75rem; }
.alum-story-author__head h4 { font-size: 1rem; margin: 0 0 .1rem; line-height: 1.3; }
.alum-story-author__head p { margin: 0; font-size: .8rem; color: var(--muted); }
.alum-story-author .alum-link { display: flex; margin-bottom: .6rem; }
.alum-story-side__actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* owner preview */
.alum-preview-notice { align-items: flex-start; border-top-color: var(--gold); background: rgba(245, 184, 61, .1); margin-bottom: 1.25rem; }
.alum-preview-notice h3 { margin-bottom: .45rem; }
.alum-preview-notice p { margin: 0; color: var(--ink); font-size: .9rem; line-height: 1.65; }
.alum-preview-notice__note { display: block; margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed var(--line); }

/* member story / opportunity management */
.alum-story-stats { flex-wrap: wrap; margin-bottom: 1.25rem; }
.alum-story-list { display: grid; gap: 1rem; }
.alum-my-story,
.alum-my-opp {
    padding: 1.15rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.alum-my-story__head,
.alum-my-opp__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem 1rem; }
.alum-my-story__badges,
.alum-my-opp__badges { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.alum-my-story__head h3,
.alum-my-opp__head h3 { font-size: 1.1rem; margin: .4rem 0 .25rem; line-height: 1.35; }
.alum-my-story__head h3 a,
.alum-my-opp__head h3 a { color: var(--ink); text-decoration: none; }
.alum-my-story__head h3 a:hover,
.alum-my-opp__head h3 a:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .alum-my-story__head h3 a:hover,
[data-theme="dark"] .alum-my-opp__head h3 a:hover { color: var(--sky); }
.alum-my-story__meta,
.alum-my-opp__meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin: 0; font-size: .78rem; color: var(--muted); }
.alum-my-story__meta i,
.alum-my-opp__meta i { color: var(--sky-deep); }
.alum-my-story__actions,
.alum-my-opp__actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.alum-my-story__excerpt,
.alum-my-opp__excerpt { margin: .65rem 0 0; font-size: .88rem; line-height: 1.65; color: var(--muted); }
.alum-my-story .alum-hint,
.alum-my-opp .alum-hint { margin: .75rem 0 0; }
.alum-story-note {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin-top: .8rem;
    padding: .7rem .85rem;
    border-left: 3px solid var(--gold);
    border-radius: .5rem;
    background: rgba(245, 184, 61, .14);
    font-size: .84rem;
    line-height: 1.55;
}
.alum-story-note > i { color: #8a6100; margin-top: .15rem; }
[data-theme="dark"] .alum-story-note > i { color: var(--gold); }
.alum-story-note .alum-hint { display: block; margin: .3rem 0 0; }

/* form guidance */
.alum-story-steps { display: grid; gap: .45rem; margin: 0 0 .75rem; padding-left: 1.1rem; font-size: .86rem; line-height: 1.6; color: var(--muted); }
.alum-story-steps strong { color: var(--ink); }
.alum-story-tips { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; font-size: .86rem; line-height: 1.55; color: var(--muted); }
.alum-story-tips li { position: relative; padding-left: 1.1rem; }
.alum-story-tips li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: .15rem;
    font-size: .7rem;
    color: var(--gold);
}
.alum-preview--empty { display: inline-flex; align-items: center; justify-content: center; background: var(--tint); color: var(--muted); font-size: 1.3rem; }

@media (max-width: 991.98px) {
    .alum-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .alum-story-detail { grid-template-columns: 1fr; }
    .alum-story-side { position: static; }
}
@media (max-width: 767.98px) {
    .alum-story-grid { grid-template-columns: 1fr; }
    .alum-story-toolbar,
    .alum-opp-toolbar,
    .alum-mentor-toolbar { align-items: stretch; }
    .alum-story-search,
    .alum-opp-search,
    .alum-mentor-search { max-width: none; }
    .alum-story-article__head,
    .alum-story-prose,
    .alum-story-article__foot { padding-left: 1.1rem; padding-right: 1.1rem; }
    .alum-my-story__head,
    .alum-my-opp__head { flex-direction: column; }
}

/* ==========================================================================
   Stage 8: career opportunities
   ========================================================================== */

/* list */
.alum-opp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.alum-opp-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--sky-deep);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.alum-opp-card--closed { border-left-color: var(--line); opacity: .92; }
.alum-opp-card__body { display: flex; flex-direction: column; gap: .3rem; flex: 1 1 auto; padding: 1.2rem 1.3rem .9rem; }
.alum-opp-card__badges { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.alum-opp-remote {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sky-deep);
}
.alum-opp-card h3 { font-size: 1.08rem; line-height: 1.35; margin: .25rem 0 .1rem; }
.alum-opp-card h3 a { color: var(--ink); text-decoration: none; }
.alum-opp-card h3 a:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .alum-opp-card h3 a:hover { color: var(--sky); }
.alum-opp-card__org { margin: 0; font-size: .88rem; font-weight: 600; color: var(--ink); }
.alum-opp-card__org i { color: var(--sky-deep); margin-right: .25rem; }
.alum-opp-card__excerpt { margin: .35rem 0 0; font-size: .87rem; line-height: 1.65; color: var(--muted); }
.alum-opp-card__meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; margin: auto 0 0; padding-top: .7rem; font-size: .78rem; color: var(--muted); }
.alum-opp-card__meta i { color: var(--sky-deep); }
.alum-opp-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .8rem 1.3rem;
    border-top: 1px solid var(--line);
    background: var(--tint);
    font-size: .8rem;
}
.alum-opp-card__deadline { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--ink); }
.alum-opp-card__deadline i { color: var(--sky-deep); }
.alum-opp-card__deadline.is-closed { color: var(--muted); }
.alum-opp-card__deadline.is-closed i { color: var(--muted); }
.alum-opp-card__foot .alum-link { font-size: .8rem; font-weight: 700; }

/* detail */
.alum-opp-detail { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .75fr); gap: 1.5rem; align-items: start; }
.alum-opp-main {
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}
.alum-opp-main__head h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin: .55rem 0 .5rem;
}
.alum-opp-main__head .alum-tag { margin-right: .4rem; }
.alum-opp-main__org { margin: 0 0 .45rem; font-size: 1rem; font-weight: 600; color: var(--ink); }
.alum-opp-main__org i { color: var(--sky-deep); margin-right: .3rem; }
.alum-opp-main__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin: 0; font-size: .82rem; color: var(--muted); }
.alum-opp-main__meta i { color: var(--sky-deep); }
.alum-opp-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1.25rem;
    margin: 1.35rem 0 0;
    padding: 1rem 1.15rem;
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.alum-opp-facts div { display: grid; gap: .1rem; }
.alum-opp-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.alum-opp-facts dd { margin: 0; font-size: .9rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.alum-opp-main .alum-prose { margin-top: 1.35rem; }
.alum-opp-main .alum-profile__back { margin-top: 1.5rem; }
.alum-opp-side { display: grid; gap: 1rem; position: sticky; top: 1rem; }
.alum-opp-side__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.alum-opp-apply h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; margin: 0 0 .65rem; }
.alum-opp-apply h2 i { color: var(--gold); }
.alum-opp-apply__btn { width: 100%; justify-content: center; margin-top: .35rem; }
.alum-opp-apply__closed { display: flex; align-items: center; gap: .45rem; margin: 0 0 .35rem; font-weight: 700; color: var(--muted); }
.alum-opp-notice {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-bottom: 1.25rem;
    padding: .85rem 1rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    background: rgba(245, 184, 61, .1);
    font-size: .88rem;
    line-height: 1.6;
}
.alum-opp-notice > i { color: #8a6100; margin-top: .15rem; }
[data-theme="dark"] .alum-opp-notice > i { color: var(--gold); }

@media (max-width: 991.98px) {
    .alum-opp-grid { grid-template-columns: 1fr; }
    .alum-opp-detail { grid-template-columns: 1fr; }
    .alum-opp-side { position: static; }
}
@media (max-width: 575.98px) {
    .alum-opp-facts { grid-template-columns: 1fr; }
    .alum-opp-main { padding: 1.1rem; }
}

/* ------------------------------------------------------------------ mentorship (stage 9) */
.alum-mentor-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr);
    gap: 1.25rem 2rem;
    align-items: start;
    margin-bottom: 1.5rem;
    padding: 1.35rem 1.5rem;
    background: var(--tint);
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
}
.alum-mentor-intro h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; margin: 0 0 .45rem; color: var(--ink); }
.alum-mentor-intro p { margin: 0; font-size: .9rem; line-height: 1.7; color: var(--muted); max-width: 42rem; }
.alum-mentor-steps { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; counter-reset: mentorstep; font-size: .87rem; line-height: 1.55; color: var(--muted); }
.alum-mentor-steps li { position: relative; padding-left: 2rem; counter-increment: mentorstep; }
.alum-mentor-steps li::before {
    content: counter(mentorstep);
    position: absolute;
    left: 0;
    top: .1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}
.alum-mentor-steps strong { color: var(--ink); }

.alum-mentor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.alum-mentor-card {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 1.25rem 1.3rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 4px solid var(--sky-deep);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.alum-mentor-card__head { display: flex; align-items: center; gap: .8rem; }
.alum-mentor-card__head h3 { font-size: 1.05rem; line-height: 1.3; margin: 0 0 .1rem; }
.alum-mentor-card__head h3 a { color: var(--ink); text-decoration: none; }
.alum-mentor-card__head h3 a:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .alum-mentor-card__head h3 a:hover { color: var(--sky); }
.alum-mentor-card__head .alum-person__meta { margin: 0; }
.alum-mentor-card__badges { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.alum-mentor-card__job { margin: 0; font-size: .86rem; font-weight: 600; color: var(--ink); }
.alum-mentor-card__job span { font-weight: 400; color: var(--muted); }
.alum-mentor-card__text { margin: 0; font-size: .87rem; line-height: 1.65; color: var(--muted); }
.alum-mentor-card__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; font-size: .78rem; color: var(--muted); }
.alum-mentor-card__facts i { color: var(--sky-deep); margin-right: .3rem; }
.alum-mentor-card__link { margin-top: auto; padding-top: .35rem; font-size: .82rem; font-weight: 700; }

.alum-mentor-detail { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .75fr); gap: 1.5rem; align-items: start; }
.alum-mentor-main {
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}
.alum-mentor-main__head { display: flex; align-items: flex-start; gap: 1rem; }
.alum-mentor-main__head h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.2;
    margin: .35rem 0 .3rem;
    color: var(--ink);
}
.alum-mentor-main__head .alum-person__meta { margin: 0; }
.alum-mentor-main .alum-prose { margin-top: 1.35rem; }
.alum-mentor-main .alum-profile__back { margin-top: 1.5rem; }
.alum-mentor-side { display: grid; gap: 1rem; position: sticky; top: 1rem; }
.alum-mentor-side__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.alum-mentor-request h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; margin: 0 0 .65rem; }
.alum-mentor-request h2 i { color: var(--gold); }
.alum-mentor-request .alum-form { margin-top: .35rem; }

.alum-mentor-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .85rem 1.25rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.15rem;
    background: var(--tint);
    border: 1px solid var(--line);
    border-left: 4px solid var(--sky-deep);
    border-radius: var(--radius);
}
.alum-mentor-status h3 { font-size: .98rem; margin: 0 0 .2rem; }
.alum-mentor-status h3 i { color: var(--gold); margin-right: .35rem; }

.alum-request-list { display: grid; gap: 1rem; }
.alum-request {
    padding: 1.15rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.alum-request__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem 1rem; }
.alum-request__badges { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.alum-request__head h3 { font-size: 1.08rem; margin: .4rem 0 .25rem; line-height: 1.35; color: var(--ink); }
.alum-request__actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.alum-request__message {
    margin: .75rem 0 0;
    padding: .75rem .9rem;
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: .6rem;
    font-size: .89rem;
    line-height: 1.7;
    color: var(--ink);
}
.alum-request .alum-hint { margin: .7rem 0 0; }
.alum-request__note {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    margin: .75rem 0 0;
    padding: .6rem .8rem;
    background: rgba(245, 184, 61, .12);
    border-radius: .55rem;
    font-size: .83rem;
    line-height: 1.55;
    color: var(--ink);
}
.alum-request__note i { color: #8a6100; margin-top: .15rem; }
[data-theme="dark"] .alum-request__note i { color: var(--gold); }

.alum-status--completed { background: rgba(63, 169, 214, .16); color: #1f7fae; }
.alum-status--cancelled { background: rgba(108, 117, 125, .16); color: #495057; }
[data-theme="dark"] .alum-status--completed { color: #7cc8ec; }
[data-theme="dark"] .alum-status--cancelled { color: #c9d3e0; }

@media (max-width: 991.98px) {
    .alum-mentor-intro { grid-template-columns: 1fr; }
    .alum-mentor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .alum-mentor-detail { grid-template-columns: 1fr; }
    .alum-mentor-side { position: static; }
}
@media (max-width: 767.98px) {
    .alum-mentor-grid { grid-template-columns: 1fr; }
    .alum-request__head { flex-direction: column; }
}
@media (max-width: 575.98px) {
    .alum-mentor-main { padding: 1.1rem; }
    .alum-mentor-main__head { flex-direction: column; }
    .alum-mentor-status { align-items: flex-start; }
}
