/* ================================================================
   IIEC Activities Page — Next Gen Pitch Design System & Motion
   Layout Style: Bento Hub & Interactive Event Vault
   ================================================================ */

:root {
  /* Core Background & Ink Palette */
  --bg: #f5f5f0;              /* Warm Editorial Canvas */
  --ink: #111111;             /* Pitch Black Charcoal */
  --card: #ffffff;            /* Crisp White Card */
  --card-subtle: #fbfbf9;     /* Subtle Off-White Card */
  --muted: #66665f;           /* Muted Body Copy */
  --line: #d8d8d0;            /* Fine Border Divider */
  --line-subtle: #e8e8e0;     /* Ultra Light Line */
  
  /* Vibrant Startup Accent Scale */
  --accent: #ff5a1f;          /* Electric Startup Orange */
  --accent-dark: #dc4310;     /* Deep Flame Orange */
  --accent-light: #ffece4;    /* Light Orange Tint */
  --accent-border: #ffc7b0;   /* Muted Orange Border */
  --accent-glow: rgba(255, 90, 31, 0.28);
  
  /* Status Colors */
  --color-success: #157f4a;
  --color-success-bg: #e6f7ef;
  --color-success-border: #b7ebd3;
  --color-live: #e04b2b;
  --color-live-bg: #fff1ee;
  --color-live-border: #ffcdb8;
  --color-upcoming: #c78000;
  --color-upcoming-bg: #fff8eb;
  --color-upcoming-border: #fedd9e;
  
  /* Dark Shell Tokens */
  --dark-shell-bg: #111111;
  --dark-card-bg: #181818;
  --dark-card-surface: #1e1e1e;
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(16px) saturate(180%);

  /* Layout Limits */
  --container-max: 1200px;
  --nav-height: 76px;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.09);
  --shadow-glow: 0 12px 36px var(--accent-glow);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================================================================
   Layout Containers
   ================================================================ */
.container {
  width: min(var(--container-max), calc(100% - 40px));
  margin: 0 auto;
}

/* ================================================================
   Typography System
   ================================================================ */
h1 {
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 900;
  word-break: break-word;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
}

h2 span.highlight, h2 em {
  color: var(--accent);
  font-style: normal;
}

h3 {
  font-size: 21px;
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Section Head */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 36px;
}

.section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-description {
  max-width: 480px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

/* ================================================================
   Components & Badges
   ================================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7);
  animation: pulse-ring 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

.pulse-dot.green {
  background: #157f4a;
  box-shadow: 0 0 0 0 rgba(21, 127, 74, 0.7);
  animation: pulse-ring-green 2s infinite;
}

@keyframes pulse-ring-green {
  0% { box-shadow: 0 0 0 0 rgba(21, 127, 74, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(21, 127, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(21, 127, 74, 0); }
}

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(255, 90, 31, 0.25);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.35);
}

.btn-secondary {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: #ffffff;
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: #ffffff !important;
}

.btn-dark:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

/* ================================================================
   Top Announcement Bar & Header
   ================================================================ */
.recruitment-topbar {
  background: #111111;
  color: #ffffff;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.recruitment-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 90, 31, 0.2);
  color: #ff7b4c;
  border: 1px solid rgba(255, 90, 31, 0.4);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.recruitment-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.recruitment-topbar-link:hover {
  opacity: 0.85;
}

header.nav-header {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 245, 240, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav.main-nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand span {
  color: var(--accent);
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-right {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #444440;
}

.nav-right a {
  transition: color 0.18s ease;
}

.nav-right a:hover, .nav-right a.active {
  color: var(--accent);
}

.nav-cta {
  background: var(--ink);
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* ================================================================
   NEW HERO: Bento Hub Layout
   ================================================================ */
.hero-hub-section {
  padding: 45px 0 30px;
}

.hero-hub-header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 32px;
}

.hero-hub-header-left {
  display: flex;
  flex-direction: column;
}

.hero-hub-title {
  max-width: 900px;
  margin-bottom: 16px;
}

.hero-hub-subtitle {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.6;
}

.hero-hub-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink);
  box-shadow: 0 2px 10px var(--accent-glow);
}

.hero-header-metrics-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.hero-header-metrics-card .metrics-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}

/* Hero Bento Grid */
.bento-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: stretch;
}

/* 1. Large Spotlight Bento Card (SIH 2026) */
.bento-card-spotlight {
  background: var(--ink);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 42px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-card-spotlight::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.28) 0%, rgba(255, 90, 31, 0) 70%);
  pointer-events: none;
  filter: blur(50px);
}

.spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 90, 31, 0.22);
  border: 1px solid rgba(255, 90, 31, 0.5);
  color: #ff7b4c;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.spotlight-date-chip {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #bbb;
  text-transform: uppercase;
}

.spotlight-body {
  margin-bottom: 28px;
}

