/* ==========================================================================
   51st All India Sociological Conference (AISC) 2026 — KIIT University
   --------------------------------------------------------------------------
   sections.css — Page-level compositions: hero, theme pillars, plenaries,
   challenges, heritage rail, Odisha & Bhubaneswar, updates, downloads.
   ========================================================================== */

:root {
  --motif-wheel:    url("../img/konark-wheel.svg");
  --motif-skyline:  url("../img/temple-skyline.svg");
  --icon-chevron:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B82' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* ==========================================================================
   1. HOMEPAGE HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-navy-900);
  color: #fff;
  padding-top: clamp(3.25rem, 2rem + 5vw, 6.5rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
}

/* Layered background: photograph + gradient wash + Konark wheel + skyline.
   The scrim is heavy enough that hero text keeps well above AA contrast
   regardless of how bright the photograph is. */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: .42;
  filter: saturate(.85);
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Scrim is weighted to the left, where the headline sits, and lightest on
     the right so the campus photograph stays legible. White hero text keeps
     well above 7:1 against every part of it. */
  background:
    linear-gradient(100deg, rgba(10, 27, 51, .88) 0%, rgba(11, 37, 69, .72) 42%, rgba(11, 37, 69, .48) 100%),
    linear-gradient(180deg, rgba(11, 37, 69, .30) 0%, rgba(11, 37, 69, .34) 55%, rgba(10, 27, 51, .88) 100%),
    radial-gradient(85% 100% at 8% 0%,   rgba(35, 103, 188, .34), transparent 55%),
    radial-gradient(70% 90%  at 92% 18%, rgba(184, 134, 43, .20), transparent 58%);
}
.hero__wheel {
  position: absolute;
  top: 50%;
  right: -12%;
  width: min(760px, 72vw);
  aspect-ratio: 1;
  transform: translateY(-52%);
  /* Kept faint so it reads as a watermark over the campus photograph rather
     than competing with it. */
  opacity: .07;
  background: var(--motif-wheel) center / contain no-repeat;
  animation: wheel-turn 190s linear infinite;
}
@keyframes wheel-turn { to { transform: translateY(-52%) rotate(360deg); } }

.hero__skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(90px, 14vw, 180px);
  opacity: .22;
  background: var(--motif-skyline) center bottom / cover no-repeat;
  filter: brightness(0) invert(1);
  mask-image: linear-gradient(180deg, transparent, #000 65%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 65%);
}

/* --- Hero content --- */
.hero__inner { position: relative; max-width: 1000px; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem .85rem;
  padding: .45rem 1rem .45rem .5rem;
  margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(6px);
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}
.hero__kicker b {
  background: var(--c-gold);
  color: #241A05;
  padding: .22rem .6rem;
  border-radius: var(--r-pill);
  font-weight: 800;
  letter-spacing: .08em;
}

.hero__title {
  font-size: var(--fs-hero);
  color: #fff;
  margin: 0 0 clamp(1rem, .7rem + 1vw, 1.5rem);
}
.hero__title span { display: block; }
.hero__title span:nth-child(2) { padding-left: clamp(0px, 3vw, 62px); }
.hero__title span:nth-child(3) { padding-left: clamp(0px, 6vw, 124px); color: var(--c-gold-200); }

.hero__theme {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, .95rem + 1.15vw, 1.95rem);
  line-height: 1.34;
  color: rgba(255, 255, 255, .92);
  max-width: 24ch;
  margin: 0 0 clamp(1.25rem, 1rem + 1vw, 1.9rem);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.1rem;
  margin: 0 0 clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem);
  font-size: .95rem;
  color: rgba(255, 255, 255, .8);
}
.hero__meta > span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta svg { width: 16px; height: 16px; color: var(--c-gold-200); }
.hero__meta .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .4); }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Glass fact panel anchored to the foot of the hero */
.hero__facts {
  position: relative;
  margin-top: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.hero__fact { background: rgba(11, 37, 69, .62); padding: 1.25rem 1.4rem; }
.hero__fact dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-gold-200);
  margin-bottom: .45rem;
}
.hero__fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.34;
}
.hero__fact dd small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, .62);
  margin-top: .2rem;
}

