
/* ============================================================
   Practices page robustness + Library-filter card links — v28
   ============================================================ */

.practice-section-intro {
  max-width: 850px;
  color: rgba(75,55,40,.74);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: .45rem 0 0;
}

.practices-life-card {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.practices-life-card:hover,
.practice-guidance-card:hover,
.begin-next-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(64,43,29,.10);
}

.practice-card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: .85rem;
  color: #8a543c;
  font-weight: 950;
  font-size: .92rem;
}

.practices-guidance-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(168,95,63,.10), transparent 22rem),
    rgba(255,249,239,.32);
}

.practice-guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.practice-guidance-card {
  background:
    linear-gradient(180deg, rgba(255,249,239,.90), rgba(251,243,230,.78)),
    url("../img/card-paper-texture.png");
  background-size: cover;
  border: 1px solid rgba(75,55,40,.14);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(64,43,29,.07);
  padding: 1.25rem;
}

.practice-guidance-card h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin: .25rem 0 .45rem;
}

.practice-guidance-card p {
  color: rgba(75,55,40,.76);
  line-height: 1.45;
  margin-bottom: 0;
}

.practices-rhythm-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,.55fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.practice-rhythm-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: .7rem;
  counter-reset: rhythm;
}

.practice-rhythm-list li {
  counter-increment: rhythm;
  display: grid;
  grid-template-columns: 2.2rem minmax(0,1fr);
  gap: .8rem;
  align-items: start;
  padding: .9rem 1rem;
  border-radius: 18px;
  background: rgba(255,249,239,.78);
  border: 1px solid rgba(75,55,40,.12);
  color: rgba(40,34,28,.88);
  line-height: 1.45;
}

.practice-rhythm-list li::before {
  content: counter(rhythm);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff9ef;
  background: #68704d;
  font-weight: 950;
}

.practice-rhythm-note {
  color: rgba(75,55,40,.70);
  font-weight: 800;
}

.practice-rhythm-art {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(75,55,40,.12);
  background: rgba(255,249,239,.75);
  box-shadow: 0 14px 34px rgba(64,43,29,.07);
}

.practice-rhythm-art img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.practices-together-section {
  background: rgba(255,249,239,.30);
}

.practice-together-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 1.25rem;
  align-items: center;
  border: 1px solid rgba(75,55,40,.13);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(228,236,217,.76), rgba(255,249,239,.78)),
    url("../img/card-paper-texture.png");
  background-size: cover;
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 14px 38px rgba(64,43,29,.08);
}

.practice-together-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: .1rem 0 .6rem;
}

.practice-together-card p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(75,55,40,.78);
  line-height: 1.55;
}

.practice-together-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .practice-guidance-grid,
  .practices-rhythm-grid,
  .practice-together-card {
    grid-template-columns: 1fr;
  }

  .practice-together-actions {
    justify-content: flex-start;
  }
}

/* ============================================================
   Practices page rhythm section polish — v28b
   ============================================================ */

.practices-rhythm-section {
  background:
    radial-gradient(circle at 82% 8%, rgba(228,199,132,.18), transparent 24rem),
    radial-gradient(circle at 10% 88%, rgba(116,132,82,.10), transparent 24rem),
    rgba(255,249,239,.64);
}

.practices-rhythm-heading {
  max-width: 860px;
  margin-bottom: 1.15rem;
}

.practice-heading-divider {
  display: flex;
  align-items: center;
  max-width: 460px;
  margin: .9rem 0 1.05rem;
}

.practice-heading-divider::before,
.practice-heading-divider::after,
.practice-rhythm-art-caption span {
  content: "";
  display: block;
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(154,106,67,.30), transparent);
}

.practice-heading-divider span {
  width: 46px;
  height: 18px;
  margin: 0 .7rem;
  background: url("../img/practices_divider_sprig.png") center / contain no-repeat;
  opacity: .72;
}

.practices-rhythm-grid {
  margin-top: 1.15rem;
}

