﻿:root {
  --page-padding: 24px;
  --radius-large: 24px;
  --pill-radius: 12px;
  --nav-color: #2e5d89;
  --pill-bg: #ffffff;
  --header-top: 48px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Geom", Arial, sans-serif;
  background: #eaeded;
}

body {
  min-height: 100vh;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  padding: var(--page-padding);
  background: #eaeded;
  overflow-x: clip; /* safety net: nothing (e.g. the highlights marquee) can widen the page */
}

.hero {
  position: relative; /* header is positioned 48px from the top of THIS image */
  width: 100%;
  /* space reserved above the content (header) and below it (overlapping card) */
  --hero-space-top: 172px;
  --hero-space-bottom: 228px;
  /* fit the viewport exactly so all four rounded corners stay visible */
  min-height: calc(100vh - (var(--page-padding) * 2));
  min-height: calc(100svh - (var(--page-padding) * 2));
  padding: var(--hero-space-top) 0 var(--hero-space-bottom);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-large);
  /* original hero image (restore for production): url("images/new hero.jpg") */
  background-image: url("images/Golden-Hour Park and Skyline Reflections 1 (4).jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* animated background layer: lets the image "settle" (zoom-out) on load
   without scaling the header or hero content that sit above it */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* original hero image (restore for production): url("images/new hero.jpg") */
  background-image: url("images/Golden-Hour Park and Skyline Reflections 1 (4).jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center;
  pointer-events: none;
}

/* ============================================================
   HERO CONTENT (title, subtitle, action buttons)
   ============================================================ */
.hero-content {
  position: relative;
  z-index: 5;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;

  width: min(960px, calc(100% - 48px));
  text-align: center;
}

.hero-logo {
  width: 140px;
  height: auto;
}

.hero-title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.9vw, 26px);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 6px;
}

/* hero CTA uses a white button (scoped to the hero only) */
.hero-actions .btn-primary {
  background: #ffffff;
  color: #16233f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* ============================================================
   HERO ENTRANCE (on page load)
   - background image settles (zoom-out) into place
   - logo / title / subtitle / button rise + fade in, staggered
   (header is intentionally excluded; it never animates)
   ============================================================ */
@keyframes hero-settle {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    animation: hero-settle 1.8s cubic-bezier(0.23, 1, 0.32, 1) both;
  }

  .hero-logo,
  .hero-title,
  .hero-subtitle,
  .hero-actions {
    animation: hero-reveal 1.1s cubic-bezier(0.23, 1, 0.32, 1) both;
  }
  .hero-logo {
    animation-delay: 0.15s;
  }
  .hero-title {
    animation-delay: 0.35s;
  }
  .hero-subtitle {
    animation-delay: 0.5s;
  }
  .hero-actions {
    animation-delay: 0.65s;
  }
}

/* HERO LAYOUT — DESKTOP ONLY (temporary / test):
   see the "HERO LAYOUT — DESKTOP ONLY" block at the END of this file.
   It lives there so it overrides the base header rules (.site-header,
   .nav-group, .logo-section) that are defined later in the cascade. */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background: #16233f;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 35, 63, 0.25);
}

.btn-secondary {
  background: #ffffff;
  color: #16233f;
  box-shadow: 0 10px 24px rgba(34, 39, 47, 0.12);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow {
  transform: translateX(4px);
}

.hero-card {
  position: relative;
  z-index: 6;
  width: min(1180px, calc(100% - 96px));
  margin: -200px auto 0; /* pulls the card up over the hero's lower edge */
  aspect-ratio: 1672 / 941; /* matches the wide highlight images */
  background: #f2efe6;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(34, 39, 47, 0.12);
  overflow: hidden;
}

/* ---- key highlights carousel ---- */
.hc-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hc-track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.hc-slide {
  flex: 0 0 100%;
  height: 100%;
}
.hc-slide picture,
.hc-slide img {
  display: block;
  width: 100%;
  height: 100%;
}
.hc-slide img {
  object-fit: cover;
  user-select: none;
}

.hc-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--nav-color);
  box-shadow: 0 6px 18px rgba(34, 39, 47, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.hc-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.06);
}
.hc-arrow:focus-visible {
  outline: 3px solid var(--nav-color);
  outline-offset: 2px;
}
.hc-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hc-arrow--prev {
  left: 20px;
}
.hc-arrow--next {
  right: 20px;
}

.hc-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 39, 47, 0.28);
  transform: translateX(-50%);
}
.hc-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.hc-dot[aria-selected="true"] {
  width: 22px;
  background: #ffffff;
}

/* ============================================================
   KEY HIGHLIGHTS MARQUEE  (dark strip under the hero)
   ============================================================ */
.kh-marquee {
  display: flex;
  align-items: stretch;
  margin-top: var(--page-padding);
  border-radius: var(--radius-large);
  overflow: hidden;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    #001f3f;
  box-shadow: 0 20px 50px rgba(0, 31, 63, 0.12);
}

.kh-marquee__label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0 32px;
  background: transparent; /* match the dark navy of the rest of the strip */
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
}
.kh-marquee__label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fc9e8;
  box-shadow: 0 0 0 4px rgba(143, 201, 232, 0.25);
}

.kh-marquee__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 30px 0;
  /* soft fade at both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}

.kh-marquee__track {
  display: flex;
  width: max-content;
  animation: kh-marquee-scroll 60s linear infinite;
}
.kh-marquee:hover .kh-marquee__track,
.kh-marquee:focus-within .kh-marquee__track {
  animation-play-state: paused;
}

.kh-marquee__group {
  flex: 0 0 auto;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kh-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding-left: 32px;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 120%;
  white-space: nowrap;
  color: #f8fbfb;
}
/* each title links to its card in the Key Highlights section */
.kh-marquee__link {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}
.kh-marquee__link:hover,
.kh-marquee__link:focus-visible {
  color: #8fc9e8;
  text-decoration: underline;
}
.kh-marquee__link:focus-visible {
  outline: 2px solid #8fc9e8;
  outline-offset: 4px;
  border-radius: 4px;
}

/* diamond separator after every title (incl. the last, so the loop joins seamlessly) */
.kh-marquee__item::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: #8fc9e8;
  transform: rotate(45deg);
}

/* the track holds two identical groups; moving it by half loops seamlessly */
@keyframes kh-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* phones: full-bleed strip (cancels .page-shell's side padding), label above the titles */
@media (max-width: 600px) {
  .kh-marquee {
    flex-direction: column;
    width: calc(100% + 2 * var(--page-padding));
    margin-top: 40px; /* more breathing room below the hero image */
    margin-left: calc(-1 * var(--page-padding));
    margin-right: calc(-1 * var(--page-padding));
    border-radius: 0;
    box-shadow: none;
  }
  .kh-marquee__label {
    padding: 14px 20px;
    font-size: 12px;
  }
  .kh-marquee__viewport {
    padding: 20px 0;
  }
  .kh-marquee__item {
    gap: 24px;
    padding-left: 24px;
    font-size: 16px;
  }
  .kh-marquee__track {
    animation-duration: 48s;
  }
}

/* reduced motion: no movement and no scrollbar; titles wrap onto lines instead */
@media (prefers-reduced-motion: reduce) {
  .kh-marquee__viewport {
    padding-right: 24px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .kh-marquee__track {
    width: auto;
    animation: none;
  }
  .kh-marquee__group {
    flex: 1 1 auto;
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .kh-marquee__group[aria-hidden="true"] {
    display: none;
  }
  .kh-marquee__item {
    white-space: normal;
  }
}

/* clickable slide (opens a dialog) */
.hc-slide__link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hc-slide__link:focus-visible {
  outline: 3px solid var(--nav-color);
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .hc-track {
    transition: none;
  }
}

/* ============================================================
   ABOUT THE CONFERENCE
   (layout is custom/responsive; only colors + type come from spec)
   ============================================================ */
.about {
  max-width: 1440px;
  margin: clamp(96px, 13vw, 190px) auto clamp(128px, 18vw, 240px); /* space above (gap to hero), space below (to venue) */
  padding: 0 24px;

  display: flex;
  align-items: flex-start;
  gap: clamp(48px, 8vw, 166px);
}

.about__left {
  flex: 1 1 420px;
  max-width: 475px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about__heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 111%;
  color: #001f3f;
}

.about__subtitle {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 135%;
  color: #001927;
}

.about__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #ffffff;
  box-shadow: 0px 4px 4px #e2e8e8;
  border-radius: 100px;

  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #0a4758;
}

.about__cta {
  display: inline-flex;
  align-self: flex-start; /* hug content instead of stretching */
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #001f3f;
  border-radius: 500px;
  text-decoration: none;

  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #e9dfd6;
  transition: transform 0.2s ease;
}

.about__cta:hover,
.about__cta:focus-visible {
  transform: translateY(-2px);
}

.about__cta-arrow {
  transition: transform 0.2s ease;
}
.about__cta:hover .about__cta-arrow,
.about__cta:focus-visible .about__cta-arrow {
  transform: translateX(4px);
}

.about__right {
  flex: 1 1 560px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__body {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 152%;
  color: #00152a;
}

.about__body strong {
  font-weight: 600;
}

/* ============================================================
   DATES & VENUE
   (layout is custom/responsive; only colors + type come from spec)
   ============================================================ */
.venue {
  max-width: 1440px;
  margin: 0 auto clamp(128px, 18vw, 240px); /* 2x gap to the patron section */
  padding: 0 24px;

  display: flex;
  flex-direction: column;
  gap: 48px;
}

.venue__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 48px;
}

/* --- the four info cards: date / photo / location / map --- */
.venue-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 388px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 12px;
  overflow: hidden;
}

.venue-card--date {
  background: linear-gradient(180deg, #0a4758 0%, #005e92 100%);
}
.venue-card--loc {
  background: linear-gradient(180deg, #005e92 0%, #0a4758 100%);
}

.venue-card__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.venue-card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
}
.venue-card__icon svg {
  width: 100%;
  height: 100%;
}

.venue-card__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 24px);
  line-height: 125%;
  color: #ffffff;
}

