/* ============================================================
   IGM — India Gold Metaverse · Events (standalone)
   Self-contained stylesheet shared by the three Events pages
   (Mentor and Coach, IGM HODs, Others): fonts, tokens, base,
   navbar + footer partials and the Events-only hero, search
   toolbar, event card grid and media lightbox. Shared boilerplate
   is kept identical to the sibling News Room / Blog / About pages
   so the pages render on their own — no dependency on
   assets/css/styles.css.
   Every page is static; cards carry data-type / data-vimeo /
   data-gallery hooks so a backend can render the same nodes later.
   Fonts: Satoshi + Clash Display (self-hosted) · Instrument Serif
   (Google Fonts, linked in the page <head>).
   ============================================================ */

/* ---------- fonts · tokens · base · shared .pill ----------
   Root-relative font URLs (leading slash) so Satoshi resolves from
   the site root, not from assets/css/ where this file lives. */
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/img/fonts/clashdisplay-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --neutral-50:  #ffffff;
  --neutral-100: #f9f9fb;
  --neutral-200: #eeeef1;
  --neutral-300: #c8c8d2;
  --neutral-400: #aeaeba;
  --neutral-500: #8a8a97;   /* Figma Neutral-500 (post-meta timestamps) */
  --neutral-600: #606070;
  --neutral-700: #3d3d4d;
  --neutral-800: #232330;
  --neutral-900: #0d0f1a;
  --neutral-950: #000000;
  --gray-500:    #6b7280;   /* breadcrumb separator, per Figma Gray-500 */
  --gold-50:     #f9f5ec;
  --gold-100:    #f0e6d1;
  --gold-200:    #e3d1a8;
  --gold-300:    #d6ba81;
  --gold-warm:   #cfb38d;  /* warm serif accent + category badge label */
  --gold-500:    #b9903f;
  --gold-600:    #a07f36;
  --gold-grad:   linear-gradient(100deg, #b9903f 0%, #e8cf8f 45%, #b9903f 100%);
  --blue-500:    #277ada;  /* FEATURED flag */
  --cream:       #fbf7ef;
  --sans:  "Satoshi", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --maxw: 1200px;
  /* Figma's spring (mass 1, stiffness 100, damping 15) solved and sampled as an
     easing curve: damping ratio .75, so it overshoots ~2.8% and settles in .82s.
     A cubic-bezier can't overshoot, hence linear(). */
  --spring: linear(
    0 0%, 0.0424 3.8%, 0.1441 7.7%, 0.2747 11.5%, 0.4131 15.4%, 0.5455 19.2%,
    0.6637 23.1%, 0.7637 26.9%, 0.8447 30.8%, 0.9073 34.6%, 0.9536 38.5%,
    0.9861 42.3%, 1.0075 46.2%, 1.0202 50%, 1.0265 53.8%, 1.0284 57.7%,
    1.0273 61.5%, 1.0245 65.4%, 1.0208 69.2%, 1.0169 73.1%, 1.0131 76.9%,
    1.0097 80.8%, 1.0069 84.6%, 1.0045 88.5%, 1.0027 92.3%, 1.0014 96.2%, 1 100%
  );
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--neutral-900);
  background: #fff;
  line-height: 1.45;
  /* backstop for the full-bleed decorative curves. `hidden` on body alone relies on
     overflow propagating to the viewport, which some browsers don't honour — `clip`
     on both html and body kills the sideways scroll without making a scroll container */
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0%;font-size: 22px;
    line-height: 28px; }

