/* ============================================
   Image Gallery page (image-gallery.html)
   Same design as serampore-html/images.html (this is its gallery.css):
   banner, Media sub-nav, filterable photo wall and photo viewer.
   Loaded after style.css and project.css.
   ============================================ */

.gl-hero svg, .gl-hub svg, .gl-photos svg, .gl-lb svg{fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;}

/* ---------- 01 Banner ---------- */
.gl-hero{position: relative; overflow: hidden; isolation: isolate; display: flex; min-height: 640px; background: rgb(18, 22, 26); color: #ffffff;}
.gl-hero-bg{position: absolute; inset: 0; z-index: -2;}
.gl-hero-bg img{width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; display: block; transform: scale(1.08); animation: glKen 14s cubic-bezier(0.22, 1, 0.36, 1) forwards;}
@keyframes glKen{to{transform: scale(1);}}
.gl-hero-shade{position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(12, 14, 16, 0.75) 0%, rgba(12, 14, 16, 0.42) 42%, rgba(12, 14, 16, 0.05) 75%),
  linear-gradient(180deg, rgba(12, 14, 16, 0.15) 0%, rgba(12, 14, 16, 0) 40%, rgba(12, 14, 16, 0.5) 100%);}
.gl-hero-inner{flex: 1; display: flex; align-items: center; width: 100%; max-width: 1400px; margin: 0 auto; padding: clamp(28px, 5vh, 64px) clamp(16px, 4vw, 56px);}
.gl-hero-copy{max-width: 640px; animation: sol-rise 900ms ease both;}
.gl-hero .pj-badge{margin-bottom: 22px;}
.gl-hero .pj-hero2-title{font-size: clamp(46px, 5.2vw, 84px);}
.gl-hero .pj-hero2-title em{display: block; margin-top: 0.1em; font-size: 0.55em; letter-spacing: -0.02em;}
.gl-hero .pj-hero2-lead{max-width: 480px;}

/* ---------- Shared head ---------- */
.gl-head{display: flex; align-items: center; justify-content: space-between; gap: 22px 48px; flex-wrap: wrap; margin-bottom: clamp(24px, 2.8vw, 38px);}
.gl-title{font-size: clamp(34px, 4.2vw, 60px); font-weight: 500; line-height: 1.02; letter-spacing: -0.04em; color: rgb(26, 20, 16);}
.gl-title em{display: block; font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: rgb(240, 90, 40);}
.gl-intro{max-width: 380px; padding-left: 16px; border-left: 2px solid rgb(240, 90, 40); font-family: "Source Serif 4", Georgia, serif; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; color: rgb(74, 70, 64);}

/* ---------- 02 Collections bento ---------- */
.gl-bento{display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(230px, 20vw, 300px)); gap: clamp(12px, 1.4vw, 18px);}
.gl-card{position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 1.8vw, 26px); overflow: hidden; isolation: isolate; border: 0; border-radius: 28px; background: rgb(24, 28, 32); color: #ffffff; font-family: Outfit, system-ui, sans-serif; text-align: left; cursor: pointer; transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 380ms ease;}
.gl-card:hover, .gl-card.reveal.is-in:hover{transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(26, 20, 16, 0.55); color: #ffffff;}
.gl-card:focus-visible{outline: 3px solid rgba(240, 90, 40, 0.5); outline-offset: 3px;}
.gl-card > img{position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-card:hover > img{transform: scale(1.06);}
.gl-card::after{content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 12, 10, 0.35) 0%, rgba(14, 12, 10, 0) 30%, rgba(14, 12, 10, 0.3) 55%, rgba(14, 12, 10, 0.85) 100%);}
.gl-card--images{grid-column: span 2; grid-row: span 2;}
.gl-card--videos{grid-column: span 2;}

.gl-card-top{display: flex; align-items: center; justify-content: space-between;}
.gl-card-ico{display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); transition: background 300ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-card-ico svg{width: 23px; height: 23px;}
.gl-card:hover .gl-card-ico{background: rgb(240, 90, 40); box-shadow: none; transform: rotate(-8deg);}
.gl-card-n{font-family: "Source Serif 4", Georgia, serif; font-size: 15px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.75);}
.gl-card-body{display: flex; flex-direction: column; align-items: flex-start;}
.gl-card-k{font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75);}
.gl-card-t{margin-top: 4px; font-size: clamp(30px, 3vw, 48px); font-weight: 500; line-height: 1; letter-spacing: -0.035em;}
.gl-card--images .gl-card-t{font-size: clamp(44px, 4.6vw, 72px);}
.gl-card-go{display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; font-weight: 600;}
.gl-card-go i{display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #ffffff; color: rgb(228, 80, 30); transition: transform 260ms ease;}
.gl-card-go svg{width: 16px; height: 16px; stroke-width: 2.2;}
.gl-card:hover .gl-card-go i{transform: translateX(4px);}
.gl-card-thumbs{display: flex; align-items: center; margin-top: 16px;}
.gl-card-thumbs img, .gl-card-thumbs b{width: 44px; height: 44px; margin-right: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.9); object-fit: cover;}
.gl-card-thumbs b{display: inline-flex; align-items: center; justify-content: center; background: rgb(240, 90, 40); font-size: 13px; font-weight: 600;}

