/* Selected Momentum sections. Content and photos remain in the homepage record. */
.he-page .he-delivery-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
.he-page .he-delivery-heading > .he-body { max-width: 540px; }
.he-stage-explorer { margin-top: 42px; }
.he-stage-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 30px; }
.he-stage-track::before { content: ''; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px; background: var(--nemely-color-stone); }
.he-stage-track .he-stage-choice { position: relative; display: grid; grid-template-columns: 1fr 20px; gap: 16px 8px; align-items: center; min-width: 0; padding: 0 14px 8px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--nemely-color-navy); text-align: left; font: inherit; cursor: pointer; }
.he-stage-choice .he-stage-number { grid-column: 1 / -1; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--nemely-color-stone); border-radius: 50%; background: var(--nemely-color-warm-paper); color: var(--nemely-color-navy); font-size: .875rem; font-weight: 650; transition: background .2s, border-color .2s; }
.he-stage-choice strong { min-width: 0; white-space: normal; font-size: 1rem; line-height: 1.35; font-weight: 650; }
.he-stage-choice > svg { width: 18px; height: 18px; color: var(--nemely-color-orange-ink); }
.he-stage-choice[aria-pressed="true"] .he-stage-number { background: var(--nemely-color-orange); border-color: var(--nemely-color-orange); color: var(--nemely-color-navy-dark); }
.he-stage-choice[aria-pressed="true"] strong { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--nemely-color-orange); }
.he-page .he-stage-track .he-stage-choice:is(:hover, :focus, :active) { background: transparent; color: var(--nemely-color-navy); }
.he-stage-choice:hover .he-stage-number { border-color: var(--nemely-color-orange); }
.he-stage-panels { display: grid; gap: 28px; }
.he-stage-panel { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 380px; overflow: hidden; border-radius: var(--nemely-radius-editorial); background: var(--nemely-color-ivory); scroll-margin-top: calc(var(--nemely-sticky-header-offset, 94px) + 20px); }
.he-stage-panel[hidden] { display: none; }
.he-page .he-stage-photo { position: relative; margin: 0; min-height: 380px; }
.he-stage-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.he-preview-photo-link { display: block; width: 100%; height: 100%; }
.he-stage-photo > .he-preview-photo-link { position: absolute; inset: 0; }
.he-preview-photo-link:focus-visible { outline: 3px solid var(--nemely-color-orange); outline-offset: -4px; }
.he-stage-photo figcaption { pointer-events: none; }
.he-stage-photo figcaption small { display: block; opacity: .8; }
.he-stage-photo figcaption { position: absolute; bottom: 22px; left: 22px; max-width: calc(100% - 44px); padding: 13px 19px; border-radius: 12px; background: var(--nemely-color-navy); color: var(--nemely-color-white); font-size: .8125rem; line-height: 1.5; }
.he-stage-copy { align-self: center; padding: 36px 40px; min-width: 0; }
.homepage-pitch main .he-page .he-stage-copy h3 { margin: 16px 0; font-size: clamp(1.6rem, 2.3vw, 2.3rem); line-height: 1.12; letter-spacing: -.035em; }
.he-stage-links { display: grid; gap: 4px; margin-top: 20px; }
.he-page .he-stage-links .he-link { justify-content: flex-start; min-height: 40px; font-size: .875rem; }
.he-stage-links svg { color: var(--nemely-color-orange-ink); }
.he-delivery-footer { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 26px; }
.homepage-pitch main .he-delivery-footer p { font-size: .9375rem; color: var(--nemely-color-muted-ink); }
.he-delivery-footer > .he-link { flex-shrink: 0; }

