/* ==========================================================================
   PHI OS M3C-W1 · Public Reality Journey Overview
   Public presentation only. Runtime contracts and stage behavior are unchanged.
   ========================================================================== */

.journey-overview-page {
  background:
    radial-gradient(circle at 78% 8%, rgba(169, 79, 49, 0.08), transparent 29rem),
    var(--phi-surface-canvas, #f5f3ed);
}

.journey-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 0 0;
}

.journey-hero::before {
  position: absolute;
  top: clamp(4rem, 8vw, 7rem);
  right: -18rem;
  width: min(56rem, 72vw);
  aspect-ratio: 1;
  border: 1px solid rgba(169, 79, 49, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(169, 79, 49, 0.018),
    0 0 0 10rem rgba(36, 47, 122, 0.014);
  content: "";
  pointer-events: none;
}

.journey-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: end;
}

.journey-hero__copy {
  max-width: 54rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.journey-hero__copy .public-display {
  max-width: 12ch;
  font-size: clamp(3.25rem, 6.8vw, 6.8rem);
}

.journey-hero__copy .public-lead {
  max-width: 43rem;
  margin-top: 2rem;
}

.journey-hero__secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
}

.journey-hero__secondary a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--phi-action-primary, #242f7a);
  font-size: 0.86rem;
  font-weight: 650;
  text-underline-offset: 0.22em;
}

.journey-hero__map {
  align-self: stretch;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(17, 20, 26, 0.14);
  border-bottom: 0;
  border-radius: 1.5rem 1.5rem 0 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.journey-hero__map ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-hero__map li {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 4.55rem;
  border-top: 1px solid rgba(17, 20, 26, 0.13);
}

.journey-hero__map li:first-child {
  border-top: 0;
}

.journey-hero__map li:not(:last-child)::after {
  position: absolute;
  bottom: -0.45rem;
  left: 1.22rem;
  z-index: 1;
  color: #817354;
  font-size: 0.72rem;
  content: "↓";
}

.journey-hero__map span {
  color: #817354;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.journey-hero__map strong {
  font-family: var(--phi-font-display, Newsreader, Georgia, serif);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
}

.journey-hero__facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(17, 20, 26, 0.15);
  border-bottom: 1px solid rgba(17, 20, 26, 0.15);
}

.journey-hero__facts span {
  min-width: 0;
  padding: 1.25rem;
  border-left: 1px solid rgba(17, 20, 26, 0.15);
  color: #515866;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;
}

.journey-hero__facts span:first-child {
  border-left: 0;
}

.journey-flow-section {
  border-top: 0;
}

.journey-stage-list {
  display: grid;
  gap: 0;
  margin: clamp(3rem, 7vw, 5.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.journey-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.2rem, 5vw, 4rem);
  border-top: 1px solid rgba(17, 20, 26, 0.16);
  scroll-margin-top: 96px;
}

.journey-stage:last-child {
  border-bottom: 1px solid rgba(17, 20, 26, 0.16);
}

.journey-stage__identity {
  position: relative;
}

.journey-stage__identity > span {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(17, 20, 26, 0.18);
  border-radius: 50%;
  color: #756342;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.journey-stage__identity small {
  display: block;
  color: #6b717c;
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.journey-stage__identity h3 {
  margin: 0.5rem 0 0;
  font-family: var(--phi-font-display, Newsreader, Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.journey-stage__content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.journey-stage__content > div {
  min-width: 0;
  min-height: 13rem;
  padding: 1.4rem;
  border: 1px solid rgba(17, 20, 26, 0.13);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.48);
}

.journey-stage__content strong {
  display: block;
  color: #6b717c;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey-stage__content p {
  margin: 2rem 0 0;
  color: #4f5662;
  font-size: 0.94rem;
  line-height: 1.7;
}

.journey-stage__content .journey-stage__boundary {
  border-color: rgba(117, 99, 66, 0.28);
  background: #eee9dc;
}

.journey-boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.journey-boundary-grid article {
  min-width: 0;
  min-height: 14rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.journey-boundary-grid span {
  color: #8f96a1;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.journey-boundary-grid h3 {
  margin: 2.5rem 0 0.8rem;
  font-family: var(--phi-font-display, Newsreader, Georgia, serif);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 500;
}

.journey-boundary-grid p {
  margin: 0;
  color: #b9bec7;
}

.journey-boundary-section .public-actions .public-button:not(.public-button--light) {
  border-color: rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #f7f6f1;
}

.journey-start {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: end;
}

.journey-start__actions {
  display: grid;
  gap: 0.8rem;
  justify-items: start;
}

.journey-start__actions .public-button {
  width: min(100%, 25rem);
}

.journey-start__actions p {
  max-width: 31rem;
  margin: 0.7rem 0 0;
  color: #6b717c;
  font-size: 0.78rem;
  line-height: 1.6;
}

html[lang="zh-Hans"] .journey-hero__facts span,
html[lang="zh-Hans"] .journey-stage__identity small,
html[lang="zh-Hans"] .journey-stage__content strong {
  letter-spacing: 0.04em;
  text-transform: none;
}

html[lang="zh-Hans"] .journey-stage__identity h3 {
  letter-spacing: -0.01em;
  line-height: 1.12;
}

@media (max-width: 1000px) {
  .journey-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 2.5rem;
  }

  .journey-stage {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .journey-stage__identity > span {
    margin-bottom: 1rem;
  }
}

@media (max-width: 760px) {
  .journey-hero__grid,
  .journey-start {
    grid-template-columns: 1fr;
  }

  .journey-hero__copy {
    padding-bottom: 0;
  }

  .journey-hero__map {
    border-bottom: 1px solid rgba(17, 20, 26, 0.14);
    border-radius: 1.2rem;
  }

  .journey-hero__facts {
    margin-top: 2rem;
  }

  .journey-stage__content {
    grid-template-columns: 1fr;
  }

  .journey-stage__content > div {
    min-height: auto;
  }

  .journey-stage__content p {
    margin-top: 1rem;
  }
}

@media (max-width: 520px) {
  .journey-hero__facts,
  .journey-boundary-grid {
    grid-template-columns: 1fr;
  }

  .journey-hero__facts span,
  .journey-hero__facts span:first-child {
    border-top: 1px solid rgba(17, 20, 26, 0.12);
    border-left: 0;
  }

  .journey-hero__facts span:first-child {
    border-top: 0;
  }

  .journey-stage__identity h3 {
    font-size: 2.35rem;
  }
}