/* ---------- shared ---------- */
.pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #eeeef1;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-900);
}
.nav-logo-header-footer{
  height: 90px;
  width: auto;
  padding-bottom: 10px;
}
.pill--outline { background: transparent; color: var(--gold-50); border: 1px solid rgba(255,255,255,.12); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;   /* 0.28px @ 14px, per Figma buttons */
  text-transform: uppercase;
  transition: opacity .2s, transform .2s;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-dark  { background: #000; color: #fff; }   /* Neutral-950, per Figma "Dark Solid" */
.btn-outline {
  background: rgba(255,255,255,.11);
  border: .8px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: #fafafa;
  height: 40px;
  padding: 0 12px;
  font-family: "Clash Display", var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 4px;
}
button.btn { border: none; cursor: pointer; font-family: inherit; -webkit-appearance: none; appearance: none; }

/* ---------- navbar ---------- */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 40px;
}
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: clamp(20px, 2.2vw, 48px);
  align-items: center;
}
.nav-left { grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: clamp(20px, 2.2vw, 48px); }
.nav-link {
  color: #fafafa;
  /* 16px is the Figma size and holds from ~1392px up. Below that the four
     top-level items no longer clear the centred logo, so the label steps
     down rather than wrapping onto a second line and colliding with it. */
  font-size: clamp(13px, 1.4vw, 16px);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: .02em;      /* 0.32px @ 16px */
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link .chev { display: inline-block; margin-left: 3px; font-size: 13px; line-height: 1; opacity: .9; transform-origin: center; transition: transform .25s; }
.nav-link:hover { color: var(--gold-300); }

/* ---- offerings dropdown ---- */
.nav-item { position: relative; }
.nav-item.has-menu > .nav-link { cursor: pointer; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  width: max-content;   /* sized to its longest entry, so every item stays on one line */
  margin-top: 14px;
  padding: 8px;
  background: var(--neutral-50);
  border: 1px solid #eeeef1;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}
.nav-dropdown--about { min-width: 360px; padding: 14px; }
.nav-dropdown__group {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: start;
  padding: 10px 0;
}
.nav-dropdown__group + .nav-dropdown__group { border-top: 1px solid #eeeef1; }
.nav-dropdown__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-500);
  padding-top: 9px;      /* optically aligns the label with the first link row */
}
.nav-item.has-menu::after {
  content: "";
  position: absolute;
  top: 100%; left: 0;
  width: 100%; height: 16px;
}
.nav-item.has-menu:hover .nav-dropdown,
.nav-item.has-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item.has-menu:hover > .nav-link .chev { transform: rotate(180deg); }
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--neutral-600);
  transition: background .18s, color .18s;
}
.nav-dropdown a:hover { background: #f4f4f6; color: var(--gold-500); }
.nav-dropdown a.is-active { color: var(--gold-500); }
/* logo sits at the far left; both menu groups follow it on the right (explicit
   columns because .nav-left comes before the logo in the markup) */
.nav-logo { grid-column: 1; grid-row: 1; text-align: left; color: #fff; }
.nav-right { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: clamp(20px, 2.2vw, 48px); }
/* NEWS ROOM / EVENTS live in this column, so their panels hang from the right
   edge of the item — left-aligned they would run off the side of the viewport */
.nav-right .nav-dropdown { left: auto; right: 0; }

/* ---- second-row section nav (About-Us destinations) ---- */
.nav-subnav {
  max-width: 1360px;
  margin: 12px auto 0;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 44px;
}
.nav-subnav.is-open { display: flex; animation: subnav-in .22s ease both; }
@keyframes subnav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-subnav__link {
  color: var(--neutral-300);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .18s;
}
.nav-subnav__link:hover { color: var(--gold-300); }
.nav-subnav__link.is-active { color: var(--gold-500); }

/* ---- mobile: hamburger trigger + full-screen menu ---- */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  justify-self: start;
  align-items: end;
}
.nav-burger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1), visibility .35s;
}
.mobile-nav.is-open { visibility: visible; transform: translateX(0); }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eeeef1;
}
.mobile-nav__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--neutral-900);
  cursor: pointer;
}
.mobile-nav__logo img { height: 40px; width: auto; }
.mobile-nav__body { flex: 1 1 auto; overflow-y: auto; padding: 4px 20px; }