/* These sections also render after shared Insights, outside the homepage main. */
.he-home-ending { padding-block: clamp(64px, 6.3vw, 100px); font-family: var(--nemely-font-editorial); color: var(--nemely-color-navy); scroll-margin-top: var(--nemely-sticky-header-offset, 94px); }
.he-home-ending, .he-home-ending * { box-sizing: border-box; }
.he-ending-shell { width: min(calc(100% - 96px), var(--nemely-editorial-width)); margin-inline: auto; }
.he-home-ending :is(h2,p,figure) { margin: 0; }
.he-home-ending .he-ending-eyebrow { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; color: var(--nemely-color-orange-ink); font-size: .75rem; line-height: 1.5; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.he-ending-eyebrow::before { content: ''; width: 34px; height: 3px; background: var(--nemely-color-orange); }
.he-home-ending h2 { color: inherit; font: var(--nemely-heading-weight) clamp(2.45rem, 3.9vw, 4rem)/1.06 var(--nemely-font-editorial); letter-spacing: -.05em; white-space: pre-line; text-wrap: balance; }
.he-home-ending .he-ending-body { max-width: 570px; margin-top: 24px; color: var(--nemely-color-muted-ink); font-size: 1.0625rem; line-height: 1.7; }
.he-ending-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 28px; }
.he-home-ending .he-link { display: inline-flex; gap: 16px; align-items: center; min-height: 44px; color: inherit; text-decoration: none; font-size: .9375rem; line-height: 1.4; font-weight: 650; }
.he-home-ending .he-link svg { width: 19px; height: 19px; flex: 0 0 auto; transition: transform .2s; }
.he-home-ending .he-link:hover svg { transform: translate(3px, -3px); }
.he-home-ending .he-button { min-height: var(--nemely-action-height); padding: var(--nemely-action-padding); border-radius: var(--nemely-action-radius); background: var(--nemely-color-orange); color: var(--nemely-color-navy-dark); }
.he-home-ending .he-button:hover { background: var(--nemely-color-orange-hover); }
.he-home-ending a:focus-visible { outline: 3px solid var(--nemely-color-orange); outline-offset: 5px; }
.he-home-careers { background: var(--nemely-color-ivory); }
.he-careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.he-careers-grid figure { min-width: 0; }
.he-careers-grid img { display: block; width: 100%; height: 360px; object-fit: cover; border-radius: 20px 20px 70px 20px; }
.he-careers-grid figcaption { margin-top: 12px; color: var(--nemely-color-muted-ink); font-size: .6875rem; line-height: 1.4; font-style: italic; }
.he-home-invitation { background: var(--nemely-color-navy); color: var(--nemely-color-white); }
.he-invitation-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.he-invitation-intro { min-width: 0; }
.he-invitation-intro h2 { max-width: 620px; font-size: clamp(2.7rem, 4.3vw, 4.6rem); }
.he-home-invitation .he-ending-eyebrow { color: var(--nemely-color-on-dark-accent); }
.he-home-invitation .he-ending-body { color: var(--nemely-color-on-dark-muted); }
.he-conversation-card { min-width: 0; padding: 36px 38px 30px; background: var(--nemely-color-warm-paper); color: var(--nemely-color-navy); border-top: 4px solid var(--nemely-color-orange); border-radius: 6px 26px 26px 26px; box-shadow: var(--nemely-shadow-photo); }
.he-conversation-eyebrow { color: var(--nemely-color-orange-ink); font-size: .6875rem; line-height: 1.6; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; }
.he-conversation-card h3 { margin: 12px 0 0; color: inherit; font-size: clamp(1.8rem, 2.4vw, 2.4rem); font-weight: var(--nemely-heading-weight); line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
.he-conversation-topics { display: grid; margin: 24px 0 0; padding: 0; list-style: none; }
.he-conversation-topics li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 17px 0; border-top: 1px solid var(--nemely-color-stone); }
.he-conversation-number { padding-top: 3px; color: var(--nemely-color-orange-ink); font-size: .6875rem; line-height: 1.5; font-weight: 700; }
.he-conversation-topics h4 { margin: 0 0 5px; color: inherit; font-size: 1.0625rem; font-weight: 650; line-height: 1.3; letter-spacing: -.02em; }
.he-conversation-topics p { color: var(--nemely-color-muted-ink); font-size: .875rem; line-height: 1.55; }
.he-conversation-card .he-ending-actions { margin-top: 10px; }
.he-conversation-card .he-button { width: 100%; justify-content: space-between; text-align: left; }
.he-conversation-card .he-conversation-note { margin-top: 14px; color: var(--nemely-color-muted-ink); font-size: .75rem; line-height: 1.5; text-align: center; }
@media (max-width: 1100px) {
  .he-page .he-delivery-heading, .he-careers-grid, .he-invitation-grid { gap: 36px; }
  .he-stage-copy { padding: 28px; }
  .he-ending-shell { width: calc(100% - 64px); }
}
@media (max-width: 850px) {
  .he-page .he-delivery-heading { grid-template-columns: 1fr; gap: 22px; }
  .he-stage-track { gap: 16px; }
  .he-stage-choice strong { font-size: .875rem; }
  .he-stage-choice > svg { display: none; }
  .he-stage-track .he-stage-choice { grid-template-columns: 1fr; padding-right: 0; }
  .he-stage-panel { grid-template-columns: 1fr 1fr; }
  .he-stage-copy { padding: 26px; }
  .he-careers-grid, .he-invitation-grid { grid-template-columns: 1fr; }
  .he-careers-grid img { height: 360px; }
  .he-conversation-card { width: 100%; }
}
@media (max-width: 600px) {
  .he-stage-explorer { margin-top: 30px; }
  .he-stage-track { grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  .he-stage-track::before { display: none; }
  .he-stage-track .he-stage-choice { display: flex; gap: 12px; padding: 10px 0; }
  .he-stage-choice .he-stage-number { width: 38px; height: 38px; flex: 0 0 38px; font-size: .75rem; }
  .he-stage-panel { grid-template-columns: 1fr; border-radius: 18px; }
  .he-page .he-stage-photo { min-height: 0; aspect-ratio: 1.5; }
  .he-stage-photo figcaption { bottom: 16px; left: 16px; padding: 10px 14px; font-size: .75rem; }
  .he-stage-copy { padding: 26px 24px; }
  .he-delivery-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .he-home-ending { padding-block: 54px; }
  .he-ending-shell { width: calc(100% - 40px); }
  .he-careers-grid { gap: 30px; }
  .he-careers-grid img { height: 270px; border-bottom-right-radius: 54px; }
  .he-ending-actions { gap: 12px 22px; }
  .he-invitation-intro h2 { font-size: clamp(2.35rem, 9.5vw, 3rem); }
  .he-conversation-card { padding: 28px 24px 24px; }
  .he-conversation-card .he-button { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .he-stage-choice .he-stage-number, .he-home-ending .he-link svg { transition: none; }
}

/* Outcome-first goal explorer: one selected goal, with real no-JS links. */
.he-page .he-goals { padding-block: clamp(56px, 6.2vw, 92px); }
.he-goals, .he-goal-panel { scroll-margin-top: var(--nemely-sticky-header-offset, 94px); }
.he-goals-heading { display: grid; grid-template-columns: 1.3fr .8fr; gap: 56px; align-items: end; }
.homepage-pitch main .he-page .he-goals h2 { font-size: clamp(2.45rem, 4.15vw, 4rem); letter-spacing: -.035em; }
.he-page .he-goals-heading > .he-body { max-width: 510px; font-size: 1.12rem; line-height: 1.65; }
.he-goal-explorer { display: grid; grid-template-columns: 1.14fr .86fr; column-gap: 64px; margin-top: 36px; }
.he-goal-choices { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.he-page .he-goal-choice { display: grid; grid-template-columns: 24px minmax(0, 1fr) 24px; align-items: center; width: 100%; gap: 16px; min-height: 77px; padding: 19px 18px; color: var(--nemely-color-navy); background: transparent; border: 0; border-bottom: 1px solid var(--nemely-color-footer-line); text-align: left; font-family: inherit; font-size: clamp(1.12rem, 1.65vw, 1.48rem); line-height: 1.35; letter-spacing: -.025em; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s; }
.he-goal-choice > svg { width: 22px; height: 22px; }
.he-goal-choice > span { min-width: 0; white-space: normal; }
.he-goal-number { font-size: .75rem; font-weight: 650; color: var(--nemely-color-orange-ink); }
.he-page .he-goal-choice[aria-pressed=true] { background: var(--nemely-color-navy); color: var(--nemely-color-white); border-radius: 12px; border-color: transparent; }
.he-goal-choice[aria-pressed=true] .he-goal-number { color: var(--nemely-color-on-dark-accent); }
.he-goal-choice[aria-pressed=true] > svg { color: var(--nemely-color-orange); }
.he-goal-choice:hover { transform: translateX(4px); }
.he-goal-panels { grid-column: 1; grid-row: 1; min-width: 0; }
.he-goal-panel { background: var(--nemely-color-paper); border-radius: 12px 12px 52px 12px; overflow: hidden; margin-bottom: 20px; }
[data-homepage-enhanced] .he-goal-panel { margin-bottom: 0; }
.he-goal-panel[hidden] { display: none; }
.he-goal-panel figure { position: relative; overflow: hidden; height: clamp(240px, 22vw, 310px); }
.he-goal-panel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.he-goal-panel figcaption { position: absolute; bottom: 15px; left: 18px; z-index: 1; max-width: calc(100% - 36px); padding: 8px 12px; background: var(--nemely-color-warm-paper); color: var(--nemely-color-navy); font-size: .72rem; line-height: 1.45; font-weight: 650; border-radius: 6px; }
.he-goal-copy { padding: 27px 30px 25px; border-left: 4px solid var(--nemely-color-orange); }
.homepage-pitch main .he-page .he-goal-copy h3 { font-size: clamp(1.7rem, 2.2vw, 2.3rem); line-height: 1.15; letter-spacing: -.035em; white-space: pre-line; }
.homepage-pitch main .he-goal-copy p { margin-top: 13px; max-width: 540px; color: var(--nemely-color-muted-ink); }
.he-goal-copy .he-link { margin-top: 12px; }
.he-goal-routes { display: flex; justify-content: flex-end; gap: 12px 40px; flex-wrap: wrap; padding-top: 23px; }

/* Photo invitation is an authored section variant, not a global CTA change. */
.he-home-invitation--photo { padding-block: clamp(56px, 6.2vw, 92px); border-radius: 52px 0 0 0; margin-top: 18px; }
.he-home-invitation--photo .he-invitation-grid { grid-template-columns: 1.2fr .8fr; gap: 80px; }
.he-home-invitation--photo .he-invitation-intro h2 { max-width: none; font-size: clamp(2.45rem, 4.15vw, 4rem); letter-spacing: -.035em; }
.he-home-invitation--photo .he-ending-eyebrow::before { display: none; }
.he-home-invitation--photo .he-ending-body { max-width: 510px; font-size: 1.12rem; line-height: 1.65; }
.he-home-invitation--photo .he-ending-actions { margin-top: 30px; }
.he-home-invitation--photo .he-invitation-note { margin-top: 18px; color: var(--nemely-color-on-dark-muted); font-size: .81rem; line-height: 1.65; }
.he-invitation-photo { position: relative; overflow: hidden; aspect-ratio: 1.22; border-radius: 90px 12px 12px 12px; border-top: 7px solid var(--nemely-color-orange); min-width: 0; }
.he-invitation-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 43% center; }
.he-invitation-photo figcaption { position: absolute; bottom: 18px; left: 18px; max-width: calc(100% - 36px); padding: 10px 14px; background: var(--nemely-color-warm-paper); color: var(--nemely-color-navy); border-radius: 6px; font-size: .8rem; line-height: 1.4; font-weight: 650; }
@media (max-width: 1100px) {
  .he-goals-heading, .he-goal-explorer { column-gap: 32px; }
  .he-page .he-goal-choice { gap: 10px; padding-inline: 12px; }
  .he-home-invitation--photo .he-invitation-grid { gap: 40px; }
}
@media (max-width: 760px) {
  .he-page .he-goals, .he-home-invitation--photo { padding-block: 48px; }
  .he-page .he-goals > .he-wrap, .he-home-invitation--photo .he-ending-shell { width: calc(100% - 40px); }
  .he-goals-heading { grid-template-columns: 1fr; gap: 20px; }
  .homepage-pitch main .he-page .he-goals h2, .he-home-invitation--photo .he-invitation-intro h2 { font-size: clamp(2.15rem, 7.6vw, 3rem); }
  .he-page .he-goals-heading > .he-body, .he-home-invitation--photo .he-ending-body { font-size: 1rem; }
  .he-goal-explorer { grid-template-columns: 1fr; gap: 24px; margin-top: 26px; }
  .he-goal-choices { grid-row: 1; grid-column: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .he-page .he-goal-choice { grid-template-columns: minmax(0, 1fr) 16px; min-height: 64px; padding: 12px 13px; border: 1px solid var(--nemely-color-footer-line); border-radius: 8px; font-size: .88rem; letter-spacing: -.015em; }
  .he-goal-choice .he-goal-number { display: none; }
  .he-goal-choice > svg { width: 16px; }
  .he-goal-choice:last-child { grid-column: 1/-1; }
  .he-page .he-goal-choice[aria-pressed=true] { border-radius: 8px; }
  .he-goal-choice:hover { transform: none; }
  .he-goal-panels { grid-row: 2; grid-column: 1; }
  .he-goal-panel { border-radius: 10px 10px 35px 10px; }
  .he-goal-panel figure { height: auto; aspect-ratio: 1.65; }
  .he-goal-panel figcaption { font-size: .63rem; left: 12px; bottom: 12px; padding: 7px 9px; max-width: calc(100% - 24px); }
  .he-goal-copy { padding: 23px 22px; }
  .homepage-pitch main .he-page .he-goal-copy h3 { font-size: 1.85rem; }
  .he-goal-routes { justify-content: flex-start; flex-direction: column; gap: 5px; padding-top: 18px; }
  .he-page .he-goal-routes .he-link { font-size: .82rem; }
  .he-home-invitation--photo { border-radius: 32px 0 0 0; }
  .he-home-invitation--photo .he-invitation-grid { grid-template-columns: 1fr; gap: 30px; }
  .he-home-invitation--photo .he-ending-actions { margin-top: 23px; }
  .he-invitation-photo { max-width: 470px; width: 100%; aspect-ratio: 1.55; border-radius: 55px 8px 8px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .he-goal-choice { transition: none; }
  .he-goal-choice:hover { transform: none; }
}
