/* Chapters keep 100px above and below their content. The first photograph
   follows the full-bleed hero, with a small, even inset on every screen. */
body.refined.evolved {
  --section-gap: 100px;
}

body.refined.evolved .choice#training,
body.refined.evolved .ways#ways,
body.refined.evolved .compare#compare {
  padding-block: var(--section-gap);
}

body.refined.evolved .choice#training {
  margin-block: 0;
  padding-top: var(--story-gutter);
  scroll-margin-top: calc(var(--section-heading-top, 88px) - 96px - var(--story-gutter));
}

body.refined.evolved .included.recovery.recovery-stacking {
  padding-block: var(--section-gap);
  scroll-margin-top: calc(var(--recovery-stick-top, 88px) - 96px - var(--section-gap));
}

body.refined.evolved .recovery-stacking .amenity-essentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  width: min(100%, 960px);
  margin: 36px auto 0;
  padding: 0;
  border: 0;
}

body.refined.evolved .recovery-stacking .amenity-essentials li {
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

body.refined.evolved .recovery-stacking .amenity-essentials li > span:last-child {
  max-width: 20ch;
  text-wrap: balance;
}

body.refined.evolved .amenity-service-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--text);
  background: rgba(241, 239, 234, .045);
}

body.refined.evolved .amenity-service-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

body.refined.evolved .about-banner#about {
  padding-block: var(--section-gap);
  border: 0;
  scroll-margin-top: calc(var(--section-heading-top, 88px) - 96px - var(--section-gap));
}

/* Keep the Visit photo inside a frame so section padding remains visible
   outside the photo, just as it does for the other chapters. */
body.refined.evolved .visit#visit {
  display: block;
  min-height: 0;
  padding: var(--section-gap) 0;
  border-radius: 0;
  overflow: visible;
  scroll-margin-top: calc(var(--section-heading-top, 88px) - 96px - var(--section-gap));
}

body.refined.evolved .visit-frame {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: max(600px, 86vh);
  padding: var(--gutter);
  border-radius: 40px;
  overflow: clip;
}

@media (max-width: 760px) {
  body.refined.evolved .visit-frame {
    min-height: 560px;
    padding: 16px;
    border-radius: 28px;
  }

  body.refined.evolved .recovery-stacking .amenity-essentials {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }
  body.refined.evolved .recovery-stacking .amenity-essentials li { font-size: 15px; }
  body.refined.evolved .amenity-service-icon { width: 40px; height: 40px; border-radius: 10px; }
}