.gl-play{position: absolute; right: clamp(18px, 1.8vw, 26px); bottom: clamp(18px, 1.8vw, 26px); display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: rgb(240, 90, 40); transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), background 220ms ease, color 220ms ease;}
.gl-play::before{content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); animation: pjRing 2.4s ease-out infinite;}
.gl-play svg{width: 24px; height: 24px; margin-left: 3px; fill: currentColor; stroke: none;}
.gl-card:hover .gl-play{background: rgb(240, 90, 40); color: #ffffff; transform: scale(1.08);}

/* news: typographic card, no stock photo */
.gl-card--news{background: #fff9f7; color: rgb(26, 20, 16); box-shadow: inset 0 0 0 1px rgba(240, 90, 40, 0.16);}
.gl-card--news::after{display: none;}
.gl-card--news:hover, .gl-card--news.reveal.is-in:hover{color: rgb(26, 20, 16);}
.gl-card--news .gl-card-ico{background: rgb(240, 90, 40); color: #ffffff; box-shadow: none;}
.gl-card--news .gl-card-n, .gl-card--news .gl-card-k{color: rgb(140, 122, 110);}
.gl-card--news .gl-card-go i{background: rgb(26, 20, 16); color: #ffffff;}
.gl-news-lines{position: absolute; right: 22px; top: 82px; display: grid; gap: 7px; width: 42%;}
.gl-news-lines i{height: 6px; border-radius: 3px; background: rgba(26, 20, 16, 0.08);}
.gl-news-lines i:first-child{height: 10px; width: 80%; background: rgba(240, 90, 40, 0.3);}
.gl-news-lines i:nth-child(3){width: 70%;}
.gl-news-lines i:last-child{width: 45%;}

/* e-brochure: orange card with a little booklet */
.gl-card--brochure{background: radial-gradient(circle at 85% 15%, rgb(255, 140, 92) 0%, transparent 55%), linear-gradient(150deg, rgb(246, 104, 52) 0%, rgb(228, 80, 30) 50%, rgb(186, 58, 18) 100%);}
.gl-card--brochure::after{display: none;}
.gl-card--brochure .gl-card-go i{color: rgb(228, 80, 30);}
.gl-book{position: absolute; right: 22px; top: 70px; width: 34%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px 12px 12px 4px; background: #ffffff; box-shadow: -6px 0 0 -2px rgba(255, 255, 255, 0.35), 0 20px 34px -14px rgba(60, 20, 5, 0.6); transform: rotate(6deg); transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-book img{width: 100%; height: 62%; object-fit: cover; display: block;}
.gl-book b{display: block; padding: 6px 8px; font-size: 11px; font-weight: 700; line-height: 1.1; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(26, 20, 16);}
.gl-card--brochure:hover .gl-book{transform: rotate(0deg) translateY(-4px);}

/* ---------- 03 Photo wall ---------- */
.gl-filters{display: flex; flex-wrap: wrap; gap: 8px;}
.gl-chip{display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid rgba(26, 20, 16, 0.14); border-radius: 99px; background: #ffffff; font-family: Outfit, system-ui, sans-serif; font-size: 14px; font-weight: 500; color: rgb(61, 49, 41); cursor: pointer; transition: background 200ms ease, border-color 200ms ease, color 200ms ease;}
.gl-chip b{font-size: 12px; font-weight: 600; color: rgb(140, 122, 110);}
.gl-chip:hover{border-color: rgba(240, 90, 40, 0.55);}
.gl-chip[aria-pressed="true"]{background: rgb(26, 20, 16); border-color: rgb(26, 20, 16); color: #ffffff;}
.gl-chip[aria-pressed="true"] b{color: rgb(255, 150, 112);}
.gl-chip:focus-visible{outline: 3px solid rgba(240, 90, 40, 0.35); outline-offset: 2px;}

/* masonry columns: the renders keep their own proportions */
.gl-wall{columns: 3; column-gap: clamp(12px, 1.4vw, 18px);}
.gl-tile{margin: 0 0 clamp(12px, 1.4vw, 18px); break-inside: avoid;}
.gl-tile[hidden]{display: none;}
.gl-tile.is-pop{animation: glPop 560ms cubic-bezier(0.16, 0.84, 0.44, 1) both; animation-delay: calc(var(--i, 0) * 40ms);}
@keyframes glPop{from{opacity: 0; transform: translateY(14px) scale(0.98);} to{opacity: 1; transform: none;}}
.gl-tile-btn{position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 22px; background: rgb(231, 222, 214); cursor: zoom-in;}
.gl-tile-btn img{width: 100%; height: auto; display: block; transition: transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-tile-btn::after{content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 16, 18, 0) 45%, rgba(14, 16, 18, 0.7) 100%); opacity: 0; transition: opacity 320ms ease;}
.gl-tile-cap{position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; font-family: Outfit, system-ui, sans-serif; font-size: 17px; font-weight: 600; text-align: left; color: #ffffff; opacity: 0; transform: translateY(10px); transition: opacity 300ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-tile-cap small{font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(255, 150, 112);}
.gl-tile-btn:hover img, .gl-tile-btn:focus-visible img{transform: scale(1.06);}
.gl-tile-btn:hover::after, .gl-tile-btn:focus-visible::after, .gl-tile-btn:hover .gl-tile-cap, .gl-tile-btn:focus-visible .gl-tile-cap{opacity: 1; transform: none;}
.gl-tile-btn:focus-visible{outline: 3px solid rgba(240, 90, 40, 0.5); outline-offset: 3px;}
.gl-note{margin-top: 10px; font-size: 12px; color: rgb(140, 122, 110);}

/* ---------- Photo viewer ---------- */
.gl-lb{position: fixed; inset: 0; z-index: 260; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 70px 90px 24px;}
.gl-lb[hidden]{display: none;}
.gl-lb-scrim{position: absolute; inset: 0; background: rgba(12, 14, 16, 0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 380ms ease;}
.gl-lb.is-open .gl-lb-scrim{opacity: 1;}
.gl-lb-fig{position: relative; z-index: 1; margin: 0; max-width: 100%; transform-origin: 0 0;}
.gl-lb-frame{overflow: hidden; border-radius: 20px; background: rgb(30, 34, 38); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8);}
.gl-lb-img{display: block; max-width: min(1100px, calc(100vw - 180px)); max-height: calc(100vh - 260px); width: auto; height: auto;}
.gl-lb-img.is-swap{animation: glSwap 420ms cubic-bezier(0.16, 0.84, 0.44, 1);}
@keyframes glSwap{from{opacity: 0.2; transform: scale(1.03);} to{opacity: 1; transform: none;}}
.gl-lb-cap{display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 12px; color: #ffffff; opacity: 0; transition: opacity 320ms ease 120ms;}
.gl-lb.is-open .gl-lb-cap{opacity: 1;}
.gl-lb-cat{font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(255, 150, 112);}
.gl-lb-cap h3{margin-top: 2px; font-size: 19px; font-weight: 600;}
.gl-lb-count{font-family: "Source Serif 4", Georgia, serif; font-size: 15px; color: rgba(255, 255, 255, 0.7);}
.gl-lb-strip{position: relative; z-index: 1; display: flex; gap: 8px; max-width: 100%; padding: 4px; overflow-x: auto; scrollbar-width: none; opacity: 0; transition: opacity 320ms ease 160ms;}
.gl-lb-strip::-webkit-scrollbar{display: none;}
.gl-lb.is-open .gl-lb-strip{opacity: 1;}
.gl-lb-strip button{flex: 0 0 64px; height: 46px; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: none; cursor: pointer; opacity: 0.45; outline: 2px solid transparent; outline-offset: 2px; transition: opacity 200ms ease, outline-color 200ms ease;}
.gl-lb-strip button img{width: 100%; height: 100%; object-fit: cover; display: block;}
.gl-lb-strip button:hover{opacity: 0.8;}
.gl-lb-strip button.is-on{opacity: 1; outline-color: rgb(240, 90, 40);}
.gl-lb-btn{position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #ffffff; cursor: pointer; opacity: 0; transition: opacity 300ms ease 100ms, background 200ms ease, border-color 200ms ease, transform 200ms ease;}
.gl-lb.is-open .gl-lb-btn{opacity: 1;}
.gl-lb-btn:hover{background: rgb(240, 90, 40); border-color: rgb(240, 90, 40);}
.gl-lb-btn:focus-visible{outline: 2px solid #ffffff; outline-offset: 3px;}
.gl-lb-btn svg{width: 22px; height: 22px; stroke-width: 2;}
.gl-lb-x{top: 18px; right: 18px;}
.gl-lb-x:hover{transform: rotate(90deg);}
.gl-lb-prev{left: 22px; top: 50%; margin-top: -25px;}
.gl-lb-next{right: 22px; top: 50%; margin-top: -25px;}

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .gl-bento{grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 260px;}
  .gl-card--images{grid-column: span 2; grid-row: span 1;}
  .gl-card--videos{grid-column: span 2;}
  .gl-wall{columns: 2;}
}
@media (max-width: 720px){
  /* banner on phones: content at the foot of the banner, photo clear above */
  .gl-hero{min-height: 0;}
  .gl-hero-shade{background: linear-gradient(180deg, rgba(12, 14, 16, 0.2) 0%, rgba(12, 14, 16, 0.1) 25%, rgba(12, 14, 16, 0.6) 50%, rgba(12, 14, 16, 0.9) 100%);}
  .gl-hero-inner{align-items: flex-end; padding: 18px 16px 18px;}
  .gl-hero .pj-hero2-crumb{gap: 6px; margin-bottom: 14px; font-size: 12px;}
  .gl-hero .pj-badge{margin-bottom: 12px; padding: 5px 11px; font-size: 10.5px; letter-spacing: 0.05em;}
  .gl-hero .pj-hero2-title{font-size: clamp(38px, 11vw, 48px); line-height: 0.95; letter-spacing: -0.04em;}
  .gl-hero .pj-hero2-lead{max-width: none; margin-top: 12px; font-size: 14.5px; line-height: 1.55;}
  .gl-hero .pj-hero2-cta{gap: 10px; margin-top: 18px;}
  .gl-hero .pj-hero2-btn{flex: 1 1 0; justify-content: center; min-height: 46px; padding: 0 12px; gap: 8px; font-size: 14px; white-space: nowrap;}
  .gl-hero .pj-hero2-btn svg{width: 16px; height: 16px;}
  .gl-fab-hide .pj-fab:not(.is-open) .pj-fab-btn{opacity: 0; transform: translateY(24px) scale(0.92); pointer-events: none;}

  .gl-bento{grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(230px, auto); gap: 12px;}
  .gl-card--images, .gl-card--videos{grid-column: auto;}
  .gl-card--images{grid-row: span 1; height: 300px;}
  .gl-card{border-radius: 22px;}
  .gl-play{width: 54px; height: 54px;}
  .gl-filters{flex-wrap: nowrap; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none;}
  .gl-filters::-webkit-scrollbar{display: none;}
  .gl-chip{flex: 0 0 auto;}
  .gl-wall{column-gap: 10px;}
  .gl-tile{margin-bottom: 10px;}
  .gl-tile-btn{border-radius: 16px;}
  .gl-tile-cap{left: 10px; right: 10px; bottom: 10px; font-size: 13px; opacity: 1; transform: none;}
  .gl-tile-btn::after{opacity: 1;}

  .gl-lb{padding: 64px 12px 20px;}
  .gl-lb-img{max-width: calc(100vw - 24px); max-height: calc(100vh - 300px);}
  .gl-lb-prev, .gl-lb-next{top: auto; bottom: 86px; margin-top: 0;}
  .gl-lb-prev{left: calc(50% - 62px);}
  .gl-lb-next{right: calc(50% - 62px);}
  .gl-lb-strip{margin-top: 70px;}
}

@media (prefers-reduced-motion: reduce){
  .gl-hero-bg img{animation: none; transform: none;}
  .gl-hero-copy{animation: none;}
  .gl-play::before, .gl-tile.is-pop, .gl-lb-img.is-swap{animation: none;}
  .gl-card, .gl-card > img, .gl-tile-btn img, .gl-book, .gl-lb-scrim, .gl-lb-cap, .gl-lb-btn, .gl-lb-strip{transition: none;}
}

/* small cards: keep the title clear of the booklet / news lines */
.gl-card--news .gl-card-t, .gl-card--brochure .gl-card-t{font-size: clamp(28px, 2.4vw, 38px);}
.gl-card--brochure .gl-card-body{max-width: 64%;}
.gl-book{width: 27%; top: 58px;}
@media (max-width: 720px){
  .gl-book{width: 28%; top: 58px; right: 20px;}
}
/* the four-across bento needs room; narrower desktops get the two-column layout */
@media (max-width: 1240px) and (min-width: 721px){
  .gl-bento{grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 260px;}
  .gl-card--images{grid-column: span 2; grid-row: span 1;}
  .gl-card--videos{grid-column: span 2;}
}

/* ============================================
   Gallery family: gallery-images / -videos / -news pages share this file
   ============================================ */
.gl-subnav svg, .gl-videos svg, .gl-press svg, .gl-vp svg{fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;}

/* collection pages: a shorter banner */
.gl-hero--sub{min-height: 480px;}

/* sub-navigation between the collections, sticks under the header */
.gl-subnav{position: sticky; top: var(--gl-nav-h, 76px); z-index: 50; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(26, 20, 16, 0.07), 0 14px 30px -26px rgba(26, 20, 16, 0.35);}
.gl-subnav-inner{display: flex; align-items: center; gap: 8px; max-width: 1320px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 56px) 12px; overflow-x: auto; scrollbar-width: none;}
.gl-subnav-inner::-webkit-scrollbar{display: none;}
.gl-subnav-back{display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-right: 8px; padding: 0 14px 0 4px; min-height: 42px; border-right: 1px solid rgba(26, 20, 16, 0.1); font-size: 14px; font-weight: 600; color: rgb(110, 98, 90); white-space: nowrap;}
.gl-subnav-back svg{width: 18px; height: 18px;}
.gl-subnav-back:hover{color: rgb(240, 90, 40);}
.gl-subnav-link{display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; min-height: 42px; padding: 0 16px 0 6px; border: 0; border-radius: 99px; background: none; font-family: Outfit, system-ui, sans-serif; font-size: 14px; font-weight: 500; color: rgb(61, 49, 41); white-space: nowrap; cursor: pointer; transition: background 220ms ease, color 220ms ease;}
.gl-subnav-link b{font-size: 12px; font-weight: 600; color: rgb(140, 122, 110);}
.gl-subnav-ico{display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(240, 90, 40, 0.1); color: rgb(240, 90, 40); transition: background 220ms ease, color 220ms ease;}
.gl-subnav-ico svg{width: 16px; height: 16px;}
.gl-subnav-link:hover{background: #fff9f7; color: rgb(26, 20, 16);}
.gl-subnav-link.is-on{background: rgb(26, 20, 16); color: #ffffff;}
.gl-subnav-link.is-on b{color: rgb(255, 150, 112);}
.gl-subnav-link.is-on .gl-subnav-ico{background: rgb(240, 90, 40); color: #ffffff;}
.gl-subnav-link:focus-visible, .gl-subnav-back:focus-visible{outline: 3px solid rgba(240, 90, 40, 0.35); outline-offset: 2px;}

/* hub: news card shows two real clippings */
.gl-news-stack{position: absolute; right: 18px; top: 74px; width: 46%; height: 42%;}
.gl-news-stack img{position: absolute; width: 82%; border-radius: 8px; box-shadow: 0 14px 26px -14px rgba(26, 20, 16, 0.5); transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-news-stack img:first-child{right: 0; top: 0; transform: rotate(6deg);}
.gl-news-stack img:last-child{left: 0; top: 18px; transform: rotate(-4deg);}
.gl-card--news:hover .gl-news-stack img:first-child{transform: rotate(9deg) translateY(-4px);}
.gl-card--news:hover .gl-news-stack img:last-child{transform: rotate(-6deg) translateY(-2px);}
.gl-card--news .gl-card-body{max-width: 64%;}

/* ---------- Videos ---------- */
.gl-vgroup + .gl-vgroup{margin-top: clamp(34px, 4vw, 54px);}
.gl-vgroup-head{display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid rgb(26, 20, 16);}
.gl-vgroup-n{font-family: "Source Serif 4", Georgia, serif; font-size: 30px; font-weight: 400; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgb(240, 90, 40);}
.gl-vgroup-head h3{font-size: clamp(21px, 1.9vw, 27px); font-weight: 500; letter-spacing: -0.02em; color: rgb(26, 20, 16);}
.gl-vgroup-head p{margin-top: 2px; font-size: 13.5px; color: rgb(110, 98, 90);}
.gl-vgroup-c{margin-left: auto; font-size: 12.5px; font-weight: 600; color: rgb(140, 122, 110); white-space: nowrap;}
.gl-vgrid{display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px);}
.gl-vgrid--1{grid-template-columns: minmax(0, 0.66fr);}
.gl-vgrid--2{grid-template-columns: repeat(2, minmax(0, 1fr));}
.gl-vid{display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; padding: 0; border: 0; background: none; font-family: Outfit, system-ui, sans-serif; text-align: left; cursor: pointer;}
.gl-vid-media{position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: rgb(24, 28, 32);}
.gl-vid-media img{width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-vid-media::after{content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 16, 18, 0) 50%, rgba(14, 16, 18, 0.45) 100%);}
.gl-vid-play{position: absolute; left: 50%; top: 50%; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: rgb(240, 90, 40); transform: translate(-50%, -50%); transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), background 220ms ease, color 220ms ease; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.6);}
.gl-vid-play svg{width: 22px; height: 22px; margin-left: 3px; fill: currentColor; stroke: none;}
.gl-vid-tag{position: absolute; left: 12px; top: 12px; z-index: 1; padding: 5px 11px; border-radius: 99px; background: rgba(14, 16, 18, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; color: #ffffff;}
.gl-vid-t{padding: 0 4px; font-size: 16px; font-weight: 600; line-height: 1.3; color: rgb(26, 20, 16); transition: color 220ms ease;}
.gl-vid:hover .gl-vid-media img, .gl-vid:focus-visible .gl-vid-media img{transform: scale(1.06);}
.gl-vid:hover .gl-vid-play, .gl-vid:focus-visible .gl-vid-play{background: rgb(240, 90, 40); color: #ffffff; transform: translate(-50%, -50%) scale(1.1);}
.gl-vid:hover .gl-vid-t{color: rgb(240, 90, 40);}
.gl-vid:focus-visible{outline: none;}
.gl-vid:focus-visible .gl-vid-media{outline: 3px solid rgba(240, 90, 40, 0.6); outline-offset: 3px;}
.gl-note a{font-weight: 600;}

/* video player */
.gl-vp{position: fixed; inset: 0; z-index: 260; display: flex; align-items: center; justify-content: center; padding: 70px 40px 40px;}
.gl-vp[hidden]{display: none;}
.gl-vp.is-open .gl-lb-scrim{opacity: 1;}
.gl-vp.is-open .gl-lb-btn{opacity: 1;}
.gl-vp-box{position: relative; z-index: 1; width: min(1100px, 100%, calc((100vh - 170px) * 16 / 9)); opacity: 0; transform: translateY(16px) scale(0.97); transition: opacity 320ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-vp.is-open .gl-vp-box{opacity: 1; transform: none;}
.gl-vp-frame{position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #000; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8);}
.gl-vp-frame iframe, .gl-vp-frame video{position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;}
.gl-vp-title{margin-top: 14px; font-size: 18px; font-weight: 600; color: #ffffff;}

/* ---------- News ---------- */
.gl-lead{display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px, 3vw, 44px); margin-bottom: clamp(20px, 2.4vw, 30px); padding: clamp(14px, 1.6vw, 20px); border-radius: 28px; background: linear-gradient(135deg, rgb(24, 28, 32) 0%, rgb(18, 22, 26) 100%); color: #ffffff; transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-lead:hover, .gl-lead.reveal.is-in:hover{transform: translateY(-4px); color: #ffffff;}
.gl-lead[hidden]{display: none;}
.gl-lead-img{display: block; overflow: hidden; border-radius: 18px; background: #ffffff;}
.gl-lead-img img{width: 100%; height: auto; display: block; transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-lead:hover .gl-lead-img img{transform: scale(1.04);}
.gl-lead-copy{display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-right: clamp(0px, 2vw, 24px);}
.gl-lead-k{font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgb(255, 150, 112);}
.gl-lead-t{font-family: "Source Serif 4", Georgia, serif; font-size: clamp(26px, 2.8vw, 40px); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em;}
.gl-lead .gl-news-meta b{color: #ffffff;}
.gl-lead .gl-news-go{color: rgb(255, 150, 112);}

.gl-newsgrid{display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px);}
.gl-news[hidden]{display: none;}
.gl-news a{display: flex; flex-direction: column; height: 100%; padding: 10px 10px 16px; border-radius: 22px; background: #ffffff; color: rgb(26, 20, 16); box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.05), 0 20px 40px -32px rgba(26, 20, 16, 0.45); transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 300ms ease;}
.gl-news a:hover{transform: translateY(-4px); color: rgb(26, 20, 16); box-shadow: 0 0 0 1px rgba(240, 90, 40, 0.3), 0 28px 50px -30px rgba(26, 20, 16, 0.5);}
.gl-news a:focus-visible{outline: 3px solid rgba(240, 90, 40, 0.45); outline-offset: 3px;}
.gl-news-img{display: block; aspect-ratio: 296 / 211; overflow: hidden; border-radius: 14px; background: rgb(244, 240, 236);}
.gl-news-img img{width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-news a:hover .gl-news-img img{transform: scale(1.05);}
.gl-news-meta{display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 14px; padding: 0 6px; font-size: 12px; color: rgb(140, 122, 110);}
.gl-news-meta b{font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(216, 76, 30);}
.gl-news-meta time{white-space: nowrap;}
.gl-news-t{margin-top: 8px; padding: 0 6px; font-size: 15.5px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;}
.gl-news-proj{display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; padding: 0 6px;}
.gl-news-proj i{padding: 3px 8px; border-radius: 99px; background: rgb(250, 244, 241); font-size: 11px; font-style: normal; font-weight: 500; color: rgb(110, 98, 90);}
.gl-news-proj i.is-joka{background: rgba(240, 90, 40, 0.12); color: rgb(196, 64, 22);}
.gl-news-go{display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 14px 6px 0; font-size: 13px; font-weight: 600; color: rgb(240, 90, 40);}
.gl-news-go svg{width: 15px; height: 15px; transition: transform 220ms ease;}
.gl-news a:hover .gl-news-go svg, .gl-lead:hover .gl-news-go svg{transform: translate(2px, -2px);}
.gl-empty{padding: 30px 0; font-size: 15px; color: rgb(110, 98, 90);}
.gl-empty[hidden]{display: none;}

@media (max-width: 1100px){
  .gl-newsgrid{grid-template-columns: repeat(3, minmax(0, 1fr));}
}
@media (max-width: 900px){
  .gl-vgrid, .gl-vgrid--2{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .gl-vgrid--1{grid-template-columns: minmax(0, 1fr);}
  .gl-newsgrid{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .gl-lead{grid-template-columns: minmax(0, 1fr);}
}
@media (max-width: 720px){
  .gl-hero--sub{min-height: 0;}
  .gl-subnav-inner{gap: 6px; padding: 8px 16px 10px;}
  .gl-subnav-back{padding-right: 10px; margin-right: 4px; font-size: 13px;}
  .gl-subnav-link{min-height: 38px; padding: 0 12px 0 4px; gap: 8px; font-size: 13px;}
  .gl-subnav-ico{width: 28px; height: 28px;}
  .gl-vgrid, .gl-vgrid--2{grid-template-columns: minmax(0, 1fr);}
  .gl-vid-media{border-radius: 16px;}
  .gl-vgroup-head{gap: 12px;}
  .gl-vgroup-c{display: none;}
  .gl-vp{padding: 64px 12px 24px;}
  .gl-vp-box{width: 100%;}
  .gl-newsgrid{gap: 10px;}
  .gl-news a{padding: 8px 8px 14px; border-radius: 16px;}
  .gl-news-img{border-radius: 10px;}
  .gl-news-meta{flex-direction: column; gap: 2px; margin-top: 10px; padding: 0 4px; font-size: 11px;}
  .gl-news-t{padding: 0 4px; font-size: 13.5px;}
  .gl-news-proj{display: none;}
  .gl-news-go{padding: 10px 4px 0; font-size: 12px;}
  .gl-lead{border-radius: 22px;}
  .gl-lead-copy{padding: 4px 6px 10px;}
}
@media (prefers-reduced-motion: reduce){
  .gl-vid-media img, .gl-vid-play, .gl-vp-box, .gl-news a, .gl-news-img img, .gl-lead, .gl-news-stack img{transition: none;}
}

/* The sticky sub-navigation needs the page wrapper not to be a scroll
   container. The shared .ic1 uses overflow-x: hidden, which makes the
   browser compute overflow-y: auto, so sticky children pin to .ic1 (which
   never scrolls) instead of the viewport. clip trims sideways overflow the
   same way without creating a scroll container. Gallery pages only. */
@supports (overflow: clip){
  .ic1{overflow-x: clip;}
}



/* Videos page: single-video sections as a feature row (film + details panel) */
.gl-vfeat{display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; gap: clamp(14px, 1.8vw, 24px);}
.gl-vfeat--flip{grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);}
.gl-vfeat--flip > .gl-vid{order: 2;}
.gl-vfeat .gl-vid{gap: 0;}
.gl-vfeat .gl-vid-media{border-radius: 26px;}
.gl-vfeat .gl-vid-play{width: 76px; height: 76px;}
.gl-vfeat .gl-vid-play::before{content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); animation: pjRing 2.4s ease-out infinite;}
.gl-vfeat .gl-vid-play svg{width: 26px; height: 26px;}
/* the title lives in the panel, so the caption under the film is hidden */
.gl-vfeat .gl-vid-t{position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;}

.gl-vfeat-panel{position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 2.6vw, 38px); overflow: hidden; border-radius: 26px; background: #ffffff; box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.05), 0 30px 60px -40px rgba(26, 20, 16, 0.45);}
.gl-vfeat-k{font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgb(240, 90, 40);}
.gl-vfeat-t{margin-top: 10px; font-size: clamp(26px, 2.5vw, 36px); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; color: rgb(26, 20, 16);}
.gl-vfeat-t em{display: block; font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: rgb(240, 90, 40);}
.gl-vfeat-p{margin-top: 14px; font-size: 15px; line-height: 1.6; color: rgb(110, 98, 90);}
.gl-vfeat-facts{display: grid; gap: 0; margin: 18px 0 0; padding: 0;}
.gl-vfeat-facts div{display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(26, 20, 16, 0.08);}
.gl-vfeat-facts dt{font-size: 13px; color: rgb(140, 122, 110);}
.gl-vfeat-facts dd{margin: 0; font-size: 14px; font-weight: 600; text-align: right; color: rgb(26, 20, 16);}
.gl-vfeat-actions{display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px;}
.gl-vfeat-play{display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px 0 18px; border: 0; border-radius: 99px; background: rgb(240, 90, 40); font-family: Outfit, system-ui, sans-serif; font-size: 15px; font-weight: 600; color: #ffffff; cursor: pointer; box-shadow: 0 18px 36px -16px rgba(240, 90, 40, 0.8); transition: background 200ms ease, transform 200ms ease;}
.gl-vfeat-play svg{width: 18px; height: 18px; fill: currentColor; stroke: none;}
.gl-vfeat-play:hover{background: rgb(216, 76, 30); transform: translateY(-2px);}
.gl-vfeat-play:focus-visible{outline: 3px solid rgba(240, 90, 40, 0.4); outline-offset: 3px;}
.gl-vfeat-link{display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgb(26, 20, 16);}
.gl-vfeat-link svg{width: 16px; height: 16px; transition: transform 220ms ease;}
.gl-vfeat-link:hover{color: rgb(240, 90, 40);}
.gl-vfeat-link:hover svg{transform: translateX(4px);}

/* dark variant (brand film) */
.gl-vfeat--dark .gl-vfeat-panel{background: linear-gradient(135deg, rgb(24, 28, 32) 0%, rgb(18, 22, 26) 100%); box-shadow: 0 40px 80px -46px rgba(14, 16, 18, 0.8);}
.gl-vfeat--dark .gl-vfeat-panel::before{content: ""; position: absolute; width: 420px; height: 420px; right: -200px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 90, 40, 0.4), transparent 65%); pointer-events: none;}
.gl-vfeat--dark .gl-vfeat-panel > *{position: relative;}
.gl-vfeat--dark .gl-vfeat-k{color: rgb(255, 150, 112);}
.gl-vfeat--dark .gl-vfeat-t{color: #ffffff;}
.gl-vfeat--dark .gl-vfeat-t em{color: rgb(255, 120, 72);}
.gl-vfeat--dark .gl-vfeat-p{color: rgba(255, 255, 255, 0.72);}
.gl-vfeat--dark .gl-vfeat-facts div{border-top-color: rgba(255, 255, 255, 0.12);}
.gl-vfeat--dark .gl-vfeat-facts dt{color: rgba(255, 255, 255, 0.55);}
.gl-vfeat--dark .gl-vfeat-facts dd{color: #ffffff;}
.gl-vfeat--dark .gl-vfeat-link{color: #ffffff;}
.gl-vfeat--dark .gl-vfeat-link:hover{color: rgb(255, 150, 112);}

@media (max-width: 900px){
  .gl-vfeat, .gl-vfeat--flip{grid-template-columns: minmax(0, 1fr);}
  .gl-vfeat--flip > .gl-vid{order: 0;}
}
@media (max-width: 720px){
  .gl-vfeat .gl-vid-media, .gl-vfeat-panel{border-radius: 20px;}
  .gl-vfeat .gl-vid-play{width: 62px; height: 62px;}
  .gl-vfeat-panel{padding: 20px 18px 22px;}
  .gl-vfeat-play{flex: 1 1 auto; justify-content: center;}
}
@media (prefers-reduced-motion: reduce){
  .gl-vfeat .gl-vid-play::before{animation: none;}
}

/* News page: category tabs + "By publication" logo row (as on the live page) */
.gl-ntabs{display: flex; justify-content: center; gap: 0; margin: 0 auto; max-width: 760px; border-bottom: 1px solid rgba(26, 20, 16, 0.12);}
.gl-ntab{position: relative; flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 14px; border: 0; background: none; font-family: Outfit, system-ui, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(110, 98, 90); cursor: pointer; transition: color 220ms ease;}
.gl-ntab b{display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 99px; background: rgba(26, 20, 16, 0.06); font-size: 11.5px; font-weight: 600; letter-spacing: 0; color: rgb(110, 98, 90); transition: background 220ms ease, color 220ms ease;}
.gl-ntab::after{content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: rgb(240, 90, 40); transform: scaleX(0); transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-ntab:hover{color: rgb(26, 20, 16);}
.gl-ntab[aria-selected="true"]{color: rgb(240, 90, 40);}
.gl-ntab[aria-selected="true"]::after{transform: scaleX(1);}
.gl-ntab[aria-selected="true"] b{background: rgb(240, 90, 40); color: #ffffff;}
.gl-ntab:focus-visible{outline: 3px solid rgba(240, 90, 40, 0.35); outline-offset: -3px; border-radius: 10px;}

.gl-pubs{margin: clamp(22px, 2.6vw, 34px) 0 clamp(18px, 2vw, 26px); text-align: center;}
.gl-pubs-k{font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(110, 98, 90);}
.gl-pubs-row{display: flex; align-items: center; gap: 10px; margin-top: 14px;}
.gl-pubs-track{display: flex; gap: 10px; flex: 1; min-width: 0; padding: 6px 2px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;}
.gl-pubs-track::-webkit-scrollbar{display: none;}
.gl-pubs-nav{display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border: 0; border-radius: 50%; background: #ffffff; color: rgb(26, 20, 16); cursor: pointer; box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.06), 0 10px 22px -14px rgba(26, 20, 16, 0.5); transition: background 200ms ease, color 200ms ease, opacity 200ms ease;}
.gl-pubs-nav svg{width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;}
.gl-pubs-nav:hover{background: rgb(240, 90, 40); color: #ffffff;}
.gl-pubs-nav:disabled{opacity: 0.35; pointer-events: none;}
.gl-pub{position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 150px; height: 74px; padding: 8px 14px; border: 0; border-radius: 16px; background: #ffffff; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(26, 20, 16, 0.07); transition: box-shadow 220ms ease, transform 220ms ease;}
.gl-pub img{max-width: 100%; max-height: 52px; width: auto; height: auto; display: block; mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.75; transition: filter 220ms ease, opacity 220ms ease;}
.gl-pub b{position: absolute; top: 6px; right: 8px; font-size: 11px; font-weight: 600; color: rgb(165, 152, 144);}
.gl-pub--all span{font-family: Outfit, system-ui, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(61, 49, 41);}
.gl-pub--all{flex-basis: 100px;}
.gl-pub:hover{transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px rgba(240, 90, 40, 0.45);}
.gl-pub:hover img{filter: none; opacity: 1;}
.gl-pub[aria-pressed="true"]{box-shadow: inset 0 0 0 2px rgb(240, 90, 40), 0 14px 26px -18px rgba(240, 90, 40, 0.8);}
.gl-pub[aria-pressed="true"] img{filter: none; opacity: 1;}
.gl-pub[aria-pressed="true"] b{color: rgb(240, 90, 40);}
.gl-pub--all[aria-pressed="true"]{background: rgb(26, 20, 16);}
.gl-pub--all[aria-pressed="true"] span{color: #ffffff;}
.gl-pub:focus-visible{outline: 3px solid rgba(240, 90, 40, 0.4); outline-offset: 2px;}
.gl-nstatus{margin-bottom: 14px; font-size: 13.5px; color: rgb(110, 98, 90);}
.gl-nstatus b{color: rgb(26, 20, 16);}
.gl-news.is-pop{animation: glPop 520ms cubic-bezier(0.16, 0.84, 0.44, 1) both; animation-delay: calc(var(--i, 0) * 30ms);}

@media (max-width: 720px){
  .gl-ntabs{max-width: none; margin: 0 -16px; padding: 0 8px; overflow-x: auto; scrollbar-width: none; justify-content: flex-start;}
  .gl-ntabs::-webkit-scrollbar{display: none;}
  .gl-ntab{flex: 0 0 auto; min-height: 50px; font-size: 13px; letter-spacing: 0.04em;}
  .gl-pubs-nav{display: none;}
  .gl-pubs-track{margin: 0 -16px; padding: 6px 16px;}
  .gl-pub{flex-basis: 120px; height: 62px;}
  .gl-pub--all{flex-basis: 80px;}
  .gl-pub img{max-height: 44px;}
}
@media (prefers-reduced-motion: reduce){
  .gl-news.is-pop{animation: none;}
  .gl-pubs-track{scroll-behavior: auto;}
}

.gl-pub.is-empty{cursor: default; opacity: 0.45;}
.gl-pub.is-empty:hover{transform: none; box-shadow: inset 0 0 0 1px rgba(26, 20, 16, 0.07);}
.gl-pub.is-empty:hover img{filter: grayscale(1); opacity: 0.75;}

/* publication row: a whole number of logos per view, scrolling snaps to full logos (no half-cut item) */
.gl-pubs-track{--per: 7; --gap: 10px; gap: var(--gap); padding: 6px 0; scroll-snap-type: x mandatory;}
.gl-pubs-track > .gl-pub, .gl-pubs-track > .gl-pub--all{flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; scroll-snap-align: start;}
@media (max-width: 1100px){ .gl-pubs-track{--per: 5;} }
@media (max-width: 720px){ .gl-pubs-track{--per: 3; --gap: 8px; margin: 0; padding: 6px 0;} }

/* "All" publication button: same selected look as the logos (light, orange outline) */
.gl-pub--all{background: #ffffff;}
.gl-pub--all span{color: rgb(110, 98, 90);}
.gl-pub--all:hover span{color: rgb(240, 90, 40);}
.gl-pub--all[aria-pressed="true"]{background: rgba(240, 90, 40, 0.08); box-shadow: inset 0 0 0 2px rgb(240, 90, 40), 0 14px 26px -18px rgba(240, 90, 40, 0.8);}
.gl-pub--all[aria-pressed="true"] span{color: rgb(240, 90, 40);}

/* publication logos: transparent PNGs (pubs/clean) on soft glass cards that
   sit on the tinted section; logos muted at rest, full colour on hover/selected */
.gl-pubs-track > .gl-pub{background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(26, 20, 16, 0.06);}
.gl-pub img{max-width: 78%; max-height: 36px; mix-blend-mode: normal; filter: grayscale(1) contrast(1.05); opacity: 0.55;}
.gl-pub:hover{background: #ffffff;}
.gl-pub:hover img, .gl-pub[aria-pressed="true"] img{filter: none; opacity: 1;}
.gl-pubs-track > .gl-pub[aria-pressed="true"]{background: #ffffff;}
.gl-pubs-track > .gl-pub.is-empty{background: transparent;}
.gl-pub.is-empty img, .gl-pub.is-empty:hover img{filter: grayscale(1); opacity: 0.3;}
.gl-pub b{top: 7px; right: 9px; font-weight: 500;}
@media (max-width: 720px){ .gl-pub img{max-height: 30px;} }
.gl-pubs-track > .gl-pub:hover{box-shadow: inset 0 0 0 1.5px rgba(240, 90, 40, 0.45);}
.gl-pubs-track > .gl-pub[aria-pressed="true"]{box-shadow: inset 0 0 0 2px rgb(240, 90, 40), 0 14px 14px -18px rgba(240, 90, 40, 0.8);}
.gl-pubs-track > .gl-pub--all[aria-pressed="true"]{background: rgba(240, 90, 40, 0.08);}
.gl-pubs-track > .gl-pub.is-empty:hover{box-shadow: inset 0 0 0 1px rgba(26, 20, 16, 0.06);}
.gl-pub img[src*="abp-ananda"]{max-height: 46px;}

/* story count: a pill badge sitting on the card's top-right edge */
.gl-pubs-track{padding-top: 14px;}
.gl-pub b{top: -9px; right: 6px; min-width: 22px; height: 22px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; background: #ffffff; font-size: 11px; font-weight: 600; line-height: 1; color: rgb(110, 98, 90); box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.08), 0 4px 10px -4px rgba(26, 20, 16, 0.3); transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;}
.gl-pub:hover b{color: rgb(240, 90, 40); box-shadow: 0 0 0 1px rgba(240, 90, 40, 0.45), 0 4px 10px -4px rgba(240, 90, 40, 0.5);}
.gl-pub[aria-pressed="true"] b{background: rgb(240, 90, 40); color: #ffffff; box-shadow: 0 4px 10px -3px rgba(240, 90, 40, 0.7);}
.gl-pub.is-empty b{color: rgb(190, 178, 170); box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.05);}

/* phones: keep the publication arrows (smaller) so it is clear the row scrolls;
   the three category tabs share the width instead of scrolling */
@media (max-width: 720px){
  .gl-pubs-nav{display: inline-flex; width: 34px; height: 34px; flex-basis: 34px;}
  .gl-pubs-nav svg{width: 16px; height: 16px;}
  .gl-pubs-row{gap: 6px;}
  .gl-pubs-track{--per: 2;}
  .gl-ntabs{margin: 0; padding: 0; overflow: visible;}
  .gl-ntab{flex: 1 1 0; flex-direction: column; gap: 4px; min-height: 58px; padding: 6px 4px; font-size: 11.5px; letter-spacing: 0.03em; text-align: center;}
}

/* ---------- Images page: bento photo wall (layout + motion in gallery.js) ----------
   Fixed row height; gallery.js sets each tile's span. Tiles unveil with a clip
   wipe, photos drift inside their frames (--py), and on hover the tile tilts
   toward the pointer (--rx/--ry) under a soft light (--mx/--my). */
.gl-wall{columns: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 14.5vw, 232px); gap: clamp(12px, 1.4vw, 18px); perspective: 1600px;}
.gl-tile{position: relative; margin: 0; min-width: 0;}
.gl-tile-btn{height: 100%; border-radius: 26px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -30px rgba(26, 20, 16, 0.55); transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms ease, filter 400ms ease;}
.gl-tile-btn img{position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; translate: 0 var(--py, 0%); scale: 1.02; transition: scale 1200ms cubic-bezier(0.22, 1, 0.36, 1), filter 500ms ease;}
.gl-tile.is-big .gl-tile-btn{border-radius: 32px;}

/* category label, always on */
.gl-tile-btn::before{content: attr(data-gl-cat); position: absolute; left: 14px; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 99px; background: rgba(20, 16, 14, 0.38); border: 1px solid rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: Outfit, system-ui, sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #ffffff; transition: background 300ms ease, border-color 300ms ease;}
.gl-tile-btn::after{background: linear-gradient(180deg, rgba(14, 16, 18, 0) 38%, rgba(14, 16, 18, 0.78) 100%);}
.gl-tile-cap{z-index: 2; left: 22px; right: 70px; bottom: 20px; font-size: 18px; line-height: 1.25; transform: translateY(16px);}
.gl-tile.is-big .gl-tile-cap{font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -0.01em;}
.gl-tile-cap small{display: none;}

/* pointer light + zoom badge */
.gl-tile-fx{position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 45%); opacity: 0; transition: opacity 400ms ease; pointer-events: none;}
.gl-tile-zoom{position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(240, 90, 40); color: #ffffff; box-shadow: 0 12px 26px -10px rgba(240, 90, 40, 0.9); opacity: 0; transform: scale(0.6) rotate(-45deg); transition: opacity 300ms ease, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);}
.gl-tile-zoom svg{width: 18px; height: 18px;}

.gl-tile-btn:hover, .gl-tile-btn:focus-visible{box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 44px 70px -36px rgba(26, 20, 16, 0.7);}
.gl-tile-btn:hover img, .gl-tile-btn:focus-visible img{transform: none; scale: 1.1;}
.gl-tile-btn:hover .gl-tile-fx, .gl-tile-btn:hover .gl-tile-zoom, .gl-tile-btn:focus-visible .gl-tile-zoom{opacity: 1;}
.gl-tile-btn:hover .gl-tile-zoom, .gl-tile-btn:focus-visible .gl-tile-zoom{transform: none;}
.gl-tile-btn:hover::before, .gl-tile-btn:focus-visible::before{background: rgba(240, 90, 40, 0.85); border-color: rgba(240, 90, 40, 0.9);}
/* the rest of the wall steps back while one photo is in focus */
.gl-wall:has(.gl-tile-btn:hover) .gl-tile-btn:not(:hover) img{filter: saturate(0.65) brightness(0.8);}

/* unveil on scroll: a wipe from the bottom while the photo settles */
/* (the clip sits on the button: a fully clipped tile would never register as on screen) */
.gl-wall .gl-tile.reveal{opacity: 1; transform: none;}
.gl-wall .gl-tile.reveal .gl-tile-btn{clip-path: inset(100% 0 0 0 round 26px); transition: clip-path 1100ms cubic-bezier(0.65, 0, 0.35, 1) var(--d, 0ms), transform 500ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms ease;}
.gl-wall .gl-tile.reveal.is-in .gl-tile-btn{clip-path: inset(0 round 26px);}
.gl-wall .gl-tile.is-big.reveal.is-in .gl-tile-btn{clip-path: inset(0 round 32px);}
.gl-wall .gl-tile.reveal .gl-tile-btn img{scale: 1.3; transition: scale 1600ms cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms), filter 500ms ease;}
.gl-wall .gl-tile.reveal.is-in .gl-tile-btn img{scale: 1.02;}
.gl-wall .gl-tile.reveal.is-in .gl-tile-btn:hover img{scale: 1.1; transition-delay: 0ms;}

@media (max-width: 1024px){ .gl-wall{grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 20vw, 220px);} }
@media (max-width: 720px){
  .gl-wall{grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 34vw, 190px); gap: 10px;}
  .gl-tile-btn{border-radius: 18px;}
  .gl-tile.is-big .gl-tile-btn{border-radius: 20px;}
  .gl-wall .gl-tile.reveal.is-in .gl-tile-btn{clip-path: inset(0 round 18px);}
  .gl-wall .gl-tile.is-big.reveal.is-in .gl-tile-btn{clip-path: inset(0 round 20px);}
  .gl-tile-btn::before{left: 10px; top: 10px; padding: 4px 9px; font-size: 9px;}
  .gl-tile-cap, .gl-tile.is-big .gl-tile-cap{left: 12px; right: 12px; bottom: 10px; font-size: 12.5px; font-weight: 600;}
  .gl-tile-zoom{display: none;}
}
@media (hover: none){
  .gl-tile-cap{opacity: 1; transform: none;}
  .gl-tile-btn::after{opacity: 1;}
}
@media (prefers-reduced-motion: reduce){
  .gl-tile-btn, .gl-tile-btn img, .gl-wall .gl-tile.reveal .gl-tile-btn, .gl-wall .gl-tile.reveal .gl-tile-btn img{transform: none; translate: none; transition: none; clip-path: none;}
  .gl-wall .gl-tile.reveal .gl-tile-btn img{scale: 1.02;}
}

/* ---------- Hub cards: the amenities-page photo motion ----------
   Each card's frame opens out from an inset as it scrolls in while its photo
   eases back from a zoom (gallery.js adds .is-in, then .is-done to drop the
   clip so the hover shadow shows); the photos drift inside their frames as
   the page scrolls. translate / scale are used so the parallax, the reveal
   zoom and the hover zoom all combine. */
.gl-card > img[data-gl-parallax]{top: -8%; bottom: auto; height: 116%; will-change: translate;}
.gl-card > img{transition: scale 1100ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-card:hover > img{transform: none; scale: 1.06;}
.gl-wipe{clip-path: inset(10% 6% 10% 6% round 28px); transition: clip-path 1.3s cubic-bezier(0.16, 0.84, 0.44, 1), transform 380ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 380ms ease;}
.gl-wipe.is-in{clip-path: inset(0 0 0 0 round 28px);}
.gl-wipe.is-done{clip-path: none;}
.gl-wipe > img{scale: 1.14; transition: scale 1.6s cubic-bezier(0.16, 0.84, 0.44, 1);}
.gl-wipe.is-in > img{scale: 1;}
.gl-wipe.is-done > img{transition: scale 1100ms cubic-bezier(0.22, 1, 0.36, 1);}
.gl-wipe.is-done:hover > img{scale: 1.06;}
/* the card's contents rise in just behind the frame */
.gl-wipe > .gl-card-top, .gl-wipe > .gl-card-body{opacity: 0; translate: 0 18px; transition: opacity 700ms ease 350ms, translate 900ms cubic-bezier(0.22, 1, 0.36, 1) 350ms;}
.gl-wipe.is-in > .gl-card-top, .gl-wipe.is-in > .gl-card-body{opacity: 1; translate: none;}
@media (max-width: 720px){
  .gl-wipe{clip-path: inset(8% 5% 8% 5% round 22px);}
  .gl-wipe.is-in{clip-path: inset(0 0 0 0 round 22px);}
  .gl-wipe.is-done{clip-path: none;}
}
@media (prefers-reduced-motion: reduce){
  .gl-wipe, .gl-wipe.is-in{clip-path: none; transition: none;}
  .gl-wipe > img, .gl-wipe > .gl-card-top, .gl-wipe > .gl-card-body{scale: 1; opacity: 1; translate: none; transition: none;}
}

/* a paper with no stories in the chosen tab dims (it stays clickable) */
.gl-pub.is-zero:not(.is-empty){opacity: 0.55;}
.gl-pub.is-zero:not(.is-empty) img{filter: grayscale(1);}

/* ---------- Solaris Bonhooghly Phase 1 additions ---------- */
/* the sub-nav has no "back" link here: centre the four Media links */
.gl-subnav-inner{justify-content: center;}
@media (max-width: 720px){ .gl-subnav-inner{justify-content: flex-start;} }
/* section title a step smaller than the Serampore page */
.gl-title{font-size: clamp(28px, 3vw, 44px); line-height: 1.08;}

/* banner: a tilted mosaic of the gallery photos, each column drifting slowly
   (alternate columns in opposite directions) behind the usual shade */
.ig-mosaic{display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0 14px; transform: rotate(-7deg) scale(1.3); transform-origin: 60% 50%;}
.ig-col{display: flex; flex-direction: column; gap: 14px; padding-bottom: 14px; animation: igUp 70s linear infinite; will-change: transform;}
.ig-col:nth-child(even){animation-name: igDown; animation-duration: 85s;}
.ig-mosaic .ig-col img{display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; transform: none; animation: none; translate: none;}
@keyframes igUp{from{transform: translateY(0);} to{transform: translateY(-50%);}}
@keyframes igDown{from{transform: translateY(-50%);} to{transform: translateY(0);}}
/* the copy sits on the left: keep that side darker over a busy background */
.ig-mosaic + .gl-hero-shade{background:
  linear-gradient(90deg, rgba(12, 14, 16, 0.86) 0%, rgba(12, 14, 16, 0.6) 45%, rgba(12, 14, 16, 0.25) 80%),
  linear-gradient(180deg, rgba(12, 14, 16, 0.25) 0%, rgba(12, 14, 16, 0.1) 40%, rgba(12, 14, 16, 0.55) 100%);}
@media (max-width: 720px){
  .ig-mosaic{grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 8px; transform: rotate(-7deg) scale(1.35);}
  .ig-col{gap: 8px; padding-bottom: 8px;}
  .ig-col:nth-child(4){display: none;}
  .ig-mosaic .ig-col img{border-radius: 10px;}
  .ig-mosaic + .gl-hero-shade{background: linear-gradient(180deg, rgba(12, 14, 16, 0.35) 0%, rgba(12, 14, 16, 0.3) 30%, rgba(12, 14, 16, 0.75) 60%, rgba(12, 14, 16, 0.92) 100%);}
}
@media (prefers-reduced-motion: reduce){ .ig-col{animation: none;} }
