/* ╔══════════════════════════════════════════════════════════════════╗
   ║  GIA REVAMP 2026 — HOMEPAGE "POLICY UNPACKED" PODCAST PROMO      ║
   ║  Deploy to: LKY.Web\assets\GIA\revamp\gia-foreseeable.css        ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── Section shell ─────────────────────────────────────────────────── */
.gia-revamp-root .gia-fs {
    position: relative;
    overflow: hidden;
    padding: 76px 0 88px;
    font-family: var(--gia-rv-font, 'Inter', 'Helvetica Neue', Arial, sans-serif);
    color: var(--gia-rv-ink, #231f20);
    background: #fff url(../images/highlights-bg.png) fixed no-repeat bottom center;
    background-size: cover;
}

    .gia-revamp-root .gia-fs .gia-rv-container {
        position: relative;
        z-index: 1;
        margin: 0 auto;
        padding: 0 24px;
        width: 100% !important;
        max-width: 1170px;
    }

.gia-revamp-root .gia-fs__grid {
    display: grid;
    grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr);
    gap: 56px;
    align-items: center;
}

/* ── Intro column ──────────────────────────────────────────────────── */
.gia-revamp-root .gia-fs__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.gia-revamp-root .gia-fs__lockup {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    padding-bottom: 16px;
}

    /* Standard GIA heading indicator — the short thick pink underline
       (same ramp as the footer sitemap headings). */
    .gia-revamp-root .gia-fs__lockup::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 56px;
        height: 3px;
        border-radius: 2px;
        background: linear-gradient(90deg, #ff5c86, #af1d48);
    }

.gia-revamp-root .gia-fs__wordmark {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
    color: var(--gia-rv-ink, #231f20);
}

    .gia-revamp-root .gia-fs__wordmark em {
        font-style: italic;
        font-weight: 500;
    }

.gia-revamp-root .gia-fs__slash {
    font-size: 40px;
    font-weight: 300;
    color: #d9c9cf;
    line-height: 1;
}

.gia-revamp-root .gia-fs__badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px 6px;
    background: var(--gia-rv-maroon, #96002c);
    color: #ffffff;
    transform: rotate(-4deg);
    box-shadow: 0 10px 26px rgba(99, 0, 29, .30);
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
}

    /* Offset art tile behind the chip — the section's triangle-geometry
       language layered with explicit z-index staging. */
    .gia-revamp-root .gia-fs__badge::before {
        content: "";
        position: absolute;
        inset: -9px -12px 9px 12px;
        z-index: -1;
        background: linear-gradient(135deg, rgba(255, 92, 134, .34), rgba(175, 29, 72, .16));
        transform: rotate(7deg);
    }

    .gia-revamp-root .gia-fs__badge:hover {
        transform: rotate(-2deg) translateY(-2px);
    }

.gia-revamp-root .gia-fs__badge-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.1;
    white-space: nowrap;
}

.gia-revamp-root .gia-fs__badge-sub {
    margin-top: 3px;
    font-size: 7px;
    font-weight: 600;
    letter-spacing: .3em;
    opacity: .82;
    white-space: nowrap;
}

.gia-revamp-root .gia-fs__tagline {
    margin: 0;
    max-width: 46ch;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gia-rv-body, #484848);
}

/* EQ divider — scaled-up equalizer; the pulse animation only exists
   inside the no-preference query (accessibility motion directive). */
.gia-revamp-root .gia-fs__eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    height: 26px;
}

    .gia-revamp-root .gia-fs__eq span {
        width: 5px;
        border-radius: 3px;
        background: linear-gradient(180deg, #ff5c86, var(--gia-rv-brand-red, #af1d48), var(--gia-rv-maroon, #96002c));
    }

        .gia-revamp-root .gia-fs__eq span:nth-child(1) {
            height: 13px;
        }

        .gia-revamp-root .gia-fs__eq span:nth-child(2) {
            height: 24px;
        }

        .gia-revamp-root .gia-fs__eq span:nth-child(3) {
            height: 17px;
        }

        .gia-revamp-root .gia-fs__eq span:nth-child(4) {
            height: 22px;
        }

        .gia-revamp-root .gia-fs__eq span:nth-child(5) {
            height: 14px;
        }

@media (prefers-reduced-motion: no-preference) {
    .gia-revamp-root .gia-fs__eq span {
        animation: gia-fs-eq 1.15s ease-in-out infinite;
    }

    .gia-revamp-root .gia-fs__eq span:nth-child(2) {
        animation-delay: .14s;
    }

    .gia-revamp-root .gia-fs__eq span:nth-child(3) {
        animation-delay: .28s;
    }

    .gia-revamp-root .gia-fs__eq span:nth-child(4) {
        animation-delay: .42s;
    }

    .gia-revamp-root .gia-fs__eq span:nth-child(5) {
        animation-delay: .56s;
    }
}

@keyframes gia-fs-eq {
    0%, 100% {
        transform: scaleY(.4);
    }

    50% {
        transform: scaleY(1);
    }
}

/* Store badges */
.gia-revamp-root .gia-fs__apps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 185px));
    gap: 12px;
    margin-top: 2px;
}

    .gia-revamp-root .gia-fs__apps a {
        display: block;
        border-radius: 10px;
        line-height: 0;
        background: #ffffff;
        box-shadow: 0 4px 14px rgba(35, 31, 32, .08);
        transition: transform .3s ease, box-shadow .3s ease;
    }

        .gia-revamp-root .gia-fs__apps a:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(35, 31, 32, .12);
        }

        .gia-revamp-root .gia-fs__apps a:focus-visible {
            outline: 2px solid var(--gia-rv-brand-red, #af1d48);
            outline-offset: 3px;
        }

    .gia-revamp-root .gia-fs__apps img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
    }