/* On a phone the headline overlays most of the photograph's width, so the
   scrim goes back to a straight vertical wash and the photo sits lower. */
@media (max-width: 760px) {
  .hero__photo { opacity: .34; }
  .hero__bg::before {
    background:
      linear-gradient(180deg, rgba(10, 27, 51, .74) 0%, rgba(11, 37, 69, .66) 45%, rgba(10, 27, 51, .93) 100%),
      radial-gradient(90% 60% at 10% 0%, rgba(35, 103, 188, .30), transparent 60%);
  }
}

@media (max-width: 620px) {
  .hero__title span:nth-child(2),
  .hero__title span:nth-child(3) { padding-left: 0; }
  .hero__wheel { right: -35%; opacity: .06; }
}

/* ==========================================================================
   2. THEME PILLARS — Culture / Region / Pedagogy
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.6vw, 2rem); }

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.35rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--pillar-accent, var(--c-blue-700));
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.pillar--culture  { --pillar-accent: var(--c-gold); }
.pillar--region   { --pillar-accent: var(--c-terra); }
.pillar--pedagogy { --pillar-accent: var(--c-blue-500); }

.pillar__num {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--pillar-accent);
  margin-bottom: var(--sp-4);
}
.pillar__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.25rem);
  font-weight: 600;
  color: var(--c-ink);
  margin: 0 0 var(--sp-4);
  line-height: 1.08;
}
.pillar p { font-size: .95rem; color: var(--c-muted); }
.pillar__list {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: var(--sp-5) 0 0;
  border-top: 1px solid var(--c-line);
}
.pillar__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .55rem;
  font-size: .9rem;
  color: var(--c-body);
}
.pillar__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  background: var(--pillar-accent);
  transform: rotate(45deg);
}

@media (max-width: 900px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* Vertical concept flow: Culture → Region → Pedagogy → … → The Future */
.flowchain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem .85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.flowchain li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--font-display);
  font-size: clamp(.95rem, .85rem + .45vw, 1.28rem);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--c-ink);
}
.flowchain li::after {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--c-gold);
  flex: none;
}
.flowchain li:last-child { color: var(--c-gold-ink); }
.flowchain li:last-child::after { display: none; }
.surface-navy .flowchain li { color: #fff; }
.surface-navy .flowchain li:last-child { color: var(--c-gold-200); }

/* ==========================================================================
   3. HERITAGE RAIL — AISC 1955 → 2026
   ========================================================================== */
.rail {
  position: relative;
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  padding: var(--sp-6) var(--sp-1) var(--sp-5);
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.rail::before {
  content: "";
  position: absolute;
  top: calc(var(--sp-6) + 11px);
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-line), var(--c-gold) 92%);
}
.rail__item {
  position: relative;
  flex: 0 0 auto;
  width: min(240px, 68vw);
  scroll-snap-align: start;
  padding-top: var(--sp-6);
}
.rail__dot {
  position: absolute;
  top: 16px; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-blue-300);
}
.rail__item--now .rail__dot { border-color: var(--c-gold); box-shadow: 0 0 0 5px rgba(184, 134, 43, .18); }
.rail__year {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1;
  margin-bottom: .35rem;
}
.rail__item--now .rail__year { color: var(--c-gold-ink); }
.rail__place {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-blue-700);
  margin-bottom: .45rem;
}
.rail__note { font-size: .875rem; color: var(--c-muted); margin: 0; line-height: 1.55; }

/* ==========================================================================
   4. PLENARIES
   ========================================================================== */
.plenary {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, .8rem + 2vw, 2.75rem);
  padding: clamp(1.6rem, 1.1rem + 1.8vw, 2.75rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.plenary:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--c-blue-100); }
.plenary::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--plenary-accent, var(--c-blue-700));
}
.plenary__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 2.2vw, 4rem);
  font-weight: 700;
  line-height: .9;
  color: var(--plenary-accent, var(--c-blue-700));
  opacity: .28;
  transition: opacity var(--t-med);
}
.plenary:hover .plenary__num { opacity: .6; }
.plenary__body { min-width: 0; }
.plenary__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .5rem;
}
.plenary__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.72rem);
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.2;
  margin: 0 0 var(--sp-3);
}
.plenary__honour {
  display: inline-block;
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--c-gold-ink);
  background: var(--c-gold-50);
  border-radius: var(--r-sm);
  padding: .35rem .75rem;
  margin-bottom: var(--sp-4);
}
.plenary p { font-size: .95rem; color: var(--c-muted); }

