/* The week index and lesson lists stay usable without JavaScript. */
.program-weeks {
  margin: 0 0 28px;
  scroll-margin-top: 20px;
}
.program-weeks ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.program-weeks a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  height: 100%;
  padding: 10px 14px;
  background: #fffaf0;
  border: 1px solid #e7dcc1;
  border-radius: 14px;
  color: #252219;
  line-height: 1.25;
  text-decoration: none;
}
.program-weeks a:hover, .program-weeks a:focus-visible { background: #fff0b4; border-color: #a47e15; }
.program-weeks img { width: 43px; height: 43px; flex: none; mix-blend-mode: multiply; }
.program-weeks small, .program-weeks b { display: block; }
.program-weeks small { font-size: 13px; color: #655a3c; margin-bottom: 3px; }
.program-weeks b { font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; letter-spacing: -.035em; }
.program-stages { display: grid; gap: clamp(26px, 3.3vw, 46px); }
.program-stage {
  --week-surface: #fff2c2;
  --week-detail: #73580a;
  --week-line: #e4cd87;
  min-width: 0;
  scroll-margin-top: 18px;
  border: 1px solid #dedbd0;
  border-radius: 22px;
  background: #fff;
}
.program-stage:nth-child(2) { --week-surface: #f4f2df; --week-detail: #565d2e; --week-line: #c9c7a5; }
.program-stage:nth-child(3) { --week-surface: #f5eede; --week-detail: #77512c; --week-line: #dec7a6; }
.program-stage:nth-child(4) { --week-surface: #f1edf7; --week-detail: #604878; --week-line: #d4c5df; }
.stage-header {
  padding: clamp(19px, 2.7vw, 34px);
  background: var(--week-surface);
  border-bottom: 1px solid var(--week-line);
  border-radius: 21px 21px 0 0;
}
.stage-date { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--week-detail); line-height: 1.3; }
.stage-date strong { padding: 6px 11px; width: fit-content; border-radius: 7px; background: #fffdf6; font-size: 14px; font-weight: 630; }
.stage-header h3 { max-width: 34ch; margin: 12px 0 8px; color: #24231e; font-size: clamp(26px,3.05vw,40px); line-height: 1.13; letter-spacing: -.045em; }
.stage-summary { max-width: 64ch; color: #434238; font-size: clamp(16px,1.45vw,19px); line-height: 1.5; }
.stage-outcome { margin-top: 13px; color: #403e34; font-size: 16px; line-height: 1.5; }
.stage-outcome strong { display: block; color: var(--week-detail); font-weight: 630; font-size: 13px; margin-bottom: 3px; }
.stage-content { padding: 0 clamp(18px,2.7vw,34px) clamp(18px,2.7vw,34px); }
.stage-lessons {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: clamp(26px,4vw,60px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stage-lessons li {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr);
  align-content: start;
  column-gap: clamp(10px,1.3vw,18px);
  padding-block: clamp(20px,2.15vw,30px);
  border-top: 1px solid #dad8ce;
}
.stage-lessons li:nth-child(-n+2) { border-top: 0; }
.lesson-icon {
  display: block; align-self: start; box-sizing: border-box;
  width: 42px; height: 42px; padding: 8px; border-radius: 10px;
  background: var(--week-surface); color: var(--week-detail);
}
.stage-lessons h4 { margin: 0 0 7px; font-size: clamp(20px,1.8vw,25px); line-height: 1.22; font-weight: 630; letter-spacing: -.035em; }
.stage-lessons p { max-width: 60ch; color: #4a4941; font-size: clamp(16px,1.36vw,18px); line-height: 1.55; }
.stage-practice {
  padding: clamp(16px,2vw,24px);
  background: var(--week-surface);
  border-radius: 13px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px 28px;
}
.stage-practice .practice-label { font-size: 13px; font-weight: 650; color: var(--week-detail); }
.stage-practice h4 { margin: 4px 0; font-size: clamp(19px,1.75vw,23px); line-height: 1.25; letter-spacing: -.035em; }
.stage-practice p:last-child { font-size: 16px; line-height: 1.5; max-width: 78ch; color: #45433a; }
.stage-practice a { flex-shrink: 0; font-size: 14px; color: var(--week-detail); text-underline-offset: 4px; padding-block: 6px; }
@media(min-width: 1020px) {
  .stage-header { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(220px,.65fr); column-gap: 56px; }
  .stage-date, .stage-header h3, .stage-summary { grid-column: 1; }
  .stage-outcome { grid-column: 2; grid-row: 2 / 4; margin: 0; align-self: center; padding-left: 22px; border-left: 2px solid var(--week-line); }
}
@media(max-width: 880px) {
  .program-weeks ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 730px) {
  .stage-lessons { grid-template-columns: minmax(0,1fr); }
  .stage-lessons li:nth-child(2) { border-top: 1px solid #dad8ce; }
  .stage-practice { align-items: flex-start; flex-direction: column; }
}
@media(max-width: 520px) {
  .program-weeks ol { gap: 8px; }
  .program-weeks a { padding: 10px 6px; min-height: 68px; gap: 5px; }
  .program-weeks img { width: 27px; height: 27px; }
  .program-weeks small { font-size: 12px; }
  .program-weeks b { font-size: 15px; }
  .stage-date { font-size: 14px; }
  .lesson-icon { width: 36px; height: 36px; padding: 6px; }
}
@media(max-width: 360px) {
  .program-weeks img { width: 19px; height: 19px; }
  .program-weeks b { font-size: 14px; }
  .stage-header, .stage-content { padding-inline: 14px; }
}
.program-bottom { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-top: 20px; }
.program-bottom .program-pace { margin: 0; border: 0; padding: 0; max-width: 720px; }
.program-bottom .text-link { flex: none; font-size: 12px; }
.extra-gifts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.extra-gifts article { border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.extra-gifts h3 { font-size: 21px; letter-spacing: -.5px; line-height: 1.3; }
.extra-gifts p:not(.eyebrow) { font-size: 14px; color: #505158; margin-top: 12px; }
.extra-gifts article>span { display: inline-block; font-size: 12px; background: #fff4ce; border-radius: 8px; padding: 7px 10px; margin-top: 16px; }
@media(max-width: 700px) {
 .program-bottom { display: grid; gap: 14px; }
 .extra-gifts { grid-template-columns: 1fr; }
 .extra-gifts article { padding: 22px; }
 .extra-gifts h3 { font-size: 20px; }
}
