/* The hero fills the canvas; its moving interior stays inside the full frame. */
body.refined.evolved {
  --story-gutter: 16px;
  --story-radius: 28px;
  --story-gap: 16px;
}

body.refined.evolved .hero {
  display: grid;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  min-height: max(660px, 100svh);
  margin: 0;
  overflow: clip;
  isolation: isolate;
  border-radius: 0;
  transition: none;
}

body.refined.evolved .hero-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: inherit;
}

/* One photograph leads the story; the two ways to train stay in plain text. */
body.refined.evolved .choice {
  display: block;
  width: calc(100% - 2 * var(--story-gutter));
  max-width: none;
  min-height: 0;
  margin: var(--story-gap) auto 0;
  overflow: visible;
  border-radius: 0;
  color: #f5f5f7;
  background: #060708;
  scroll-margin-top: 0;
}

body.refined.evolved .choice-media {
  position: relative;
  isolation: isolate;
  height: clamp(600px, 88svh, 820px);
  overflow: hidden;
  border-radius: var(--story-radius);
  background: #060708;
}

body.refined.evolved .choice-bg {
  position: absolute;
  inset: 0 auto 0 12%;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
  transform-origin: 56% 45%;
}

body.refined.evolved .choice-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #060708 0%, rgba(6, 7, 8, .96) 12%, rgba(6, 7, 8, .66) 29%, rgba(6, 7, 8, .16) 51%, rgba(6, 7, 8, 0) 70%),
    linear-gradient(0deg, rgba(6, 7, 8, .35), rgba(6, 7, 8, 0) 45%);
}

body.refined.evolved .choice-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 64px clamp(32px, 4.4vw, 80px);
}

body.refined.evolved .choice h2 {
  align-self: auto;
  max-width: 12ch;
  margin: 0;
  color: #f5f5f7;
  font-family: "DX", Helvetica, Arial, sans-serif;
  font-size: clamp(80px, 7.6vw, 110px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
  text-align: left;
  text-wrap: initial;
  text-shadow: none;
}
body.refined.evolved .choice-line { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
body.refined.evolved .choice-line > span { display: block; }

body.refined.evolved .choice-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(48px, 8vw, 128px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px clamp(32px, 4.4vw, 80px) 0;
}

body.refined.evolved .choice-note-slot { min-width: 0; }

body.refined.evolved .choice-note {
  min-width: 0;
  border-top: 1px solid #343c41;
  padding-top: 25px;
}

body.refined.evolved .choice-plans {
  display: flex;
  gap: 28px;
  margin-top: 17px;
}
body.refined.evolved .choice-plans a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c2dbec;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #526977;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
body.refined.evolved .choice-plans a[href="#membership-gold"] { color: #e9c992; text-decoration-color: #726344; }
@media (hover: hover) {
  body.refined.evolved .choice-plans a:hover { color: #fff; text-decoration-color: currentColor; }
}

body.refined.evolved .choice-note h3 {
  margin: 0;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
}

body.refined.evolved .choice-description {
  max-width: 43ch;
  margin: 12px 0 0;
  color: #b3babf;
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  body.refined.evolved .choice-inner { align-items: flex-end; padding-block: 48px; }
  body.refined.evolved .choice h2 { font-size: clamp(64px, 7.6vw, 84px); }
  body.refined.evolved .choice-shade {
    background:
      linear-gradient(90deg, #060708 0%, rgba(6, 7, 8, .85) 12%, rgba(6, 7, 8, .28) 40%, rgba(6, 7, 8, 0) 65%),
      linear-gradient(0deg, rgba(6, 7, 8, .75), rgba(6, 7, 8, 0) 58%);
  }
}

@media (max-width: 700px) {
  body.refined.evolved .choice-media {
    height: clamp(510px, 76svh, 660px);
  }
  body.refined.evolved .choice-bg {
    inset: 0;
    object-position: 50% 35%;
    transform-origin: 50% 40%;
  }
  body.refined.evolved .choice-shade {
    background: linear-gradient(0deg, rgba(6, 7, 8, .86) 0%, rgba(6, 7, 8, .54) 24%, rgba(6, 7, 8, 0) 56%);
  }
  body.refined.evolved .choice-inner { padding: 30px 22px; }
  body.refined.evolved .choice h2 {
    font-size: clamp(44px, 10.5vw, 64px);
    line-height: 1.02;
    letter-spacing: -.035em;
  }
}

/* Reading choices stack throughout the mobile layout, independently of the photo. */
@media (max-width: 760px) {
  body.refined.evolved {
    --story-gutter: 8px;
    --story-radius: 24px;
    --story-gap: 8px;
  }
  body.refined.evolved .hero {
    min-height: max(620px, 100svh);
  }
  body.refined.evolved .choice-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    max-width: 560px;
    padding: 32px 4px 0;
  }
  body.refined.evolved .choice-note {
    border-top: 0;
    padding-top: 0;
  }
  body.refined.evolved .choice-note-slot + .choice-note-slot .choice-note {
    border-top: 1px solid #343c41;
    padding-top: 28px;
  }
  body.refined.evolved .choice-note h3 {
    font-size: clamp(28px, 6.7vw, 32px);
    line-height: 1.12;
  }
  body.refined.evolved .choice-description {
    max-width: 38ch;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.refined.evolved .choice-bg {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
