/* Light image-led rhythm section */
.rhythm {
  position: relative;
  color: #181716;
  background:
    radial-gradient(circle at 84% 8%, rgba(243,161,169,.11), transparent 28%),
    linear-gradient(180deg,#fcf9f4 0%,#f3eadf 100%);
}
.rhythm::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(30deg, rgba(247,178,181,.055) 12%, transparent 12.5%, transparent 87%, rgba(247,178,181,.055) 87.5%),
    linear-gradient(150deg, rgba(243,161,169,.045) 12%, transparent 12.5%, transparent 87%, rgba(243,161,169,.045) 87.5%),
    linear-gradient(30deg, rgba(247,178,181,.035) 12%, transparent 12.5%, transparent 87%, rgba(247,178,181,.035) 87.5%);
  background-position: 0 0, 0 0, 32px 56px;
  background-size: 64px 112px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 76%, transparent 100%);
  pointer-events: none;
}
.rhythm .section-heading h2 {
  font-size: clamp(48px,5.6vw,82px);
}
.rhythm .section-heading { position: relative; z-index: 1; }
.rhythm .section-index { color: var(--accent-button); }
.rhythm .section-heading--light h2 { color: #181716; }
.rhythm .section-heading--light h2 em { color: var(--accent-text); }
.rhythm .section-heading--light > p {
  color: #625751;
  font-size: 18px;
  line-height: 1.65;
}
.week-track {
  position: relative;
  z-index: 1;
  gap: 12px;
}
.week-track article,
.week-track article:last-child {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  padding: 30px 26px;
  overflow: hidden;
  color: #fff;
  background: #5b1a30;
  border: 0;
  box-shadow: 0 18px 45px rgba(49,31,35,.12);
}
.week-track article img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.03);
  transition: transform .8s var(--ease), filter .6s ease;
}
.week-track article:nth-child(1) img { object-position: 53% center; }
.week-track article:nth-child(2) img { object-position: 52% center; }
.week-track article:nth-child(3) img { object-position: 51% center; }
.week-track article:nth-child(4) img { object-position: 54% center; }
.week-track article::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  transition: opacity .45s ease;
}
.week-track article:nth-child(1)::before {
  background: linear-gradient(180deg,rgba(252,249,244,.08) 0%,rgba(91,26,48,.16) 40%,rgba(61,16,32,.96) 100%);
}
.week-track article:nth-child(2)::before {
  background: linear-gradient(180deg,rgba(24,23,22,.08) 0%,rgba(243,161,169,.12) 46%,rgba(100,30,52,.95) 100%);
}
.week-track article:nth-child(3)::before {
  background: linear-gradient(180deg,rgba(243,234,223,.06) 0%,rgba(247,178,181,.18) 42%,rgba(24,23,22,.94) 100%);
}
.week-track article:nth-child(4)::before {
  background: linear-gradient(180deg,rgba(242,223,220,.05) 0%,rgba(243,161,169,.16) 43%,rgba(91,26,48,.96) 100%);
}
.week-track article::after {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(255,255,255,.36);
  pointer-events: none;
}
.week-track article > span,
.week-track article > h3,
.week-track article > p,
.week-track article > .track-line {
  position: relative;
  z-index: 2;
}
.week-track span {
  width: max-content;
  padding: 8px 10px;
  color: #3d1020;
  background: rgba(252,249,244,.88);
  backdrop-filter: blur(8px);
  font-weight: 700;
}
.week-track h3 {
  margin: auto 0 14px;
  color: #fff;
  font-family: var(--impact);
  font-size: clamp(34px,3.2vw,48px);
  letter-spacing: -.06em;
  line-height: .95;
  text-transform: uppercase;
}
.week-track p {
  min-height: 88px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  line-height: 1.55;
}
.track-line {
  height: 3px;
  margin-top: 28px;
  background: rgba(255,255,255,.3);
}
.track-line i { background: #f2dfdc; }
.week-track article:hover img {
  filter: saturate(.98) contrast(1.05);
  transform: scale(1.055);
}
.week-track article:hover::before { opacity: .88; }

@media (max-width: 800px) {
  .rhythm { padding-right: 16px; padding-left: 16px; }
  .rhythm .section-heading h2 { font-size: 48px; }
  .rhythm .section-heading--light > p { font-size: 16px; }
  .week-track { gap: 14px; }
  .week-track article,
  .week-track article:last-child {
    min-height: 610px;
    padding: 28px 24px;
    border: 0;
  }
  .week-track h3 { font-size: 42px; }
  .week-track p { min-height: 0; }
}
