/* =========================================================
   ISOG26 — palette sampled from the brochure
   ========================================================= */
:root {
  --navy-950: #030f27;   /* deepest page background */
  --navy-900: #061a40;   /* brochure base navy */
  --navy-800: #0a2a5e;   /* panels */
  --navy-700: #0f3a7a;   /* raised cards */
  --blue-500: #2a8ce0;   /* "26" accent / CTA */
  --blue-400: #4aa6f0;
  --blue-300: #7cc4ff;   /* eyebrow / labels */
  --line:     rgba(124, 196, 255, .22);
  --text:     #eef4ff;
  --muted:    #a8bedc;

  --nav-h: 72px;                       /* updated live by JS */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 220ms;
  --t-med: 320ms;
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-950);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; padding-right: var(--scrollbar-w, 0px); }
body.is-locked .topbar { padding-right: var(--scrollbar-w, 0px); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-300); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 3px; border-radius: 6px; }

.accent { color: var(--blue-500); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue-500); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.ic { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; letter-spacing: .01em; cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out),
              background-color var(--t-fast) ease, border-color var(--t-fast) ease;
  will-change: transform;
}
.btn:active { transform: scale(.96); }
.btn--cta {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(42, 140, 224, .7);
}
.btn--cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(42, 140, 224, .85); }
.btn--cta:active { transform: translateY(0) scale(.96); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.04); }
.btn--ghost:hover { border-color: var(--blue-300); background: rgba(124,196,255,.08); }
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn--small { padding: 6px 14px; font-size: 13px; background: var(--navy-700); border-color: var(--line); }
.btn--block { width: 100%; }

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform var(--t-med) var(--ease-out);
}
/* Glass layer lives on a pseudo-element so we only animate opacity (GPU-cheap) */
.topbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(4, 16, 42, .72);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
}
.topbar.is-scrolled::before { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar::before { background: rgba(4, 16, 42, .96); }
}
.topbar__inner {
  max-width: 1280px; margin: 0 auto; height: 72px;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.brand__logo { width: 36px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__mark { font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: #fff; }
.brand__sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Desktop nav ---------- */
.nav { position: relative; margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 8px 14px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  border-radius: 999px;
  transition: color var(--t-fast) ease;
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
/* hover underline: slides in from left using scaleX */
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--blue-300);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-med) var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active::after { transform: scaleX(0); }
/* scrollspy pill: positioned purely with transform (translateX + scaleX) */
.nav__indicator {
  position: absolute; top: 0; left: 0; z-index: -1;
  width: 100px; height: 100%;
  border-radius: 999px;
  background: rgba(124, 196, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(124, 196, 255, .28);
  transform-origin: 0 50%;
  transform: translateX(var(--ix, 0px)) scaleX(var(--isx, 0));
  opacity: 0;
  transition: transform 420ms var(--ease-out), opacity var(--t-fast) ease;
  pointer-events: none;
}
.nav__indicator.is-visible { opacity: 1; }
.nav__indicator.no-anim { transition: none; }

.topbar__actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Hamburger ---------- */
.burger {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); cursor: pointer;
  transition: background-color var(--t-fast) ease;
}
.burger:hover { background: rgba(124,196,255,.12); }
.burger__bar {
  position: absolute; left: 12px;  top:0; width: 20px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast) ease;
}
.burger__bar:nth-child(1) { transform: translateY(15px); }
.burger__bar:nth-child(2) { transform: translateY(21px); }
.burger__bar:nth-child(3) { transform: translateY(27px); }
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(21px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; transform: translateY(21px) scaleX(.2); }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(21px) rotate(-45deg); }

/* =========================================================
   DRAWER (mobile / tablet)
   ========================================================= */
.backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(2, 8, 24, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
}
.backdrop.is-open { opacity: 1; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(86vw, 360px);
  padding: calc(var(--nav-h) + 12px) 24px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(42,140,224,.25), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px -20px rgba(0,0,0,.6);
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  transition: transform 340ms var(--ease-out), visibility 0s linear 340ms;
  overflow-y: auto; overscroll-behavior: contain;
  will-change: transform;
}
.drawer.is-open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  transition: transform 340ms var(--ease-out), visibility 0s;
}
.drawer__head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drawer__date { font-size: 13px; color: var(--muted); }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li, .drawer__foot { opacity: 0; transform: translate3d(24px, 0, 0); }
.drawer.is-open .drawer__list li,
.drawer.is-open .drawer__foot {
  animation: drawerItemIn 420ms var(--ease-out) both;
  animation-delay: calc(80ms + var(--i) * 50ms);
}
@keyframes drawerItemIn {
  from { opacity: 0; transform: translate3d(24px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.drawer__link {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 4px; font-size: 20px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid rgba(124,196,255,.08);
  transition: color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.drawer__link:hover { transform: translateX(4px); color: #fff; }
.drawer__link.is-active { color: var(--blue-300); }
.drawer__num { font-size: 12px; font-weight: 500; color: var(--blue-400); letter-spacing: .08em; }
.drawer__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.drawer__mail { text-align: center; font-size: 14px; }

/* breakpoint switch */
@media (max-width: 1023px) {
  .nav { display: none; }
  .burger { display: block; }
  .topbar__actions { margin-left: auto; }
}
@media (max-width: 479px) {
  .topbar__actions .btn--cta span { display: none; }
  .topbar__actions .btn--cta { padding: 0; width: 44px; height: 44px; }
  .brand__sub { display: none; }
}
@media (min-width: 1024px) {
  .drawer, .backdrop { display: none !important; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 72px; overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,15,39,.96) 0%, rgba(3,15,39,.75) 45%, rgba(3,15,39,.15) 100%),
    linear-gradient(0deg, var(--navy-950) 0%, transparent 30%),
    url("../img/hero.jpg") right 20% / cover no-repeat;
}
@media (max-width: 767px) {
  .hero__bg { background:
    linear-gradient(180deg, rgba(3,15,39,.55) 0%, rgba(3,15,39,.85) 55%, var(--navy-950) 100%),
    url("../img/hero.jpg") 70% 15% / cover no-repeat; }
}
.hero__inner { position: relative; }
.hero__org { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.hero__org img { width: 52px; }
.hero__org p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.hero__org strong { color: #fff; font-weight: 500; font-size: 15px; }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: .38em; text-transform: uppercase; color: var(--blue-300); }
.hero__title { margin: 0; font-weight: 800; font-size: clamp(64px, 14vw, 160px); line-height: .95; letter-spacing: -.04em; color: #fff; }
.hero__full { margin: 10px 0 0; padding: 10px 0; display: inline-block; font-size: clamp(15px, 2vw, 20px); color: var(--blue-300); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__theme { margin: 36px 0 28px; padding-left: 18px; border-left: 4px solid var(--blue-400); }
.hero__theme p { margin: 0; color: var(--muted); }
.hero__theme h2 { margin: 4px 0 0; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; }
.amp { font-weight: 300; }

.glass {
  background: rgba(10, 42, 94, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
.fact { padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); }
.fact__value { font-size: 14px; line-height: 1.4; }
.fact__value--big { font-size: 22px; font-weight: 700; }
.fact__value sup { font-size: .5em; }
@media (max-width: 639px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.section__title {
  margin: 0 0 24px; font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; letter-spacing: -.02em;
  display: flex; align-items: center; gap: 20px;
}
.section__title::after { content: ""; flex: 1; max-width: 200px; height: 1px; background: linear-gradient(90deg, var(--blue-400), transparent); }
.subhead { margin: 56px 0 18px; font-size: 20px; font-weight: 600; color: var(--blue-300); }
.small { font-size: 14px; color: var(--muted); }
.notice { padding: 14px 18px; border-radius: 12px; background: rgba(42,140,224,.12); border: 1px solid rgba(124,196,255,.3); }

/* About */
.about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.about p { color: #d4e1f5; text-align: justify; hyphens: auto; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; }
.pillar { padding: 0 20px; }
.pillar:first-child { padding-left: 0; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar h3 { margin: 0 0 4px; font-size: 15px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-300); }
.pillar p { margin: 0; font-size: 14px; text-align: left; color: var(--muted); }
.quote { margin: 0; padding: 32px 28px; position: relative; }
.quote__mark { position: absolute; right: 22px; top: -8px; font-size: 120px; line-height: 1; font-weight: 800; color: #fff; }
.quote p { margin: 48px 0 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; font-weight: 300; text-align: left; color: #fff; }
.quote strong { font-weight: 700; }
.highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.highlights li { padding: 16px 18px 16px 44px; position: relative; border-radius: 12px; background: rgba(10,42,94,.35); border: 1px solid var(--line); font-size: 14px; color: #d4e1f5; }
.highlights li::before { content: ""; position: absolute; left: 18px; top: 23px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 4px rgba(74,166,240,.2); }
@media (max-width: 899px) {
  .about { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 16px; }
  .pillar, .pillar:first-child { padding: 0 0 0 16px; border-left: 2px solid var(--blue-400); }
  .pillar + .pillar { border-left: 2px solid var(--blue-400); }
}

/* Themes */
.themes { list-style: none; padding: 0; margin: 0; counter-reset: theme; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.theme {
  counter-increment: theme;
  position: relative; padding: 56px 20px 22px; min-height: 150px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(15,58,122,.65), rgba(6,26,64,.6));
  font-size: 14.5px; line-height: 1.45; text-align: center;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-fast) ease, box-shadow var(--t-med) var(--ease-out);
}
.theme::before {
  content: counter(theme, decimal-leading-zero);
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--blue-300);
}
.theme:hover { transform: translateY(-4px); border-color: rgba(124,196,255,.55); box-shadow: 0 16px 34px -18px rgba(42,140,224,.7); }
@media (max-width: 1023px) { .themes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .themes { grid-template-columns: 1fr; } .theme { min-height: 0; } }

/* Dates */
.timeline { list-style: none; margin: 28px 0 16px; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.tl { display: grid; grid-template-columns: 180px 1fr; align-items: center; border-radius: 999px; background: rgba(10,42,94,.4); border: 1px solid var(--line); overflow: hidden; }
.tl__date { padding: 14px 20px; background: #fff; color: var(--navy-800); font-weight: 700; font-size: 15px; border-radius: 999px; }
.tl__what { padding: 12px 20px; }
.tl--done { opacity: .6; }
.tl--done .tl__what::after { content: " · done"; color: var(--muted); font-size: 13px; }
.tl--key { border-color: var(--blue-400); background: rgba(42,140,224,.22); }
.tl--key .tl__date { background: var(--blue-500); color: #fff; }
@media (max-width: 559px) {
  .tl { grid-template-columns: 1fr; border-radius: 16px; }
  .tl__date { border-radius: 16px 16px 0 0; padding: 10px 16px; }
}

/* Committee */
.council { display: grid; gap: 28px; }
.council__group h3 { margin: 0 0 12px; font-size: 16px; font-weight: 500; color: var(--blue-300); }
.people { display: grid; gap: 12px; }
.people--2 { grid-template-columns: repeat(2, 1fr); }
.people--3 { grid-template-columns: repeat(3, 1fr); }
.person { padding: 16px 18px; border-radius: 12px; background: rgba(15,58,122,.5); border: 1px solid var(--line); display: flex; flex-direction: column; text-align: center; }
.person b { font-weight: 600; }
.person span { font-size: 13px; color: var(--muted); }
.person--lead { background: rgba(42,140,224,.2); }
@media (max-width: 767px) { .people--2, .people--3 { grid-template-columns: 1fr; } }
.orgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.org { margin: 0; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(6,26,64,.6); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 14px; color: #d4e1f5; }
.org img { height: 96px; width: auto; }
@media (max-width: 639px) { .orgs { grid-template-columns: 1fr; } }

/* Registration */
.reg { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.fees { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fee { padding: 20px; border-radius: 14px; background: rgba(15,58,122,.55); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.fee span { font-size: 13px; color: var(--muted); }
.fee b { font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
.qr-card { padding: 24px; text-align: center; }
.qr-card h3 { margin: 0; font-size: 22px; font-weight: 600; }
.qr-card__sub { margin: 0 0 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.qr-card__img { display: block; width: 100%; max-width: 260px; margin: 0 auto; padding: 12px; background: #fff; border: 0; border-radius: 14px; cursor: zoom-in; transition: transform var(--t-med) var(--ease-out); }
.qr-card__img:hover { transform: scale(1.03); }
.qr-card__upi { margin: 14px 0 0; }
.qr-card__payee { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 899px) { .reg { grid-template-columns: 1fr; } }
@media (max-width: 399px) { .fees { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; }
.contact p { color: var(--muted); }
.contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ccard { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(15,58,122,.45); display: flex; flex-direction: column; color: var(--text); min-width: 0; transition: border-color var(--t-fast) ease, transform var(--t-med) var(--ease-out); }
.ccard:hover { border-color: var(--blue-300); transform: translateY(-2px); color: #fff; }
.ccard span { font-size: 12px; color: var(--muted); }
.ccard b { font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 767px) { .contact { grid-template-columns: 1fr; } }

.footer { padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* =========================================================
   QR MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; visibility: hidden; transition: visibility 0s linear 320ms; }
.modal.is-open { visibility: visible; transition: visibility 0s; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2,8,24,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity var(--t-med) var(--ease-out); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(100%, 400px); max-height: calc(100svh - 32px); overflow-y: auto;
  padding: 28px 24px 22px; border-radius: 20px; text-align: center;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  opacity: 0; transform: translate3d(0, 24px, 0) scale(.96);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__panel:focus { outline: none; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.05); cursor: pointer; transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast) ease; }
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { transform: rotate(90deg); background: rgba(124,196,255,.15); }
.modal h2 { margin: 0; font-size: 24px; }
.modal__sub { margin: 2px 0 16px; font-size: 13px; color: var(--muted); }
.modal__qr { width: 100%; max-width: 260px; margin: 0 auto; padding: 12px; background: #fff; border-radius: 14px; }
.upi-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 12px; }
.upi-row code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.06); }
.upi-app { display: none; }
.is-touch .upi-app { display: inline-flex; }
.modal__fees { list-style: none; padding: 0; margin: 16px 0 10px; display: grid; gap: 6px; text-align: left; font-size: 14px; }
.modal__fees li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.04); }
.modal__link { font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 200; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--navy-900); font-weight: 600; font-size: 14px; opacity: 0; transform: translate3d(-50%, 16px, 0); pointer-events: none; transition: opacity var(--t-fast) ease, transform var(--t-med) var(--ease-out); }
.toast.is-on { opacity: 1; transform: translate3d(-50%, 0, 0); }
@media (max-width: 479px) { .eyebrow { letter-spacing: .2em; font-size: 11px; } }

/* =========================================================
   v2 — brochure (Nov 2026) additions
   ========================================================= */
/* textured section background from brochure pages 2–4 */
.section--tex { background: var(--navy-950) url("../img/bg-texture.jpg") center / cover no-repeat; }
.section--tex::before { content: ""; position: absolute; inset: 0; background: rgba(3,15,39,.55); pointer-events: none; }
.section--tex > .container { position: relative; }
.section__title--center { justify-content: center; }
.section__title--center::after { display: none; }

/* nav: 8 links — tighten between 1024 and 1279 */
@media (min-width: 1024px) and (max-width: 1279px) {
  .topbar__inner { gap: 14px; }
  .nav__link { padding: 8px 9px; font-size: 13px; }
  .nav__link::after { left: 9px; right: 9px; }
  .topbar__actions .btn--cta span { display: none; }
  .topbar__actions .btn--cta { padding: 0; width: 44px; height: 44px; }
  .brand__sub { display: none; }
}

/* hero facts with brochure icons */
.fact { flex-direction: row; align-items: center; gap: 14px; }
.fact > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fact__ic { width: 40px; height: 40px; object-fit: contain; flex: none; }
.hero__orgs { margin-top: 40px; max-width: 760px; }
.hero__orgs-title { margin: 0 0 12px; font-size: 12px; letter-spacing: .38em; text-transform: uppercase; color: var(--blue-300); text-align: center; }
.hero__orgs-row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(6,26,64,.45); }
.hero__orgs-row figure { margin: 0; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 12.5px; line-height: 1.35; color: #d4e1f5; }
.hero__orgs-row figure + figure { border-left: 1px solid var(--line); }
.hero__orgs-row img { height: 64px; width: auto; }
@media (max-width: 559px) {
  .hero__orgs-row { grid-template-columns: 1fr; }
  .hero__orgs-row figure { flex-direction: row; text-align: left; }
  .hero__orgs-row figure + figure { border-left: 0; border-top: 1px solid var(--line); }
  .hero__orgs-row img { height: 48px; width: 40px; object-fit: contain; }
}

/* pillars with icons */
.pillar img { width: 44px; height: 44px; object-fit: contain; margin-bottom: 10px; }

/* themes with brochure illustrations */
.themes { counter-reset: none; }
.theme { padding: 22px 16px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.theme::before { display: none; }
.theme img { height: 62px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 479px) { .theme { flex-direction: row; text-align: left; } .theme img { width: 64px; height: 52px; flex: none; } }

/* important dates — pill style from brochure */
.dates { list-style: none; margin: 28px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 24px; }
.date { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 24px; border-radius: 999px; border: 1px solid rgba(124,196,255,.45); background: rgba(10,42,94,.45); }
.date:nth-child(even) { flex-direction: row-reverse; padding: 8px 24px 8px 8px; }
.date__what { font-size: 15px; line-height: 1.35; }
.date__pill { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 10px; border-radius: 999px; background: #fff; color: var(--navy-800); flex: none; }
.date__pill img { width: 32px; height: 32px; padding: 5px; border-radius: 50%; border: 1px solid #2a6bb0; background: #2a6bb0; }
.date__pill b { display: block; font-size: 16px; line-height: 1.15; }
.date__pill b sup { font-size: .55em; }
.date__pill small { display: block; font-size: 11px; color: #4b6185; }
.date--key { grid-column: 1 / -1; border-color: var(--blue-400); background: rgba(42,140,224,.22); }
.date--key .date__pill { background: var(--blue-500); color: #fff; }
.date--key .date__pill small { color: #dbeaff; }
.date--key .date__pill img { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); }
@media (max-width: 767px) { .dates { grid-template-columns: 1fr; } .date:nth-child(even) { flex-direction: row; padding: 8px 8px 8px 24px; } }
@media (max-width: 419px) {
  .date, .date:nth-child(even) { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 14px; gap: 10px; }
  .date__pill { border-radius: 14px; }
}

/* council: chair + vice chairs on one row */
.council__split { display: grid; grid-template-columns: 1fr 2fr; gap: 12px 24px; }
.council__group h3 { text-align: center; }
@media (max-width: 767px) { .council__split { grid-template-columns: 1fr; } }

/* organisers */
.orgx { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: center; padding: 28px 0; }
.orgx + .orgx { border-top: 1px solid var(--line); }
.orgx h3 { margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 500; color: var(--blue-300); }
.orgx p { margin: 0 0 12px; color: #d4e1f5; text-align: justify; hyphens: auto; }
.orgx__logo { padding: 28px; display: grid; place-items: center; }
.orgx__logo img { max-height: 180px; width: auto; }
@media (max-width: 767px) { .orgx { grid-template-columns: 1fr; } .orgx__logo { order: -1; max-width: 220px; } .orgx__logo img { max-height: 120px; } }

.reg__dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.reg__dl div { padding: 12px 16px; border-radius: 12px; border: 1px dashed rgba(124,196,255,.4); display: flex; flex-direction: column; }
.reg__dl span { font-size: 12px; color: var(--muted); }
.reg__dl b { font-weight: 600; font-size: 14px; }
@media (max-width: 479px) { .reg__dl { grid-template-columns: 1fr; } }

/* =========================================================
   SPONSORS
   ========================================================= */
.sponsors { overflow: hidden; isolation: isolate; }
.sponsors__bg { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(3,15,39,.2) 0%, rgba(3,15,39,.85) 28%, var(--navy-950) 55%), url("../img/sponsor-hero.jpg") top right / 100% auto no-repeat, var(--navy-950); }
@media (max-width: 767px) { .sponsors__bg { background-size: auto 520px, auto 520px, auto; background-position: top, 70% top, 0 0; } }

.sp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-bottom: 28px; }
.sp-head__brand { display: flex; flex-direction: column; gap: 6px; padding-left: 14px; border-left: 2px solid var(--blue-400); max-width: 380px; }
.sp-head__mark { font-weight: 800; font-size: clamp(44px, 6vw, 64px); line-height: .95; letter-spacing: -.03em; }
.sp-head__tag { font-size: 13px; color: #d4e1f5; }
.sp-head__title { padding-left: 24px; border-left: 1px solid var(--line); }
.sp-head__title h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 500; line-height: 1.05; }
.sp-head__title p { margin: 6px 0 0; color: #d4e1f5; }
@media (max-width: 559px) { .sp-head__title { padding-left: 0; border-left: 0; } }

.sp-stats { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.sp-stats li { display: flex; align-items: center; gap: 12px; padding: 6px 20px; font-size: 14px; line-height: 1.25; }
.sp-stats li + li { border-left: 1px solid var(--line); }
.sp-stats img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.sp-stats__n { display: block; font-weight: 700; font-size: 22px; }
.sp-stats__n:empty { display: none; }
@media (max-width: 767px) { .sp-stats { grid-template-columns: repeat(2, 1fr); row-gap: 12px; } .sp-stats li:nth-child(3) { border-left: 0; } .sp-stats li { padding: 6px 12px; } }

.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding-top: 30px; }
.tier { --head: none; --body: none; --c1: #2bd0ff; --c2: #0c4fa8; position: relative; display: flex; flex-direction: column; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); overflow: visible; color: #fff;
  background: var(--body), linear-gradient(180deg, var(--c1), var(--c2)); background-size: cover;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.tier::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(3,15,39,.5); pointer-events: none; }
.tier > * { position: relative; }
.tier:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px var(--c1); }
.tier__head { padding: 44px 12px 16px; text-align: center; border-radius: 14px 14px 0 0; background: var(--head), linear-gradient(160deg, var(--c1), var(--c2)); background-size: cover; background-position: top; }
.tier__head::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(3,15,39,.1), rgba(3,15,39,.35)); z-index: -1; }
.tier__gem { position: absolute; left: 50%; top: -34px; width: auto; height: 68px; transform: translateX(-50%); filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); transition: transform var(--t-med) var(--ease-out); }
.tier:hover .tier__gem { transform: translateX(-50%) translateY(-4px) rotate(-4deg); }
.tier h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.tier h3 small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .3em; }
.tier__alias { margin: 2px 0 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.tier__price { margin: 0; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.45); font-size: 22px; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.tier__list { list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 0; flex: 1; }
.tier__list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 12.5px; line-height: 1.3; }
.tier__list li + li { border-top: 1px solid rgba(255,255,255,.18); }
.tier__list img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.tier__list b { display: block; font-size: 13.5px; font-weight: 600; }
.tier__tag { margin: 0; padding: 12px; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.35; border-top: 1px solid rgba(255,255,255,.2); }
.tier--diamond  { --c1: #2fd2ff; --c2: #0a3d8f; --head: url("../img/sponsors/diamond-head.jpg"); --body: url("../img/sponsors/diamond-body.jpg"); }
.tier--diamond::before { background: rgba(3,15,39,.72); }
.tier--ruby     { --c1: #f6c04a; --c2: #8e2fa6; --head: url("../img/sponsors/ruby-head.jpg"); --body: url("../img/sponsors/ruby-body.jpg"); }
.tier--sapphire { --c1: #1b3f9e; --c2: #5f8ff0; --body: url("../img/sponsors/sapphire-body.jpg"); }
.tier--emerald  { --c1: #3fd27a; --c2: #0b3b2e; --head: url("../img/sponsors/emerald-head.jpg"); }
.tier--topaz    { --c1: #ffd45a; --c2: #f08a3a; --body: url("../img/sponsors/topaz-body.jpg"); }
.tier--topaz .tier__head, .tier--emerald .tier__head { text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (max-width: 1199px) { .tiers { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 52px; } }
@media (max-width: 767px)  { .tiers { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 519px)  { .tiers { grid-template-columns: 1fr; } }

.matrix__title { margin: 56px 0 16px; text-align: center; font-size: 16px; font-weight: 500; letter-spacing: .4em; text-transform: uppercase; color: var(--blue-300); }
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid rgba(255,255,255,.4); background: rgba(6,26,64,.55); }
.matrix-wrap:focus-visible { outline-offset: 2px; }
.matrix { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 13px; }
.matrix th, .matrix td { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.22); text-align: center; vertical-align: middle; }
.matrix td + td, .matrix th + th, .matrix th + td { border-left: 1px solid rgba(255,255,255,.22); }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix thead th { font-weight: 600; font-size: 13px; }
.matrix thead th:first-child { font-size: 15px; font-weight: 500; }
.matrix thead th img { display: inline-block; height: 26px; width: auto; vertical-align: middle; margin-right: 8px; }
.matrix thead th span { display: inline-block; vertical-align: middle; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.matrix thead th small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); text-transform: none; }
.matrix tbody th { text-align: left; font-weight: 500; font-size: 14px; white-space: nowrap; }
.matrix tbody th img { display: inline-block; width: 24px; height: 24px; object-fit: contain; vertical-align: middle; margin-right: 10px; }
.matrix tbody tr { transition: background-color var(--t-fast) ease; }
.matrix tbody tr:hover { background: rgba(124,196,255,.07); }
.matrix td:nth-child(2) { background: rgba(47,210,255,.06); }

.sp-cta { margin-top: 40px; padding: 28px; display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 28px; }
.sp-cta > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.sp-cta__big { margin: 0 0 10px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.sp-cta__big span { color: var(--blue-400); }
.sp-cta__pitch p:last-child { margin: 0; font-size: 14px; color: #d4e1f5; }
.sp-cta h3 { margin: 0 0 12px; font-size: 16px; font-weight: 500; }
.sp-cta__contact p { display: flex; gap: 12px; margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.sp-cta__contact img { width: 20px; height: 20px; object-fit: contain; margin-top: 4px; flex: none; }
.sp-cta__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sp-cta__logos figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 11px; line-height: 1.3; color: var(--muted); }
.sp-cta__logos img { height: 56px; width: auto; }
@media (max-width: 1023px) { .sp-cta { grid-template-columns: 1fr 1fr; } .sp-cta__orgs { grid-column: 1 / -1; padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid var(--line); padding-top: 20px; } }
@media (max-width: 599px)  { .sp-cta { grid-template-columns: 1fr; padding: 22px; } .sp-cta > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; } }

.footer__inner a { color: var(--muted); }
.footer__inner a:hover { color: #fff; }
.date__pill img { filter: brightness(0) invert(1); }
.tier--emerald .tier__head::after, .tier--topaz .tier__head::after { background: linear-gradient(180deg, rgba(3,15,39,.15), rgba(3,15,39,.5)); }
.sp-cta__logos img { height: 64px; }
.fact:first-child .fact__value { font-size: 13px; }
.matrix tbody th, .matrix thead th:first-child { position: sticky; left: 0; z-index: 1; background: #071d45; }
@media (max-width: 767px) { .matrix tbody th { white-space: normal; min-width: 150px; } }
.tier--emerald .tier__head::after { background: linear-gradient(180deg, rgba(3,15,39,.35), rgba(3,15,39,.6)); }
.tier--emerald .tier__alias, .tier--emerald h3 small { opacity: 1; }
