﻿/* ══════════════════════════════════════════════════════════════
   POLITICAL JOURNEY PAGE — page-specific styles only.
   Loaded after yari.css, which supplies the design tokens, reset,
   .container, .btn variants, the reveal-animation system, and the
   shared header/footer/ticker/contact-modal reused as-is here.
   ══════════════════════════════════════════════════════════════ */

/* ── Hero — dark chronology band with a giant cropped wordmark ── */
.pj-hero {
    position: relative;
    background: var(--navy);
    overflow: hidden;
    padding: 4rem 0 4.5rem;
}

.pj-hero__watermark {
    position: absolute;
    right: -2%;
    bottom: -12%;
    font-family: "Gotham Cond Black", sans-serif;
    font-weight: 900;
    font-size: clamp(11rem, 26vw, 22rem);
    line-height: 0.85;
    color: rgba(255,255,255,0.045);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.pj-hero__inner {
    position: relative;
    z-index: 1;
}

.pj-hero__badge {
    margin-bottom: 1.5rem;
}

.pj-hero__title {
    margin-bottom: 1.25rem;
}

.pj-hero__desc {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--white-80);
    max-width: 520px;
}

@media (min-width: 900px) {
    .pj-hero {
        padding: 5.5rem 0;
    }
}

/* ── Era tabs ─────────────────────────────────────────────────── */
.pj-eras {
    padding: 3.5rem 0 4.5rem;
    background: var(--white);
}

.pj-tabs {
    display: flex;
    gap: 0.2rem;
    background: #fff;
    border: 2px solid rgba(9,19,24,0.06);
    border-radius: 9999px;
    padding: 4px;
    margin-bottom: 2.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

    .pj-tabs::-webkit-scrollbar {
        display: none;
    }

.pj-tab {
    flex: 1 1 0;
    min-width: max-content;
    background: none;
    border: none;
    border-radius: 9999px;
    padding: 0.85rem 1.4rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--grey);
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

    .pj-tab.is-active {
        background: var(--navy);
        color: var(--white);
    }

/* ── Era panel content ───────────────────────────────────────── */
.pj-panel__image {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin-bottom: 1.75rem;
    background: linear-gradient(155deg, #2b2f31, #17191a);
}

.pj-panel__eyebrow {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.6rem;
}

.pj-panel__title {
    font-family: "Gotham Cond Black", sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3.6vw, 2rem);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.pj-panel__range {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 1.25rem;
}

.pj-panel__desc {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #3E4750;
    max-width: 720px;
    margin-bottom: 2.25rem;
}

.pj-panel__subheading {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.pj-panel__milestones {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

    .pj-panel__milestones li {
        display: flex;
        align-items: flex-start;
        gap: 0.7rem;
        font-family: 'Roboto', sans-serif;
        font-size: 0.9rem;
        line-height: 1.5;
        color: #3E4750;
    }

.pj-dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    margin-top: 0.5em;
}

/* ── Verified-achievements accordion ──
   Same "0fr → 1fr" grid-row trick used by the homepage timeline, so an
   expanding panel is smoothly transitionable instead of jumping via
   height:auto. */
.pj-achv {
    margin-bottom: 2.5rem;
}

.pj-achv-item {
    border-bottom: 1px solid rgba(9,19,24,0.08);
}

    .pj-achv-item:first-child {
        border-top: 1px solid rgba(9,19,24,0.08);
    }

.pj-achv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.15rem 0;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--navy);
    cursor: pointer;
}

.pj-achv-icon {
    position: relative;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

    .pj-achv-icon .h,
    .pj-achv-icon .v {
        position: absolute;
        top: 50%;
        left: 50%;
        background: var(--teal);
        border-radius: 2px;
    }

    .pj-achv-icon .h {
        width: 13px;
        height: 2px;
        transform: translate(-50%, -50%);
    }

    .pj-achv-icon .v {
        width: 2px;
        height: 13px;
        transform: translate(-50%, -50%);
        transition: transform 0.25s var(--ease), opacity 0.2s ease;
    }

.pj-achv-item.is-open .pj-achv-icon .v {
    transform: translate(-50%, -50%) scaleY(0);
    opacity: 0;
}

.pj-achv-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease);
}

.pj-achv-item.is-open .pj-achv-panel {
    grid-template-rows: 1fr;
}

.pj-achv-panel-inner {
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pj-achv-item.is-open .pj-achv-panel-inner {
    opacity: 1;
    transition-delay: 0.1s;
}

.pj-achv-body {
    background: #EAF6F8;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.1rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.86rem;
    line-height: 1.65;
    color: #3E4750;
}

.pj-panel__cta {
    box-shadow: 0 10px 24px rgba(9,19,24,0.08);
}

@media (min-width: 640px) {
    .pj-panel__image {
        height: 340px;
    }
}
