/* /css/programs.css — individual program page layouts */

/* Hero — full-bleed photo layout */

.program-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.program-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: min(560px, 90vh);
}

.program-hero-copy-wrap {
  display: flex;
  align-items: center;
  padding: 48px clamp(22px, 4vw, 56px) 48px max(22px, calc((100vw - 1120px) / 2 + 22px));
  background:
    radial-gradient(circle at 0% 0%, rgba(241, 182, 70, 0.14), transparent 38%),
    var(--paper);
}

.program-hero-copy {
  max-width: 560px;
}

.program-hero-copy h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin-bottom: 12px;
}

.program-hero-subtitle {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0 0 4px;
}

.program-hero-copy .price-line {
  margin: 20px 0 0;
  max-width: 340px;
}

.program-hero-copy .price-note {
  margin-top: 12px;
}

.program-hero-copy .page-hero-actions {
  margin-top: 22px;
}

/* Photo panel */

.program-hero-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--sage);
}

.program-hero-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.program-hero-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.92) 0%, rgba(255, 253, 247, 0.35) 18%, rgba(255, 253, 247, 0.05) 42%, transparent 58%),
    linear-gradient(180deg, transparent 55%, rgba(24, 56, 74, 0.28) 100%);
  pointer-events: none;
}

.program-hero--elite .program-hero-media-overlay {
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.94) 0%, rgba(255, 253, 247, 0.4) 20%, rgba(20, 63, 88, 0.15) 50%, transparent 65%),
    linear-gradient(180deg, transparent 50%, rgba(20, 63, 88, 0.45) 100%);
}

.program-hero--elite .program-hero-photo {
  object-position: center top;
}

.program-hero-badge {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  border-left: 6px solid var(--orange);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.program-hero--community .program-hero-badge { border-left-color: var(--green); }
.program-hero--family .program-hero-badge { border-left-color: var(--gold); }
.program-hero--elite .program-hero-badge { border-left-color: var(--ink-2); }
.program-hero--business .program-hero-badge { border-left-color: var(--ink-2); }
.program-hero--partnership .program-hero-badge { border-left-color: var(--green); }

.program-hero--partnership .program-hero-photo {
  object-position: center 30%;
}

.program-hero-copy .price-line {
  max-width: 400px;
}

.program-hero-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.1;
}

.program-hero-badge span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Spotlight band */

.program-spotlight {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.program-spotlight-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 340px;
}

.program-spotlight-photo {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.program-spotlight-photo img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.program-spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px clamp(22px, 4vw, 48px);
}

.program-spotlight-copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 12px;
}

.program-spotlight-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0;
  max-width: 480px;
}

/* Feature bands */

.program-features {
  padding: 44px 0;
  background: var(--cream);
}

.program-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.program-feature {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(24, 56, 74, 0.06);
}

.program-feature-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green-deep);
  font-weight: 950;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.program-feature.accent-gold .program-feature-num { background: #fff2c2; color: #a87408; }
.program-feature.accent-blue .program-feature-num { background: var(--sky); color: var(--ink-2); }

.program-feature h3 { margin-bottom: 8px; }
.program-feature p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* Stack showcase */

.program-stack-showcase {
  padding: 48px 0;
  background: #fff;
}

.program-stack-showcase.alt { background: var(--paper); }

.program-stack-header {
  max-width: 680px;
  margin-bottom: 32px;
}

.program-stack-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.program-stack-header p {
  color: var(--muted);
  font-size: 1.06rem;
  margin-top: 12px;
}

.program-stack-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.program-stack-card {
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.program-stack-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--green-deep);
}

.program-stack-visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 320px;
}

.program-stack-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.program-stack-copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.program-stack-copy p {
  color: var(--muted);
}


.phase-timeline {
  display: grid;
  gap: 16px;
}

.phase-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(24, 56, 74, 0.05);
}

.phase-label {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--green-deep);
  line-height: 1.15;
}

.phase-card:nth-child(2) .phase-label { color: #c58808; }
.phase-card:nth-child(3) .phase-label { color: var(--ink-2); }
.phase-card:nth-child(4) .phase-label { color: var(--orange); }

/* Elite split */

.elite-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.elite-family-card {
  padding: 28px;
  background: var(--sage);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.elite-plus-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* Nested lists */

.nested-list {
  list-style: none;
  padding: 8px 0 0 20px;
  margin: 0;
  display: grid;
  gap: 6px;
}

.nested-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nested-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--green-deep);
  font-weight: 700;
}

.clean-list li.has-children {
  padding-left: 28px;
}

.clean-list li.has-children::before {
  content: "✓";
}

/* Pull quote */

.program-quote {
  padding: 44px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(241, 182, 70, 0.15), transparent 35%),
    linear-gradient(135deg, #4d8658, #5e9463);
  text-align: center;
}

.program-quote blockquote {
  margin: 0 auto;
  max-width: 720px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.25;
  font-weight: 500;
}

.program-quote cite {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 700;
}

.program-quote--business {
  background:
    radial-gradient(circle at 88% 15%, rgba(241, 182, 70, 0.14), transparent 35%),
    linear-gradient(135deg, #143f58, #2d735d);
}

.program-quote--partnership {
  background:
    radial-gradient(circle at 12% 20%, rgba(241, 182, 70, 0.15), transparent 35%),
    linear-gradient(135deg, #4d8658, #5e9463);
}

.org-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.org-card-rich {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(24, 56, 74, 0.06);
}

.org-card-rich h3 { margin-bottom: 8px; }
.org-card-rich p { color: var(--muted); margin: 0; font-size: 0.98rem; }

@media (max-width: 680px) {
  .org-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1040px) {
  .program-hero-layout {
    grid-template-columns: 1fr;
  }

  .program-hero-copy-wrap {
    padding: 40px 22px 32px;
  }

  .program-hero-media {
    min-height: 300px;
    order: -1;
  }

  .program-hero-photo {
    min-height: 300px;
  }

  .program-hero-media-overlay {
    background:
      linear-gradient(180deg, transparent 40%, rgba(24, 56, 74, 0.35) 100%),
      linear-gradient(90deg, transparent 60%, rgba(255, 253, 247, 0.1) 100%);
  }
}

@media (max-width: 980px) {
  .program-feature-grid,
  .elite-split,
  .program-spotlight-grid,
  .program-stack-layout {
    grid-template-columns: 1fr;
  }

  .phase-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 680px) {
  .program-feature-grid { grid-template-columns: 1fr; }

  .program-hero-badge {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .program-hero-copy .page-hero-actions {
    flex-direction: column;
  }

  .program-hero-copy .page-hero-actions .button {
    width: 100%;
  }
}