.venue-card__sub {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 120%;
  color: #ffffff;
}

.venue-card__link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 12px;
  text-decoration: none;

  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  color: #ffffff;
}
.venue-card__arrow {
  transition: transform 0.2s ease;
}
.venue-card__link:hover .venue-card__arrow,
.venue-card__link:focus-visible .venue-card__arrow {
  transform: translateX(4px);
}

/* --- photo + map cards (image backgrounds with an internal zoom) --- */
.venue-card--photo,
.venue-card--map {
  padding: 0;
}
.venue-card--photo::before,
.venue-card--map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}
.venue-card--photo::before {
  background-image: url("images/respark_iitkgp.jpg");
}
.venue-card--map::before {
  background-image: url("images/respark_map.jpg");
}
/* subtle zoom-in on hover (desktop pointer only) */
.venue-card--photo:hover::before,
.venue-card--map:hover::before {
  transform: scale(1.06);
}

/* whole map card is a button that opens the map modal */
.venue-card__maptrigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 31, 63, 0) 55%,
    rgba(0, 31, 63, 0.45) 100%
  );
  cursor: pointer;
  transition: background 0.25s ease;
}
.venue-card__maptrigger:hover,
.venue-card__maptrigger:focus-visible {
  background: linear-gradient(
    180deg,
    rgba(0, 31, 63, 0.1) 0%,
    rgba(0, 31, 63, 0.55) 100%
  );
  outline: none;
}
.venue-card__maphint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 500px;
  background: #ffffff;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #001f3f;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* map modal embed */
.map-embed {
  position: relative;
  width: 100%;
  height: min(60vh, 520px);
  border-radius: 12px;
  overflow: hidden;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   SCROLL-IN "GATHER → SPREAD" for the four cards
   Cards start fanned/overlapping near the centre, then spread
   into their row as the section scrolls into view.
   Desktop only — on tablet/phone the cards just sit in their grid.
   ============================================================ */
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .venue__cards .venue-card {
    transform: translateX(var(--vgx, 0)) translateY(var(--vgy, 0))
      rotate(var(--vgr, 0)) scale(var(--vgs, 1));
    transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    backface-visibility: hidden;
  }
  .venue__cards .venue-card:nth-child(1) {
    --vgx: 172%;
    --vgy: 26px;
    --vgr: -8deg;
    --vgs: 0.9;
    z-index: 4;
  }
  .venue__cards .venue-card:nth-child(2) {
    --vgx: 57%;
    --vgy: -12px;
    --vgr: -3deg;
    --vgs: 0.92;
    z-index: 3;
  }
  .venue__cards .venue-card:nth-child(3) {
    --vgx: -57%;
    --vgy: -12px;
    --vgr: 3deg;
    --vgs: 0.92;
    z-index: 2;
  }
  .venue__cards .venue-card:nth-child(4) {
    --vgx: -172%;
    --vgy: 26px;
    --vgr: 8deg;
    --vgs: 0.9;
    z-index: 1;
  }

  /* opened: every card eases to its natural grid position */
  .venue__cards.is-open .venue-card {
    transform: none;
  }
  .venue__cards.is-open .venue-card:nth-child(1) {
    transition-delay: 0s;
  }
  .venue__cards.is-open .venue-card:nth-child(2) {
    transition-delay: 0.06s;
  }
  .venue__cards.is-open .venue-card:nth-child(3) {
    transition-delay: 0.12s;
  }
  .venue__cards.is-open .venue-card:nth-child(4) {
    transition-delay: 0.18s;
  }
}

/* --- outline button variant (used in patron section) --- */
.btn-outline {
  background: #ffffff;
  border: 1px solid #d5d8db;
  color: #001f3f;
}

/* ============================================================
   MESSAGE FROM THE PATRON  (full-bleed)
   (layout is custom/responsive; only colors + type come from spec)
   ============================================================ */
.patron {
  /* break out of the page-shell padding to span full width */
  margin-left: calc(-1 * var(--page-padding));
  margin-right: calc(-1 * var(--page-padding));
  padding: clamp(96px, 15vw, 220px) clamp(24px, 6vw, 120px);

  background: linear-gradient(0deg, rgba(0, 10, 20, 0.92), rgba(0, 10, 20, 0.92)),
    url("images/iit_kgp.JPG");
  background-size: cover;
  background-position: center;
}

.patron__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(48px, 8vw, 166px);
}

.patron__text {
  flex: 1 1 560px;
  min-width: 0;
  max-width: 799px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.patron__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 111%;
  color: #e9dfd6;
}

.patron__body {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.patron__body p {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 152%;
  color: #e9dfd6;
}

.patron__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* right: portrait with frosted caption */
.patron__photo {
  position: relative;
  flex: 0 0 auto;
  width: min(489px, 100%);
  aspect-ratio: 489 / 620;
  margin: 0;
  border-radius: 24px;
  background: url("images/Prof. Suman Chakraborty.jpg") center / cover no-repeat;
  overflow: hidden;
}

.patron__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;

  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;

  background: linear-gradient(
    90deg,
    rgba(5, 18, 37, 0.75) 0%,
    rgba(19, 60, 114, 0.7125) 100%
  );
  -webkit-backdrop-filter: blur(6.4px);
  backdrop-filter: blur(6.4px);
  border-radius: 12px;
}

.patron__name {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 111%;
  color: #ffffff;
}

.patron__role {
  font-family: "Geom", Arial, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 111%;
  color: #ffffff;
}

/* ============================================================
   MESSAGE FROM THE CONVENOR
   (photo left + message right; colors/type from Figma spec)
   ============================================================ */
.convenor {
  max-width: 1440px;
  margin: clamp(96px, 14vw, 200px) auto;
  padding: 0 24px;
}

.convenor__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(48px, 8vw, 166px);
}

/* left: portrait with frosted caption */
.convenor__photo {
  position: relative;
  flex: 0 0 auto;
  width: min(350px, 100%);
  aspect-ratio: 350.19 / 444;
  margin: 0;
  border-radius: 17px;
  background: url("images/Debapratim_pandit.jpg") center / cover no-repeat;
  overflow: hidden;
}

.convenor__caption {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 17px;

  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 17px;

  background: linear-gradient(
    90deg,
    rgba(5, 18, 37, 0.75) 0%,
    rgba(19, 60, 114, 0.7125) 100%
  );
  -webkit-backdrop-filter: blur(4.6px);
  backdrop-filter: blur(4.6px);
  border-radius: 9px;
}

.convenor__name {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 111%;
  color: #ffffff;
}

.convenor__role {
  font-family: "Geom", Arial, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(12px, 1vw, 13px);
  line-height: 128%;
  color: #ffffff;
}

/* right: heading + message */
.convenor__text {
  flex: 1 1 560px;
  min-width: 0;
  max-width: 944px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.convenor__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 111%;
  color: #051220;
}

.convenor__body {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.convenor__body p {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 152%;
  color: #0a4758;
}

/* tablet & down: stack photo above message */
@media (max-width: 1024px) {
  .convenor__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }
  .convenor__photo {
    width: 100%;
    max-width: 350px;
    align-self: center;
  }
  .convenor__text {
    flex: 0 0 auto; /* the 560px basis would become a min height when stacked */
    max-width: none;
  }
}

@media (max-width: 600px) {
  .convenor__title {
    font-size: 26px;
  }
  .convenor__body p {
    font-size: 15px;
  }
}

/* ============================================================
   CONFERENCE THEMES  (right-to-left marquee of track cards)
   (layout is custom/responsive; only colors + type come from spec)
   ============================================================ */
.themes {
  margin: clamp(144px, 20vw, 280px) 0 clamp(72px, 10vw, 140px); /* 2x gap above */
}

.themes__header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(40px, 8vw, 120px);
}

.themes__title {
  margin: 0;
  flex: 0 1 auto;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 111%;
  color: #001f3f;
}

.themes__subtitle {
  margin: 0;
  padding: 12px 0; /* small top offset from the title, per spec (Frame 44) */
  flex: 0 1 800px;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 152%;
  color: #001f3f;
}

/* full-bleed scrolling strip */
.themes__marquee {
  margin: clamp(48px, 7.5vw, 84px) calc(-1 * var(--page-padding)) 0;
  overflow: hidden;
}

/* prev/next controls (mobile only) — aligned with the header text */
.themes__nav {
  display: none;
  max-width: 1440px;
  margin: 20px auto 0;
  padding: 0 24px;
  justify-content: flex-start;
  gap: 16px;
}

.themes__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: #001f3f;
  color: #e9dfd6;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(22, 35, 63, 0.25);
  transition: opacity 0.2s ease;
}
.themes__arrow:hover,
.themes__arrow:focus-visible {
  opacity: 0.9;
}
.themes__arrow:active {
  opacity: 0.8;
}

.themes__track {
  display: flex;
  width: max-content;
  animation: themes-marquee 55s linear infinite;
}
/* pause the loop when hovering the strip */
.themes__marquee:hover .themes__track {
  animation-play-state: paused;
}

