/* The Indian space science band on the home page: ISRO missions and the simulations built on them. */

/* Palette */
:root {
  --heritage-gold: #FFD700;
  --heritage-gold-deep: #B45309;
  --heritage-amber: #F59E0B;
  --heritage-saffron: #FF9933;
  --heritage-sindoor: #DC2626;
  --heritage-marigold: #EA580C;
  --heritage-leaf-green: #15803D;
  --heritage-bg-glow: rgba(245, 158, 11, 0.15);
}
/* --------------------------------------------------------------------------
   Indian space science band (bento grid)
   -------------------------------------------------------------------------- */
.heritage-band {
  background: linear-gradient(180deg, #07090f 0%, #0d121f 50%, #080a12 100%);
  color: #fff;
  padding: 64px 0 72px;
  border-top: 1px solid rgba(245, 158, 11, 0.25);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  position: relative;
  overflow: hidden;
}

.heritage-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 25%, rgba(245, 158, 11, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 90% 75%, rgba(220, 38, 38, 0.08) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
}

.bento-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.bento-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FBBF24;
  text-transform: uppercase;
}

.bento-radar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: radarPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes radarPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.bento-sub-badge {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-left: 2px solid rgba(245, 158, 11, 0.4);
}

.heritage-head {
  max-width: 820px;
  margin-bottom: 32px;
}

.heritage-head h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.heritage-head h2 .gold-accent {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 60%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heritage-head p {
  font-size: 15px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.65;
}

/* ---------------- Bento Grid Layout ---------------- */
.heritage-bento-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 2;
}

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

.heritage-bento-card {
  background: rgba(15, 20, 32, 0.72);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.heritage-bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), transparent);
}

.heritage-bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.16), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.bento-featured {
  min-height: 440px;
}

.bento-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento-card-header {
  margin-bottom: 14px;
}

.bento-chip-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.bento-chip {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-chip-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.35);
}

.heritage-bento-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.heritage-bento-card p {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0 0 16px;
  line-height: 1.55;
}

/* Schematic Visuals */
.bento-schematic-wrap {
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  position: relative;
}

.bento-schematic-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

.bento-hud-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
}

.bento-hud-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bento-hud-lbl {
  color: #64748b;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.bento-hud-val {
  color: #38bdf8;
  font-weight: 600;
}

.bento-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: #FBBF24;
  text-decoration: none;
  transition: all 0.15s ease;
}

.bento-link:hover {
  color: #FDE68A;
  transform: translateX(3px);
}

.bento-meta-pill {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  color: #64748b;
}


@media (max-width: 900px) {
  .heritage-bento-grid { grid-template-columns: 1fr; }
}
