/* Homepage sections below the original hero. */
.mf-home__section {
  position: relative;
  z-index: 2;
  padding: clamp(64px, 8.6vw, 132px) var(--gutter);
  border-top: 1px solid #34312b;
  scroll-margin-top: 64px;
}

.mf-home__wrap {
  max-width: 1184px;
  margin-inline: auto;
}

.mf-home__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(32px, 7vw, 104px);
  align-items: start;
}

.mf-home__section h2 {
  max-width: 14ch;
  margin: 0;
  font: 600 clamp(38px, 5.2vw, 78px)/1.03 var(--mf-font-display);
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.mf-home__section p {
  margin-block: 0;
}

.mf-home__section .mf-home__label {
  margin-bottom: 20px;
}

#hero .hero__lower {
  align-items: start;
}

.mf-home__intro {
  color: #d0cbc1;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.68;
}

.mf-home__intro p + p {
  margin-top: 16px;
}

.mf-home__split h2 + .mf-home__intro {
  margin-top: 24px;
}

.mf-frame-intro {
  background: #171511;
}

.mf-frame-intro__head {
  align-items: center;
}

.mf-frame-intro .mf-frame-statement {
  max-width: 100%;
  font: 700 clamp(34px, 4.5vw, 65px)/1.02 var(--mf-font-display);
  letter-spacing: -.015em;
}

.mf-frame-statement span {
  color: #a2866b;
}

.mf-frame-intro__lead .mf-frame-statement + .mf-frame-intro__subhead {
  margin-top: 16px;
}

.mf-frame-intro__hook {
  color: #e6c794;
  font: 600 clamp(26px, 2.7vw, 38px)/1.12 var(--mf-font-display);
}

.mf-frame-strip {
  margin-top: clamp(28px, 5vw, 64px);
}

.mf-frame-strip__viewport {
  display: flex;
  overflow-x: auto;
  scroll-behavior: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #7c6749 transparent;
}

.mf-frame-strip__group {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(10px, 1.4vw, 18px);
  margin: 0;
  padding: 0 clamp(10px, 1.4vw, 18px) 0 0;
  list-style: none;
}

.mf-frame-strip__group li {
  width: clamp(220px, 24vw, 326px);
  aspect-ratio: 326 / 650;
  overflow: hidden;
  border: 1px solid #4b4033;
  background: #0e0d0c;
}

.mf-frame-strip__group img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mf-frame-strip__group .mf-frame-strip__reference img {
  object-fit: contain;
  object-position: center;
}

.mf-frame-strip__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  margin-top: 12px;
  color: #bdb6aa;
  font-size: .78rem;
}

.mf-frame-strip__footer button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #625746;
  background: transparent;
  color: #e6c794;
  font: inherit;
  cursor: pointer;
}

.mf-frame-strip__viewport:focus-visible,
.mf-frame-strip__footer button:focus-visible {
  outline: 2px solid #d8b984;
  outline-offset: 3px;
}

.mf-home__standard {
  background: #111110;
}

.mf-physique-heading h2 + .mf-home__intro {
  margin-top: 0;
}

.mf-physique-presence {
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid #423a30;
}

.mf-physique-presence__head {
  align-items: center;
  row-gap: 16px;
}

.mf-physique-presence h3 {
  margin: 0;
  color: var(--mf-fg-1);
  font: 700 clamp(38px, 5.2vw, 72px)/1.02 var(--mf-font-display);
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.mf-physique-presence h3 span {
  color: var(--mf-bronze);
}

.mf-physique-presence__scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
  margin-top: clamp(24px, 3.8vw, 48px);
}

.mf-presence-scene {
  margin: 0;
}

.mf-presence-scene img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid #423a30;
  background: #1d1b18;
}

.mf-presence-scene figcaption {
  padding-top: 12px;
  color: var(--mf-fg-2);
  font-size: .95rem;
  line-height: 1.55;
}

.mf-presence-scene strong {
  display: block;
  margin-bottom: 4px;
  color: var(--mf-fg-1);
  font-family: var(--mf-font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.2;
}

@media (max-width: 540px) {
  .mf-physique-presence__scenes {
    grid-template-columns: 1fr;
  }

  .mf-presence-scene {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }

  .mf-presence-scene figcaption {
    padding-top: 0;
  }
}

.mf-physique-presence + .mf-home__traits {
  margin-top: clamp(32px, 4vw, 60px);
}

.mf-home__traits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(36px, 5.5vw, 76px) 0 16px;
  border-block: 1px solid #423a30;
}

.mf-home__traits > div {
  padding: 24px clamp(16px, 2.6vw, 38px) 28px;
  border-inline-start: 1px solid #423a30;
}

.mf-home__traits > div:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}