.practice-rhythm-card,
.practice-rhythm-art-card,
.practice-rhythm-cta {
  border: 1px solid rgba(75,55,40,.13);
  background:
    linear-gradient(180deg, rgba(255,249,239,.92), rgba(251,243,230,.80)),
    url("../img/card-paper-texture.png");
  background-size: cover;
  box-shadow: 0 18px 48px rgba(64,43,29,.08);
}

.practice-rhythm-card {
  border-radius: 28px;
  padding: clamp(1.1rem, 2.3vw, 2rem);
}

.practice-rhythm-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}

.practice-rhythm-steps li {
  display: grid;
  grid-template-columns: 96px 2.1rem minmax(0,1fr);
  gap: clamp(.75rem, 1.8vw, 1.25rem);
  align-items: center;
  padding: clamp(1.05rem, 2vw, 1.35rem) 0;
  border-bottom: 1px solid rgba(154,106,67,.18);
  position: relative;
}

.practice-rhythm-steps li:last-child {
  border-bottom: 0;
}

.practice-rhythm-icon {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,249,239,.80);
  border: 1px solid rgba(75,55,40,.10);
  box-shadow: 0 12px 26px rgba(64,43,29,.10);
  overflow: hidden;
}

.practice-rhythm-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.practice-rhythm-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff9ef;
  background: #68704d;
  font-weight: 950;
  font-size: .92rem;
  box-shadow: 0 7px 18px rgba(64,43,29,.10);
}

.practice-rhythm-copy h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 2.3vw, 2.35rem);
  margin: 0 0 .2rem;
  color: var(--ink);
  line-height: 1.05;
}

.practice-rhythm-label {
  margin: 0 0 .55rem;
  color: #68704d;
  font-size: .82rem;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 950;
}

.practice-rhythm-copy p:not(.practice-rhythm-label) {
  margin: 0;
  max-width: 42rem;
  color: rgba(40,34,28,.86);
  line-height: 1.55;
  font-size: 1.02rem;
}

.practice-rhythm-note {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: .8rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(154,106,67,.18);
  color: rgba(75,55,40,.78);
  font-weight: 850;
  line-height: 1.45;
}

.practice-rhythm-note img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
  opacity: .82;
}

.practice-rhythm-art-card {
  border-radius: 28px;
  padding: clamp(.9rem, 1.8vw, 1.25rem);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.practice-rhythm-art {
  margin: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,249,239,.70);
  box-shadow: none;
}

.practice-rhythm-art img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.practice-rhythm-art-caption {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: .8rem auto .25rem;
  width: min(100%, 340px);
  color: #8a543c;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.15;
}

.practice-rhythm-art-caption strong {
  flex: 0 0 auto;
}

.practice-rhythm-cta {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.35rem;
  border-radius: 24px;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.practice-rhythm-cta-icon {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(228,236,217,.72);
  border: 1px solid rgba(75,55,40,.10);
}

.practice-rhythm-cta-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: multiply;
}

.practice-rhythm-cta h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  margin: 0 .0rem .2rem;
  color: var(--ink);
}

.practice-rhythm-cta p {
  margin: 0;
  color: rgba(75,55,40,.78);
  line-height: 1.45;
}

.practice-rhythm-cta .button {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .practice-rhythm-cta {
    grid-template-columns: auto minmax(0,1fr);
  }

  .practice-rhythm-cta .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .practice-rhythm-steps li {
    grid-template-columns: 60px minmax(0,1fr);
    align-items: start;
  }

  .practice-rhythm-icon {
    width: 56px;
    height: 56px;
  }

  .practice-rhythm-number {
    position: absolute;
    left: 42px;
    top: 1rem;
    width: 1.65rem;
    height: 1.65rem;
    font-size: .78rem;
  }

  .practice-rhythm-copy {
    padding-left: .35rem;
  }

  .practice-rhythm-note,
  .practice-rhythm-cta {
    align-items: flex-start;
  }
}