.mobile-acc { border-bottom: 1px solid #eeeef1; }
.mobile-acc__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  background: none;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--neutral-900);
  cursor: pointer;
  font-family: 'Satoshi';
}
.mobile-acc__trigger .chev { font-size: 16px; line-height: 1; color: #9a9aa4; transition: transform .25s, color .25s; }
.mobile-acc.is-open .mobile-acc__trigger { color: var(--gold-500); }
.mobile-acc.is-open .mobile-acc__trigger .chev { color: var(--gold-500); transform: rotate(180deg); }
/* grid-rows 0fr -> 1fr is a smooth auto-height collapse with no JS measuring */
.mobile-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.mobile-acc.is-open .mobile-acc__panel { grid-template-rows: 1fr; }
.mobile-acc__panel-inner { overflow: hidden; display: flex; flex-direction: column; padding-bottom: 2px; }
.mobile-acc__panel a {
  margin: 2px 0;
  padding: 12px 14px;
  background: #fff;
  font-size: 14px;
  color: #606070;
  font-family: 'Satoshi';
}
.mobile-acc__panel a:hover { color: var(--neutral-900); }
.mobile-nav__cta { margin: 16px 20px 24px; justify-content: center; }
body.mobile-nav-open { overflow: hidden; }

/* ---------- FAQ curve + shared dark FAQ accordion ---------- */
.faq-wave-top {
  position: absolute;
  top: -1px;
  left: -2px;
  width: calc(100% + 4px);
  max-width: none;
  height: auto;
  z-index: 2;
  pointer-events: none;
}
.faq {
  text-align: left;
  border-bottom: 1px solid #26262e;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  color: #fff;
  font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 16px; height: 16px; flex: none;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(180deg); }
/* questions read upright: the <em> wrapper is only there for the serif face */
.faq summary em { font-style: normal; }
.faq p {
  color: #b9b9c2;
  font-size: 14px;
  line-height: 1.65;
  padding: 0 0 22px;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 28%, rgba(0,0,0,.5) 72%, rgba(0,0,0,.7) 100%),
    url("assets/img/FooterBG.png") center / cover no-repeat,
    #000;
  color: #fff;
  padding: 70px 40px 40px;
  text-align: center;
}
.footer-logo-img { height: 44px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); }
.footer-rule { border: 0; border-top: 1px solid #232329; max-width: 1000px; margin: 34px auto; }
/* five link columns since News Room and IGM at Events joined the footer; the
   1000px cap lines the grid up with the .footer-rule above it */
.footer-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  text-align: left;
}
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col a {
  display: block;
  font-size: 13px;
  color: #a2a2ab;
  margin-bottom: 9px;
}
.footer-col a:hover { color: var(--gold-300); }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 50px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #86868c;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.footer-brand{
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { background: var(--gold-300); }
.footer-legal { margin-top: 44px; font-size: 12px; color: #9a9aa2; }
.footer-legal a:hover { color: #fff; }
.footer-copy { margin-top: 10px; font-size: 12px; color: #7c7c85; }

/* ---------- scroll-reveal + scrolled navbar + reduced motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: none; position: relative; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .36s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .48s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .60s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: .72s; }
/* per-child reveal when a stagger group is taller than the viewport (mobile) */
.reveal-stagger > .visible { opacity: 1; transform: none; }
.navbar { transition: background .35s ease, backdrop-filter .35s ease; }
.navbar.scrolled {
  position: fixed;
  background: rgba(5, 5, 10, .65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { transition: none; animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   EVENTS — hero, search toolbar, event grid, media lightbox
   Shared by events-mentor-and-coach.html, events-igm-hods.html
   and events-others.html. Like the News Room these sit on a light
   background, so the navbar takes the solid dark fill instead of
   the transparent bar the product pages use over a dark hero.
   ============================================================ */
.events-page .navbar { background: var(--neutral-950); }

/* Navbar is position:absolute (out of flow), so the hero must reserve
   its height (~104px) plus the 24px top gap before the breadcrumb —
   the same clearance the News Room and blog heroes use. */
.events-hero { position: relative; overflow: hidden; padding: 128px 0 0; }
.events-hero__glow {
  position: absolute;
  top: -76px; left: 50%;
  width: 957px; height: 353px;
  transform: translateX(-50%);
  background: var(--gold-300);
  opacity: .30;
  border-radius: 9999px;
  filter: blur(102px);
  pointer-events: none;
}

/* breadcrumb */
.events-crumbs {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 56px;
  margin-bottom: 64px;
}
.events-crumbs a { color: var(--neutral-600); font-size: 12px; line-height: 16px; }
.events-crumbs a:hover { color: var(--gold-600); }
.events-crumbs .sep { color: var(--gray-500); font-weight: 300; font-size: 16px; }
.events-crumbs .current { color: var(--neutral-900); font-size: 14px; font-weight: 500; line-height: 20px; }

/* hero heading */
.events-hero__head {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 24px 0;
}
.events-hero__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 60px; line-height: 76px; color: var(--neutral-900); }
.events-hero__sub { color: var(--neutral-800); font-size: 16px; line-height: 22px; max-width: 620px; }

/* ---------- search + media-type toolbar ----------
   Same search-first row as the News Room, with the year chips swapped
   for media type (All / Videos / Photos) since an events archive is
   browsed by what you want to watch rather than by year. */
.events-toolbar {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 64px auto 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.events-search {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 360px;
  max-width: 100%;
  height: 46px;
  padding: 4px 16px;
  border-radius: 24px;
  background: var(--neutral-50);
  box-shadow: 0 4px 9px rgba(0,0,0,.05);
  outline: 1px solid rgba(200,200,210,.20);
  outline-offset: -1px;
  transition: outline-color .18s, box-shadow .18s;
}
.events-search:focus-within { outline-color: var(--gold-500); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.events-search i { color: var(--gold-600); font-size: 15px; }
.events-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .2px;
  color: var(--neutral-900);
}
.events-search input::placeholder { color: var(--neutral-500); opacity: 1; }
.events-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.events-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.events-chip {
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 48px;
  background: var(--neutral-200);
  box-shadow: 0 4px 7px rgba(0,0,0,.04) inset;
  color: var(--neutral-700);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.events-chip:hover { color: var(--neutral-900); }
.events-chip.is-active {
  background: var(--neutral-950);
  box-shadow: 0 4px 11px rgba(0,0,0,.10), 0 4px 8px rgba(255,255,255,.38) inset;
  color: var(--gold-200);
}
.events-count { color: var(--neutral-500); font-size: 14px; line-height: 20px; }

/* ---------- event card grid ---------- */
.events-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 110px;
  /* the columns moved down to .events-group__panel-inner when the venues became
     accordions; this level is now just the stack of venue sections */
  display: flex;
  flex-direction: column;
}
.event-card {
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: var(--neutral-100);
  border-radius: 6px;
  overflow: hidden;
  transition: background .22s, box-shadow .22s, transform .22s;
}
.event-card[hidden] { display: none; }
.event-card:hover {
  background: var(--neutral-50);
  box-shadow: 0 12px 30px rgba(13, 15, 26, .08);
  transform: translateY(-2px);
}
/* 16:9 so a Vimeo still drops in without the tile changing height. The
   Neutral-200 wash is what shows until the poster export lands — same
   placeholder the blog cards use. */
.event-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: var(--neutral-200);
  cursor: pointer;
}
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
/* 9:16 source — the reels from Bhopal, Jaipur and Kochi. A
   16:9 tile would crop two thirds of a standing subject away, so the tile
   takes the film's shape instead. */
.event-card[data-orient="portrait"] .event-card__media { aspect-ratio: 9 / 16; }
/* a vertical cut plays in its own tile, the way a reel does, instead of behind
   a full-screen player — see the inline-reel block in assets/js/events.js */
.event-card__reel { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* while it runs, everything the tile stacked over the poster steps aside so
   nothing sits on top of the player's own controls, and the card stops lifting
   on hover — a frame that shifts under the pointer is hard to scrub */
.event-card.is-playing .event-card__media img,
.event-card.is-playing .event-card__play,
.event-card.is-playing .event-card__badge { display: none; }
.event-card.is-playing .event-card__media { cursor: default; }
.event-card.is-playing:hover { transform: none; }
/* gold disc + triangle, drawn rather than exported so it stays crisp and
   picks up the hover transition with no second asset */
.event-card__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  border: 1.5px solid var(--gold-300);
  display: grid;
  place-items: center;
  color: var(--gold-200);
  font-size: 17px;
  transition: background .22s, transform .22s var(--spring);
}
.event-card__play i { margin-left: 3px; }   /* optical centring of the triangle */
.event-card:hover .event-card__play { background: rgba(0, 0, 0, .75); transform: scale(1.08); }
/* photo count / duration, bottom-right of the media box */
.event-card__badge {
  position: absolute;
  right: 10px; bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .62);
  color: var(--gold-50);
  font-size: 12px;
  line-height: 16px;
}
.event-card__badge i { font-size: 11px; }

.event-card__body { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.event-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.event-card__date { color: var(--gold-600); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.event-card__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--neutral-300); }
.event-card__place { color: var(--neutral-500); font-size: 13px; line-height: 18px; }
.event-card__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; line-height: 32px; color: var(--neutral-900); }
.event-card__excerpt { color: var(--neutral-600); font-size: 15px; line-height: 23px; }

/* ---- venue accordion ----
   Eighteen cards in one run meant scrolling past Delhi to reach Goa, so each
   venue collapses behind its own heading and only one stands open at a time —
   the same single-open pattern, .is-open class and 0fr/1fr panel as the mobile
   nav, so the two behave alike and share one mental model. */
.events-group { border-bottom: 1px solid var(--neutral-200); }
.events-group:first-child { border-top: 1px solid var(--neutral-200); }
.events-group__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 2px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  line-height: 40px;
  color: var(--neutral-900);
  transition: color .25s;
}
/* pushes the count and chevron to the far edge, so the venue names stay
   left-aligned however long they run */
.events-group__head { display: flex; flex-direction: column; gap: 5px; margin-right: auto; }
/* the hall and the dates ride under the event name rather than beside it:
   "11th India International Bullion Summit 2026" already fills a line */
.events-group__where {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  line-height: 18px;
  color: var(--neutral-500);
}
.events-group.is-open .events-group__where { color: var(--neutral-600); }
.events-group__count {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-500);
  white-space: nowrap;
}
.events-group__chev { font-size: 15px; color: var(--neutral-400); transition: transform .25s, color .25s; }
.events-group.is-open .events-group__trigger { color: var(--gold-600); }
.events-group.is-open .events-group__count,
.events-group.is-open .events-group__chev { color: var(--gold-500); }
.events-group.is-open .events-group__chev { transform: rotate(180deg); }
.events-group__trigger:hover .events-group__chev { color: var(--gold-500); }
/* grid-rows 0fr -> 1fr is a smooth auto-height collapse with no JS measuring */
.events-group__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.events-group.is-open .events-group__panel { grid-template-rows: 1fr; }
.events-group__panel-inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* the cards need room to breathe only once the panel is actually open,
   otherwise the padding keeps a collapsed venue a few pixels tall */
.events-group.is-open .events-group__panel-inner { padding: 8px 0 36px; }
/* only where a venue mixes 16:9 and 9:16 films: its cards size to their own
   content rather than stretching to the tallest, which would leave the short
   ones trailing a block of empty card background. Venues shot all one way keep
   the level rows they have. */
.events-group__panel-inner[data-mixed] { align-items: start; }
.events-group[hidden] { display: none; }

/* shown by assets/js/events.js when nothing matches the filter */
.events-empty {
  grid-column: 1 / -1;
  padding: 60px 24px;
  text-align: center;
  color: var(--neutral-500);
  font-size: 16px;
  line-height: 24px;
}
.events-empty[hidden] { display: none; }

/* ---------- media lightbox ----------
   One overlay serves both card types: a Vimeo iframe for video cards and a
   stepped <img> for gallery cards. Kept out of the flow entirely until
   opened so the closed state costs nothing. */
.events-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  overflow-y: auto;   /* title + player + description can outgrow a short screen; scroll like a watch page */
  padding: 24px;
  background: rgba(4, 5, 8, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s;
}
/* visibility flips instantly on open (only the close keeps the .28s delay), so the
   viewer is focusable the moment events.js moves focus to its close button */
.events-lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .28s ease; }
.events-lightbox__stage {
  position: relative;
  width: min(1100px, 100%);
  margin: auto;   /* centres when it fits; unlike place-items, auto margins never push the title off the top when it doesn't */
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(12px) scale(.98);
  transition: transform .32s var(--spring);
}
.events-lightbox.is-open .events-lightbox__stage { transform: none; }
/* the frame holds either the iframe or the gallery image at a fixed 16:9,
   so stepping through photos of different crops never jumps the layout */