/* Plenary 4 — Odisha gets a distinct regional identity */
.plenary--odisha {
  --plenary-accent: var(--c-terra);
  background:
    linear-gradient(180deg, var(--c-terra-50), #fff 55%);
  border-color: #EFD9D1;
}
.plenary--odisha::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -60px;
  width: 210px; height: 210px;
  opacity: .07;
  background: var(--motif-wheel) center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(26%) sepia(52%) saturate(1200%) hue-rotate(340deg);
  pointer-events: none;
}
.plenary--odisha .plenary__honour { background: #F6E3DC; color: var(--c-terra-ink); }

@media (max-width: 620px) {
  .plenary { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
}

/* ==========================================================================
   5. "WHOSE KNOWLEDGE COUNTS?" — decolonisation feature
   ========================================================================== */
.knowledge {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-ink);
  color: rgba(255, 255, 255, .8);
}
.knowledge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 90% at 85% 15%, rgba(168, 69, 43, .35), transparent 60%),
    radial-gradient(80% 90% at 5% 90%, rgba(35, 103, 188, .35), transparent 62%);
}
.knowledge__q {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.3rem + 4vw, 4.4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.028em;
  color: #fff;
  margin: 0 0 var(--sp-5);
}
.knowledge__q em { font-style: italic; color: var(--c-gold-200); }

/* Two-column "from → toward" comparison */
.shift {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, .6rem + 1.4vw, 1.75rem);
}
.shift__col {
  padding: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .045);
}
.shift__col h3 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-gold-200);
  margin-bottom: var(--sp-4);
}
.shift__col ul { list-style: none; margin: 0; padding: 0; }
.shift__col li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .75rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .78);
}
.shift__col li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 8px; height: 1.5px;
  background: var(--c-gold-200);
}
.shift__col--toward { background: rgba(233, 212, 155, .09); border-color: rgba(233, 212, 155, .3); }

/* ==========================================================================
   6. THINKER CARDS — Old Roots and New Routes
   ========================================================================== */
.thinker {
  position: relative;
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  border-top: 3px solid var(--c-gold);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.thinker:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.thinker__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 650;
  color: var(--c-ink);
  margin: 0 0 .3rem;
  line-height: 1.2;
}
.thinker__tag {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gold-ink);
  margin-bottom: var(--sp-4);
}
.thinker p { font-size: .925rem; color: var(--c-muted); margin: 0; }
.thinker__work {
  display: block;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--c-blue-700);
}

/* ==========================================================================
   7. ODISHA & BHUBANESWAR
   ========================================================================== */
