/* Shared Human Perspective editorial layout, used by every eligible page. */
.nemely-insights { width: 100%; padding: var(--nemely-ending-space) 0; background: var(--nemely-surface-section); color: var(--nemely-color-editorial-ink); font-family: var(--nemely-font-editorial); text-align: left; overflow-wrap: anywhere; scroll-margin-top: var(--nemely-sticky-header-offset, 94px); }
.nemely-insights * { box-sizing: border-box; }
.nemely-page-ending { width: 100%; min-width: 0; }
.nemely-page-ending [data-page-ending-section] { display: contents; }
.ni-shell { width: min(100%, var(--nemely-editorial-width)); margin: 0 auto; padding: 0 var(--nemely-ending-gutter); }
/* Preserve the established transition on pages with a portrait invitation. */
.nemely-page-ending[data-contact-first] .nemely-insights { position: relative; margin-top: calc(-1 * var(--nemely-ending-overlap)); border-radius: var(--nemely-ending-radius) 0 0 0; }
.ni-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.ni-heading-row > div { min-width: 0; }
.nemely-insights .ni-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--nemely-color-orange-ink); font-size: 11px; line-height: 1.4; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.ni-eyebrow::before { content: ''; flex: 0 0 28px; height: 3px; background: var(--nemely-color-orange); }
.nemely-insights h2 { max-width: 21ch; margin: 22px 0 0; color: var(--nemely-color-editorial-navy); font: var(--nemely-heading-weight) clamp(2.375rem, 4.2vw, 4rem)/1.04 var(--nemely-font-editorial); letter-spacing: -.045em; text-transform: none; text-wrap: balance; }
.nemely-insights a { color: inherit; text-decoration: none; }
.nemely-insights .ni-explore { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 16px; max-width: 240px; min-height: 44px; color: var(--nemely-color-editorial-navy); font-size: 14px; line-height: 1.5; font-weight: 650; }
.ni-arrow { display: grid; place-items: center; flex: 0 0 auto; color: var(--nemely-color-editorial-navy); }
.ni-arrow svg { width: 20px; height: 20px; transition: transform .2s ease; }
.ni-explore .ni-arrow svg { width: 19px; height: 19px; }
.ni-mosaic { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: stretch; gap: 26px; margin-top: 46px; }
.ni-story { display: block; min-width: 0; }
.ni-story-media { position: relative; overflow: hidden; border-radius: 16px; background: var(--nemely-color-ivory); }
.nemely-insights .ni-story img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; transition: transform .42s cubic-bezier(.22, 1, .36, 1); }
.ni-story--lead .ni-story-media { height: 340px; }
.ni-story--lead img { position: absolute; inset: 0; }
.ni-story-media .ni-arrow { position: absolute; z-index: 2; right: 15px; bottom: 15px; width: 42px; height: 42px; border-radius: 50%; background: var(--nemely-surface-section); }
.ni-lead-copy { padding-top: 25px; }
.nemely-insights .ni-category { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--nemely-color-orange-ink); font-size: 10px; line-height: 1.4; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.ni-category::before { content: ''; flex: 0 0 28px; height: 3px; background: var(--nemely-color-orange); }
.nemely-insights h3 { margin: 0; color: var(--nemely-color-editorial-navy); font: var(--nemely-heading-weight) 23px/1.15 var(--nemely-font-editorial); letter-spacing: -.045em; text-transform: none; text-wrap: balance; overflow-wrap: anywhere; }
.nemely-insights .ni-story--lead h3 { max-width: 33ch; font-size: 26px; }
.nemely-insights .ni-excerpt { margin: 15px 0 0; color: var(--nemely-color-muted-ink); font-size: 14px; line-height: 1.7; }
.ni-supporting { display: grid; grid-template-rows: repeat(2, minmax(min-content, 1fr)); gap: 26px; min-width: 0; }
.ni-story--support { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--nemely-color-stone); }
.ni-story--support .ni-story-media { height: 170px; }
.ni-story-copy { min-width: 0; }
.nemely-insights a:focus-visible { outline: 3px solid var(--nemely-color-orange-ink); outline-offset: 5px; border-radius: 4px; }
@media (hover: hover) { .ni-story:hover img { transform: scale(1.035); } .nemely-insights a:hover .ni-arrow svg { transform: translateX(3px); } .nemely-insights .ni-explore:hover { text-decoration: underline; text-underline-offset: 5px; } }
@media (max-width: 1023px) { .ni-mosaic { grid-template-columns: minmax(0, 1fr); } .ni-supporting { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; } .ni-story--support { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 20px; padding-top: 0; } .ni-story--support .ni-story-media { height: auto; aspect-ratio: 1.6; } .ni-story--lead .ni-story-media { height: auto; aspect-ratio: 2; } }
@media (max-width: 639px) { .ni-heading-row { align-items: flex-start; flex-direction: column; gap: 20px; } .ni-mosaic { margin-top: 32px; gap: 34px; } .ni-supporting { grid-template-columns: minmax(0, 1fr); gap: 34px; } .ni-story--lead .ni-story-media { aspect-ratio: 1.55; } .ni-lead-copy { padding-top: 20px; } .nemely-insights h3 { font-size: 23px; } }
@media (prefers-reduced-motion: reduce) { .nemely-insights * { transition: none !important; } .ni-story:hover img { transform: none; } }

/* Compact related reading on phones, with every title and destination retained. */
@media screen and (max-width:650px) {
  .nemely-insights { padding-block:var(--nemely-phone-section-space); }
  .ni-mosaic { margin-top:24px; gap:24px; }
  .ni-story--lead .ni-story-media { height:180px; aspect-ratio:auto; }
  .ni-supporting { gap:20px; }
  .ni-story--support { grid-template-columns:96px minmax(0,1fr); gap:16px; padding-bottom:20px; }
  .ni-story--support .ni-story-media { height:100px; aspect-ratio:auto; }
  .ni-story--support .ni-story-media .ni-arrow { right:6px; bottom:6px; width:30px; height:30px; }
  .nemely-insights .ni-story--support h3 { font-size:20px; line-height:1.2; }
  .ni-story--support .ni-category { gap:8px; margin-bottom:10px; }
  .ni-story--support .ni-category::before { flex-basis:16px; }
}
