/* =============================================================
   PROGRAMS.CSS — IMMERSE & ALIGN flagship programs
   Hover to reveal full details
============================================================= */

.programs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  min-height: 640px;
}

/* ── Individual panel ── */
.program-panel {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Photo background */
.prog-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}

.program-panel:hover .prog-bg {
  transform: scale(1.04);
}

.prog-bg--immerse {
  background-image: url('../images/immerse.png');
  background-size: cover;
  background-position: center;
}

.prog-bg--align {
  background-image: url('../images/align.png');
  background-size: cover;
  background-position: center;
}

.prog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.1) 100%
  );
  transition: background 0.3s;
}

.program-panel:hover .prog-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 55%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

/* Top-left tag — two lines, larger */
.prog-tag {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  line-height: 1.6;
}

.prog-tag--right {
  left: auto;
  right: 28px;
  text-align: right;
}

/* Center content */
.prog-content {
  position: relative;
  z-index: 2;
  padding: 32px 36px;
  color: var(--white);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prog-content h3 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1;
}

.prog-tagline {
  font-size: 16px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 16px;
  margin-bottom: 0;
  text-align: center;
}

/* Expandable details — revealed on hover */
.prog-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.55s ease, opacity 0.4s ease;
  text-align: left;
  width: 100%;
  margin-top: 20px;
}

.program-panel:hover .prog-details {
  max-height: 800px;
  opacity: 1;
}

.prog-details h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 20px 0 10px;
}

.prog-details h4:first-child {
  margin-top: 0;
}

.prog-details ul {
  margin-bottom: 4px;
}

.prog-details ul li {
  font-size: 12px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 14px;
  position: relative;
}

.prog-details ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold-light);
}

/* ── Responsive ── */

/* ── Responsive ── */
@media (max-width: 900px) {
  .programs-split {
    grid-template-columns: 1fr;
    height: auto;
  }

  .program-panel {
    height: 100vh;
    min-height: 500px;
  }

  .prog-details {
    max-height: none;
    opacity: 1;
  }
}