/* ---------- Academia booth: flowing title backdrop (see photo-upload.css) ---------- */
.academia-main {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
}
.academia-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}
.academia-backdrop span {
    position: absolute;
    top: 4rem;
    left: -5%;
    color: var(--gal-blue);
    opacity: 0.09;
    font: 700 clamp(4rem, 13vw, 10rem)/1 var(--font-body);
    letter-spacing: -0.05em;
    white-space: nowrap;
    animation: academia-text-drift 24s ease-in-out infinite alternate;
}
.academia-backdrop span:nth-child(2) {
    top: 34rem;
    left: 14%;
    color: #a46828;
    animation-delay: -9s;
    animation-direction: alternate-reverse;
}
.academia-backdrop span:nth-child(3) {
    top: 64rem;
    left: -8%;
    color: var(--gal-gold);
    animation-delay: -17s;
}
@keyframes academia-text-drift {
    from { transform: translate(-2%, 0) rotate(-8deg); }
    to { transform: translate(12%, 2rem) rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) {
    .academia-backdrop span { animation: none; }
}

/* ---------- Intro ---------- */
.academia-intro {
    max-width: 760px;
    margin: 0 auto 2.2rem;
    text-align: center;
    gap: 0.4rem;
}
.academia-intro h2 {
    margin: 0.2rem 0 0.3rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--gal-ink);
}
.academia-intro p {
    margin: 0;
    color: var(--gal-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* ---------- Video orbit: main video on top, previews left / right / below ---------- */
.academia-showcase { margin-bottom: 1.8rem; }

.video-orbit {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(300px, 580px) minmax(150px, 1fr);
    grid-template-areas:
        "left1 main  right1"
        "left2 main  right2"
        "below below below";
    align-items: center;
    justify-items: center;
    gap: 1.5rem 1.75rem;
    max-width: 1180px;
    margin: 0 auto;
}

.orbit-main {
    grid-area: main;
    z-index: 5;
    width: 100%;
    align-self: start;
}
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.32);
    border-radius: var(--gal-radius);
    background: radial-gradient(circle at 50% 40%, #254553, #0b1a21 75%);
    box-shadow: 0 30px 70px rgba(11, 26, 33, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #0b1a21;
}
.video-poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-poster-play {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(197, 29, 29, 0.92);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, background 0.2s;
}
.video-poster-play svg { width: 28px; height: 28px; fill: #fff; margin-left: 3px; }
.video-poster:hover .video-poster-play,
.video-poster:focus-visible .video-poster-play { transform: scale(1.08); background: #c51d1d; }
.video-poster[hidden] { display: none; }
.orbit-main-caption {
    margin-top: 0.85rem;
    text-align: center;
}
.caption-eyebrow {
    display: block;
    margin-bottom: 0.2rem;
    color: #a46828;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.orbit-main-caption h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    color: var(--gal-ink);
}
.video-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--gal-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--gal-blue);
    font: 600 0.8rem var(--font-body);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.video-reset svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.video-reset:hover, .video-reset:focus-visible { border-color: var(--gal-blue); background: #fff; }
.video-reset[hidden] { display: none; }

.orbit-sub {
    display: contents;
    list-style: none;
    margin: 0;
    padding: 0;
}
.orbit-item {
    z-index: 4;
    width: min(100%, 210px);
}
.orbit-item-1 { grid-area: left1; }
.orbit-item-2 { grid-area: right1; }
.orbit-item-3 { grid-area: left2; }
.orbit-item-4 { grid-area: right2; }
.orbit-item-5 { grid-area: below; width: min(100%, 260px); }

.video-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.video-thumb-btn {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    border: 1px solid var(--gal-line);
    border-radius: 14px;
    background: var(--gal-surface);
    box-shadow: 0 12px 26px rgba(18, 36, 43, 0.1);
    cursor: pointer;
    text-align: left;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.video-thumb-btn:hover,
.video-thumb-btn:focus-visible {
    transform: translateY(-3px);
    border-color: var(--gal-blue);
    box-shadow: 0 16px 34px rgba(18, 36, 43, 0.16);
}
.video-thumb-btn[aria-pressed="true"] {
    border-color: var(--gal-gold);
    box-shadow: 0 0 0 3px rgba(245, 189, 36, 0.35), 0 16px 34px rgba(18, 36, 43, 0.16);
}
.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    background: #0b1a21;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(11, 26, 33, 0.62);
    color: #fff;
    transform: translate(-50%, -50%);
    transition: background 0.2s, transform 0.2s;
}
.play-badge svg { width: 17px; height: 17px; fill: currentColor; margin-left: 2px; }
.video-thumb-btn:hover .play-badge,
.video-thumb-btn:focus-visible .play-badge { background: var(--gal-gold); color: #392b09; transform: translate(-50%, -50%) scale(1.08); }

.video-card-title {
    padding: 0.1rem 0.75rem 0.75rem;
    color: var(--gal-ink);
    font: 600 0.82rem var(--font-body);
    line-height: 1.3;
}
.video-card-title small {
    display: block;
    margin-top: 0.15rem;
    color: var(--gal-muted);
    font-size: 0.7rem;
    font-weight: 500;
}
.video-card-link {
    align-self: flex-start;
    margin-left: 0.1rem;
    color: var(--gal-blue);
    font: 600 0.72rem var(--font-body);
    text-decoration: none;
}
.video-card-link:hover,
.video-card-link:focus-visible { text-decoration: underline; }

/* ---------- Responsive: narrow the side columns, then stack to 2-up ---------- */
@media (max-width: 980px) {
    .video-orbit {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "main  main"
            "left1 right1"
            "left2 right2"
            "below below";
        max-width: 620px;
    }
    .orbit-main { width: min(100%, 560px); justify-self: center; }
    .orbit-item,
    .orbit-item-5 { width: 100%; }
}
@media (max-width: 420px) {
    .video-orbit {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "left1"
            "right1"
            "left2"
            "right2"
            "below";
    }
}