.spotlight-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.spotlight-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 12px;
}

.spotlight-desc {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
  max-width: 600px;
}

.spotlight-specs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.spotlight-spec-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
}

.spotlight-spec-box strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
}

.spotlight-spec-box span {
  font-size: 11px;
  color: #aaa;
  font-weight: 600;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* 2. Side Bento Column (Upcoming + Ecosystem Metrics) */
.bento-side-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bento-card-upcoming {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.bento-card-upcoming:hover {
  transform: translateY(-3px);
  border-color: #b8b8b0;
  box-shadow: var(--shadow-md);
}

.upcoming-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.upcoming-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--color-upcoming-bg);
  border: 1px solid var(--color-upcoming-border);
  color: var(--color-upcoming);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.upcoming-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.upcoming-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}

.upcoming-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.bento-card-metrics {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.metrics-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-num {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.metric-num span {
  color: var(--accent);
}

.metric-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.35;
}

/* ================================================================
   Institutional Partner Strip
   ================================================================ */
.partner-logos-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 30px auto 10px;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.partner-logo-item {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-logo-item:hover {
  opacity: 1;
  transform: scale(1.04);
}

.partner-logo-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

/* ================================================================
   Infinite Ticker Marquee Ribbon
   ================================================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  white-space: nowrap;
  background: #ffffff;
  margin: 24px 0 50px;
}

.marquee-track {
  display: inline-block;
  animation: move 24s linear infinite;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  will-change: transform;
}

.marquee-track span {
  margin: 0 28px;
  color: var(--accent);
}

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

/* ================================================================
   Sections
   ================================================================ */
section.activities-section {
  padding: 40px 0 60px;
}

/* ================================================================
   Event Vault (Category Tabs & Multi-Card Layout)
   ================================================================ */
.vault-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-tabs-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  font-family: inherit;
}

.filter-pill:hover {
  border-color: #a8a8a0;
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.vault-results-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* Events Vault Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.event-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #b0b0a8;
}

.event-card.featured-card-style {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fffaf7 0%, #ffffff 100%);
  box-shadow: 0 4px 20px rgba(255, 90, 31, 0.08);
}

.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-badge.badge-live {
  background: var(--color-live-bg);
  color: var(--color-live);
  border: 1px solid var(--color-live-border);
}

.event-badge.badge-upcoming {
  background: var(--color-upcoming-bg);
  color: var(--color-upcoming);
  border: 1px solid var(--color-upcoming-border);
}

.event-badge.badge-completed {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid var(--color-success-border);
}

.event-date-chip {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.event-card-body {
  flex: 1;
}

.event-category-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.event-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
}

.event-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.event-card-footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.event-venue-meta {
  font-size: 12px;
  color: #777770;
  font-weight: 600;
}

/* ================================================================
   3D Cylindrical Orbit Wheel Gallery (Moments & Highlights)
   ================================================================ */
.gallery-shell {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
}

.gallery-shell::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.22) 0%, rgba(255, 90, 31, 0) 70%);
  pointer-events: none;
  filter: blur(40px);
}

.gallery-shell .section-label {
  color: #ff7b4c;
}

.gallery-shell .section-description {
  color: #aaa;
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
  color: #eaeaea;
  letter-spacing: .02em;
}

.gallery-view-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-btn {
  background: transparent;
  border: 0;
  color: #aaa;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: .2s ease;
}

.view-btn.active, .view-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.view-btn.active {
  background: var(--accent);
  color: #fff;
}

/* 3D Orbit Stage */
.orbit-stage-wrapper {
  position: relative;
  margin: 10px 0 20px;
  user-select: none;
  -webkit-user-select: none;
}

.orbit-stage {
  position: relative;
  width: 100%;
  height: 440px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.orbit-stage:active {
  cursor: grabbing;
}

.orbit-card {
  position: absolute;
  width: clamp(250px, 32vw, 360px);
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  will-change: transform, filter, opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.orbit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  pointer-events: none;
}

.orbit-card:hover img {
  transform: scale(1.04);
}

.orbit-card.is-active {
  border-color: rgba(255, 90, 31, 0.7);
  box-shadow: 0 25px 60px rgba(255, 90, 31, 0.25), 0 10px 30px rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.orbit-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.orbit-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.orbit-counter {
  font-family: monospace;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(255, 90, 31, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
}

.orbit-title {
  font-size: 14px;
  font-weight: 700;
  color: #eaeaea;
}

.orbit-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.orbit-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 15px;
}

.orbit-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.06);
}

.orbit-btn.btn-autoplay {
  width: auto;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  gap: 6px;
}

.gallery-scroll-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #888;
  margin-top: 14px;
}

.gallery-scroll-prompt svg {
  color: var(--accent);
  animation: float-mouse 2s infinite ease-in-out;
}