/* CTA */
.gia-revamp-root .gia-fs__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 13px 26px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #ffffff;
    background: var(--gia-rv-maroon, #96002c);
    border: 1px solid transparent;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(99, 0, 29, .22);
    transition: box-shadow .3s ease, transform .2s ease;
}

    .gia-revamp-root .gia-fs__cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, var(--gia-rv-burgundy, #63001d), var(--gia-rv-brand-red, #af1d48));
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform .35s cubic-bezier(.22,.61,.36,1);
        z-index: 0;
    }

    .gia-revamp-root .gia-fs__cta:hover::before {
        transform: scaleX(1);
    }

    .gia-revamp-root .gia-fs__cta:active {
        transform: scale(.98);
    }

    .gia-revamp-root .gia-fs__cta span {
        position: relative;
        z-index: 1;
    }

    .gia-revamp-root .gia-fs__cta .gia-fs__cta-arrow {
        transition: transform .3s cubic-bezier(.22,.61,.36,1);
    }

    .gia-revamp-root .gia-fs__cta:hover .gia-fs__cta-arrow {
        transform: translateX(4px);
    }

    .gia-revamp-root .gia-fs__cta:focus-visible {
        outline: 2px solid var(--gia-rv-brand-red, #af1d48);
        outline-offset: 3px;
    }

/* ── Player column ─────────────────────────────────────────────────── */
.gia-revamp-root .gia-fs__stage {
    position: relative;
}

/* Ambient back-glow behind the frame — heavy blur, brand pink→maroon
   at low opacity, blending the player edges into the page. Bound to
   the OUTER wrapper only; the iframe document is never touched. */
.gia-revamp-root .gia-fs__glow {
    position: absolute;
    inset: 6% -4%;
    z-index: 0;
    pointer-events: none;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 92, 134, .38), rgba(150, 0, 44, .30), rgba(99, 0, 29, .24));
    filter: blur(60px);
    opacity: .5;
}

/* The player frame — faux gradient border via padded wrapper (the
   brand pink→red→burgundy ramp; the site has no purple/teal tokens),
   with a deep dark inner that anchors the embed cleanly. */
.gia-revamp-root .gia-fs__frame {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    padding: 3px; /* structural border width */
    background: linear-gradient(135deg, #ff5c86, var(--gia-rv-brand-red, #af1d48) 45%, var(--gia-rv-burgundy, #63001d));
    box-shadow:
        0 20px 60px -10px rgba(0, 0, 0, .5),
        0 0 40px rgba(255, 92, 134, .15);
}

.gia-revamp-root .gia-fs__frame-inner {
    border-radius: 14px;
    overflow: hidden;
    background: #14060b; /* deep dark fill behind the native player */
}

/* Mock app-style header bar above the iframe (inside the frame, still
   strictly OUTSIDE the third-party document) */
.gia-revamp-root .gia-fs__frame-head {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 16px;
    background: linear-gradient(180deg, #2a0a16 0%, #1c0510 100%);
    border-bottom: 1px solid rgba(255, 92, 134, .14);
}

.gia-revamp-root .gia-fs__frame-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5c86, var(--gia-rv-brand-red, #af1d48));
    color: #ffffff;
}

    .gia-revamp-root .gia-fs__frame-ico svg {
        width: 14px;
        height: 14px;
    }

.gia-revamp-root .gia-fs__frame-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .92);
}

/* Live pulse dot — brightened for the dark header */
.gia-revamp-root .gia-fs__live {
    position: relative;
    width: 6px;
    height: 6px;
    margin-left: auto;
    border-radius: 50%;
    background: #ff5c86;
}

    .gia-revamp-root .gia-fs__live::after {
        content: "";
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        border: 1px solid #ff5c86;
        animation: gia-fs-live 2.5s ease-out infinite;
    }