.odisha {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(160deg, #7C2F1C 0%, #A8452B 45%, #8A3720 100%);
  color: rgba(255, 255, 255, .84);
}
.odisha::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .1;
  background: var(--motif-wheel) 115% 50% / 620px no-repeat;
}
.odisha h2, .odisha h3, .odisha h4 { color: #fff; }
.odisha .eyebrow { color: #F4DCC9; }
.odisha .eyebrow::before { background: #F4DCC9; }
.odisha .lede { color: rgba(255, 255, 255, .78); }

.odisha-facet {
  padding: clamp(1.2rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(3px);
  transition: background var(--t-med), transform var(--t-med);
}
.odisha-facet:hover { background: rgba(255, 255, 255, .13); transform: translateY(-4px); }
.odisha-facet__icon { width: 26px; height: 26px; color: #F4DCC9; margin-bottom: var(--sp-3); }
.odisha-facet h4 { font-size: 1rem; margin-bottom: .45rem; }
.odisha-facet p { font-size: .9rem; color: rgba(255, 255, 255, .75); margin: 0; }

/* Place card — Bhubaneswar / Odisha attractions */
.place {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.place:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.place .imgph { border: 0; border-radius: 0; }

/* Photographic media slot inside a place card */
.place__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-blue-50);
  line-height: 0;
}
.place__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  display: block;
  transform: scale(1.01);
  transition: transform .8s var(--ease);
}
.place:hover .place__media img { transform: scale(1.07); }
.place__body { padding: clamp(1.1rem, .9rem + .8vw, 1.5rem); display: flex; flex-direction: column; flex: 1; }
.place__cat {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-terra-ink);
  background: var(--c-terra-50);
  border-radius: var(--r-sm);
  padding: .22rem .55rem;
  margin-bottom: .7rem;
}
.place__name { font-family: var(--font-display); font-size: 1.16rem; font-weight: 650; color: var(--c-ink); margin: 0 0 .5rem; line-height: 1.24; }
.place p { font-size: .9rem; color: var(--c-muted); margin: 0; }
.place__dist {
  margin-top: auto;
  padding-top: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-blue-700);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.place__dist svg { width: 13px; height: 13px; }

/* ==========================================================================
   7b. REAL PHOTOGRAPHY
   Every photograph is a freely-licensed Wikimedia Commons file; credit is
   carried in the figure so attribution travels with the image.
   ========================================================================== */
.photo {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-mist);
  border: 1px solid var(--c-line);
}
.photo__frame {
  position: relative;
  display: block;
  aspect-ratio: var(--ratio, 4 / 3);
  overflow: hidden;
  background: var(--c-blue-50);
}
.photo__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  display: block;
}
.photo figcaption {
  padding: .7rem 1rem;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--c-muted);
  background: #fff;
  border-top: 1px solid var(--c-line);
}
.photo--wide   { --ratio: 16 / 9; }
.photo--square { --ratio: 1 / 1; }
.photo--tall   { --ratio: 3 / 4; }
.photo--bare   { border: 0; border-radius: 0; background: none; }

/* Small inline credit line */
.credit {
  display: block;
  margin-top: .25rem;
  font-size: 11px;
  color: var(--c-muted);
  opacity: .85;
}
.credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   7c. DESTINATION CARDS — Places to Visit
   ========================================================================== */
.destgrid {
  display: grid;
  /* 240px min yields 4 across at desktop (1120px of content), 3 at ~1024,
     2 on tablet and 1 on phones — so a four-card set never leaves an orphan. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1rem, .6rem + 1.4vw, 1.75rem);
}

.dest {
  position: relative;
  display: block;
  isolation: isolate;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--c-navy-900);
  aspect-ratio: 4 / 5;
  box-shadow: var(--sh-1);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.dest:hover,
.dest:focus-visible { transform: translateY(-6px); box-shadow: var(--sh-3); color: #fff; }

.dest__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  transform: scale(1.02);
  transition: transform .9s var(--ease);
}
.dest:hover .dest__img,
.dest:focus-visible .dest__img { transform: scale(1.1); }

/* Gradient scrim so the type stays legible over any photograph */
.dest::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(8, 20, 38, .05) 0%,
    rgba(8, 20, 38, .30) 42%,
    rgba(8, 20, 38, .80) 78%,
    rgba(8, 20, 38, .93) 100%
  );
}

/* The card is an <a>, so its parts are spans — they must be made block-level
   explicitly or the kicker, name, description and CTA run together inline. */
.dest__body {
  display: block;
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.1rem, .9rem + .8vw, 1.6rem);
}
.dest__name,
.dest__desc { display: block; }
.dest__kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-gold-200);
  margin-bottom: .45rem;
}
.dest__name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .35rem;
  color: #fff;
}
.dest__desc {
  font-size: .875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
  margin: 0;
}
.dest__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .85rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-gold-200);
}
.dest__cta svg { width: 13px; height: 13px; transition: transform var(--t-fast); }
.dest:hover .dest__cta svg { transform: translateX(4px); }

@media (max-width: 620px) {
  .dest { aspect-ratio: 3 / 2; }
}

/* ==========================================================================
   7d. PAYMENT / SCAN & PAY
   The QR is the supplied Canara Bank graphic. It is never cropped, recoloured
   or re-encoded lossily — only scaled — so it stays scannable.
   ========================================================================== */
.paygrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  align-items: start;
}

