/* PANDO landing page, on top of the shared black theme in site.css.
   A full-colour loop of Dhaka runs behind the page and softens as you scroll.
   Page furniture is monochrome. Colour comes from the film and the stories: covers, their mesh mats and their topic pills are untouched. */

/* The film */
.bg { background: var(--k-black); }
.bg[data-page="home"] { opacity: .65; }
.bg__mesh { display: none; }
.bg__video, .bg__soft, .bg__dim { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg__video { object-fit: cover; }
.bg__soft { opacity: 0; transform: scale(1.04); will-change: opacity; }
.bg__dim { opacity: 0; background: rgba(4, 4, 4, .42); will-change: opacity; }
.bg[data-page="home"] .bg__veil { background: linear-gradient(90deg, rgba(6, 6, 6, .5), rgba(6, 6, 6, .24) 62%, rgba(6, 6, 6, .16)), linear-gradient(180deg, rgba(6, 6, 6, .18), rgba(6, 6, 6, 0) 30%, rgba(6, 6, 6, .28)); }

/* Header */
/* The same tint over film, without sampling a live video for every blurred header frame. */
.bar__in { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(10, 10, 10, .62); border-color: rgba(255, 255, 255, .24); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 16px 36px -18px rgba(0, 0, 0, .7); }
.bar__in::before { display: none; }

/* Hero: the poster bands stay. White type on the film, with one solid white band as the anchor. */
.band--a, .band--c { background: none; color: var(--k-white); text-shadow: 0 2px 30px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .3); }
.band--b { background: var(--k-white); color: var(--k-black); animation: fx-wipe 1s cubic-bezier(.16, 1, .3, 1) .05s backwards; }
.hero__copy { background: rgba(10, 10, 10, .58); color: var(--k-white); animation: rv .8s var(--glide) .45s backwards; }
.sticker { background: var(--k-black); color: var(--k-white); border-color: var(--k-black); box-shadow: inset 0 0 0 3px var(--k-white); overflow: visible; }
/* Motion: a stitched ring turns round the sticker, a glint runs along "motion." */
.sticker::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .7); animation: fx-spin 16s linear infinite; }
.band--c::after { content: ""; position: absolute; left: 0; bottom: .05em; width: 26%; height: 3px; background: linear-gradient(90deg, transparent, #fff, transparent); animation: fx-glint 5.5s var(--glide) 1.4s infinite; }
@keyframes fx-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fx-glint { 0% { transform: translateX(-110%); opacity: 0; } 12% { opacity: 1; } 55%, 100% { transform: translateX(390%); opacity: 0; } }

/* Lead story: its own colours, floated as a card so the film runs round it */
.lead { margin: calc(var(--navh) + 8px) var(--gutter-r) 22px 22px; padding: 14px; border-radius: 28px; box-shadow: inset 0 0 70px rgba(0, 0, 0, .3), 0 30px 60px -28px rgba(0, 0, 0, .85); animation: rv .9s var(--glide) .25s backwards; }
.lead__art img { animation: fx-float 7s ease-in-out infinite; }
@keyframes fx-float { 50% { transform: translateY(-7px); } }

/* Story cards: colour untouched, edges softened so they settle into the page */
.feat { box-shadow: inset 0 0 70px rgba(0, 0, 0, .28), 0 26px 50px -26px rgba(0, 0, 0, .8); }
.lead__plate, .feat__plate { border-color: rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 16px 36px -16px rgba(0, 0, 0, .6); }
.lead__plate::before, .feat__plate::before { display: none; }
.tile__art { box-shadow: inset 0 0 44px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .4); }

/* Section heads sit on the film */
.head { text-shadow: 0 2px 26px rgba(0, 0, 0, .55); }

/* The wheel's stage lets the softened film through */
.wheelsec { background: none; }

/* Sign-up bands */
.duo__a { background: var(--k-white); color: var(--k-black); }
.duo__b { background: rgba(10, 10, 10, .74); color: var(--k-white); }
.duo__a .cta { background-color: var(--k-black); color: var(--k-white); }
.duo__b .cta { background-color: var(--k-white); color: var(--k-black); }
.signup input { background: var(--k-white); color: var(--k-black); border-color: var(--k-black); }

/* Footer */
.foot__credit { margin: 16px 0 0; max-width: 90ch; color: #9c9c9c; font-size: 12.5px; line-height: 1.55; }

@media (max-width: 780px) {
  .lead { margin: 16px var(--gutter-r) 16px var(--gutter-l); padding: 12px; }
  .bg[data-page="home"] .bg__veil { background: linear-gradient(180deg, rgba(6, 6, 6, .54), rgba(6, 6, 6, .36)); }
}
@media (prefers-reduced-motion: reduce) {
  .band--b, .hero__copy, .lead, .lead__art img, .sticker::before, .band--c::after { animation: none !important; }
  .band--c::after { display: none; }
}
:root[data-lite] .lead__art img, :root[data-lite] .band--c::after { animation: none; }
