
/* =========================================================
   FAELESTIAL GUNDAM ARCHIVE â€” SIGNATURE PAGE POLISH
   Loaded after style.css. All rules are scoped to this page.
   ========================================================= */

.faelestial-page {
    --fg-cyan: #87efff;
    --fg-magenta: #ff9de8;
    --fg-violet: #a99cff;
    --fg-gold: #ffd48a;
    --fg-ink: #080b17;
    --fg-panel: rgba(14, 20, 42, 0.82);
    --fg-panel-soft: rgba(255, 255, 255, 0.045);
    --fg-border: rgba(135, 239, 255, 0.26);
    --fg-border-soft: rgba(255, 255, 255, 0.12);
    --fg-text-soft: rgba(255, 255, 255, 0.78);
}

.faelestial-page .page {
    position: relative;
    overflow: hidden;
}

.faelestial-page .page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 12%, rgba(135, 239, 255, 0.12), transparent 28%),
        radial-gradient(circle at 84% 20%, rgba(255, 157, 232, 0.10), transparent 28%),
        linear-gradient(180deg, rgba(5, 8, 20, 0.16), rgba(5, 8, 20, 0.45));
}

.faelestial-page img,
.faelestial-page video {
    max-width: 100%;
}

.faelestial-page .hero {
    position: relative;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.faelestial-page .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(4, 7, 18, 0.18), rgba(4, 7, 18, 0.72)),
        radial-gradient(circle at 50% 34%, rgba(135, 239, 255, 0.13), transparent 42%);
}

.faelestial-page .hero h1 {
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-shadow:
        0 0 20px rgba(135, 239, 255, 0.34),
        0 0 44px rgba(255, 157, 232, 0.16);
}

.faelestial-page .hero > p {
    max-width: 900px;
    margin: 18px auto;
    color: var(--fg-text-soft);
}

.faelestial-page .hero .button-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.faelestial-hero-art {
    width: min(980px, 100%);
    margin: 38px auto 0;
    padding: 12px;
    border: 1px solid var(--fg-border);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(135, 239, 255, 0.06), rgba(255, 157, 232, 0.05));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.faelestial-hero-art img {
    width: 100%;
    max-height: 660px;
    object-fit: contain;
    display: block;
    border-radius: 16px;
}

.archive-timeline {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 28px auto 0;
}

.archive-timeline a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid var(--fg-border-soft);
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.035);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.archive-timeline a:hover {
    transform: translateY(-2px);
    border-color: var(--fg-cyan);
    background: rgba(135, 239, 255, 0.07);
}

.archive-timeline span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 50%;
    color: #08111a;
    background: linear-gradient(135deg, var(--fg-cyan), var(--fg-magenta));
    font-size: 0.68rem;
    font-weight: 900;
}

.faelestial-page .nav {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
}

.faelestial-page .section {
    position: relative;
    scroll-margin-top: 98px;
}

.faelestial-page .section > h2 {
    margin-bottom: 14px;
}

.faelestial-page .section > p {
    max-width: 1050px;
}

.faelestial-page .timeline-label {
    display: inline-block;
    margin: 0 0 18px;
    padding: 6px 12px;
    border: 1px solid var(--fg-border);
    border-radius: 999px;
    color: var(--fg-cyan);
    background: rgba(135, 239, 255, 0.055);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.faelestial-page .status {
    border: 1px solid var(--fg-border);
    border-left: 4px solid var(--fg-magenta);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(135, 239, 255, 0.055), rgba(255, 157, 232, 0.05));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.faelestial-page .gallery {
    gap: 28px;
    align-items: stretch;
}

.faelestial-page .card {
    overflow: hidden;
    border: 1px solid var(--fg-border-soft);
    background: var(--fg-panel-soft);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.faelestial-page .card:hover {
    transform: translateY(-5px);
    border-color: var(--fg-border);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.faelestial-page .card img {
    width: 100%;
    display: block;
}

.faelestial-page .feature-card {
    width: min(1080px, 100%);
    margin-inline: auto;
    border-radius: 20px;
    border-color: var(--fg-border);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.30);
}

.faelestial-page .feature-card img {
    max-height: 760px;
    object-fit: contain;
}

.faelestial-page .caption {
    color: var(--fg-text-soft);
    line-height: 1.55;
}

/* ==================================================
   OVERVIEW â€” THREE BEACON LAYOUT
================================================== */

.faelestial-page #overview .gallery{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:28px;
align-items:start;
margin-top:40px;
padding-bottom:45px;
}
.faelestial-page #overview .gallery .card:first-child{grid-column:auto;}
.faelestial-page #overview .gallery .card{display:flex;flex-direction:column;height:100%;max-width:310px;justify-self:center;}
.faelestial-page #overview .gallery .card img{width:100%;height:420px;object-fit:contain;background:rgba(8,12,22,.85);border-radius:14px;}
.faelestial-page #overview .gallery .card:nth-child(2){margin-top:58px;max-width:340px;justify-self:center;}
.faelestial-page #overview .gallery .caption{margin-top:auto;}

/* Chapter banners */
.era-banner {
    width: min(1120px, calc(100% - 32px));
    margin: 72px auto -26px;
    padding: 22px 26px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--fg-border);
    border-radius: 18px;
    background:
        linear-gradient(120deg, rgba(135, 239, 255, 0.08), rgba(255, 157, 232, 0.07));
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.era-banner span {
    color: var(--fg-cyan);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.era-banner strong {
    font-size: 1.02rem;
    font-weight: 700;
}

.digital-era {
    border-color: rgba(169, 156, 255, 0.34);
}

.milestone-era {
    border-color: rgba(255, 212, 138, 0.38);
}

.current-era {
    border-color: rgba(255, 157, 232, 0.40);
    box-shadow: 0 20px 50px rgba(255, 157, 232, 0.08);
}

.cinema-era {
    border-color: rgba(135, 239, 255, 0.38);
}

/* Give the major reveals more visual gravity */
.faelestial-page #mk1,
.faelestial-page #mk2,
.faelestial-page #animation,
.faelestial-page #future {
    border: 1px solid rgba(135, 239, 255, 0.16);
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.20);
}