.themes__group {
  display: flex;
  gap: 24px;
  padding: 0 24px 0 0; /* 24px right keeps the gap uniform between the two copies */
  margin: 0;
  list-style: none;
}

@keyframes themes-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --- track card --- */
.theme-card {
  position: relative;
  flex: 0 0 auto;
  width: 398px;
  height: 528px;
  border-radius: 12px;
  overflow: hidden;
}

/* image layer (zooms inside the card on hover) */
.theme-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--card-img);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.theme-card:hover::before {
  transform: scale(1.08);
}

/* gradient overlay sits above the image, below the text */
.theme-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(34, 32, 32, 0) 67.15%,
    rgba(0, 0, 0, 0.8) 89.76%
  );
  transition: background 0.4s ease;
}
/* stronger/taller darkening when expanded so the sub-themes stay readable */
.theme-card.is-open::after {
  background: linear-gradient(
    180deg,
    rgba(4, 4, 4, 0) 28.85%,
    rgba(0, 0, 0, 0.8) 77.88%
  );
}
@media (hover: hover) {
  .theme-card:hover::after {
    background: linear-gradient(
      180deg,
      rgba(4, 4, 4, 0) 28.85%,
      rgba(0, 0, 0, 0.8) 77.88%
    );
  }
}

.theme-card__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  padding: 8px 18px;

  background: #f9f7f5;
  box-shadow: 0px 6px 4.7px rgba(0, 0, 0, 0.04);
  border-radius: 100px;

  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  color: #0e284a;
}

/* text block anchored to the bottom; grows upward as the desc reveals */
.theme-card__content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.theme-card__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 116%;
  color: #ffffff;
}

.theme-card__desc {
  list-style: none;
  margin: 0;
  padding: 0;

  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 127%;
  color: #d5d5d5;

  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: max-height 0.45s ease, opacity 0.35s ease,
    transform 0.45s ease, margin-top 0.45s ease;
}

.theme-card.is-open .theme-card__desc {
  max-height: 240px;
  margin-top: 14px;
  opacity: 1;
  transform: translateY(0);
}
@media (hover: hover) {
  .theme-card:hover .theme-card__desc {
    max-height: 240px;
    margin-top: 14px;
    opacity: 1;
    transform: translateY(0);
  }
}

/* "Click here" toggle — a text link (shown only on touch/mobile) */
.theme-card__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  cursor: pointer;
}
.theme-card__toggle-arrow {
  transition: transform 0.3s ease;
}
.theme-card.is-open .theme-card__toggle-arrow {
  transform: rotate(90deg);
}

/* respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .themes__track {
    animation: none;
  }
}

/* ============================================================
   CALL FOR SUBMISSIONS  (full-bleed dark)
   (layout is custom/responsive; only colors + type come from spec)
   ============================================================ */
.cfs {
  position: relative;
  overflow: hidden;
  margin-left: calc(-1 * var(--page-padding));
  margin-right: calc(-1 * var(--page-padding));
  padding: clamp(80px, 12vw, 200px) clamp(24px, 6vw, 120px);
  background: #001f3f;

  /* perf: skip rendering/blurring this section while it's off-screen
     (auto size estimate self-corrects after first render) */
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* sunset photo (with ~40% navy over it) on its own layer */
.cfs::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
      0deg,
      rgba(0, 31, 63, 0.4),
      rgba(0, 31, 63, 0.4)
    ),
    url("images/Golden Sunset Over the City Lake.jpg") center / cover no-repeat;
}

/* a bit more breathing room above the section on desktop (mobile unchanged) */
@media (min-width: 1025px) {
  .cfs {
    margin-top: 260px;
  }
}

.cfs__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 96px);
}

/* --- single full-width panel (Call for Extended Abstracts) --- */
.cfs-panel {
  position: relative;
  overflow: hidden;
  min-height: 517px;
  padding: 48px;
  border-radius: 24px;

  /* glassmorphism: translucent fill + strong backdrop blur */
  background: rgba(7, 46, 71, 0.28);
  -webkit-backdrop-filter: blur(10px) saturate(112%) brightness(1.1);
  backdrop-filter: blur(10px) saturate(112%) brightness(1.1);

  display: flex;
  align-items: center;
}

/* gradient rim: brighter at the top-right (toward the sun), dark bottom-left */
.cfs-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    225deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.16) 42%,
    rgba(0, 0, 0, 0.22) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* perf / robustness: where backdrop-filter is unsupported, or on
   tablet & phone (the devices that stutter on it), skip the blur and
   use a near-opaque branded teal fill — keeps the card on-brand and
   the text legible with zero per-frame blur cost. */
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .cfs-panel {
    background: linear-gradient(
      180deg,
      rgba(10, 71, 88, 0.92) 0%,
      rgba(0, 59, 92, 0.92) 100%
    );
  }
}
@media (max-width: 1024px) {
  .cfs-panel {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(
      180deg,
      rgba(10, 71, 88, 0.92) 0%,
      rgba(0, 59, 92, 0.92) 100%
    );
  }
}

.cfs-panel__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 526px;
}

.cfs-panel__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 111%;
  color: #eaeded;
}

.cfs-panel__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cfs-panel__text {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 152%;
  color: #f8fbfb;
}

/* white pill "Know More" button */
.cfs-panel__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid #d5d8db;
  border-radius: 500px;
  background: #ffffff;
  cursor: pointer;

  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #001f3f;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cfs-panel__btn:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.cfs-panel__arrow {
  transition: transform 0.2s ease;
}
.cfs-panel__btn:hover .cfs-panel__arrow {
  transform: translateX(4px);
}

/* fanned document artwork, anchored to the top-right and clipped by the panel
   (top of the pages stays visible, the fan runs off the bottom edge) */
.cfs-panel__art {
  position: absolute;
  z-index: 1;
  top: clamp(110px, 14%, 180px);
  right: clamp(48px, 8vw, 180px);
  width: min(46%, 578px);
  height: auto;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* slight upward zoom on the clipped artwork when the panel is hovered */
.cfs-panel:hover .cfs-panel__art {
  transform: translateY(-16px) scale(1.04);
}


/* ============================================================
   SPEAKERS  (3x2 portrait grid)
   (layout is custom/responsive; only colors + type come from spec)
   ============================================================ */
.speakers {
  max-width: 1440px;
  margin: clamp(108px, 15vw, 210px) auto; /* 1.5x top/bottom spacing */
  padding: 0 24px;

  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 72px);
}

.speakers__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.speakers__title {
  margin: 0;
  flex: 0 1 auto;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 111%;
  color: #001f3f;
}

.speakers__subtitle {
  margin: 0;
  padding: 3px 0;
  flex: 0 1 800px;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 152%;
  color: #003b5c;
}

.speakers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.speaker-card {
  position: relative;
  aspect-ratio: 448 / 528;
  border-radius: 12px;
  overflow: hidden;
  padding: 36px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 38%,
      rgba(0, 0, 0, 0.55) 68%,
      rgba(0, 0, 0, 0.9) 100%
    ),
    var(--img);
  background-size: cover;
  background-position: center;
}

.speaker-card__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.speaker-card__name {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 100%;
  color: #ffffff;
}

.speaker-card__position {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  color: #ffffff;
}

.speaker-card__company {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #ffffff;
}

/* Co-Convenors / Advisors reuse the speakers card, but their names and
   department lines wrap, so give the text a bit more breathing room */
#co-convenors .speaker-card__name,
#advisors .speaker-card__name {
  line-height: 1.12;
}
#co-convenors .speaker-card__position,
#co-convenors .speaker-card__company,
#advisors .speaker-card__position,
#advisors .speaker-card__company {
  line-height: 1.3;
}

/* Co-Convenors / Advisors: internal zoom on hover.
   The photo lives in ::before so only it scales (card stays put, clips to
   its rounded corners); the gradient sits in ::after above it. */
#co-convenors .speaker-card,
#advisors .speaker-card {
  background-image: none;
}
#co-convenors .speaker-card::before,
#advisors .speaker-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}
#co-convenors .speaker-card::after,
#advisors .speaker-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 38%,
    rgba(0, 0, 0, 0.55) 68%,
    rgba(0, 0, 0, 0.9) 100%
  );
}
#co-convenors .speaker-card:hover::before,
#advisors .speaker-card:hover::before {
  transform: scale(1.08);
}
#co-convenors .speaker-card__meta,
#advisors .speaker-card__meta {
  position: relative;
  z-index: 2;
}


/* ============================================================
   CO-CONVENORS  (single row of photo cards, name below the photo)
   ============================================================ */
.coconv {
  max-width: 1440px;
  margin: clamp(108px, 15vw, 210px) auto;
  padding: 0 24px;
}
.coconv__header {
  margin-bottom: clamp(32px, 5vw, 64px);
}
.coconv__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 111%;
  color: #001f3f;
}

.coconv__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 1.8vw, 28px);
}

.coconv-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* photo (image already blue-tinted); ::before carries it so it can zoom */
.coconv-card__photo {
  position: relative;
  aspect-ratio: 283 / 346;
  border-radius: 12px;
  overflow: hidden;
  background: #0a4758;
}
.coconv-card__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.coconv-card:hover .coconv-card__photo::before {
  transform: scale(1.05);
}

.coconv-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.coconv-card__name {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.25;
  color: #001f3f;
}
.coconv-card__position {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.3;
  color: #16233f;
}
.coconv-card__dept {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.35;
  color: #5b6b7b;
}