.mf-home__traits dt {
  margin-bottom: 10px;
  color: #e6d5b8;
  font: 500 clamp(29px, 3.3vw, 51px)/1 var(--mf-font-display);
  text-transform: uppercase;
}

.mf-home__section dd {
  margin: 0;
  color: #d0cbc1;
  font-size: 1rem;
  line-height: 1.58;
}

.mf-home__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .7em;
  margin-top: 16px;
  color: #e3c08c;
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.35;
  text-underline-offset: .25em;
}

.mf-home__link:hover {
  color: #f6f3eb;
}

.mf-weekly-review {
  background: #181612;
}

.mf-weekly-review h2 {
  max-width: 21ch;
  font-size: clamp(36px, 4.2vw, 60px);
}

.mf-weekly-review .mf-weekly-review__intro {
  max-width: 58ch;
  margin-top: 16px;
}

.mf-weekly-review__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 4.5vw, 68px);
  margin-top: clamp(24px, 4vw, 48px);
}

.mf-review-chart {
  margin: 0;
  padding: clamp(16px, 3vw, 34px);
  border: 1px solid #4b4033;
  background: #111110;
}

.mf-review-chart figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  color: #d0cbc1;
}

.mf-review-chart figcaption strong {
  color: var(--mf-fg-1);
}

.mf-review-chart figcaption span {
  font-size: .84rem;
}

.mf-review-chart__bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.65vw, 24px);
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mf-review-chart__bars li {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #d0cbc1;
  font-size: .82rem;
  text-align: center;
}

.mf-review-chart__bars b {
  color: #e6c794;
  font: 600 1.65rem/1 var(--mf-font-display);
}

.mf-review-chart__bar {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-auto-flow: row;
  width: min(100%, 44px);
  height: clamp(82px, 10vw, 120px);
  gap: 4px;
}

.mf-review-chart__bar i {
  display: block;
  border: 1px solid #ac8b60;
  background: #b4956b;
}

.mf-review-chart__bar .mf-review-chart__empty {
  border-color: #655744;
  background: transparent;
  order: -1;
}

.mf-weekly-review__decisions {
  margin: 0;
}

.mf-weekly-review__decisions > div {
  padding-block: 16px;
  border-top: 1px solid #4b4033;
}

.mf-weekly-review__decisions > div:last-child {
  border-bottom: 1px solid #4b4033;
}

.mf-weekly-review__decisions dt {
  margin-bottom: 5px;
  color: #e6c794;
  font-weight: 750;
}

.mf-home__coaching {
  background: #1a1917;
}

.mf-home__process {
  margin: 0;
}

.mf-home__process > div {
  padding-block: 24px;
  border-bottom: 1px solid #484036;
}

.mf-home__process > div:first-child {
  border-top: 1px solid #484036;
}

.mf-home__process dt {
  margin-bottom: 7px;
  color: #f6f3eb;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 780;
  line-height: 1.35;
}

.mf-home__membership {
  background: #ede7db;
  color: #171612;
}

.mf-home__membership .mf-home__link {
  color: #5f4226;
}

.mf-home__membership .mf-home__link:hover {
  color: #171612;
}

.mf-home__membership-intro {
  align-self: end;
  color: #494239;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.6;
}

.mf-home__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(32px, 5vw, 66px) 0 0;
  padding: 0;
  border: 1px solid #a99b88;
  list-style: none;
}

.mf-home__plans li {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 42px);
}

.mf-home__plans li + li {
  border-inline-start: 1px solid #a99b88;
}

.mf-home__plans h3 {
  margin: 0 0 12px;
  color: #5f4226;
  font: 600 .82rem/1.35 var(--mf-font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mf-home__plans .mf-home__price {
  margin-bottom: 10px;
  font: 600 clamp(38px, 5vw, 68px)/1.12 var(--mf-font-display);
  letter-spacing: -.025em;
}

.mf-home__price span {
  display: inline-block;
  font: 700 .9rem/1.3 var(--mf-font-body);
  letter-spacing: 0;
  white-space: nowrap;
}

.mf-home__plans .mf-home__plan-goal {
  margin-bottom: 16px;
  color: #2e281f;
  font-size: .96rem;
  line-height: 1.5;
}

.mf-home__plans .mf-home__plan-terms {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #b8ad9d;
  color: #494239;
  font-size: .84rem;
  line-height: 1.45;
}

.mf-home__plan-horizon {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-top: 12px;
  color: #494239;
  font-size: .9rem;
}

.mf-home__plan-horizon .mf-home__link {
  margin-top: 0;
}

.mf-home__join p {
  color: #494239;
  font-size: .96rem;
  line-height: 1.55;
}

.mf-home__join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  margin-top: 34px;
}

.mf-home__join h3 {
  margin: 0 0 7px;
  font-size: 1.2rem;
}

.mf-home__join p {
  max-width: 58ch;
}

.mf-home__button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  min-height: 52px;
  padding: 12px 20px;
  background: #211c15;
  color: #f6f3eb;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
}

