.practice-intro { isolation: isolate; }
.practice-intro .bonmaek-watermark { top: -.2em; }

.practice-stack {
  --practice-corner: clamp(1.5rem, 2.1vw, 2.6rem);
  --practice-step: clamp(.55rem, .85vw, 1rem);
  position: relative;
  isolation: isolate;
  display: flow-root;
}
.practice-band {
  --level: 0;
  --band-bg: #f0eadb;
  --band-title: #243e32;
  --band-copy: #435649;
  --band-accent: #5c6a47;
  position: sticky;
  top: calc(var(--level) * var(--practice-step));
  top: min(calc(var(--level) * var(--practice-step)),
           calc(100svh - var(--practice-height, 0px) - var(--quick-bar-height, 0px) - env(safe-area-inset-bottom)));
  z-index: var(--level);
  border-radius: var(--practice-corner) var(--practice-corner) 0 0;
  background: var(--band-bg);
  color: var(--band-title);
}
.practice-band + .practice-band { margin-top: calc(-1 * var(--practice-corner)); }
.practice-band:nth-child(2) {
  --level: 1;
  --band-bg: #456754;
  --band-title: #fffdf3;
  --band-copy: #f1f5ea;
  --band-accent: #d5e2c6;
}
.practice-band:nth-child(3) {
  --level: 2;
  --band-bg: #183c32;
  --band-title: #fffcf1;
  --band-copy: #e8efe4;
  --band-accent: #d8caa4;
}
.practice-band:not(:last-child)::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #12241d;
  opacity: var(--practice-shade, 0);
  pointer-events: none;
  content: "";
}
.practice-band-inner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 36%);
  align-items: center;
  gap: clamp(2.25rem, 6vw, 7rem);
  width: min(104rem, 87.4%);
  min-height: clamp(24rem, 58svh, 39rem);
  margin-inline: auto;
  padding-block: clamp(2.75rem, 7.5svh, 6.25rem) clamp(3.8rem, 9svh, 6.75rem);
}
.practice-order {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: clamp(.85rem, 1.5vw, 1.55rem);
  color: var(--band-accent);
  font-size: .88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .075em;
}
.practice-order svg {
  width: 1.8rem;
  height: 1.8rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7px;
  fill: none;
}
.practice-copy h3 {
  margin: 0;
  font-size: clamp(2.1rem, 3.25vw, 3.9rem);
  font-weight: 740;
  line-height: 1.19;
  letter-spacing: -.057em;
  overflow-wrap: anywhere;
}
.practice-copy h3 span { display: block; }
.practice-copy p {
  max-width: 34em;
  margin: clamp(.95rem, 1.75vw, 1.65rem) 0 0;
  color: var(--band-copy);
  font-size: clamp(1rem, 1.12vw, 1.23rem);
  line-height: 1.72;
  letter-spacing: -.018em;
}
.practice-photo {
  align-self: center;
  aspect-ratio: 1.65;
  overflow: hidden;
  border-radius: .8rem;
}
.practice-photo img { width: 100%; height: 100%; object-fit: cover; }
.practice-band:first-child img { object-position: 68% 52%; }
.practice-band:nth-child(2) img { object-position: 64% 52%; }
.practice-band:nth-child(3) img { object-position: 54% 45%; }

@media (max-width: 760px) {
  .practice-band-inner {
    width: calc(100% - 2.5rem);
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 3.5vw, 1.55rem);
    padding-block: 2.1rem calc(1.55rem + var(--practice-corner));
  }
  .practice-order { gap: .5rem; margin-bottom: .65rem; }
  .practice-order svg { width: 1.45rem; height: 1.45rem; }
  .practice-copy h3 { font-size: clamp(1.62rem, 5.45vw, 2.4rem); line-height: 1.22; }
  .practice-copy p { margin-top: .85rem; font-size: 1rem; line-height: 1.63; }
  .practice-photo {
    width: 100%;
    height: clamp(8rem, 23svh, 15.5rem);
    aspect-ratio: auto;
    border-radius: .65rem;
  }
}
@media (min-width: 540px) and (max-height: 520px) {
  .practice-band-inner {
    width: 90%;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 32%);
    gap: 1.5rem;
    padding-block: 1.45rem calc(1.25rem + var(--practice-corner));
  }
  .practice-order { margin-bottom: .55rem; }
  .practice-copy h3 { font-size: clamp(1.45rem, 3vw, 2.3rem); }
  .practice-copy p { margin-top: .65rem; font-size: 1rem; line-height: 1.5; }
  .practice-photo { height: auto; aspect-ratio: 1.4; }
}
@media (prefers-reduced-motion: reduce), print {
  .practice-band { position: relative; top: auto; }
  .practice-band + .practice-band { margin-top: 0; }
  .practice-band::after { display: none; }
}
@media print {
  .practice-band { break-inside: avoid; border-radius: 0; background: white; color: #243e32; }
  .practice-copy p, .practice-order { color: #243e32; }
  .practice-band-inner { min-height: 0; width: 100%; padding: 1rem; }
}