/* responsive: 5 -> 3 (tablet) -> 2 (phone) */
@media (max-width: 1024px) {
  .coconv__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
  }
}
@media (max-width: 600px) {
  .coconv__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 14px;
  }
}


/* ============================================================
   CONFERENCE TIMELINE  (full-bleed dark, 3 day cards)
   (layout is custom/responsive; only colors + type come from spec)
   ============================================================ */
/* ============================================================
   WORKSHOPS & HACKATHON  (bright section between Call for
   Submissions and Conference Timeline)
   ============================================================ */
.wkh {
  max-width: 1440px;
  margin: clamp(108px, 15vw, 210px) auto;
  padding: 0 24px;
}

.wkh__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.wkh__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.wkh__title {
  margin: 0;
  flex: 0 1 auto;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 111%;
  color: #001f3f;
}

.wkh__intro {
  flex: 0 1 720px;
  margin: 0;
  padding-top: 12px;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 152%;
  color: #00152a;
}

.wkh__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.wkh-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 12px;
  background: #ffffff;
}

.wkh-card__eyebrow {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #005e92;
}

/* eyebrow on the left, card number (01 / 02) on the right */
.wkh-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wkh-card__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 120%;
  color: #001f3f;
}

.wkh-card__text {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 152%;
  color: #00152a;
}

/* workshop topics */
.wkh-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.wkh-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid rgba(0, 31, 63, 0.08);
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 135%;
  color: #00152a;
}
.wkh-list li:first-child {
  border-top: 0;
}
.wkh-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a4758;
}

/* hackathon eligibility chips */
.wkh-chips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wkh-chips li {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(10, 71, 88, 0.08);
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 100%;
  color: #0a4758;
}

/* prize callout (cream, like the registration note) */
.wkh-prize {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 12px;
  background: #f2efe6;
  border-left: 4px solid #0a4758;
}
.wkh-prize__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(90deg, #0a4758 0%, #005e92 100%);
}
.wkh-prize__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wkh-prize__text {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 145%;
  color: #00152a;
}
.wkh-prize__text strong {
  font-weight: 600;
  color: #0a4758;
}

/* button pinned to the bottom so both cards line up */
.wkh-card__footer {
  margin-top: auto;
  padding-top: 8px;
}

/* ---- more key highlights: bento grid (6-column on desktop) ---- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.wkh-card,
.kh-tile {
  scroll-margin-top: 32px;
}

.kh-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px;
  margin-top: calc(-1 * clamp(8px, 2vw, 32px)); /* sits a touch closer to the cards above */
}

.kh-tile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 2.6vw, 40px);
  border-radius: 12px;
  background: #ffffff;
  transition: transform 0.25s ease;
}
.kh-tile:hover {
  transform: translateY(-4px);
}
/* briefly highlight the card a marquee link jumped to */
.kh-tile:target,
.wkh-card:target {
  box-shadow: 0 0 0 3px #8fc9e8, 0 26px 56px rgba(0, 31, 63, 0.12);
}

/* placement: row 1 = ULB (4) + Expo (2); row 2 = CoE (2) + Research (4); row 3 = Keynote (6) */
.kh-tile--ulb {
  grid-column: span 4;
}
.kh-tile--expo {
  grid-column: span 2;
}
.kh-tile--coe {
  grid-column: span 2;
}
.kh-tile--feature {
  grid-column: span 4;
}
.kh-tile--keynote {
  grid-column: span 6;
}

.kh-tile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.kh-tile__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(90deg, #0a4758 0%, #005e92 100%);
}
.kh-tile__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kh-tile__num {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 100%;
  color: rgba(0, 31, 63, 0.12);
}

.kh-tile__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 124%;
  color: #001f3f;
}

.kh-tile__text {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 152%;
  color: #00152a;
}

.kh-tile .wkh-chips {
  margin-top: auto;
  padding-top: 4px;
}

/* cream tiles, echoing the prize callout */
.kh-tile--expo,
.kh-tile--coe {
  background: #f2efe6;
  box-shadow: none;
}

/* featured dark tile (same navy as the highlights strip) */
.kh-tile--feature {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%), #001f3f;
  border-top-color: #8fc9e8;
}
.kh-tile--feature .wkh-card__eyebrow {
  color: #8fc9e8;
}
.kh-tile--feature .kh-tile__title {
  color: #ffffff;
}
.kh-tile--feature .kh-tile__text {
  color: rgba(248, 251, 251, 0.82);
}
.kh-tile--feature .kh-tile__num {
  color: rgba(255, 255, 255, 0.14);
}
.kh-tile--feature .kh-tile__icon {
  background: rgba(143, 201, 232, 0.16);
}
.kh-tile--feature .kh-tile__icon svg {
  stroke: #8fc9e8;
}
.kh-tile--feature .wkh-chips li {
  background: rgba(143, 201, 232, 0.14);
  color: #d6ecf7;
}
.kh-tile--feature .wkh-chips {
  margin-top: 0;
}
.kh-tile__btn {
  background: #ffffff;
  color: #001f3f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* wide keynote tile: icon | heading | text in one row */
.kh-tile--keynote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  column-gap: clamp(24px, 3vw, 48px);
}
.kh-tile--keynote .kh-tile__head {
  margin-bottom: 0;
}
.kh-tile--keynote .kh-tile__num {
  display: none;
}
.kh-tile__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 1024px) {
  .kh-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 0;
  }
  .kh-tile--ulb,
  .kh-tile--feature,
  .kh-tile--keynote {
    grid-column: span 2;
  }
  .kh-tile--expo,
  .kh-tile--coe {
    grid-column: span 1;
  }
  .kh-tile--keynote {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 16px;
  }
  .kh-tile--keynote .kh-tile__text {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .kh-bento {
    grid-template-columns: 1fr;
  }
  .kh-tile--ulb,
  .kh-tile--expo,
  .kh-tile--coe,
  .kh-tile--feature,
  .kh-tile--keynote {
    grid-column: auto;
  }
  .kh-tile {
    padding: 24px 20px;
  }
  .kh-tile--keynote {
    display: flex;
  }
  .kh-tile--keynote .kh-tile__num {
    display: block;
  }
  .kh-tile__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kh-tile,
  .kh-tile:hover {
    transition: none;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .wkh__header {
    flex-direction: column;
    gap: 18px;
  }
  .wkh__intro {
    flex-basis: auto;
    padding-top: 0;
  }
  .wkh__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .wkh-card {
    padding: 24px 20px;
  }
  .wkh-list li {
    font-size: 15px;
  }
  .wkh-prize {
    align-items: flex-start;
    padding: 16px;
  }
  .wkh-card__footer .btn {
    width: 100%;
    justify-content: center;
  }
}

.timeline {
  margin-left: calc(-1 * var(--page-padding));
  margin-right: calc(-1 * var(--page-padding));
  padding: clamp(80px, 12vw, 200px) clamp(24px, 6vw, 120px);

  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    #0d2947;
}

.timeline__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 96px);
}

.timeline__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.timeline__intro {
  flex: 0 1 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.timeline__title {
  margin: 0;
  flex: 0 1 auto;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 111%;
  color: #eaeded;
}

.timeline__subtitle {
  margin: 0;
  padding: 21px 0 0;
  flex: 0 0 auto;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 152%;
  color: #eaeded;
}

.timeline__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.day-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding: 24px;
  border-radius: 12px;
}