.mf-home__button:hover {
  background: #483522;
}

.mf-home__join-actions p {
  margin-top: 7px;
  font-size: .85rem;
}

.mf-home__questions {
  background: #111110;
}

.mf-home__questions h2 {
  font-size: clamp(36px, 4.5vw, 62px);
}

.mf-home__faq {
  border-top: 1px solid #423a30;
}

.mf-home__faq details {
  border-bottom: 1px solid #423a30;
}

.mf-home__faq summary {
  padding: 16px 4px;
  min-height: 52px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.4;
}

.mf-home__faq summary::marker {
  color: #c5a36d;
}

.mf-home__faq summary:focus-visible {
  outline: 2px solid #c5a36d;
  outline-offset: 3px;
}

.mf-home__faq p {
  padding: 0 4px 18px;
  color: #d0cbc1;
  line-height: 1.62;
}

.mf-home__faq a {
  color: #e3c08c;
  text-underline-offset: .2em;
}

@media (max-width: 720px) {
  .mf-home__split,
  .mf-weekly-review__layout,
  .mf-home__join {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .mf-home__traits,
  .mf-home__plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .mf-home__traits > div {
    padding: 20px 0;
    border-inline-start: 0;
  }

  .mf-home__traits > div + div {
    border-top: 1px solid #423a30;
  }

  .mf-home__plans li + li {
    border-inline-start: 0;
    border-top: 1px solid #a99b88;
  }

  .mf-home__button {
    width: 100%;
  }
}

.mf-intro {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(24px, 5vw, 72px);
  border: 0;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pinch-zoom;
  background: radial-gradient(ellipse at 50% 52%, #1c1814, #0a0b0c 70%);
  color: #f6f3eb;
}

.mf-intro[open] {
  display: grid;
  grid-template-rows: auto minmax(min-content, 1fr) auto;
}

.mf-intro::backdrop {
  background: #0a0b0c;
}

html:has(.mf-intro[open]) {
  overflow: hidden;
}

.mf-intro__identity {
  margin: 0;
  font: 600 clamp(14px, 1.6vw, 19px)/1.45 var(--mf-font-display);
  text-transform: uppercase;
}

.mf-intro__identity span {
  display: block;
  margin-top: 3px;
  color: #d8b984;
  font: 500 11px/1.5 var(--mf-font-mono);
  letter-spacing: .1em;
}

.mf-intro__stage {
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.mf-intro__line {
  max-width: 19ch;
  margin: 0;
  color: var(--mf-fg-1);
  font: 700 clamp(34px, min(8.4vw, 12svh), 116px)/.9 var(--mf-font-display);
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-wrap: balance;
  animation: mf-intro-line 360ms ease-out both;
}

.mf-intro__punctuation {
  color: var(--mf-bronze);
}

.mf-intro__line[hidden] {
  display: none;
}

@keyframes mf-intro-line {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.mf-intro__footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
}

.mf-intro__next {
  grid-column: 2;
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px 6px;
  border: 0;
  color: #d8b984;
  background: transparent;
  font: 600 10px/1.4 var(--mf-font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.mf-intro__next svg {
  animation: mf-intro-arrow 1.55s ease-in-out infinite;
}

@keyframes mf-intro-arrow {
  0%, 100% { transform: translateY(-2px); }
  55% { transform: translateY(4px); }
}

.mf-intro__controls {
  justify-self: end;
}

@media (max-width: 480px) {
  .mf-intro__footer {
    grid-template-columns: 1fr 1fr;
  }

  .mf-intro__next {
    grid-column: 1;
    justify-self: start;
  }
}

.mf-intro__controls button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #79644a;
  color: #f6f3eb;
  background: transparent;
  font: 700 .9rem/1.3 var(--mf-font-body);
  cursor: pointer;
}

.mf-intro__controls button:hover,
.mf-intro__controls button:focus-visible,
.mf-intro__next:hover,
.mf-intro__next:focus-visible {
  outline: 2px solid #d8b984;
  outline-offset: 3px;
}

.mf-physique-comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(32px, 5vw, 68px);
}

.mf-physique-card {
  margin: 0;
}

.mf-physique-card__slot {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border: 1px dashed #625746;
  background: #1d1b18;
  color: #c5bbad;
  font: 500 .72rem/1.4 var(--mf-font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mf-physique-card__slot > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mf-physique-card--standard .mf-physique-card__slot {
  border-color: #b49a70;
  background: #241f18;
}

.mf-physique-card figcaption {
  padding-top: 16px;
}

.mf-physique-card h3 {
  margin: 0 0 6px;
  color: #f6f3eb;
  font: 600 clamp(24px, 3vw, 38px)/1.1 var(--mf-font-display);
}

.mf-physique-card--standard h3 {
  color: #e6c794;
}

.mf-physique-card p {
  color: #d0cbc1;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .mf-physique-comparison {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .mf-physique-card__slot {
    max-width: 420px;
  }
}

html:has(.mf-intro[open]) #hero :is(.hero__eyebrow, .word, .dot, .hero__lower, .hero__figure, .hero__figure img, .hero__micro span),
html:has(.mf-intro[open]) #hero .hero__figure::before,
html:has(.mf-intro[open]) #hero .hero__figure::after {
  animation-name: none;
}

/* Match each gallery card to the dimensions of the Instagram embed. */
.mf-frame-strip__embed {
  position: relative;
  container-type: inline-size;
}
.mf-frame-strip__embed iframe {
  position: absolute;
  width: 326px;
  height: 650px;
  max-width: none;
  border: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(calc(100cqw / 326px));
}

.mf-frame-strip__note { color: #88847e; font-size: .58rem; line-height: 1.5; max-width: 72ch; }

.mf-member-progress {
  padding-block: clamp(46px, 6.5vw, 94px);
  background: #141611;
}

.mf-member-progress__layout {
  display: grid;
  grid-template-areas: "metric story";
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
  gap: clamp(32px, 7vw, 104px);
  align-items: center;
}

.mf-member-progress__story { grid-area: story; }
.mf-member-progress .mf-home__label { margin-bottom: 16px; }

.mf-member-progress h2 {
  max-width: none;
  font-size: clamp(36px, 4.65vw, 68px);
  text-wrap: balance;
}

.mf-member-progress__copy {
  max-width: 54ch;
  margin-top: 18px;
  color: #d0cbc1;
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  line-height: 1.58;
}

.mf-member-progress__copy p + p { margin-top: .7em; }

.mf-member-progress .mf-member-progress__coach {
  max-width: 52ch;
  margin-top: 22px;
  padding-left: 14px;
  border-left: 2px solid #aa895d;
  color: #e6c794;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 700;
  line-height: 1.5;
}

.mf-member-progress .mf-member-progress__note {
  margin-top: 16px;
  color: #b5b0a3;
  font-size: .9rem;
}

.mf-member-progress__metric {
  grid-area: metric;
  padding-right: clamp(22px, 5vw, 72px);
  border-right: 1px solid #414337;
}

.mf-member-progress__value {
  color: #e5eadb;
  font-size: .95rem;
}

.mf-member-progress__value span {
  display: block;
  color: #d2d9c9;
  font-size: clamp(.85rem, 1.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.mf-member-progress__value strong {
  display: block;
  margin-top: 8px;
  font: 600 clamp(76px, 8.5vw, 124px)/.98 var(--mf-font-display);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.mf-member-progress .mf-member-progress__source {
  margin-top: 18px;
  color: #c9d6bf;
  font-size: .92rem;
}

.mf-member-progress__source:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mf-member-progress__dot {
  position: relative;
  flex: 0 0 18px;
  height: 18px;
  border-radius: 50%;
  background: #6fde72;
}

.mf-member-progress__dot::after {
  position: absolute;
  inset: 0;
  border: 1px solid #6fde72;
  border-radius: inherit;
  content: "";
  opacity: 0;
}

.mf-member-progress__people:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 6px;
  margin-top: 20px;
  color: #b5a58a;
}

.mf-member-progress__person {
  position: relative;
  width: 14px;
  height: 18px;
}

.mf-member-progress__person::before,
.mf-member-progress__person::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
  content: "";
}

.mf-member-progress__person::before {
  top: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mf-member-progress__person::after {
  bottom: 0;
  width: 13px;
  height: 10px;
  border-radius: 7px 7px 2px 2px;
}

.mf-member-progress__remainder {
  margin-left: 3px;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 680px) {
  .mf-member-progress__layout {
    grid-template-areas: "metric" "story";
    grid-template-columns: minmax(0, 1fr);
  }

  .mf-member-progress__metric {
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid #414337;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mf-member-progress__dot::after {
    animation: mf-member-progress-pulse 3.2s ease-out infinite;
  }

  .mf-member-progress__value strong {
    animation: mf-member-progress-number 3.2s ease-in-out infinite;
  }
}

@keyframes mf-member-progress-pulse {
  0% { opacity: .65; transform: scale(1); }
  60%, 100% { opacity: 0; transform: scale(2.1); }
}

@keyframes mf-member-progress-number {
  0%, 35%, 100% { opacity: 1; }
  12% { opacity: .76; }
}