@keyframes float-mouse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.gallery-grid-view {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.gallery-grid-view.show {
  display: grid;
}

.gallery-grid-item {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery-grid-item:hover {
  transform: scale(1.03);
  border-color: var(--accent);
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .2s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

.lightbox-content {
  max-width: min(1000px, 92vw);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.lightbox-img-wrap {
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
}

.lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #fff;
  gap: 16px;
  flex-wrap: wrap;
}

.lightbox-title {
  font-size: 16px;
  font-weight: 700;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
  transition: .2s ease;
  font-family: inherit;
}

.lightbox-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-btn.prev {
  left: -70px;
}

.lightbox-nav-btn.next {
  right: -70px;
}

/* ================================================================
   NEW TIMELINE: Horizontal Milestone Rail (with vertical fallback)
   ================================================================ */
.timeline-rail-wrapper {
  position: relative;
  margin-top: 20px;
}

.timeline-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(240px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.timeline-rail::-webkit-scrollbar {
  height: 6px;
}

.timeline-rail::-webkit-scrollbar-track {
  background: var(--line-subtle);
  border-radius: 999px;
}

.timeline-rail::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}

.rail-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  position: relative;
  transition: all 0.25s ease;
}

.rail-card:hover {
  transform: translateY(-3px);
  border-color: #a8a8a0;
  box-shadow: var(--shadow-sm);
}

.rail-card.rail-active {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fffaf7 0%, #ffffff 100%);
  box-shadow: 0 4px 20px rgba(255, 90, 31, 0.12);
}

.rail-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.rail-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.rail-marker.marker-completed {
  background: #e6f7ef;
  color: #157f4a;
  border: 1px solid #b7ebd3;
}

.rail-marker.marker-active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.25);
}

.rail-marker.marker-upcoming {
  background: #fff8eb;
  color: #c78000;
  border: 1px solid #fedd9e;
}

.rail-date {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.rail-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.rail-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ================================================================
   NEW PATHWAY: 4-Step Founder's Journey
   ================================================================ */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pathway-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.pathway-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.pathway-step-num {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pathway-icon {
  font-size: 26px;
  margin-bottom: 10px;
}

.pathway-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.pathway-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ================================================================
   Cross Links & CTA Section
   ================================================================ */
.explore-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0 50px;
}

.cross-banner {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: all 0.2s ease;
}

.cross-banner:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

.cross-banner-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.cross-banner-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.cross-banner-desc {
  font-size: 13.5px;
  color: var(--muted);
}

.cta-banner-box {
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.cta-banner-box::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.cta-banner-title {
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 14px;
}

.cta-banner-subtitle {
  font-size: 16px;
  color: #bbb;
  max-width: 600px;
  margin: 0 auto 28px;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ================================================================
   Official Footer
   ================================================================ */
footer.activities-footer {
  border-top: 1px solid var(--line);
  padding: 35px 0 45px;
  display: flex;
  justify-content: space-between;
  color: #777770;
  font-size: 13px;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.footer-home {
  font-weight: 800;
  color: var(--ink);
  font-size: 14px;
}

.footer-socials {
  display: flex;
  gap: 22px;
}

.footer-socials a {
  font-weight: 600;
  color: #555550;
  transition: color 0.18s ease;
}

.footer-socials a:hover {
  color: var(--accent);
}

/* ================================================================
   Responsive Breakpoints
   ================================================================ */
@media (max-width: 1080px) {
  .hero-hub-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-hub-header-right {
    align-items: flex-start;
  }
  .hero-header-metrics-card {
    max-width: 100%;
  }
  .bento-hero-grid {
    grid-template-columns: 1fr;
  }
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pathway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .explore-banners {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .nav-right a:not(.nav-cta) {
    display: none;
  }

  .spotlight-specs-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    display: block;
  }

  .section-description {
    margin-top: 12px;
  }

  .partner-logos-strip {
    justify-content: center;
    gap: 16px;
    padding: 14px 18px;
  }

  .partner-logo-divider {
    display: none;
  }

  .partner-logo-item {
    height: 34px;
    max-width: 110px;
  }

  .orbit-stage {
    height: 360px;
  }

  .orbit-card {
    width: clamp(220px, 60vw, 290px);
  }

  .lightbox-nav-btn.prev {
    left: 10px;
  }

  .lightbox-nav-btn.next {
    right: 10px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  nav.main-nav {
    height: 64px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .explore-banners {
    grid-template-columns: 1fr;
  }

  .metrics-grid-mini {
    grid-template-columns: 1fr;
  }

  .orbit-stage {
    height: 310px;
  }

  .orbit-card {
    width: clamp(200px, 72vw, 260px);
  }

  .btn {
    width: 100%;
  }

  footer.activities-footer {
    flex-direction: column;
    gap: 16px;
  }

  .footer-socials {
    flex-wrap: wrap;
    gap: 14px;
  }
}