.day-card--0 {
  background: linear-gradient(90deg, #0a4758 0%, #003b5c 100%);
}
.day-card--1 {
  background: linear-gradient(180deg, #0a4758 0%, #003b5c 100%);
}
.day-card--2 {
  background: linear-gradient(270deg, #0a4758 0%, #003b5c 100%);
}
.day-card--3 {
  background: linear-gradient(360deg, #0a4758 0%, #003b5c 100%);
}

.day-card__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.day-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.day-card__date {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #00162d;
  border-radius: 100px;

  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #ffffff;
}

.day-card__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 100%;
  color: #eaeded;
}

.day-card__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.day-card__tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #eaeded;
}
.day-card__tags li::before {
  content: "•";
}

.day-card__btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.schedule-dialog {
  width: min(1180px, calc(100% - 32px));
  height: min(90vh, 920px);
  height: min(90dvh, 920px);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #eaeded;
  color: #00152a;
  box-shadow: 0 28px 90px rgba(0, 10, 20, 0.38);
}

.schedule-dialog[open] {
  display: flex;
  flex-direction: column;
}

.schedule-dialog::backdrop {
  background: rgba(0, 15, 30, 0.76);
  backdrop-filter: blur(4px);
}

.schedule-dialog__header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  background: linear-gradient(115deg, #001f3f 0%, #0a4758 100%);
  color: #ffffff;
}

.schedule-dialog__eyebrow,
.schedule-dialog__dates {
  margin: 0;
}

.schedule-dialog__eyebrow {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.schedule-dialog__title {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
}

.schedule-dialog__dates {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.schedule-dialog__close {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.schedule-dialog__close:hover,
.schedule-dialog__close:focus-visible {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.2);
}

.schedule-dialog__close:focus-visible,
.schedule-dialog__body :focus-visible {
  outline: 3px solid #f6b559;
  outline-offset: 3px;
}

.schedule-dialog__body {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 32px 32px;
}

/* day tabs */
.sch-tabs {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 32px;
  border-bottom: 1px solid #d4dfe2;
  background: #ffffff;
}

.sch-tab {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 10px 14px 12px;
  border: 1px solid #d4dfe2;
  border-radius: 10px;
  background: #f8fbfb;
  color: #001f3f;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sch-tab:hover {
  border-color: #0a4758;
}

.sch-tab[aria-selected="true"] {
  border-color: #0a4758;
  background: #0a4758;
  color: #ffffff;
  box-shadow: inset 0 -3px 0 #f6b559;
}

.sch-tab:focus-visible {
  outline: 3px solid #f6b559;
  outline-offset: 2px;
}

.sch-tab__day {
  color: #005e92;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sch-tab__date {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

.sch-tab__tag {
  color: #5c6678;
  font-size: 13px;
  line-height: 1.3;
}

.sch-tab[aria-selected="true"] .sch-tab__day,
.sch-tab[aria-selected="true"] .sch-tab__tag {
  color: rgba(255, 255, 255, 0.82);
}

/* one day */
.sch-panel[hidden] {
  display: none;
}

.sch-panel__head {
  margin-bottom: 16px;
}

.sch-panel__head h3 {
  margin: 0 0 4px;
  color: #001f3f;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.sch-panel__head p {
  margin: 0;
  color: #5c6678;
  font-size: 15px;
  line-height: 1.45;
}

.sch-list {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d4dfe2;
  border-radius: 12px;
  background: #ffffff;
  list-style: none;
}

.sch-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 20px;
}

.sch-row + .sch-row {
  border-top: 1px solid #e2e8e8;
}

.sch-row--break {
  padding-top: 9px;
  padding-bottom: 9px;
  background: #eaeded;
}

.sch-time {
  color: #0a4758;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sch-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sch-title {
  margin: 0;
  color: #001f3f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.sch-break {
  margin: 0;
  color: #0a4758;
  font-size: 14px;
  line-height: 1.5;
}

.sch-room {
  color: #5c6678;
  font-size: 13px;
  font-style: italic;
  line-height: 1.4;
}

/* parallel sessions */
.sch-cards {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sch-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sch-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sch-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.sch-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #e2e8e8;
  border-radius: 10px;
  background: #f8fbfb;
}

.sch-card__kicker {
  color: #005e92;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sch-card__title {
  color: #001f3f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.sch-card__time {
  color: #0a4758;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* side events */
.sch-sides {
  display: grid;
  gap: 10px;
}

.sch-cards + .sch-sides,
.sch-title + .sch-sides,
.sch-room + .sch-sides {
  margin-top: 8px;
}

.sch-sides--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sch-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 8px 12px;
  border-left: 3px solid #005e92;
  border-radius: 0 8px 8px 0;
  background: rgba(0, 94, 146, 0.07);
}

.sch-side__label {
  color: #005e92;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sch-side__title {
  color: #00152a;
  font-size: 14px;
  line-height: 1.4;
}

.sch-notes {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: #5c6678;
  font-size: 14px;
  line-height: 1.5;
}

.sch-notes p {
  margin: 0;
}

.sch-notes strong {
  color: #0a4758;
  font-weight: 600;
}

/* short laptop screens: give the schedule itself more of the height */
@media (max-height: 820px) and (min-width: 761px) {
  .schedule-dialog__header {
    align-items: center;
    padding: 14px 32px;
  }

  .schedule-dialog__eyebrow {
    display: none;
  }

  .schedule-dialog__title {
    font-size: 24px;
  }

  .schedule-dialog__dates {
    margin-top: 4px;
    font-size: 14px;
  }

  .sch-tabs {
    padding: 10px 32px;
  }

  .sch-tab {
    padding: 7px 12px 9px;
  }

  .sch-tab__day {
    font-size: 11px;
  }

  .sch-tab__date {
    font-size: 15px;
  }

  .sch-tab__tag {
    display: none;
  }

  .schedule-dialog__body {
    padding-top: 18px;
  }
}

@media (max-width: 1000px) {
  .sch-cards--3,
  .sch-cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sch-tabs {
    gap: 6px;
    padding: 10px 12px;
  }

  .sch-tab {
    align-items: center;
    padding: 7px 4px 9px;
    text-align: center;
  }

  .sch-tab__date {
    font-size: 14px;
  }

  .sch-tab__dow,
  .sch-tab__tag {
    display: none;
  }

  .sch-panel__head h3 {
    font-size: 18px;
  }

  .sch-panel__head p {
    font-size: 14px;
  }

  .sch-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 12px 14px;
  }

  .sch-row--break {
    gap: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .sch-title {
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .sch-cards--2,
  .sch-cards--3,
  .sch-cards--4,
  .sch-sides--2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   CALL FOR ABSTRACTS DIALOG  (modal, matches the site style)
   ============================================================ */
.cfa-dialog {
  width: min(840px, calc(100% - 32px));
  max-height: min(90vh, 900px);
  max-height: min(90dvh, 900px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #eaeded;
  color: #00152a;
  box-shadow: 0 28px 90px rgba(0, 10, 20, 0.38);
}

.cfa-dialog[open] {
  display: flex;
  flex-direction: column;
}

.cfa-dialog::backdrop {
  background: rgba(0, 15, 30, 0.76);
  backdrop-filter: blur(4px);
}

.cfa-dialog__header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  background: linear-gradient(115deg, #001f3f 0%, #0a4758 100%);
  color: #ffffff;
}

.cfa-dialog__eyebrow {
  margin: 0 0 8px;
  color: #e9dfd6;
  font-family: "Geom", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cfa-dialog__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.15;
}

.cfa-dialog__close {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cfa-dialog__close:hover,
.cfa-dialog__close:focus-visible {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.2);
}
.cfa-dialog__close:focus-visible,
.cfa-dialog__body :focus-visible {
  outline: 3px solid #0a4758;
  outline-offset: 3px;
}

.cfa-dialog__body {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 32px 32px;
}

/* image-banner header variant (About IIT Kharagpur) */
.cfa-dialog__media {
  position: relative;
  flex: 0 0 auto;
  height: clamp(170px, 26vw, 260px);
}
.cfa-dialog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cfa-dialog__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 20, 40, 0.1) 0%,
    rgba(0, 20, 40, 0.85) 100%
  );
}
.cfa-dialog__media-text {
  position: absolute;
  left: 32px;
  bottom: 22px;
  z-index: 1;
  color: #ffffff;
}
.cfa-dialog__close--float {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(0, 15, 30, 0.4);
}
.cfa-dialog__media-sub {
  margin: 4px 0 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255, 255, 255, 0.85);
}

/* signature block (patron message) */
.cfa-sign {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 31, 63, 0.1);
}
.cfa-sign__name {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #001f3f;
}
.cfa-sign__role {
  margin: 2px 0 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #5c6678;
}

/* lead intro paragraphs (above the content cards) */
.cfa-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 4px;
}
.cfa-intro p {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.55;
  color: #00152a;
}
.cfa-intro strong {
  font-weight: 600;
}

/* chips row at the top of a dialog (e.g. About) */
.cfa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 4px;
  margin-bottom: 4px;
}

/* "Know More" / "Read More" action rows inside content sections */
.about__actions {
  margin-top: 8px; /* adds to the 24px column gap below the paragraphs */
}
.convenor__actions {
  margin-top: 8px;
}

/* content blocks */
.cfa-block {
  padding: 24px 26px;
  border: 1px solid #d4dfe2;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 31, 63, 0.06);
}

.cfa-block__title {
  margin: 0 0 16px;
  font-family: "Geom", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0a4758;
}

/* specs definition list */
.cfa-specs {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cfa-spec {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 6px 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 31, 63, 0.08);
}
.cfa-spec:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.cfa-spec dt {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #001f3f;
}
.cfa-spec dd {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  color: #00152a;
}
/* single-row spec: let the label hug its text so the value sits close */
.cfa-specs--inline .cfa-spec {
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 14px;
}

.cfa-spec dd a {
  color: #005e92;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.cfa-spec dd a:hover,
.cfa-spec dd a:focus-visible {
  color: #0a4758;
}

/* "should present" chips */
.cfa-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cfa-chips li {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(10, 71, 88, 0.08);
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #0a4758;
}
.cfa-note {
  margin: 16px 0 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 14px;
  color: #5c6678;
}

/* intro paragraph inside a block */
.cfa-text {
  margin: 0 0 12px;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: #00152a;
}
.cfa-text:last-child {
  margin-bottom: 0;
}

/* sub-heading inside a block (e.g. "Please include:") */
.cfa-subhead {
  margin: 18px 0 10px;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #001f3f;
}

/* arrow flow (Research Problem -> Objectives -> ...) */
.cfa-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
}
.cfa-flow li {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(10, 71, 88, 0.08);
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #0a4758;
}
.cfa-flow li:not(:last-child)::after {
  content: "→";
  margin-left: 12px;
  color: #5c6678;
}

/* plain bullet list (e.g. "Please include") */
.cfa-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-family: "Geom", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #00152a;
}
.cfa-list li::marker {
  color: #0a4758;
}

/* important dates list (inside dialog) */
.cfa-dates {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cfa-date {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 31, 63, 0.08);
}
.cfa-date:first-child {
  border-top: 0;
}
.cfa-date__label {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #00152a;
}
.cfa-date__when {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #0a4758;
  white-space: nowrap;
}