.faelestial-page #mk1 {
    background:
        linear-gradient(180deg, rgba(255, 212, 138, 0.055), rgba(10, 15, 34, 0.05));
}

.faelestial-page #mk2 {
    background:
        linear-gradient(180deg, rgba(255, 157, 232, 0.075), rgba(10, 15, 34, 0.05));
}

.faelestial-page #mk2 .gallery .card:first-child {
    grid-column: span 2;
}

.faelestial-page #mk2 .gallery .card:first-child img {
    max-height: 760px;
    object-fit: contain;
}

.faelestial-page .video-feature,
.faelestial-page #animation > video {
    width: min(900px, 100%);
    margin: 34px auto;
}

.faelestial-page video {
    width: 100%;
    max-height: 640px;
    display: block;
    object-fit: contain;
    border: 1px solid var(--fg-border-soft);
    border-radius: 16px;
    background: #070a13;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.faelestial-page .video-feature h3,
.faelestial-page .video-feature .caption {
    text-align: center;
}

/* UC Merced bridge section */
.faelestial-page #ucmerced {
    border: 1px solid rgba(135, 239, 255, 0.18);
    background:
        linear-gradient(145deg, rgba(135, 239, 255, 0.055), rgba(169, 156, 255, 0.045));
}

/* Future spread */
.faelestial-page .future-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.faelestial-page .future-image img {
    width: 100%;
    max-height: 760px;
    object-fit: contain;
    filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.34));
}

.faelestial-page .note {
    border-left: 4px solid var(--fg-magenta);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(135, 239, 255, 0.055), rgba(255, 157, 232, 0.05));
}

.faelestial-page #dump .card {
    padding: 8px;
}

.faelestial-page #dump .card img {
    border-radius: 10px;
}

.archive-closing {
    width: min(1040px, calc(100% - 32px));
    margin: 74px auto 28px;
    padding: 54px 34px;
    text-align: center;
    border: 1px solid var(--fg-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 0%, rgba(135, 239, 255, 0.11), transparent 48%),
        linear-gradient(135deg, rgba(135, 239, 255, 0.06), rgba(255, 157, 232, 0.055));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.closing-kicker {
    color: var(--fg-cyan);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.archive-closing h2 {
    max-width: 850px;
    margin: 10px auto 16px;
}

.archive-closing p:last-child {
    max-width: 780px;
    margin-inline: auto;
    color: var(--fg-text-soft);
}

@media (max-width: 900px) {
    .archive-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faelestial-page #mk2 .gallery .card:first-child {
        grid-column:auto;
    }

    .faelestial-page #overview .gallery{
        grid-template-columns:1fr;
        padding-bottom:0;
    }

    .faelestial-page #overview .gallery .card:nth-child(2){
        margin-top:0;
    }

    .faelestial-page #overview .gallery .card img{
        height:auto;
        max-height:520px;
    }

    .future-layout {
        grid-template-columns: 1fr !important;
    }

    .era-banner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .faelestial-page .hero .button-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .faelestial-page .hero .button {
        width: 100%;
        text-align: center;
    }

    .archive-timeline {
        grid-template-columns: 1fr;
    }

    .faelestial-hero-art {
        padding: 7px;
        border-radius: 16px;
    }

    .era-banner {
        width: calc(100% - 20px);
        margin-top: 52px;
        padding: 17px;
    }

    .archive-closing {
        width: calc(100% - 20px);
        padding: 38px 20px;
    }
}