.events-lightbox__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
/* a 9:16 film in the 16:9 frame plays as a strip with black filling most of
   the width, so the frame takes the film's shape and is sized by height —
   as tall as the screen allows, centred, never wider than the stage */
.events-lightbox__frame.is-portrait {
  aspect-ratio: 9 / 16;
  height: min(78vh, 780px);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.events-lightbox__frame iframe,
.events-lightbox__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.events-lightbox__frame img { object-fit: contain; }
.events-lightbox__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
/* watch-page layout, as on YouTube: the event's title above the player and a
   description panel under it — both read from the card by events.js */
.events-lightbox__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 38px;
  color: var(--neutral-50);
}
.events-lightbox__info {
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
}
/* nothing to describe (no date, venue or text) — drop the empty panel */
.events-lightbox__info:has(.events-lightbox__meta:empty):has(.events-lightbox__desc:empty) { display: none; }
/* date · venue (· photo n of m): the bold first line of a YouTube description */
.events-lightbox__meta { color: var(--neutral-50); font-size: 14px; font-weight: 500; line-height: 20px; }
.events-lightbox__meta:empty { display: none; }
.events-lightbox__desc {
  margin-top: 6px;
  color: var(--neutral-300);
  font-size: 15px;
  line-height: 23px;
  white-space: pre-line;   /* line breaks written into data-description survive as paragraphs */
}
.events-lightbox__desc:empty { display: none; }
/* collapsed to three lines until "more" is pressed */
.events-lightbox__desc.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.events-lightbox__more {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--neutral-50);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.events-lightbox__more:hover { color: var(--gold-300); }
.events-lightbox__more[hidden] { display: none; }
.events-lightbox__close {
  flex: none;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: background .18s;
}
.events-lightbox__close:hover { background: rgba(255,255,255,.24); }
/* prev/next only render for galleries (events.js hides them for video) */
.events-lightbox__nav {
  position: absolute;
  z-index: 2;      /* above the media layer that fills the frame */
  top: 50%;
  width: 44px; height: 44px;
  margin-top: -22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background .18s;
}
.events-lightbox__nav:hover { background: rgba(0,0,0,.8); }
.events-lightbox__nav[hidden] { display: none; }
.events-lightbox__nav--prev { left: 12px; }
.events-lightbox__nav--next { right: 12px; }
/* body scroll-lock while the overlay is open (toggled from events.js),
   matching the mobile-nav-open lock the navbar already uses */