/* submission link CTA */
.cfa-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  border-radius: 12px;
  background: #f2efe6;
  border-left: 4px solid #0a4758;
}
.cfa-cta__label {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #001f3f;
}
/* shorter dialogs (e.g. workshop / hackathon registration links) */
.cfa-dialog--compact {
  width: min(640px, calc(100% - 32px));
}
@media (max-width: 600px) {
  .cfa-dialog--compact {
    width: calc(100% - 20px);
  }
  .cfa-dialog--compact .cfa-cta {
    padding: 18px;
  }
  .cfa-dialog--compact .cfa-cta__label {
    font-size: 16px;
  }
  .cfa-dialog--compact .cfa-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

.cfa-cta__btn[aria-disabled="true"] {
  background: #9aa7b4;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   REGISTRATION FEE  (bright section, responsive fee table)
   (styled to match the site's design system)
   ============================================================ */
.reg {
  max-width: 1440px;
  margin: clamp(108px, 15vw, 210px) auto;
  padding: 0 24px;
}

.reg__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.reg__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 111%;
  color: #001f3f;
}

/* --- table card --- */
.fees-wrap {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 31, 63, 0.08);
}

.fees {
  width: 100%;
  border-collapse: collapse;
  font-family: "Geom", Arial, sans-serif;
}

.fees th,
.fees td {
  text-align: left;
  padding: 22px 28px;
  vertical-align: top;
}

/* teal gradient header band */
.fees thead tr {
  background: linear-gradient(90deg, #0a4758 0%, #005e92 100%);
}
.fees th {
  font-weight: 500;
  font-size: 18px;
  line-height: 110%;
  color: #ffffff;
}

.fees tbody td {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 135%;
  border-top: 1px solid rgba(0, 31, 63, 0.08);
}
/* zebra striping + hover, using a soft teal tint */
.fees tbody tr:nth-child(even) {
  background: rgba(10, 71, 88, 0.04);
}
.fees tbody tr:hover {
  background: rgba(10, 71, 88, 0.08);
}

/* category column */
.fees td:first-child {
  width: 50%;
  font-weight: 500;
  color: #001f3f;
}
/* price columns */
.fees td:nth-child(n + 2) {
  width: 25%;
  white-space: nowrap;
}
.fees__amt {
  font-weight: 600;
  color: #0a4758;
}
.fees__gst {
  font-weight: 400;
  color: #5c6678;
}

/* --- includes note (cream callout) --- */
.reg__note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 32px;
  background: #f2efe6;
  border-left: 4px solid #0a4758;
  border-radius: 12px;
}

.reg__note-title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 111%;
  color: #001f3f;
}

.reg__note-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reg__note-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid rgba(10, 71, 88, 0.35);
}

.reg__note-lead {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 130%;
  color: #0a4758;
}

.reg__note-text {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 152%;
  color: #00152a;
}
.reg__note-text strong {
  font-weight: 600;
}

/* ============================================================
   IMPORTANT DATES  (bright section: highlight banner + deadline cards)
   (styled to match the site's design system)
   ============================================================ */
.dates {
  max-width: 1440px;
  margin: clamp(108px, 15vw, 210px) auto;
  padding: 0 24px;
}

.dates__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}

.dates__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 111%;
  color: #001f3f;
}

/* --- conference dates highlight banner --- */
.dates-highlight {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(90deg, #0a4758 0%, #005e92 100%);
  box-shadow: 0 20px 50px rgba(0, 31, 63, 0.12);
}

.dates-highlight__icon {
  flex: 0 0 auto;
  display: inline-flex;
  width: 48px;
  height: 48px;
}
.dates-highlight__icon svg {
  width: 100%;
  height: 100%;
}

.dates-highlight__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dates-highlight__label {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 100%;
  color: #eaeded;
}
.dates-highlight__value {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 110%;
  color: #ffffff;
}

/* --- deadline cards --- */
.dates__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.date-card {
  background: #ffffff;
  border-radius: 12px;
  padding: clamp(24px, 2.5vw, 32px);
  box-shadow: 0 10px 30px rgba(0, 31, 63, 0.06);

  display: flex;
  flex-direction: column;
}

.date-card__title {
  margin: 0 0 8px;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 120%;
  color: #0a4758;
}

.date-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.date-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 31, 63, 0.08);
}
.date-item:first-child {
  border-top: 0;
}

.date-item__label {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 135%;
  color: #00152a;
}

.date-item__when {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 135%;
  color: #0a4758;
  white-space: nowrap;
}

/* ============================================================
   CONTACT  (two gradient people cards, like the venue cards)
   ============================================================ */
.contact {
  max-width: 1440px;
  margin: clamp(108px, 15vw, 210px) auto;
  padding: 0 24px;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}

.contact__title {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 111%;
  color: #001f3f;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-height: 240px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 12px;
  color: #ffffff;
}
.contact-card--a {
  background: linear-gradient(180deg, #0a4758 0%, #005e92 100%);
}
.contact-card--b {
  background: linear-gradient(180deg, #005e92 0%, #0a4758 100%);
}

.contact-card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
}
.contact-card__icon svg {
  width: 100%;
  height: 100%;
}

.contact-card__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card__name {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 110%;
  color: #ffffff;
}

.contact-card__role {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
}
/* conference designation (e.g. Co-Convenor, ICSUF 2027) */
.contact-card__role--conf {
  font-weight: 600;
  color: #ffffff;
}

.contact-card__details {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: "Geom", Arial, sans-serif;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.3;
}
.contact-row__label {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.contact-row__label::after {
  content: ":";
}
.contact-row__value {
  margin: 0;
  font-weight: 400;
  color: #ffffff;
  overflow-wrap: anywhere;
}
.contact-row__value a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: border-color 0.2s ease;
}
.contact-row__value a:hover,
.contact-row__value a:focus-visible {
  border-bottom-color: #ffffff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: clamp(80px, 12vw, 160px);
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 72px) 0;
  border-radius: var(--radius-large);
  background: #ffffff;
  color: #16233f;
  overflow: hidden;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__logo {
  height: 52px;
  width: auto;
}

.footer__tagline {
  margin: 0;
  max-width: 42ch;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.5;
  color: rgba(22, 35, 63, 0.72);
}

.footer__dates {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 1.7vw, 17px);
  letter-spacing: 0.3px;
  color: #005e92;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__heading {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(22, 35, 63, 0.55);
}

