/* Gallery page — masonry video cards and lightbox (filter chips come from faq.css) */
.gl-bg { background:
    radial-gradient(ellipse 45% 35% at 100% 6%, rgba(234,182,86,.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 50%, rgba(143,160,90,.22), transparent 70%),
    radial-gradient(ellipse 45% 35% at 100% 88%, rgba(143,160,90,.18), transparent 70%),
    linear-gradient(180deg, #f6f0e3 0%, #f0e6d0 100%); }

.gl-card { position: relative; display: block; width: 100%; overflow: hidden; isolation: isolate; color: #f6f0e3; text-align: left; cursor: pointer;
  box-shadow: 0 36px 60px -30px rgba(14,36,24,.7), 0 0 0 1px rgba(63,90,55,.25); animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both;
  transition: transform 1s cubic-bezier(.2,.7,.2,1), box-shadow 1s, border-radius 1.3s cubic-bezier(.2,.7,.2,1); }
.gl-card.r1 { border-radius: 4rem 1.3rem 4rem 1.3rem; }
.gl-card.r2 { border-radius: 1.3rem 4rem 1.3rem 4rem; }
.gl-card.r3 { border-radius: 2rem; }
.gl-card.r1:hover, .gl-card.r1:focus-visible { border-radius: 1.3rem 4rem 1.3rem 4rem; }
.gl-card.r2:hover, .gl-card.r2:focus-visible { border-radius: 4rem 1.3rem 4rem 1.3rem; }
.gl-card:hover, .gl-card:focus-visible { transform: translateY(-6px); outline: none; box-shadow: 0 46px 70px -30px rgba(14,36,24,.8), 0 0 0 1px rgba(234,182,86,.6), 0 0 50px -14px rgba(234,182,86,.3); }
.gl-card:focus-visible { box-shadow: 0 0 0 3px rgba(234,182,86,.8); }
.gl-card:disabled { cursor: default; }
.gl-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 2s cubic-bezier(.2,.7,.2,1); }
.gl-card:hover img { transform: scale(1.06); }
.gl-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,22,14,.1) 40%, rgba(8,22,14,.85) 100%); }
.gl-play { position: absolute; left: 50%; top: 46%; display: grid; place-items: center; width: 4.4rem; height: 4.4rem; transform: translate(-50%, -50%); border-radius: 100% 24% 100% 24%; color: #0e2418; font-size: 1.2rem; padding-left: .2rem;
  background: linear-gradient(135deg, #f7e3a6, #d9a441); box-shadow: 0 18px 34px -12px rgba(234,182,86,.7); transition: transform .9s cubic-bezier(.2,.7,.2,1), border-radius .9s; }
.gl-card:hover .gl-play { transform: translate(-50%, -50%) scale(1.12) rotate(90deg); border-radius: 24% 100% 24% 100%; }
.gl-card:hover .gl-play i { transform: rotate(-90deg); }
.gl-play i { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.gl-meta { position: absolute; inset: auto 0 0 0; padding: 1.2rem 1.6rem 1.6rem; }
.gl-chip { display: inline-block; padding: .2rem .7rem; font-family: Montserrat, system-ui, sans-serif; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #0e2418; border-radius: 1rem .55rem 1rem .55rem; background: linear-gradient(135deg, #f7e3a6, #d9a441); }
.gl-time { position: absolute; top: 1.2rem; right: 1.4rem; padding: .25rem .7rem; font-family: Montserrat, system-ui, sans-serif; font-size: .72rem; font-weight: 600; border-radius: .6rem 1rem .6rem 1rem; background: rgba(14,36,24,.65); border: 1px solid rgba(246,240,227,.3); }
.gl-demo { position: absolute; top: 1.2rem; left: 1.4rem; padding: .25rem .8rem; font-family: Montserrat, system-ui, sans-serif; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-radius: 1rem .55rem 1rem .55rem; background: rgba(14,36,24,.7); border: 1px solid rgba(246,240,227,.35); }

/* Lightbox */
.gl-modal { background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(43,82,50,.9), rgba(8,22,14,.97)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gl-frame { overflow: hidden; border-radius: 3rem 1.3rem 3rem 1.3rem; background: #0b2016; box-shadow: 0 60px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(234,182,86,.4), 0 0 90px -20px rgba(234,182,86,.3); }
.gl-frame iframe, .gl-frame video { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.gl-nav { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; color: #f6f0e3; border-radius: 60% 40% 62% 38%; background: rgba(246,240,227,.12); border: 1px solid rgba(246,240,227,.3); transition: background .7s, color .7s, transform .7s; }
.gl-nav:hover, .gl-nav:focus-visible { background: linear-gradient(135deg, #f7e3a6, #d9a441); color: #0e2418; outline: none; transform: scale(1.08); box-shadow: 0 0 0 3px rgba(246,240,227,.4); }

.gl-soc { position: relative; overflow: hidden; color: #f6f0e3; border-radius: 4.5rem 1.3rem 4.5rem 1.3rem;
  background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(234,182,86,.28), transparent 70%), radial-gradient(ellipse 60% 60% at 10% 100%, rgba(143,160,90,.3), transparent 70%), linear-gradient(145deg, #2b5232, #12301f 75%, #0b2016);
  box-shadow: 0 50px 80px -34px rgba(14,36,24,.8), 0 0 0 1px rgba(234,182,86,.3); transition: border-radius 1.4s cubic-bezier(.2,.7,.2,1); }
.gl-soc:hover { border-radius: 1.3rem 4.5rem 1.3rem 4.5rem; }