body.events-lightbox-open { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-left { display: none; }
  .nav-subnav, .nav-subnav.is-open { display: none; }
  .nav-right { display: none; }
  .nav-logo { grid-column: 1; grid-row: 1; }
  .nav-burger { display: flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .events-toolbar { margin-top: 56px; }
  .events-group__panel-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .navbar { padding: 14px 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, auto); grid-auto-flow: column; }
  .events-hero { padding-top: 108px; }
  .events-crumbs { padding: 0 20px; margin-bottom: 40px; }
  .events-hero__title { font-size: 40px; line-height: 50px; }
  .events-toolbar { margin-top: 40px; padding: 0 16px; gap: 16px; }
  .events-grid { padding: 40px 16px 72px; }
  .events-group__panel-inner { grid-template-columns: 1fr; gap: 16px; }
  .events-group__trigger { font-size: 24px; line-height: 31px; gap: 12px; padding: 18px 2px; }
  .events-group__count { font-size: 11px; }
  .events-group__where { font-size: 12px; line-height: 17px; }
  .event-card__title { font-size: 21px; line-height: 28px; }
  .event-card__excerpt { font-size: 14px; line-height: 22px; }
  .event-card__play { width: 46px; height: 46px; margin: -23px 0 0 -23px; font-size: 14px; }
  .events-lightbox { padding: 16px; }
  .events-lightbox__title { font-size: 20px; line-height: 27px; }
  .events-lightbox__info { padding: 12px 14px; }
  .events-lightbox__desc { font-size: 14px; line-height: 21px; }
  .events-lightbox__nav { width: 38px; height: 38px; margin-top: -19px; }
}
