:root {
    --npsa-navy: #102a43;
    --npsa-blue: #176b87;
    --npsa-teal: #1a8f8a;
    --npsa-gold: #c9972d;
    --npsa-gold-soft: #fff5d6;
    --npsa-silver: #7d8c9c;
    --npsa-bg: #f5f8fb;
    --npsa-text: #44546a;
    --npsa-border: #e2e8f0;
}

body {
    background: var(--npsa-bg);
    font-family: Calibri, "Segoe UI", Tahoma, Arial, sans-serif;
}

.npsa-home {
    padding-bottom: 2rem;
}

.npsa-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.6rem;
    padding: 4.2rem 2rem 3.6rem;
    color: #fff;
    background:
        radial-gradient(circle at 14% 20%, rgba(255,255,255,.17), transparent 26%),
        radial-gradient(circle at 88% 78%, rgba(255,255,255,.11), transparent 24%),
        linear-gradient(135deg, var(--npsa-navy), var(--npsa-blue) 58%, var(--npsa-teal));
    box-shadow: 0 24px 60px rgba(16, 42, 67, .20);
}

.npsa-hero::before,
.npsa-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
}

.npsa-hero::before {
    width: 300px;
    height: 300px;
    right: -100px;
    top: -130px;
}

.npsa-hero::after {
    width: 190px;
    height: 190px;
    left: -65px;
    bottom: -95px;
}

.npsa-hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.npsa-logo {
    max-height: 76px;
    max-width: 240px;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.12));
}

.npsa-edition-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .95rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.npsa-hero h1 {
    margin: 1rem auto .8rem;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
}

.npsa-hero-lead {
    max-width: 820px;
    margin: 0 auto;
    color: rgba(255,255,255,.87);
    font-size: 1.12rem;
    line-height: 1.75;
}

.npsa-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.8rem;
}

.npsa-pill-button {
    border-radius: 999px;
    padding: .78rem 1.25rem;
    font-weight: 700;
}

.npsa-hero-login {
    margin-top: 1.25rem;
}

.npsa-welcome-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
}

.npsa-stat-strip {
    position: relative;
    z-index: 4;
    max-width: 1050px;
    margin: -1.6rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
    padding: .8rem;
    border: 1px solid var(--npsa-border);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 15px 36px rgba(16,42,67,.12);
}

.npsa-stat {
    padding: 1rem;
    border-radius: 1rem;
    background: #f7fafc;
    text-align: center;
}

.npsa-stat i {
    color: var(--npsa-blue);
    font-size: 1.25rem;
}

.npsa-stat-value {
    display: block;
    margin-top: .35rem;
    color: var(--npsa-navy);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

.npsa-stat-label {
    display: block;
    margin-top: .4rem;
    color: #728195;
    font-size: .88rem;
}

.npsa-section {
    padding: 5rem 0 0;
    scroll-margin-top: 90px;
}

.npsa-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .65rem;
    color: var(--npsa-teal);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.npsa-section-title {
    margin: 0;
    color: var(--npsa-navy);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 800;
}

.npsa-section-lead {
    max-width: 760px;
    margin: .8rem 0 0;
    color: #66758a;
    font-size: 1.03rem;
    line-height: 1.75;
}

.npsa-about-card,
.npsa-mission-card {
    height: 100%;
    border: 1px solid var(--npsa-border);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16,42,67,.07);
}

.npsa-about-card {
    padding: 1.8rem;
}

.npsa-about-card p {
    color: var(--npsa-text);
    line-height: 1.78;
}

.npsa-mission-card {
    padding: 1.6rem;
    background: linear-gradient(145deg, #ffffff, #f1f8fb);
}

.npsa-feature-row {
    display: flex;
    gap: .9rem;
    padding: .8rem 0;
}

.npsa-feature-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .85rem;
    color: #fff;
    background: linear-gradient(135deg, var(--npsa-blue), var(--npsa-teal));
}

.npsa-feature-row h3 {
    margin: 0 0 .2rem;
    color: var(--npsa-navy);
    font-size: 1rem;
    font-weight: 800;
}

.npsa-feature-row p {
    margin: 0;
    color: #718095;
    font-size: .9rem;
    line-height: 1.55;
}

.npsa-track-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--npsa-border);
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,42,67,.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.npsa-track-card:hover {
    transform: translateY(-5px);
    border-color: rgba(23,107,135,.36);
    box-shadow: 0 18px 38px rgba(16,42,67,.12);
}

.npsa-track-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(var(--npsa-blue), var(--npsa-teal));
}

.npsa-track-body {
    padding: 1.35rem 1.35rem 1.25rem 1.55rem;
}

.npsa-track-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.npsa-track-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 .55rem;
    border-radius: .85rem;
    color: #fff;
    background: linear-gradient(135deg, var(--npsa-navy), var(--npsa-blue));
    font-weight: 800;
}

.npsa-track-icon {
    color: var(--npsa-teal);
    font-size: 1.45rem;
}

.npsa-track-card h3 {
    margin: 1rem 0 .55rem;
    color: var(--npsa-navy);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}

.npsa-track-card p {
    margin: 0;
    color: #68778b;
    font-size: .9rem;
    line-height: 1.62;
}

.npsa-card-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1rem;
    color: var(--npsa-blue);
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
}

.npsa-card-link:hover {
    color: var(--npsa-teal);
}

