/* ════════════════════════════════
   PROGRAMMES — editorial grid
════════════════════════════════ */

/* Reveal "in" state, scoped to this section */
[data-reveal].prog-visible { opacity: 1; transform: none; }

/* Section shell + layout container, scoped to this section
   (padding merged in from the old shared .section rule) */
.prog-section { background: var(--navy-dark); overflow: hidden; padding: 8rem 0; }
.prog-wrap { max-width: 1240px; margin: 0 auto; padding: 0 5vw; }

/* Eyebrow label, scoped to this section */
.prog-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.prog-eyebrow-line { width: 28px; height: 1.5px; background: var(--red); }
.prog-eyebrow-text { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); }

/* Big headline + body copy, scoped to this section.
   .prog-white is the dark-background variant (was .white modifier) */
.prog-big-h { font-family: var(--serif); font-size: clamp(38px, 4.5vw, 58px); font-weight: 400; line-height: 1.1; color: var(--navy-dark); }
.prog-big-h em { font-style: italic; color: var(--purple); }
.prog-big-h.prog-white { color: var(--white); }
.prog-big-h.prog-white em { color: #c090ff; }
.prog-body-l { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--ink2-50); }
.prog-body-l.prog-white { color: rgba(255,255,255,0.6); }

.prog-cta-red {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: var(--white);
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
  padding: 16px 36px; border-radius: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 28px rgba(232,62,49,0.35);
}
.prog-cta-red:hover { background: var(--red-warm); transform: translateY(-3px); box-shadow: 0 10px 40px rgba(232,62,49,0.45); }

.prog-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.ph-right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 1rem; }

/* The three track cards */
.prog-tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

.ptrack {
  position: relative; min-height: 520px;
  cursor: pointer; overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  transition: flex 0.6s var(--r);
}

/* BG image */
.pt-bg { position: absolute; inset: 0; transition: transform 0.6s var(--r), filter 0.6s; }
.pt-bg img { width: 100%; height: 100%; object-fit: cover; }
.pt-overlay { position: absolute; inset: 0; transition: opacity 0.4s; }

.ptrack-1 .pt-overlay { background: linear-gradient(to top, rgba(232,62,49,0.9) 0%, rgba(8,15,56,0.7) 60%, rgba(8,15,56,0.5) 100%); }
.ptrack-2 .pt-overlay { background: linear-gradient(to top, rgba(74,13,143,0.9) 0%, rgba(8,15,56,0.7) 60%, rgba(8,15,56,0.5) 100%); }
.ptrack-3 .pt-overlay { background: linear-gradient(to top, rgba(13,27,94,0.95) 0%, rgba(8,15,56,0.7) 60%, rgba(8,15,56,0.5) 100%); }

.ptrack:hover .pt-bg { transform: scale(1.05); filter: brightness(0.5); }

.pt-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.5rem;
}
.pt-number { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; color: rgba(255,255,255,0.35); margin-bottom: 0.5rem; }
.pt-icon { font-size: 32px; margin-bottom: 1rem; }
.pt-title { font-family: var(--serif); font-size: 30px; color: var(--white); line-height: 1.15; margin-bottom: 0.5rem; }
.pt-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); margin-bottom: 1.5rem; }

/* Courses revealed on hover */
.pt-courses {
  display: flex; flex-direction: column; gap: 0.5rem;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--r), opacity 0.4s;
  opacity: 0;
}
.ptrack:hover .pt-courses { max-height: 220px; opacity: 1; }
.pt-course {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; color: rgba(255,255,255,0.85); line-height: 1.5;
  padding: 8px 12px; border-radius: 6px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.ptc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--white); flex-shrink: 0; margin-top: 5px; }

.pt-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); margin-top: 1.25rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s 0.1s, transform 0.4s 0.1s;
}
.ptrack:hover .pt-link { opacity: 1; transform: none; }
.ptl-arrow {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}

.prog-cta { text-align: center; margin-top: 3.5rem; }