@keyframes gia-fs-live {
    0% {
        transform: scale(.6);
        opacity: .6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* The screen — direct native scroll */
.gia-revamp-root .gia-fs__player {
    position: relative;
    height: 512px;
    background: #14060b;
}

    .gia-revamp-root .gia-fs__player iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
        opacity: 0;
        transition: opacity .5s ease;
    }

    .gia-revamp-root .gia-fs__player.is-loaded iframe {
        opacity: 1;
    }

/* Branded loading state */
.gia-revamp-root .gia-fs__shimmer {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(100deg, #1c0510 25%, #33101f 45%, #1c0510 65%);
    background-size: 400% 100%;
    animation: gia-fs-shimmer 2s ease infinite;
}

.gia-revamp-root .gia-fs__player.is-loaded .gia-fs__shimmer {
    display: none;
}

.gia-revamp-root .gia-fs__loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

    .gia-revamp-root .gia-fs__loader .gia-fs__eq {
        height: 28px;
    }

        .gia-revamp-root .gia-fs__loader .gia-fs__eq span {
            width: 5px;
        }

.gia-revamp-root .gia-fs__loader-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #ff5c86;
}

@keyframes gia-fs-shimmer {
    from {
        background-position: 100% 0;
    }

    to {
        background-position: 0 0;
    }
}

/* Fallback panel — dark variant matching the frame inner */
.gia-revamp-root .gia-fs__fallback {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 24px;
    background: #1c0510;
}

.gia-revamp-root .gia-fs__fallback-title {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
}

.gia-revamp-root .gia-fs__fallback-hint {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
}

/* ── Entrance Animations ───────────────────────────────────────────── */
.gia-revamp-root .gia-fs__intro > * {
    opacity: 0;
    transform: translateY(22px);
}

.gia-revamp-root .gia-fs__stage {
    opacity: 0;
    transform: translateX(30px);
}

.gia-revamp-root .gia-fs.is-revealed .gia-fs__intro > * {
    animation: gia-fs-up .6s cubic-bezier(.22,.61,.36,1) forwards;
}

    .gia-revamp-root .gia-fs.is-revealed .gia-fs__intro > *:nth-child(1) {
        animation-delay: .05s;
    }

    .gia-revamp-root .gia-fs.is-revealed .gia-fs__intro > *:nth-child(2) {
        animation-delay: .15s;
    }

    .gia-revamp-root .gia-fs.is-revealed .gia-fs__intro > *:nth-child(3) {
        animation-delay: .25s;
    }

    .gia-revamp-root .gia-fs.is-revealed .gia-fs__intro > *:nth-child(4) {
        animation-delay: .35s;
    }

    .gia-revamp-root .gia-fs.is-revealed .gia-fs__intro > *:nth-child(5) {
        animation-delay: .45s;
    }

.gia-revamp-root .gia-fs.is-revealed .gia-fs__stage {
    animation: gia-fs-stage .75s .2s cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes gia-fs-up {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes gia-fs-stage {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
    .gia-revamp-root .gia-fs {
        background-image: url('/assets/GIA/images/highlights-bg-mobile.png');
        background-size: contain;
    }

    .gia-revamp-root .gia-fs__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gia-revamp-root .gia-fs__intro {
        align-items: center;
        text-align: center;
    }

    .gia-revamp-root .gia-fs__lockup {
        justify-content: center;
    }

        .gia-revamp-root .gia-fs__lockup::after {
            left: 50%;
            transform: translateX(-50%);
        }

    .gia-revamp-root .gia-fs__tagline {
        max-width: 60ch;
    }

    .gia-revamp-root .gia-fs__player {
        height: 500px;
    }

    .gia-revamp-root .gia-fs__stage {
        transform: translateY(30px);
    }
}

@media (max-width: 560px) {
    .gia-revamp-root .gia-fs {
        padding: 52px 0 60px;
    }

    .gia-revamp-root .gia-fs__wordmark {
        font-size: 26px;
    }

    .gia-revamp-root .gia-fs__slash {
        font-size: 30px;
    }

    .gia-revamp-root .gia-fs__badge-title {
        font-size: 13px;
    }

    .gia-revamp-root .gia-fs__apps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 340px;
    }

    .gia-revamp-root .gia-fs__frame {
        border-radius: 12px;
        padding: 2px;
    }

    .gia-revamp-root .gia-fs__frame-inner {
        border-radius: 10px;
    }

    .gia-revamp-root .gia-fs__player {
        height: 460px;
    }

    .gia-revamp-root .gia-fs__frame-title {
        font-size: 11px;
    }
}

/* ── Reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .gia-revamp-root .gia-fs__eq span,
    .gia-revamp-root .gia-fs__live::after,
    .gia-revamp-root .gia-fs__shimmer {
        animation: none;
    }

    .gia-revamp-root .gia-fs__intro > *,
    .gia-revamp-root .gia-fs__stage {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .gia-revamp-root .gia-fs__apps a,
    .gia-revamp-root .gia-fs__cta .gia-fs__cta-arrow {
        transition: none;
    }
}
