.home-routine {
  background: #eeece2;
  color: #252b22;
  padding-block: clamp(3.5rem, 6.7vw, 7.5rem);
  scroll-margin-top: 1rem;
}
.routine-intro {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.78fr); gap: clamp(2rem,5vw,6rem);
  align-items: end; margin-bottom: clamp(1.75rem,3.7vw,4rem);
}
.home-routine .routine-intro h2 {
  margin: 0; max-width: 13ch; font: 400 clamp(3.1rem,5.45vw,6.25rem)/1.02 var(--serif);
  letter-spacing: -.055em; text-wrap: balance;
}
.routine-intro h2 em { font-weight: inherit; }
.routine-intro p { margin: 0; max-width: 42ch; font-size: clamp(1.1rem,1.35vw,1.4rem); line-height: 1.42; color: #444a3f; }
.routine-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); align-items: stretch; background: #232a23; color: #f8f6eb; }
.routine-view { display: flex; flex-direction: column; justify-content: center; min-width: 0; margin: 0; background: #171d18; }
.routine-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.routine-view figcaption { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding: .55rem clamp(.8rem,2vw,1.8rem); min-height: 54px; }
.routine-caption { font-size: .96rem; color: #e1e4d6; }
.routine-watch { display: inline-flex; align-items: center; gap: .5rem; min-height: 36px; font-size: .96rem; font-weight: 500; }
.routine-watch .play-icon { flex: none; width: 1.3rem; height: 1.3rem; }
.routine-watch:hover, .routine-links a:hover { text-decoration: underline; text-underline-offset: .22em; }
.routine-console, .routine-static { align-self: center; min-width: 0; margin: 0; padding: clamp(1.4rem,2.7vw,3rem); }
.routine-console fieldset { min-width: 0; padding: 0; margin: 0 0 clamp(1.3rem,2vw,2.1rem); border: 0; }
.routine-console legend { margin-bottom: .55rem; padding: 0; font: 400 clamp(1.2rem,1.6vw,1.6rem)/1.13 var(--serif); }
.routine-options { display: flex; flex-wrap: wrap; gap: .38rem; }
.routine-options label { position: relative; cursor: pointer; }
.routine-options input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.routine-options span { display: inline-flex; align-items: center; min-height: 42px; padding: .4rem .7rem; font-size: .97rem; font-weight: 400; color: #e5e6d9; border: 1px solid #7c8475; }
.routine-options input:checked + span { background: #f4f1e4; border-color: #f4f1e4; color: #252b22; font-weight: 600; }
.routine-options input:focus-visible + span { outline: 2px solid #eacda2; outline-offset: 3px; }
.routine-response { min-height: 5.2em; padding-top: 1.05rem; border-top: 1px solid #697065; font-size: clamp(1.03rem,1.2vw,1.2rem); line-height: 1.42; color: #f2f0e7; }
.routine-static { display: grid; gap: .65rem; }
.routine-static div { display: grid; gap: .13rem; }
.routine-static dt { font-weight: 600; color: #fffaf0; }
.routine-static dd { margin: 0; color: #dedfd4; font-size: 1rem; line-height: 1.35; }
.routine-readings { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); margin: 0; border: 1px solid #bcbfaf; border-top: 0; }
.routine-reading { position: relative; min-width: 0; padding: clamp(.8rem,1.6vw,1.6rem); }
.routine-reading + .routine-reading { border-left: 1px solid #bcbfaf; }
.routine-reading dt { display: flex; align-items: center; gap: .5rem; color: #434a3e; font-weight: 400; font-size: 1rem; }
.routine-reading svg { width: 1.32rem; height: 1.32rem; flex: none; }
.routine-reading dd { display: grid; gap: .25rem; margin: .65rem 0 0; }
.routine-reading strong { display: flex; align-items: center; flex-wrap: wrap; gap: .4em; font: 400 clamp(1.4rem,2.15vw,2.3rem)/1.1 var(--serif); letter-spacing: -.035em; }
.routine-reading strong::before { content: ""; width: .32em; height: .32em; border: 1px solid #697062; border-radius: 50%; }
.routine-reading[data-active] strong::before { background: #65754f; border-color: #65754f; }
.routine-reading small { color: #555c4f; font-size: .92rem; }
.routine-links { display: flex; flex-wrap: wrap; gap: .4rem 2rem; margin-top: 1.2rem; }
.routine-links a { display: inline-flex; align-items: center; gap: .6rem; min-height: 42px; font-weight: 500; }
.routine-links .arrow { width: 1.15rem; }
@media (max-width: 900px) {
  .routine-layout { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }
  .routine-console, .routine-static { padding: 1.25rem; }
  .routine-response { min-height: 0; }
}
@media (max-width: 720px) {
  .routine-intro, .routine-layout { grid-template-columns: minmax(0,1fr); }
  .routine-intro { gap: 1rem; }
  .routine-console fieldset { margin-bottom: 1.1rem; }
  .routine-readings { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .routine-reading:nth-child(3n+1) { border-left: 0; }
  .routine-reading:nth-child(n+4) { border-top: 1px solid #bcbfaf; }
  .routine-reading:last-child { grid-column: span 2; }
}
@media (max-width: 440px) {
  .home-routine .routine-intro h2 { font-size: clamp(2.6rem,10vw,3.1rem); }
  .routine-view figcaption { align-items: flex-start; flex-direction: column; gap: .12rem; padding-block: .6rem; }
  .routine-readings { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .routine-reading:nth-child(3n+1) { border-left: 1px solid #bcbfaf; }
  .routine-reading:nth-child(2n+1) { border-left: 0; }
  .routine-reading:nth-child(n+3) { border-top: 1px solid #bcbfaf; }
  .routine-reading:last-child { grid-column: span 2; }
  .routine-reading { padding: .78rem; }
  .routine-reading:not(:last-child) dt { min-height: 2.6em; }
  .routine-options span { padding-inline: .55rem; }
  .routine-links { column-gap: 1.2rem; }
}