.npsa-project-band {
    padding: 2rem;
    border-radius: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, var(--npsa-navy), #214f68 55%, var(--npsa-blue));
    box-shadow: 0 18px 42px rgba(16,42,67,.16);
}

.npsa-project-band .npsa-section-title,
.npsa-project-band .npsa-section-lead {
    color: #fff;
}

.npsa-project-band .npsa-section-lead {
    color: rgba(255,255,255,.82);
}

.npsa-project-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.35rem;
}

.npsa-project-summary span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem .85rem;
    border-radius: .8rem;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.09);
    font-weight: 700;
}

.npsa-project-preview {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--npsa-border);
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,42,67,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.npsa-project-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(16,42,67,.12);
}

.npsa-project-preview-accent {
    height: 5px;
}

.npsa-project-preview.winner .npsa-project-preview-accent {
    background: linear-gradient(90deg, #b98212, #f4d675, #b98212);
}

.npsa-project-preview.finalist .npsa-project-preview-accent {
    background: linear-gradient(90deg, #34495e, #91a2b4, #34495e);
}

.npsa-project-preview-body {
    padding: 1.2rem;
}

.npsa-recognition-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
}

.npsa-recognition-badge.winner {
    color: #6f4f0d;
    border: 1px solid #eed692;
    background: var(--npsa-gold-soft);
}

.npsa-recognition-badge.finalist {
    color: #435364;
    border: 1px solid #d7dfe7;
    background: #eef2f6;
}

.npsa-project-preview h3 {
    margin: .9rem 0 .7rem;
    color: var(--npsa-navy);
    font-size: 1.03rem;
    line-height: 1.42;
    font-weight: 800;
}

.npsa-project-meta {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    color: #68778a;
    font-size: .84rem;
}

.npsa-project-meta i {
    width: 17px;
    color: var(--npsa-blue);
}

.npsa-project-overview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: .9rem 0 0;
    color: #58677b;
    font-size: .88rem;
    line-height: 1.6;
}

.npsa-review-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.35rem;
    padding: .5rem;
    border: 1px solid var(--npsa-border);
    border-radius: 1rem;
    background: #fff;
}

.npsa-review-tab {
    border: 0;
    border-radius: .75rem;
    padding: .7rem .95rem;
    color: #5f6f82;
    background: #f4f7fa;
    font-weight: 800;
}

.npsa-review-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--npsa-blue), var(--npsa-teal));
}

.npsa-reviewer-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--npsa-border);
    border-radius: 1.15rem;
    background: #fff;
    text-align: center;
    box-shadow: 0 8px 24px rgba(16,42,67,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.npsa-reviewer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(16,42,67,.12);
}

.npsa-reviewer-cover {
    height: 76px;
    background: linear-gradient(135deg, rgba(23,107,135,.16), rgba(26,143,138,.20));
}

.npsa-reviewer-photo-wrap {
    position: relative;
    width: 118px;
    height: 118px;
    margin: -58px auto 0;
    border-radius: 50%;
    border: 5px solid #fff;
    background: #eaf1f5;
    box-shadow: 0 8px 20px rgba(16,42,67,.16);
    overflow: hidden;
}

.npsa-reviewer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.npsa-reviewer-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--npsa-navy);
    background: linear-gradient(135deg, #eaf4f8, #d8eaee);
    font-size: 1.75rem;
    font-weight: 800;
}

.npsa-reviewer-body {
    padding: 1rem 1.15rem 1.3rem;
}

.npsa-reviewer-type {
    display: inline-flex;
    align-items: center;
    padding: .32rem .65rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
}

.npsa-reviewer-type.internal {
    color: #0f6f6a;
    background: #e3f6f3;
}

.npsa-reviewer-type.external {
    color: #155d7b;
    background: #e5f2f8;
}

.npsa-reviewer-type.interview {
    color: #74520d;
    background: #fff3cd;
}

.npsa-reviewer-card h3 {
    margin: .8rem 0 .3rem;
    color: var(--npsa-navy);
    font-size: 1.05rem;
    font-weight: 800;
}

.npsa-reviewer-position {
    min-height: 42px;
    margin: 0;
    color: #617186;
    font-size: .88rem;
    line-height: 1.5;
}

.npsa-reviewer-location {
    margin-top: .65rem;
    color: #8491a0;
    font-size: .8rem;
}

.npsa-empty-state {
    padding: 2rem;
    border: 1px dashed #cbd5df;
    border-radius: 1rem;
    color: #708095;
    background: #fff;
    text-align: center;
}

.npsa-final-cta {
    margin-top: 5rem;
    padding: 2.3rem 1.6rem;
    border-radius: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, var(--npsa-blue), var(--npsa-teal));
    text-align: center;
    box-shadow: 0 18px 42px rgba(23,107,135,.18);
}

.npsa-final-cta h2 {
    font-weight: 800;
}

.npsa-final-cta p {
    max-width: 680px;
    margin: .7rem auto 1.2rem;
    color: rgba(255,255,255,.84);
}

@media (max-width: 991.98px) {
    .npsa-stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .npsa-hero {
        padding: 3rem 1.15rem 2.8rem;
        border-radius: 1.15rem;
    }

    .npsa-stat-strip {
        grid-template-columns: 1fr 1fr;
        margin-top: -1rem;
    }

    .npsa-section {
        padding-top: 4rem;
    }

    .npsa-project-band {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .npsa-stat-strip {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .npsa-track-card,
    .npsa-project-preview,
    .npsa-reviewer-card {
        transition: none;
    }
}
