.version-two :where(h1, h2, h3, h4, p, summary, .proof-inner div, .week-day-name, .evolve90, .pricing-v2) {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.version-two :where(.section-head, .story-grid, .faq-grid, .contact-grid, .header-nav) > * {
  min-width: 0;
}

.version-two .hero-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  min-height: min(745px, calc(100svh - 72px));
  padding-block: clamp(48px, 6vw, 88px);
  padding-inline: max(clamp(20px, 6.4vw, 100px), calc((100% - 1240px) / 2));
  background:
    radial-gradient(ellipse at 86% 19%, #29321a 0%, #151910 34%, transparent 64%),
    var(--deep);
}

.hero-v2-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-v2-copy h1 {
  font-size: clamp(3.45rem, 6.75vw, 7.15rem);
  text-wrap: initial;
}

.hero-v2-copy .lede {
  max-width: 43ch;
}

.hero-v2-copy .actions {
  gap: 12px 20px;
}

.hero-v2-copy .actions .text-link {
  margin-top: 0;
}

.hero-programme-link {
  display: grid;
  justify-items: start;
  gap: 3px;
  min-width: 0;
}

.hero-programme-summary {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 800;
}

.hero-contact-note {
  max-width: 48ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: .875rem;
}

.version-two #coaching .card-body {
  min-width: 0;
  overflow-wrap: anywhere;
}

.nutrition-card img {
  object-position: center 55%;
}

.hero-v2-photo,
.version-two .nutrition-card img,
.version-two .milestone-photo img {
  filter: saturate(.76);
}

.version-two .draft-preview {
  display: grid;
  gap: 6px;
  margin-top: 7px;
}

.version-two .draft-preview textarea {
  min-height: 106px;
  resize: vertical;
}

.version-two :is(.contact-panel, .intake-card) > * {
  min-width: 0;
}

.version-two .intake-copy {
  overflow-wrap: anywhere;
}

.version-two .intake-actions {
  grid-template-columns: minmax(0, 1fr);
}

.version-two .pricing-plan {
  grid-template-columns: minmax(0, 1fr);
}

.version-two :is(.contact-panel .actions, .intake-actions) .button {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.version-two .draft-preview p {
  color: #3d4515;
  font-size: .875rem;
}

.version-two .faq-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .18em;
}

@media (min-width: 1024px) {
  .version-two #coaching .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (670px < width < 1024px) {
  .version-two #coaching .nutrition-card {
    grid-column: 1 / -1;
    min-height: 320px;
  }
}

@media (max-width: 749px) {
  .version-two :is(.pricing-gym, .pricing-hybrid, .pricing-plans) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-v2-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  justify-items: start;
  min-width: 0;
  min-height: clamp(27rem, 39vw, 36rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid #525c3a;
  border-radius: 9px;
  background: #24291d;
}

.hero-v2-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 43% 26%;
  position: absolute;
  inset: 0;
  display: block;
  z-index: -2;
}

.hero-v2-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 87% 7%, #1c271ab8, #0b0c0a00 48%),
    linear-gradient(0deg, #090b08e8, #090b0830 28%, transparent 55%);
}

.hero-v2-caption {
  max-width: 32ch;
  margin: 0;
  padding: clamp(15px, 2.1vw, 28px);
  color: #f0f0e6;
  font-size: .875rem;
  line-height: 1.45;
}

.hero-v2-caption a:focus-visible {
  text-decoration: underline;
}

@media (hover: hover) and (pointer: fine) {
  .hero-v2-caption a:hover {
    text-decoration: underline;
  }
}

.hero-v2-mark {
  position: absolute;
  inset: clamp(20px, 3vw, 42px) clamp(19px, 3.1vw, 42px) auto auto;
  width: clamp(76px, 10.5vw, 154px);
  aspect-ratio: 253 / 160;
  perspective: 460px;
  color: var(--accent);
  pointer-events: none;
}

.hero-v2-mark span {
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 0 10px #daff5b60);
}

.hero-v2-mark span::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(145deg, #f1ffac 3%, var(--accent) 45%, #badd36 100%);
  mask: url("/assets/mark.png?v=7bf4b52285594fc9") center / 100% 100% no-repeat;
  clip-path: inset(var(--slice-start) 0 var(--slice-end) 0);
}

.hero-v2-mark span:nth-child(1) {
  --slice-start: 0%;
  --slice-end: 74%;
  --start-x: 28%;
  --entry-delay: 0ms;
}

.hero-v2-mark span:nth-child(2) {
  --slice-start: 35%;
  --slice-end: 34%;
  --start-x: 10%;
  --entry-delay: 75ms;
}

.hero-v2-mark span:nth-child(3) {
  --slice-start: 74%;
  --slice-end: 0%;
  --start-x: -9%;
  --entry-delay: 150ms;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-v2-mark span {
    animation: evolve-mark-lock 830ms cubic-bezier(.2, .74, .22, 1) var(--entry-delay) both;
  }
}

@keyframes evolve-mark-lock {
  0% {
    opacity: 0;
    transform: translate3d(var(--start-x), -13%, -130px) rotateX(34deg) rotateY(-48deg);
  }
  30% {
    opacity: .86;
  }
  72% {
    opacity: 1;
    transform: translate3d(0, 0, 12px) rotateX(-2deg) rotateY(3deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 940px) {
  .version-two .hero-v2 {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero-v2-copy h1 {
    font-size: clamp(3.45rem, 10.3vw, 6.5rem);
  }

  .hero-v2-visual {
    min-height: 0;
    aspect-ratio: 1.7;
  }

  .hero-v2-photo {
    object-position: 43% 18%;
  }
}

@media (max-width: 860px) {
  html:has(.version-two .version-header) {
    scroll-padding-top: max(96px, 6rem);
  }

  .version-two .version-header .top-inner {
    display: grid;
    grid-template-columns: minmax(min-content, 1fr) minmax(0, max-content);
    min-height: 0;
    gap: 4px 12px;
    padding-block: 6px 4px;
  }

  .version-two .version-header .top-cta {
    min-height: 36px;
    max-width: 50vw;
    padding: 5px 10px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .version-two .header-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 3px;
  }

  .version-two .version-header nav a {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 34px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 670px) {
  .version-two .hero-v2 {
    gap: 27px;
    padding-block: 44px 34px;
  }

  .hero-v2-copy h1 {
    font-size: clamp(2.7rem, 10.5vw, 4.8rem);
  }

  .hero-v2-copy .lede {
    margin-top: 18px;
  }

  .version-two #coaching .photo-card {
    min-height: 320px;
  }

  .version-two .contact-panel .dark {
    width: 100%;
  }

  .version-two .intake-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .version-two .week-day {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }

  .hero-v2-visual {
    aspect-ratio: 1.26;
  }

  .hero-v2-photo {
    object-position: 43% 26%;
  }
}

@media (forced-colors: active) {
  .version-two .contact-panel select {
    appearance: auto;
    background-image: none;
    padding-inline-end: 13px;
  }
}
