/* ================================================
   NHS Class of 2001 — 25-Year Reunion
   ================================================ */

:root {
    --purple:        #5B2D8E;
    --purple-dark:   #3D1A6E;
    --purple-deeper: #240E45;
    --purple-light:  #7B4DB0;
    --white:         #FFFFFF;
    --off-white:     #F9F6FF;
    --text-dark:     #1A1A2E;
    --text-muted:    #6B6B8A;
    --border-light:  #E8E0F5;
    --card-shadow:   0 4px 24px rgba(91, 45, 142, 0.10);
    --radius:        12px;
    --ease:          0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- Layout ---- */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Typography ---- */

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.15;
}

/* ---- Buttons ---- */

.btn {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--ease), box-shadow var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.btn:active {
    transform: translateY(0);
}

.btn-white {
    background: var(--white);
    color: var(--purple);
}

.btn-outline-sm {
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--ease), color var(--ease);
}

.btn-outline-sm:hover {
    background: var(--purple);
    color: var(--white);
    transform: none;
    box-shadow: none;
}

/* ---- Navigation ---- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 12px rgba(91, 45, 142, 0.07);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    color: var(--text-dark);
}

.nav-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.nav-title {
    display: flex;
    flex-direction: column;
}

.nav-title-school {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--purple);
    line-height: 1.2;
}

.nav-title-sub {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---- Hero ---- */

.hero {
    background: linear-gradient(150deg, var(--purple-deeper) 0%, var(--purple-dark) 40%, var(--purple) 75%, var(--purple-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 5.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-orbs {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 15% 15%, rgba(255,255,255,0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 85%, rgba(255,255,255,0.04) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 110%, rgba(123, 77, 176, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-logo-wrap {
    width: 136px;
    height: 136px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.30), 0 0 0 3px rgba(255,255,255,0.15);
    margin-bottom: 0.5rem;
}

.hero-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.75;
}

.hero-heading {
    font-size: clamp(3.75rem, 11vw, 7.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.hero-date {
    font-size: 1.15rem;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

.hero-venue {
    font-size: 0.9rem;
    opacity: 0.7;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* ---- Countdown ---- */

.countdown {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 1.25rem 0 1.75rem;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1.25rem 2rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3.75rem;
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.countdown-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.65;
    margin-top: 0.3rem;
}

.countdown-sep {
    font-size: 2rem;
    font-weight: 300;
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* ---- Shared Section Styles ---- */

.section {
    padding: 4.5rem 0;
}

.section-heading {
    font-size: clamp(2rem, 5vw, 2.75rem);
    text-align: center;
    color: var(--purple-dark);
    margin-bottom: 2rem;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ---- Details Section ---- */

.details-section {
    background: var(--off-white);
}

.detail-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 720px) {
    .detail-cards {
        grid-template-columns: 1fr;
    }
}

.detail-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-card--featured {
    border-color: var(--purple);
    box-shadow: 0 4px 28px rgba(91, 45, 142, 0.20);
}

.detail-card-icon {
    width: 36px;
    height: 36px;
    color: var(--purple);
    margin-bottom: 0.625rem;
}

.detail-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--purple-dark);
    margin-bottom: 0.125rem;
}

.detail-primary {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.detail-secondary {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.detail-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: auto;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border-light);
}

.detail-link {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border-light);
    transition: color var(--ease);
}

.detail-link:hover {
    color: var(--purple-dark);
}

.details-footer-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    max-width: 510px;
    margin: 0 auto;
}

/* ---- CTA Section ---- */

.cta-section {
    background: linear-gradient(150deg, var(--purple-deeper) 0%, var(--purple-dark) 45%, var(--purple) 100%);
    color: var(--white);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.125rem;
    max-width: 640px;
    margin: 0 auto;
}

.cta-logo-wrap {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(255,255,255,0.12);
    margin-bottom: 0.5rem;
}

.cta-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
}

.cta-section p {
    font-size: 1.05rem;
    opacity: 0.88;
    line-height: 1.75;
    max-width: 500px;
}

.cta-note {
    font-size: 0.83rem !important;
    opacity: 0.55 !important;
    font-style: italic;
    margin-top: -0.25rem;
}

/* ---- Footer ---- */

.site-footer {
    background: var(--purple-deeper);
    color: var(--white);
    padding: 0.875rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    opacity: 0.75;
    flex-shrink: 0;
}

.footer-school {
    font-family: 'Playfair Display', serif;
    font-size: 0.92rem;
    opacity: 0.85;
    margin-bottom: 0.2rem;
}

.footer-copy {
    font-size: 0.78rem;
    opacity: 0.45;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
    .hero {
        padding: 4rem 0 5rem;
    }

    .hero-logo-wrap {
        width: 112px;
        height: 112px;
    }

    .hero-logo {
        width: 82px;
        height: 82px;
    }

    .countdown {
        padding: 1rem 1.25rem;
        gap: 0.4rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-unit {
        min-width: 3rem;
    }

    .countdown-sep {
        font-size: 1.5rem;
    }

    .nav-title-sub {
        display: none;
    }

    .section {
        padding: 3.75rem 0;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .countdown {
        padding: 0.875rem 0.875rem;
        gap: 0.25rem;
    }

    .countdown-number {
        font-size: 1.625rem;
    }

    .countdown-unit {
        min-width: 2.5rem;
    }

    .countdown-sep {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.8rem 1.75rem;
        font-size: 0.95rem;
    }
}
