:root {
    --gold: #C9952A;
    --gold-light: #F5E4B8;
    --gold-dark: #8B6318;
    --navy: #0F1F3D;
    --navy-mid: #1E3560;
    --navy-light: #E8EDF7;
    --red: rgba(255,100,100,0.7);
    --dark-red: rgba(150,0,0,1);
    --white: #FAFAF8;
    --text: #1A1A2E;
    --text-muted: #5A6480;
    --card-bg: #FFFFFF;
    --border: rgba(15, 31, 61, 0.1);
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── HEADER ── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}


.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--navy-light); 
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--gold);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.year-badge {
    background: var(--gold-light);
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

.login-btn {
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.login-btn:hover {
    background: var(--gold-dark);
}

.login-btn:active {
    transform: scale(0.98);
}

/* ── HERO ── */
.hero {
    text-align: center;
    padding: 5rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 149, 42, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    background: var(--gold-light);
    padding: 5px 14px;
    border-radius: 20px;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.12;
    color: var(--navy);
    letter-spacing: -0.03em;
    max-width: 720px;
    margin: 0 auto 1.2rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover {
    background: var(--navy-mid);
    transform: translateY(-2px);
}

/* ── PROGRESS BAR (optional decoration) ── */
.progress-strip {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 0 2rem 3rem;
    flex-wrap: wrap;
}

.pchip {
    background: var(--navy-light);
    color: var(--navy-mid);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pchip.done {
    background: #E6F4EC;
    color: #2D7A4F;
}

.pchip.active {
    background: var(--gold-light);
    color: var(--gold-dark);
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

.pchip.in-work {
    background: var(--red);
    color: var(--dark-red);
    width: inherit;
}


/* ── SECTION LABEL ── */
.section-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 2rem;
    margin-bottom: 1.2rem;
}

/* ── CARDS GRID ── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--gold));
    opacity: 0;
    transition: opacity 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 31, 61, 0.1);
    border-color: rgba(15, 31, 61, 0.2);
}

.card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--card-icon-bg, var(--gold-light));
    flex-shrink: 0;
}

.card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
}

.card-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--navy-light);
    color: var(--navy-mid);
}

.card-status.live {
    background: #E6F4EC;
    color: #2D7A4F;
}

.card-status.wip {
    background: var(--gold-light);
    color: var(--gold-dark);
}

.card-arrow {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: transform 0.2s, color 0.2s;
}

.card:hover .card-arrow {
    transform: translateX(4px);
    color: var(--navy);
}

/* ── UPCOMING SECTION ── */
.upcoming {
    margin: 3rem auto 0;
    max-width: 1200px;
    padding: 0 2rem;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.upcoming-card {
    background: var(--card-bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0.7;
}

.upcoming-icon {
    font-size: 1.4rem;
}

.upcoming-name {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--navy);
}

.upcoming-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 300;
}

.coming-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--navy-light);
    color: var(--navy-mid);
    margin-top: 0.3rem;
    width: fit-content;
}

/* ── FOOTER ── */
footer {
    margin-top: 5rem;
    border-top: 1px solid var(--border);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: gap;
    gap: 1rem;
}

.footer-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--navy);
}

.footer-logo span {
    color: var(--gold);
}

.footer-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    animation: fadeUp 0.5s ease both;
}

.hero h1 {
    animation: fadeUp 0.5s 0.1s ease both;
}

.hero p {
    animation: fadeUp 0.5s 0.18s ease both;
}

.hero-cta {
    animation: fadeUp 0.5s 0.26s ease both;
}

.progress-strip {
    animation: fadeUp 0.5s 0.32s ease both;
}

.card {
    animation: fadeUp 0.4s ease both;
}

.card:nth-child(1) {
    animation-delay: 0.35s;
}

.card:nth-child(2) {
    animation-delay: 0.42s;
}

.card:nth-child(3) {
    animation-delay: 0.49s;
}

.card:nth-child(4) {
    animation-delay: 0.56s;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    header {
        padding: 0 1rem;
    }

    .hero {
        padding: 3rem 1rem 2rem;
    }

    .cards-grid,
    .upcoming,
    .progress-strip {
        padding: 0 1rem;
    }

    .section-label {
        padding: 0 1rem;
    }

    footer {
        padding: 1.5rem 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
}