.footer__links,
.footer__contact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a,
.footer__contact a {
  font-family: "Geom", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.7vw, 17px);
  color: rgba(22, 35, 63, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__links a:focus-visible,
.footer__contact a:hover,
.footer__contact a:focus-visible {
  color: #005e92;
}

.footer__address {
  font-family: "Geom", Arial, sans-serif;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.5;
  color: rgba(22, 35, 63, 0.72);
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid rgba(22, 35, 63, 0.14);
}

.footer__copy,
.footer__credit {
  margin: 0;
  font-family: "Geom", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(22, 35, 63, 0.6);
}

.footer__credit {
  letter-spacing: 0.4px;
}

.footer__cmt {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 0 36px;
  font-family: "Geom", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #000000;
  opacity: 1;
}

/* tablet: collapse to two columns */
@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* phones: single column, stacked */
@media (max-width: 600px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer__brand {
    grid-column: auto;
  }
  .footer__logo {
    height: 44px;
  }
  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__cmt {
    font-size: 13px;
    padding: 16px 0 28px;
  }
}

/* ============================================================
   SCROLL REVEAL  (subtle fade-up for sections + their contents)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }
  .cfs-panel.reveal {
    transform: translateY(10px);
    transition-duration: 0.45s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* opacity-only variant (e.g. hero image) so nothing shifts position */
  .reveal-fade {
    opacity: 0;
    transition: opacity 0.9s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal-fade.is-visible {
    opacity: 1;
  }
}

/* ============================================================
   HEADER  (Figma desktop spec: total 1704.41 x 92.28, top 48px)
   ============================================================ */
.site-header {
  position: absolute;
  top: var(--header-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between; /* yields the 96px Figma gaps at max width */
  gap: 96px;

  width: min(1704.41px, calc(100% - 48px));
  height: 92.28px;
}

/* --- white nav pills (header_left / header_right) --- */
.nav-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 0;
  gap: 24px;
  padding: 24px 36px;
  height: 66px;

  background: var(--pill-bg);
  border-radius: var(--pill-radius);
  box-shadow: 0 2px 8px rgba(34, 39, 47, 0.06);
}

/* --- nav links (Themes, Speakers, etc.) --- */
.nav-link {
  font-family: "Geom", Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  text-align: center;
  white-space: nowrap;
  color: var(--nav-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  opacity: 0.65;
}

/* --- centre logo cluster --- */
.logo-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  height: 92.28px;
  flex: none;
}

.logo {
  display: block;
  height: 92px;
  width: auto;
  object-fit: contain;
}

.arp_logo {
  height: 92px;
}
.iitkgp_logo {
  height: 92.28px;
}
.coeupd_logo {
  height: 92px;
}
.icsuf_logo {
  height: 92px;
}

/* --- hamburger (hidden on desktop) --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 52px;
  height: 52px;
  padding: 0 14px;
  background: var(--pill-bg);
  border-radius: var(--pill-radius);
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  background: var(--nav-color);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   RESPONSIVE
   Tiers: desktop-large > laptop > tablet > mobile
   ============================================================ */

/* ---- LAPTOP (1280px – 1599px): scale the desktop layout down ---- */
/* ---- LAPTOP MID-RANGE (1025–1599px): dial down oversized type/elements ----
   Big monitors (>1599px) keep the full scale; tablet/mobile (<=1024px)
   have their own tuning below. This only fixes the "too big" laptop zone. */
@media (min-width: 1025px) and (max-width: 1599px) {
  /* hero */
  .hero-title {
    font-size: clamp(40px, 5vw, 66px);
  }
  .hero-subtitle {
    font-size: clamp(14px, 1.5vw, 20px);
  }

  /* primary section titles */
  .about__title {
    font-size: clamp(34px, 3.4vw, 46px);
  }
  .themes__title,
  .cfs-panel__title,
  .speakers__title,
  .timeline__title {
    font-size: clamp(32px, 3.4vw, 46px);
  }
  .reg__title,
  .dates__title,
  .contact__title {
    font-size: clamp(30px, 3.2vw, 42px);
  }
  .patron__title,
  .convenor__title {
    font-size: clamp(28px, 3vw, 38px);
  }

  /* subtitles */
  .about__subtitle {
    font-size: clamp(16px, 1.4vw, 19px);
  }
  .themes__subtitle,
  .speakers__subtitle,
  .timeline__subtitle {
    font-size: clamp(15px, 1.3vw, 17px);
  }

  /* card titles */
  .contact-card__name {
    font-size: clamp(22px, 2.3vw, 28px);
  }
  .day-card__title {
    font-size: clamp(22px, 2.2vw, 26px);
  }

  /* body copy */
  .about__body,
  .patron__body p,
  .convenor__body p {
    font-size: clamp(16px, 1.2vw, 18px);
  }

  /* buttons */
  .btn {
    font-size: 15px;
    padding: 13px 26px;
  }
}

/* ---- LAPTOP SCALING (1025–1599px) ----
   The desktop header, scaled down in clean tiers. Only these scale:
   logo size (aspect-locked), link text, gap between links, and the gap
   between the logo cluster and the two pills. The pill HEIGHT stays 66px
   (inherited from base) at every tier, and edge padding stays 24px. */

/* laptop: 24px gap between the hero top and the header (vs 48px on desktop) */
@media (min-width: 1025px) and (max-width: 1599px) {
  .site-header {
    top: 24px;
  }
}

/* Tier A — large laptops (1440/1536) */
@media (min-width: 1440px) and (max-width: 1599px) {
  .site-header {
    gap: 48px;
    height: auto;
  }
  .nav-group {
    gap: 20px;
    padding: 0 26px;
  }
  .nav-link {
    font-size: 15px;
  }
  .logo,
  .iitkgp_logo {
    height: 72px;
  }
  .logo-section {
    gap: 14px;
    height: auto;
  }
}

/* Tier B — common laptops (1366/1280) */
@media (min-width: 1280px) and (max-width: 1439px) {
  .site-header {
    gap: 34px;
    height: auto;
  }
  .nav-group {
    gap: 16px;
    padding: 0 22px;
  }
  .nav-link {
    font-size: 14px;
  }
  .logo,
  .iitkgp_logo {
    height: 64px;
  }
  .logo-section {
    gap: 12px;
    height: auto;
  }
}

/* Tier C — small laptops (1140–1279) */
@media (min-width: 1140px) and (max-width: 1279px) {
  .site-header {
    gap: 16px;
    height: auto;
  }
  .nav-group {
    gap: 10px;
    padding: 0 16px;
  }
  .nav-link {
    font-size: 14px;
  }
  .logo,
  .iitkgp_logo {
    height: 52px;
  }
  .logo-section {
    gap: 10px;
    height: auto;
  }
}

/* Tier D — smallest full-nav range (1025–1139) */
@media (min-width: 1025px) and (max-width: 1139px) {
  .site-header {
    gap: 12px;
    height: auto;
  }
  .nav-group {
    gap: 8px;
    padding: 0 14px;
  }
  .nav-link {
    font-size: 13px;
  }
  .logo,
  .iitkgp_logo {
    height: 46px;
  }
  .logo-section {
    gap: 8px;
    height: auto;
  }
}

/* ---- TABLET & MOBILE (<= 1024px): collapse into hamburger menu ---- */
@media (max-width: 1024px) {
  /* keep the hero viewport treatment identical to desktop
     (full rounded card, cover) — only the header changes below */

  .site-header {
    width: calc(100% - 32px);
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0; /* menu spacing is handled per-element for a single joined card */
    top: 24px;
    height: auto;
  }

  /* top row: logos on the left, hamburger on the right */
  .logo-section {
    order: 1;
    gap: 12px;
  }
  .logo,
  .iitkgp_logo {
    height: 64px;
  }
  .hamburger {
    display: flex;
    order: 2;
  }

  /* nav groups become full-width dropdown panels, hidden until toggled */
  .nav-group {
    order: 3;
    flex: 0 0 100%; /* override desktop flex:1 1 0 so they take a full row each */
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    height: auto;
    border-radius: 0;
    display: none;
    overflow: hidden;
  }
  .header-right {
    order: 4;
  }

  .nav-link {
    font-size: 16px;
    padding: 15px 22px;
    text-align: left;
  }
  /* divider between every link across both joined groups */
  .nav-link + .nav-link,
  .header-right .nav-link:first-child {
    border-top: 1px solid rgba(46, 93, 137, 0.12);
  }

  /* open state: the two groups stack flush to read as ONE white card */
  .nav-toggle:checked ~ .header-left {
    display: flex;
    margin-top: 12px;
    padding-top: 6px;
    border-radius: var(--pill-radius) var(--pill-radius) 0 0;
    box-shadow: 0 12px 28px rgba(34, 39, 47, 0.18);
  }
  .nav-toggle:checked ~ .header-right {
    display: flex;
    padding-bottom: 6px;
    border-radius: 0 0 var(--pill-radius) var(--pill-radius);
    box-shadow: 0 12px 28px rgba(34, 39, 47, 0.18);
  }

  /* animate hamburger into an X when open */
  .nav-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ---- TABLET & MOBILE content stacking (<= 1024px) ---- */
@media (max-width: 1024px) {
  .hero {
    --hero-space-top: 140px;
    --hero-space-bottom: 174px;
  }

  .hero-card {
    width: calc(100% - 48px);
    margin-top: -150px;
    border-radius: 20px;
  }

  /* stack the about columns */
  .about {
    flex-direction: column;
    gap: 40px;
  }
  .about__left,
  .about__right {
    max-width: none;
    flex: 1 1 auto;
    width: 100%;
  }

  /* stack the venue rows and their blocks */
  /* four cards become a 2-up grid on tablet */
  .venue__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .venue-card {
    width: 100%;
    min-height: 300px;
  }
  /* no horizontal gather on smaller screens — cards just sit in the grid */
  .venue__cards .venue-card {
    transform: none;
  }

  /* match horizontal padding to the other sections
     (page-shell padding + each section's own 24px) */
  .patron,
  .cfs,
  .timeline {
    padding-left: calc(var(--page-padding) + 24px);
    padding-right: calc(var(--page-padding) + 24px);
  }

  /* stack patron text above the portrait */
  .patron__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }
  .patron__text {
    max-width: none;
  }
  .patron__photo {
    width: 100%;
    max-width: 489px;
    align-self: center;
  }

  /* speakers: stack header, 2-up grid */
  .speakers__header {
    flex-direction: column;
    gap: 18px;
  }
  .speakers__subtitle {
    flex-basis: auto;
  }
  .speakers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* contact: 3 cards -> 2-up on tablet */
  .contact__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* important dates: 2-up deadline cards */
  .dates__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* timeline: stack header, move button below content in each card */
  .timeline__header {
    flex-direction: column;
    gap: 18px;
  }
  .timeline__subtitle {
    flex-basis: auto;
    padding-top: 0;
  }
  .timeline__intro {
    flex-basis: auto;
    width: 100%;
  }
  .day-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  /* call for submissions: panel keeps text left, art eases to the edge */
  .cfs-panel {
    min-height: 440px;
  }
  .cfs-panel__content {
    max-width: 60%;
  }
  .cfs-panel__art {
    width: min(42%, 420px);
    right: clamp(-64px, -2vw, -16px);
  }

  /* themes: stack header, shrink cards */
  .themes__header {
    flex-direction: column;
    gap: 18px;
  }
  .themes__subtitle {
    flex-basis: auto;
  }
  .theme-card {
    width: 320px;
    height: 430px;
  }
  .theme-card__title {
    font-size: 21px;
  }
}

/* ---- MOBILE (<= 600px) ---- */
@media (max-width: 600px) {
  :root {
    --page-padding: 14px;
  }
  /* four info cards stack in a single column on phones */
  .venue__row {
    grid-template-columns: 1fr;
  }
  .site-header {
    width: calc(100% - 24px);
    top: 16px;
  }
  .logo-section {
    gap: 8px;
  }
  .logo,
  .iitkgp_logo {
    height: 48px;
  }
  .hamburger {
    width: 46px;
    height: 46px;
  }
  .nav-link {
    font-size: 15px;
    padding: 14px 18px;
  }

  /* shorter hero image on phones */
  .hero {
    min-height: max(calc(68vh - (var(--page-padding) * 2)), 500px);
    --hero-space-top: 116px;
    --hero-space-bottom: 106px;
  }

  /* hero text sits a little tighter on phones */
  .hero-content {
    gap: 16px;
    width: calc(100% - 32px);
  }
  .hero-logo {
    width: 92px;
  }
  .hero-actions {
    gap: 12px;
  }
  .btn {
    padding: 13px 22px;
    font-size: 15px;
  }

  .hero-card {
    /* full-bleed on phones: cancel .page-shell's side padding so it touches the screen edges */
    width: calc(100% + 2 * var(--page-padding));
    margin-top: -90px;
    margin-left: calc(-1 * var(--page-padding));
    margin-right: calc(-1 * var(--page-padding));
    aspect-ratio: 1 / 1; /* square highlight images on phones */
    border-radius: 0;
    box-shadow: none;
  }
  .hc-arrow {
    width: 38px;
    height: 38px;
  }
  .hc-arrow svg {
    width: 18px;
    height: 18px;
  }
  .hc-arrow--prev {
    left: 10px;
  }
  .hc-arrow--next {
    right: 10px;
  }
  .hc-dots {
    bottom: 12px;
  }

  /* smaller type on phones */
  .hero-title {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 12px;
  }

  .about__title {
    font-size: 30px;
  }
  .about__subtitle {
    font-size: 16px;
  }
  .about__body {
    font-size: 15px;
  }
  .tag {
    font-size: 14px;
  }

  .venue-card__title {
    font-size: 22px;
  }
  .venue-card__sub {
    font-size: 15px;
  }
  .venue-card__link,
  .about__cta {
    font-size: 15px;
  }
  .venue-card__icon {
    width: 38px;
    height: 38px;
  }

  /* top/bottom padding on mobile */
  .patron {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .patron__title {
    font-size: 26px;
  }
  .patron__body p {
    font-size: 15px;
  }
  .patron__name {
    font-size: 22px;
  }
  .patron__role {
    font-size: 15px;
  }

  /* mobile: swap the auto-marquee for a one-card swipe/arrow carousel */
  .themes__marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: calc(var(--page-padding) + 24px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .themes__marquee::-webkit-scrollbar {
    display: none;
  }
  .themes__track {
    animation: none;
    width: max-content;
  }
  /* only the first (accessible) set in the carousel */
  .themes__group[aria-hidden="true"] {
    display: none;
  }
  .themes__group {
    /* left padding matches the header text (page padding + section's 24px) */
    padding: 0 var(--page-padding) 0 calc(var(--page-padding) + 24px);
  }

  .theme-card {
    width: min(80vw, 340px);
    height: 460px;
    scroll-snap-align: start;
  }
  .theme-card__badge {
    font-size: 16px;
    padding: 6px 14px;
  }
  .theme-card__title {
    font-size: 18px;
  }
  .theme-card__toggle {
    display: inline-flex;
  }

  .themes__nav {
    display: flex;
  }

  /* stack the panel: copy first, illustration in flow below the button */
  .cfs-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 32px 32px 20px;
    min-height: 0;
  }
  .cfs-panel__content {
    max-width: 100%;
  }
  .cfs-panel__title {
    font-size: 32px;
  }
  .cfs-panel__art {
    position: static;
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    opacity: 1;
    transform: none;
  }
  .cfs-panel:hover .cfs-panel__art {
    transform: none;
  }

  /* registration: collapse table into stacked white cards */
  .fees-wrap {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }
  .fees thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .fees,
  .fees tbody,
  .fees tr,
  .fees td {
    display: block;
    width: 100%;
  }
  .fees tbody tr,
  .fees tbody tr:nth-child(even) {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px rgba(0, 31, 63, 0.06);
  }
  .fees td {
    padding: 0;
    border: none;
  }
  .fees td:first-child {
    width: 100%;
    font-size: 18px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(0, 31, 63, 0.1);
  }
  .fees td:nth-child(n + 2) {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 12px;
    padding: 8px 0;
    white-space: normal; /* allow wrapping so the row can't overflow */
  }
  .fees td:nth-child(n + 2)::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-weight: 500;
    color: #5c6678;
  }

  /* timeline: tighter tags on phones */
  .day-card__tags {
    gap: 16px;
  }
  .day-card__tags li {
    font-size: 16px;
  }
  .day-card__btn {
    width: 100%;
    justify-content: center;
  }

  /* speakers: single column on phones */
  .speakers__grid {
    grid-template-columns: 1fr;
  }

  /* important dates: single column, stack the banner */
  .dates__grid {
    grid-template-columns: 1fr;
  }
  .dates-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* contact: stack the two cards */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .speaker-card {
    padding: 28px;
  }
  .speaker-card__name {
    font-size: 26px;
  }
  /* co-convenors & advisors: smaller names on phones */
  #co-convenors .speaker-card__name,
  #advisors .speaker-card__name {
    font-size: 22px;
  }
  .speaker-card__position {
    font-size: 18px;
  }
  .speaker-card__company {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .schedule-dialog {
    width: calc(100% - 20px);
    height: calc(100dvh - 20px);
    border-radius: 12px;
  }

  .schedule-dialog__header {
    gap: 16px;
    padding: 16px 16px 14px;
  }

  .schedule-dialog__title {
    font-size: 24px;
  }

  .schedule-dialog__body {
    gap: 14px;
    padding: 16px;
  }

  /* call for abstracts dialog */
  .cfa-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 12px;
  }
  .cfa-dialog__header {
    gap: 16px;
    padding: 20px;
  }
  .cfa-dialog__body {
    gap: 14px;
    padding: 16px;
  }
  .cfa-block {
    padding: 20px;
  }
  .cfa-spec {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ============================================================
   HERO — fit short windows so the rounded bottom corners stay
   on screen (header sits higher between 1025–1599px)
   ============================================================ */
@media (min-width: 1025px) and (max-width: 1599px) {
  .hero {
    --hero-space-top: 128px;
  }
}

@media (min-width: 601px) and (max-height: 820px) {
  .hero {
    --hero-space-bottom: 164px;
  }
  .hero-content {
    gap: 16px;
  }
  .hero-logo {
    width: 112px;
  }
  .hero-card {
    margin-top: -140px;
  }
}

@media (min-width: 601px) and (max-height: 660px) {
  .hero {
    --hero-space-bottom: 118px;
  }
  .hero-content {
    gap: 12px;
  }
  .hero-logo {
    width: 84px;
  }
  .hero-title {
    font-size: clamp(36px, 4.6vw, 56px);
  }
  .hero-card {
    margin-top: -100px;
  }
}

/* ============================================================
   HERO LAYOUT — DESKTOP ONLY (temporary / test)
   Placed at the END of the file so it overrides the base header
   rules (.site-header / .nav-group / .logo-section defined earlier).
   Header = transparent top bar (logos left, all links right) on the
   page background; the image drops below it as a rounded card that
   fills the window. 48px from every viewport edge + 48px between the
   header and the image. Smaller screens keep the original overlay hero.
   ============================================================ */
@media (min-width: 1025px) {
  /* 48px from every viewport edge (24px page-shell + 24px here),
     and 48px between the header and the image card */
  .hero {
    min-height: calc(100svh - 48px);
    padding: 24px;
    border-radius: 0;
    overflow: visible;
    background-image: none;
    background-color: #eaeded;
    justify-content: flex-start;
    gap: 48px;
  }
  /* the old full-bleed image layer (behind the header) is not used here */
  .hero::before {
    display: none;
  }

  /* header: transparent top bar — logos on the left, all links on the right */
  .site-header {
    position: static;
    transform: none;
    margin: 0;
    flex: none;
    width: 100%;
    height: auto;
    gap: 32px;
    justify-content: flex-start;
    align-items: center;
  }
  .logo-section {
    order: -1;
    margin-right: auto; /* pushes the link groups to the right */
    height: auto;
  }
  /* strip the white pills — links sit directly on the page background */
  .nav-group {
    flex: none;
    height: auto;
    padding: 0;
    gap: 28px;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  /* image becomes a rounded card below the header, filling the viewport;
     content sits at the bottom-left, left-aligned, 48px inside the image */
  .hero-content {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 48px;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    border-radius: var(--radius-large);
    overflow: hidden;
    isolation: isolate;
  }
  .hero-content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("images/Golden-Hour Park and Skyline Reflections 1 (4).jpg");
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
    transform-origin: center;
  }

  /* match the Key Highlights strip to the hero image width (48px inset) */
  .kh-marquee {
    margin-left: 24px;
    margin-right: 24px;
  }
}

/* keep the "settle" zoom-out on the image card (desktop) */
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .hero-content::before {
    animation: hero-settle 1.8s cubic-bezier(0.23, 1, 0.32, 1) both;
  }
}

/* ============================================================
   HERO LAYOUT — MOBILE / TABLET (<= 1024px) — same treatment
   Logos + hamburger sit OUTSIDE the image, on the page background;
   the image drops below as a rounded card. Full-bleed out of the
   page-shell padding, then a uniform 16px inset + 16px gap so the
   spacing stays consistent regardless of --page-padding.
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    /* the page-shell padding already insets the hero equally on the top
       and sides — so no extra padding/margins here keeps them identical */
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 75svh;
    gap: 16px;
    border-radius: 0;
    overflow: visible;
    background-image: none;
    background-color: #eaeded;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .hero::before {
    display: none;
  }

  /* header: on the page background — logos left, hamburger right */
  .site-header {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    width: 100%;
    height: auto; /* hug content */
    margin: 0;
    background: none;
  }
  .logo-section {
    height: auto; /* hug content (was a fixed 92.28px) */
  }

  /* image becomes a rounded card below the header; content sits a bit
     low (bottom-weighted) with comfortable padding, still centered */
  .hero-content {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin: 0;
    padding: 40px 20px 56px;
    justify-content: flex-end;
    border-radius: var(--radius-large);
    overflow: hidden;
    isolation: isolate;
  }
  .hero-content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("images/Golden Lakeside Smart City at Sunset 1 (1).jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center;
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .hero-content::before {
    animation: hero-settle 1.8s cubic-bezier(0.23, 1, 0.32, 1) both;
  }
}