.paycard {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.1rem, .9rem + .8vw, 1.5rem);
  box-shadow: var(--sh-2);
  text-align: center;
}
.paycard__title {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-gold-ink);
  margin: 0 0 var(--sp-4);
}
.paycard__qr {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;            /* preserves the graphic's 3:5 aspect exactly */
  margin: 0 auto;
  border-radius: var(--r-md);
  /* Keep QR edges hard when the browser scales the bitmap down */
  image-rendering: -webkit-optimize-contrast;
}
.paycard__upi {
  margin: var(--sp-4) 0 0;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.paycard__upi code {
  display: inline-block;
  margin-top: .3rem;
  padding: .3rem .6rem;
  background: var(--c-mist);
  border-radius: var(--r-sm);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8125rem;
  color: var(--c-ink);
  word-break: break-all;
}

@media (max-width: 860px) {
  .paygrid { grid-template-columns: minmax(0, 1fr); }
  .paycard { max-width: 420px; margin-inline: auto; }
}

/* ==========================================================================
   7e. MEMORIAL LECTURES
   ========================================================================== */
.memorial {
  position: relative;
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  border-top: 3px solid var(--c-gold);
  text-align: center;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.memorial:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.memorial__icon {
  width: 44px; height: 44px;
  margin: 0 auto var(--sp-4);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-gold-50);
  color: var(--c-gold-ink);
}
.memorial__icon svg { width: 20px; height: 20px; }
.memorial__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--c-ink);
  line-height: 1.24;
  margin: 0 0 .4rem;
}
.memorial__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ==========================================================================
   7f. CAMPUS FEATURE MOSAIC — one large image plus supporting frames
   ========================================================================== */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.65rem, .4rem + .8vw, 1rem);
}
.mosaic__tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-blue-50);
  margin: 0;
}
.mosaic__tile--lead { grid-column: span 3; aspect-ratio: 21 / 9; }
.mosaic__tile:not(.mosaic__tile--lead) { aspect-ratio: 4 / 3; }
.mosaic__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .9s var(--ease);
}
.mosaic__tile:hover img { transform: scale(1.06); }
.mosaic__tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem .9rem .7rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(8, 20, 38, .82));
}

@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic__tile--lead { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (max-width: 460px) {
  .mosaic { grid-template-columns: minmax(0, 1fr); }
  .mosaic__tile--lead { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   7g. CAMPUS GALLERY + LIGHTBOX
   ========================================================================== */
.gallery {
  display: grid;
  /* 4 across on desktop, 3 at ~1024, 2 on tablet, 1–2 on phones */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(.65rem, .4rem + .8vw, 1rem);
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-blue-50);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  isolation: isolate;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .8s var(--ease);
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.08); }

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 20, 38, .72));
  opacity: 0;
  transition: opacity var(--t-med);
}
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; }

.gallery__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.2rem .8rem .7rem;
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: .03em;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-med), transform var(--t-med);
}
.gallery__item:hover .gallery__label,
.gallery__item:focus-visible .gallery__label { opacity: 1; transform: none; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-skip);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(6, 14, 28, .94);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: clamp(.75rem, .5rem + 1vw, 1.25rem) var(--gutter);
  color: rgba(255, 255, 255, .8);
  font-size: var(--fs-sm);
}
.lightbox__count { font-variant-numeric: tabular-nums; letter-spacing: .1em; }

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 clamp(.5rem, .3rem + 2vw, 3.5rem);
  min-height: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}

