/* Homepage composition and the progressive three-stage explorer. */
.editorial-home {
  overflow: clip;
}
.editorial-hero {
  grid-template-columns: 1.15fr 1fr;
  gap: 0 45px;
  padding-top: 26px;
  padding-bottom: 0;
  position: relative;
}
.editorial-hero::before {
  animation: none;
}
.hero-topline {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  gap: 20px;
}
.hero-topline .eyebrow {
  margin: 0;
}
.hero-topline > span:last-child {
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--color-muted);
}
.editorial-hero .hero-copy {
  position: relative;
  z-index: 3;
  padding-block: 20px 40px;
}
.editorial-hero h1 {
  font-size: clamp(65px, 7.9vw, 110px);
  line-height: 0.96;
  letter-spacing: -0.075em;
  max-width: 760px;
  text-wrap: initial;
}
.editorial-hero h1 em {
  color: var(--coral-ink);
  white-space: nowrap;
}
.hero-here {
  display: block;
  color: var(--color-brown);
  font-size: 0.65em;
  margin-top: 15px;
  letter-spacing: -0.065em;
}
.editorial-hero .lead {
  max-width: 420px;
  margin-top: 24px;
  font-size: 15px;
}
.editorial-hero .hero-art {
  padding: 24px 16px 40px;
  margin-top: 10px;
  transform-origin: center;
}
.editorial-hero .hero-art::before {
  content: '';
  position: absolute;
  inset: 0 -35px 0 18px;
  background: var(--color-blush);
  border-radius: 190px 190px 12px 12px;
  rotate: 5deg;
  z-index: -1;
}
.editorial-hero .hero-art > img {
  height: 490px;
  border-radius: 190px 190px 6px 6px;
  border: 0;
  object-fit: cover;
}
.editorial-hero .art-label {
  bottom: 80px;
  left: -45px;
  padding: 18px 25px;
  background: var(--poster-sand);
}
.editorial-hero .art-caption {
  bottom: 10px;
  right: 22px;
}
.home-stamp {
  position: absolute;
  top: 2px;
  right: 0;
  border: 1px solid var(--color-brown);
  border-radius: 50%;
  background: var(--poster-sand);
  height: 95px;
  width: 95px;
  display: grid;
  place-items: center;
  text-align: center;
  letter-spacing: 0.1em;
  rotate: 12deg;
  z-index: 4;
}
.editorial-hero .orbit-spark {
  top: 95px;
  right: -20px;
  font-size: 48px;
}
.editorial-hero .orbit-ring {
  top: 55%;
  left: -10px;
}
.editorial-hero .orbit-dot,
.editorial-hero .orbit-cross {
  display: none;
}
.hero-bottom {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.hero-bottom p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-brown);
}
.hero-bottom p em {
  font-style: italic;
}
.hero-verse {
  font-size: 10px;
  letter-spacing: 0.16em;
}
.scroll-invitation {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  font-weight: 600;
  min-height: 44px;
}
.scroll-invitation span {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
}
.editorial-home .path-band {
  background: var(--color-primary);
}
.editorial-home .path-band p {
  font-size: clamp(23px, 2.5vw, 34px);
}
.editorial-home .path-band b {
  margin-inline: 18px;
}
.welcome-editorial {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.welcome-editorial h2 {
  font-size: clamp(40px, 4.8vw, 66px);
}
.welcome-editorial > div:last-child {
  border-left: 1px solid var(--line);
  padding-left: 45px;
}
.editorial-home .heart-section {
  border-radius: 0;
  width: 100%;
  padding-block: 80px;
}
.editorial-home .heart-section .container {
  width: min(1240px, calc(100% - 96px));
}
.editorial-home .heart-section h2 {
  font-size: clamp(30px, 3.5vw, 47px);
}
.editorial-home .heart-art::after {
  border: 0;
  border-left: 1px solid #746d68;
  border-radius: 0;
  inset: 10px 0 10px auto;
  width: 1px;
}
.why-editorial {
  grid-template-columns: 1fr 1.15fr;
}
.why-editorial h2 {
  max-width: 480px;
}
.editorial-home .journey-section {
  border-top: 1px solid var(--line);
  padding-top: 70px;
}
.editorial-home .journey-section .section-heading {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  align-items: end;
}
.editorial-home .journey-section .section-heading .eyebrow {
  grid-column: 1/-1;
}
.editorial-home .journey-section .section-heading p {
  margin: 0;
  text-align: right;
}
.pathway-tabs[hidden],
.pathway-panel[hidden] {
  display: none;
}
.pathway-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.pathway-tabs button {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--color-charcoal);
  padding: 21px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  transition:
    background 0.25s,
    color 0.25s;
}
.pathway-tabs button span {
  font-size: 10px;
  font-weight: 400;
}
.pathway-tabs button b {
  margin-left: auto;
  font-weight: 400;
}
.pathway-tabs button[aria-selected='true'] {
  background: var(--color-charcoal);
  color: var(--color-cream);
  border-color: var(--color-charcoal);
}
.pathway-tabs button:hover:not([aria-selected='true']) {
  background: var(--color-blush);
}
.pathway-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-blush);
  margin-bottom: 20px;
}
.pathway-panel.pathway-mentoring {
  background: var(--poster-sand);
}
.pathway-panel.pathway-mobilizing {
  background: var(--poster-peach);
}
.stage-art {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgb(89 70 64 / 13%);
  isolation: isolate;
  padding: 45px;
}
.stage-art::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid rgb(89 70 64 / 22%);
  border-radius: 50%;
  z-index: -1;
}
.stage-index {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 85px;
  font-family: var(--heading);
  line-height: 1;
  letter-spacing: -0.08em;
  opacity: 0.14;
}
.stage-art svg {
  width: 145px;
  height: 145px;
  color: var(--color-brown);
  margin-bottom: 25px;
}
.stage-claim {
  font-family: var(--heading);
  font-size: clamp(32px, 3.2vw, 45px);
  letter-spacing: -0.06em;
  line-height: 1.1;
}
.stage-art-label {
  font-size: 8px;
  letter-spacing: 0.22em;
  position: absolute;
  bottom: 24px;
}
.stage-content {
  padding: 45px 55px;
}
.stage-content h3 {
  font-size: clamp(30px, 3vw, 42px);
  margin-bottom: 20px;
}
.stage-content p {
  color: var(--color-brown);
  font-size: 15px;
}
.stage-content ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}
.stage-content li {
  font-size: 13px;
  border-top: 1px solid rgb(89 70 64 / 18%);
  padding-top: 12px;
}
.stage-content li::before {
  content: '↗\FE0E';
  margin-right: 8px;
}
.stage-content .button {
  background: var(--color-charcoal);
  color: var(--color-cream);
}
.journey-footnote {
  margin-top: 45px;
}
.journey-footnote .eyebrow {
  font-size: 9px;
}
.editorial-home .journey {
  margin: 28px 0 0;
}
.community-board {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
}
.board-heading {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.board-heading .eyebrow {
  margin: 0;
}
.board-heading p {
  font-size: 13px;
}
.community-event,
.community-story {
  padding: 35px;
  background: var(--color-white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.community-story {
  background: var(--color-soft-yellow);
  margin-top: 35px;
}
.community-board .section-heading {
  display: block;
  margin-bottom: 20px;
  padding-bottom: 0;
  border: 0;
}
.community-board .section-heading h2 {
  font-size: 30px;
}
.community-board .section-heading .text-link {
  margin-top: 18px;
}
.community-board .eyebrow {
  font-size: 9px;
}
.community-board .empty-state {
  border: 0;
  padding: 0;
  display: block;
  box-shadow: none;
  background: transparent;
}
.community-board .empty-state > span {
  margin-bottom: 25px;
  width: 50px;
  height: 50px;
  background: var(--color-blush);
}
.community-board .empty-state h3 {
  font-size: 18px;
}
.editorial-home .courses-section {
  background: var(--poster-sand);
  position: relative;
  padding-block: 85px;
}
.editorial-home .course-preview {
  rotate: -2deg;
}
.editorial-home .partner-home {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  column-gap: 70px;
  padding-top: 95px;
  align-items: start;
}
.editorial-home .partner-intro {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  text-align: left;
}
.editorial-home .partner-intro .section-heading {
  margin-bottom: 28px;
}
.editorial-home .partner-intro > .button {
  max-width: 100%;
}
.editorial-home .partner-home h2 {
  font-size: clamp(34px, 3.7vw, 51px);
}

.editorial-home .partner-options {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
}
.editorial-home .partner-options a:nth-child(even) {
  translate: 0 16px;
}
@keyframes panel-art-arrive {
  from {
    opacity: 0.3;
    transform: translateX(-25px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes panel-copy-arrive {
  from {
    opacity: 0.3;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .pathway-panel.is-entering .stage-art > * {
    animation: panel-art-arrive 0.7s var(--ease-out) both;
  }
  .pathway-panel.is-entering .stage-content {
    animation: panel-copy-arrive 0.6s 0.07s var(--ease-out) both;
  }
  .stage-art svg {
    animation: float-home 5s ease-in-out infinite;
  }
  .scroll-invitation span {
    animation: float-home 3s ease-in-out infinite;
  }
}
@media (max-width: 1099px) {
  .editorial-hero {
    gap: 0 25px;
  }
  .editorial-hero h1 {
    font-size: 76px;
  }
  .editorial-hero .hero-art > img {
    height: 460px;
  }
  .stage-content {
    padding: 35px;
  }
  .stage-art {
    min-height: 400px;
    padding: 30px;
  }
  .editorial-home .partner-home {
    gap: 35px;
  }
  .editorial-home .heart-section .container {
    width: calc(100% - 64px);
  }
  .community-event,
  .community-story {
    padding: 25px;
  }
}
@media (max-width: 767px) {
  .editorial-hero {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }
  .hero-topline {
    padding-bottom: 22px;
  }
  .hero-topline > span:last-child {
    display: none;
  }
  .editorial-hero h1 {
    font-size: clamp(62px, 13.2vw, 90px);
    max-width: none;
  }
  .hero-here {
    display: inline-block;
    margin-left: 14px;
    font-size: 0.6em;
  }
  .editorial-hero .hero-copy {
    padding-block: 0 15px;
  }
  .editorial-hero .hero-art {
    margin: 15px 12px 0;
    padding: 15px 10px 35px;
  }
  .editorial-hero .hero-art::before {
    inset: 0 -8px 0 8px;
  }
  .editorial-hero .hero-art > img {
    height: 340px;
    border-radius: 150px 150px 6px 6px;
  }
  .editorial-hero .art-label {
    left: -15px;
    bottom: 50px;
    padding: 13px 20px;
  }
  .home-stamp {
    width: 75px;
    height: 75px;
    right: -8px;
  }
  .hero-bottom {
    gap: 8px;
    padding-block: 22px;
  }
  .hero-bottom p {
    font-size: 10px;
  }
  .scroll-invitation {
    font-size: 10px;
    gap: 10px;
  }
  .editorial-home .path-band p {
    font-size: 23px;
  }
  .editorial-home .path-band b {
    margin-inline: 10px;
  }
  .welcome-editorial,
  .why-editorial {
    grid-template-columns: 1fr;
  }
  .welcome-editorial > div:last-child {
    border-left: 0;
    padding-left: 0;
  }
  .editorial-home .heart-section {
    padding-block: 45px;
  }
  .editorial-home .heart-section .container {
    width: calc(100% - 40px);
  }
  .editorial-home .heart-art {
    min-height: 220px;
  }
  .editorial-home .heart-art::after {
    display: none;
  }
  .editorial-home .journey-section .section-heading {
    display: block;
  }
  .editorial-home .journey-section .section-heading p {
    text-align: left;
    margin-top: 20px;
  }
  .pathway-tabs {
    gap: 5px;
  }
  .pathway-tabs button {
    padding: 14px 8px;
    font-size: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .pathway-tabs button b {
    display: none;
  }
  .pathway-panel {
    grid-template-columns: 1fr;
  }
  .stage-art {
    min-height: 240px;
    padding: 30px;
    border-right: 0;
    border-bottom: 1px solid rgb(89 70 64 / 13%);
  }
  .stage-art::before {
    width: 170px;
    height: 170px;
  }
  .stage-art svg {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
  }
  .stage-index {
    font-size: 65px;
    top: 15px;
    left: 20px;
  }
  .stage-claim {
    font-size: 32px;
  }
  .stage-art-label {
    bottom: 12px;
    font-size: 7px;
  }
  .stage-content {
    padding: 28px;
  }
  .stage-content h3 {
    font-size: 30px;
  }
  .stage-content ul {
    gap: 12px;
  }
  .community-board {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .board-heading {
    display: block;
  }
  .board-heading p {
    margin-top: 10px;
  }
  .community-story {
    margin-top: 0;
  }
  .editorial-home .courses-section {
    padding-block: 55px;
  }
  .editorial-home .course-preview {
    rotate: 0deg;
  }
  .editorial-home .partner-home {
    display: block;
    padding-top: 65px;
  }
  .editorial-home .partner-intro {
    position: static;
    margin-bottom: 35px;
  }
  .editorial-home .partner-options {
    margin-bottom: 45px;
  }
}
.motion-paused .pathway-panel *,
.motion-paused .stage-art svg {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .stage-art svg,
  .pathway-panel *,
  .scroll-invitation span {
    animation: none !important;
  }
}

@media (min-width: 1100px) and (min-height: 800px) {
  .editorial-home .partner-intro {
    position: sticky;
    top: 125px;
  }
}
/* Warm coral, peach, and golden cream give the opening a richer glow. */
.editorial-hero {
  --coral-ink: #844f49;
}
.editorial-hero::before {
  background: linear-gradient(115deg, #eaa49d 0%, #f0bc9e 30%, #f5d8a5 57%, #e99791 100%);
}
.editorial-home .heart-section {
  background: var(--poster-peach);
  color: var(--color-charcoal);
}
.editorial-home .heart-section .eyebrow {
  color: var(--coral-ink);
}
.editorial-home .heart-section p {
  color: var(--color-brown);
}
.editorial-home .heart-section .text-link {
  color: var(--color-charcoal);
}
.editorial-home .heart-art {
  background: var(--color-blush);
  border: 1px solid var(--color-primary);
  border-radius: 120px 120px 12px 12px;
  justify-content: center;
}
.editorial-home .heart-art span {
  color: var(--color-brown);
}
.editorial-home .heart-art::after {
  display: none;
}
.editorial-home .journey-section {
  background: #fbecea;
}
.editorial-home .journey-number {
  background: var(--color-primary);
}
.editorial-home .course-art {
  background: var(--color-primary);
  color: var(--color-charcoal);
}
.editorial-home .course-art em {
  color: var(--color-charcoal);
}
@media (max-width: 767px) {
  .editorial-home .heart-art {
    border-radius: 95px 95px 10px 10px;
  }
}
/* Preserve the exact framework phrases without crowding the artwork. */
.editorial-home .heart-art {
  gap: 18px;
  padding: 24px;
}
.editorial-home .heart-art span {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.25;
}
.editorial-home .heart-art img {
  width: 55px;
  flex-shrink: 0;
}
.home-stamp {
  font-size: 8px;
  line-height: 1.65;
  padding: 12px;
}
@media (max-width: 767px) {
  .editorial-home .heart-art {
    gap: 12px;
    padding: 18px;
  }
  .editorial-home .heart-art span {
    font-size: clamp(25px, 7.3vw, 38px);
  }
  .editorial-home .heart-art img {
    width: 42px;
  }
  .home-stamp {
    font-size: 7px;
    padding: 8px;
  }
}

/* Three balanced source phrases in an editorial seal. */
.editorial-hero .home-stamp {
  width: 126px;
  height: 126px;
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  rotate: 7deg;
  border: 1px solid var(--color-brown);
  background: var(--poster-sand);
  box-shadow:
    inset 0 0 0 5px var(--poster-sand),
    inset 0 0 0 6px rgb(89 70 64 / 16%),
    0 6px 18px rgb(89 70 64 / 7%);
}
.home-stamp > span {
  display: block;
  white-space: nowrap;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.15;
  color: var(--color-brown);
}
.home-stamp > i {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--color-primary);
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .editorial-hero .home-stamp {
    width: 108px;
    height: 108px;
    padding: 18px 10px;
    gap: 6px;
    right: -4px;
    top: 0;
  }
  .home-stamp > span {
    font-size: 10px;
  }
  .home-stamp > i {
    width: 14px;
  }
}

/* Blend the cream paper into the hero and feather the outer artwork edges. */
.editorial-hero .hero-art-community {
  padding: 0;
  mix-blend-mode: multiply;
}
.editorial-hero .hero-art-community > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent);
  mask-composite: intersect;
  animation: none;
  transform: none;
  rotate: none;
  box-shadow: none;
}
.editorial-hero .hero-art-community::before,
.hero-art-community .hero-accents {
  display: none;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html:not(.motion-paused) .hero-art-community.pointer-active {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  }
}
