/* =========================================================
   JOURNEY / ШЛЯХ — full-bleed ink section, cinematic break
   in the page rhythm. Cream serif italic on ink + oxblood
   accents. Positioned between About and Services.
   ========================================================= */

.ed-journey {
  position: relative;
  background: var(--ds-ink, #1a1614);
  color: var(--ds-bone, #f4f0e8);
  padding: clamp(80px, 12vh, 140px) clamp(20px, 4vw, 64px);
  overflow: hidden;
  isolation: isolate;
}
.ed-journey::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 22% 18%, rgba(141,47,42,0.18), transparent 65%),
    radial-gradient(60% 50% at 80% 100%, rgba(184,153,104,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.ed-journey::after {
  content: "Karina";
  position: absolute;
  right: -0.18em;
  bottom: -0.32em;
  z-index: 0;
  font-family: var(--ds-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(8rem, 18vw, 18rem);
  line-height: 0.75;
  color: rgba(244,240,232,0.045);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.ed-journey-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.ed-journey-eyebrow {
  font-family: var(--ds-font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ds-oxblood, #8d2f2a);
  display: inline-block;
  margin: 0 auto 18px;
  padding: 6px 14px;
  border: 1px solid rgba(141,47,42,0.55);
}

.ed-journey-title {
  margin: 0 0 36px;
  font-family: var(--ds-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--ds-bone, #f4f0e8);
}
.ed-journey-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #d4a09d 0%, #c8a882 50%, #b89968 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.ed-journey-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 0;
  position: relative;
}
.ed-journey-body::before,
.ed-journey-body::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(120px, 24vw, 280px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ds-champagne, #b89968) 25%, var(--ds-champagne, #b89968) 75%, transparent);
}
.ed-journey-body::before { top: 0; }
.ed-journey-body::after  { bottom: 0; }
.ed-journey-body p {
  margin: 0;
  font-family: var(--ds-font-serif);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.7;
  color: rgba(244,240,232,0.88);
  font-weight: 400;
}
.ed-journey-body p em {
  font-style: italic;
  color: var(--ds-bone, #f4f0e8);
  background: linear-gradient(90deg, transparent 0%, rgba(184,153,104,0.18) 50%, transparent 100%);
  padding: 0 0.18em;
}

/* Pull-emphasis on last paragraph */
.ed-journey-body p:last-child {
  text-align: center;
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  margin-top: 8px;
}
.ed-journey-body p:last-child em {
  color: var(--ds-bone, #f4f0e8);
  font-weight: 500;
  background: none;
  padding: 0;
  border-bottom: 1px solid var(--ds-oxblood, #8d2f2a);
}

/* Timeline — horizontal mono milestones */
.ed-journey-timeline {
  list-style: none;
  margin: 56px auto 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(244,240,232,0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 760px;
  position: relative;
}
.ed-journey-timeline li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  position: relative;
}
.ed-journey-timeline li:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 14px;
  left: -50%;
  width: 100%;
  height: 1px;
  background: rgba(141,47,42,0.45);
}
.ed-journey-mile-num {
  font-family: var(--ds-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ds-oxblood, #8d2f2a);
  background: var(--ds-ink, #1a1614);
  padding: 0 10px;
  position: relative;
  z-index: 1;
}
.ed-journey-mile-label {
  font-family: var(--ds-font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.72);
  line-height: 1.4;
}

/* Mobile */
@media (max-width: 720px) {
  .ed-journey { padding: 72px 18px; }
  .ed-journey-body { text-align: left; }
  .ed-journey-timeline {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ed-journey-timeline li:not(:first-child)::before {
    top: -12px;
    left: 50%;
    width: 1px;
    height: 18px;
  }
  .ed-journey::after {
    font-size: 8rem;
    bottom: -0.18em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-journey-body p em { background: none; }
}