.lightbox__caption {
  padding: clamp(.75rem, .5rem + 1vw, 1.25rem) var(--gutter);
  text-align: center;
  color: rgba(255, 255, 255, .78);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.lightbox__btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.lightbox__btn svg { width: 18px; height: 18px; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.lightbox__nav--prev { left: clamp(.35rem, .2rem + 1vw, 1.25rem); }
.lightbox__nav--next { right: clamp(.35rem, .2rem + 1vw, 1.25rem); }

@media (max-width: 520px) {
  .lightbox__nav { top: auto; bottom: .5rem; transform: none; }
  .lightbox__nav--prev { left: 25%; }
  .lightbox__nav--next { right: 25%; }
  .lightbox__caption { padding-bottom: 4.25rem; }
}

/* ==========================================================================
   8. 2025 → 2026 TRANSITION
   ========================================================================== */
.transition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1rem, .6rem + 1.4vw, 2rem);
}
.transition__panel {
  padding: clamp(1.35rem, 1.1rem + 1.2vw, 2.1rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  background: #fff;
}
.transition__panel--past { background: var(--c-mist); border-style: dashed; }
.transition__panel--now  { border-color: var(--c-blue-100); box-shadow: var(--sh-2); border-top: 3px solid var(--c-gold); }
.transition__ordinal {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--c-ink);
  margin-bottom: .3rem;
}
.transition__panel--past .transition__ordinal { color: var(--c-muted); }
.transition__year {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-gold-ink);
  margin-bottom: var(--sp-4);
}
.transition__panel--past .transition__year { color: var(--c-muted); }
.transition__theme {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--c-ink);
  margin: 0 0 var(--sp-4);
}
.transition__host { font-size: .875rem; color: var(--c-muted); margin: 0; }
.transition__arrow {
  display: grid;
  place-items: center;
  color: var(--c-gold);
}
.transition__arrow svg { width: 34px; height: 34px; }

@media (max-width: 860px) {
  .transition { grid-template-columns: minmax(0, 1fr); }
  .transition__arrow svg { transform: rotate(90deg); }
}

/* ==========================================================================
   9. LATEST UPDATES
   ========================================================================== */
.updates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.update {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-5);
  padding: 1.35rem .25rem;
  border-bottom: 1px solid var(--c-line);
  margin: 0;
  transition: background var(--t-fast);
}
.update:hover { background: var(--c-blue-50); }
.update__date {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.update__title { font-family: var(--font-body); font-size: 1.02rem; font-weight: 650; color: var(--c-ink); margin: 0 0 .2rem; }
.update__desc { font-size: .9rem; color: var(--c-muted); margin: 0; }

@media (max-width: 760px) {
  .update { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
}

/* ==========================================================================
   10. DOWNLOADS
   ========================================================================== */
.download {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: clamp(1rem, .85rem + .6vw, 1.35rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.download:hover { border-color: var(--c-blue-100); box-shadow: var(--sh-1); }
.download__icon {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--c-mist);
  color: var(--c-muted);
}
.download__icon svg { width: 19px; height: 19px; }
.download__body { flex: 1; min-width: 0; }
.download__name { font-size: .975rem; font-weight: 650; color: var(--c-ink); margin: 0 0 .15rem; }
.download__meta { font-size: var(--fs-xs); color: var(--c-muted); margin: 0; }

/* ==========================================================================
   11. VENUE / MAP
   ========================================================================== */
.map-frame {
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-mist);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: clamp(300px, 42vw, 430px); border: 0; display: block; }

.travel-mode {
  display: flex;
  gap: var(--sp-4);
  padding: clamp(1.1rem, .9rem + .8vw, 1.5rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.travel-mode__icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-blue-50);
  color: var(--c-blue-700);
}
.travel-mode__icon svg { width: 19px; height: 19px; }
.travel-mode h4 { font-size: .975rem; margin-bottom: .3rem; }
.travel-mode p { font-size: .9rem; color: var(--c-muted); margin: 0; }

/* ==========================================================================
   12. SUB-THEME / RESEARCH AREA CHIPS
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.chips li {
  margin: 0;
  padding: .6rem 1.1rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 550;
  color: var(--c-body);
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.chips li:hover { border-color: var(--c-gold); color: var(--c-ink); transform: translateY(-2px); }

/* ==========================================================================
   13. NUMBERED PROCESS STEPS
   ========================================================================== */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 4rem;
  margin: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-blue-700);
  color: #fff;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
}
.steps h4 { margin-bottom: .35rem; padding-top: .55rem; }
.steps p { font-size: .95rem; color: var(--c-muted); margin: 0; }

/* ==========================================================================
   14. CONTACT CARDS
   ========================================================================== */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: clamp(1.3rem, 1.1rem + .9vw, 1.85rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  height: 100%;
}
.contact-card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--c-blue-50);
  color: var(--c-blue-700);
}
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-family: var(--font-body); font-size: 1rem; margin: 0; }
.contact-card p { font-size: .925rem; color: var(--c-muted); margin: 0; }
.contact-card a { font-weight: 600; word-break: break-word; }
