/* ABOUT — spacious typography and a continuous three-step journey. */
#about.about-proposal {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: #f1f6fb;
  border-radius: clamp(2.5rem, 7vw, 7rem) 0 0 0;
}
#about .container { max-width: 72rem; }
.journey-heading {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}
.journey-eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.5rem;
  color: var(--color-primary);
  font: 700 1rem/1 var(--font-en);
  letter-spacing: .16em;
}
.journey-eyebrow::before { content: ''; width: 1.75rem; height: 2px; background: currentColor; }
#about-title {
  margin: 0;
  color: #142d50;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1.6;
  letter-spacing: .035em;
}
.journey-title-line { display: block; }
.journey-time { color: var(--color-primary); }
.journey-time b {
  display: inline-block;
  margin-right: .08em;
  font-family: var(--font-en);
  font-size: 1.8em;
  line-height: .85;
  font-weight: 600;
}
.journey-lead {
  margin: 0 0 .55rem;
  padding: .25rem 0 .25rem 1.6rem;
  border-left: 2px solid #c6d8ea;
  color: #455a72;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 2.2;
  letter-spacing: .025em;
}
.journey-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; }
.journey-step { --step: #0b4aa2; --tint: #e8f1fb; min-width: 0; display: flex; flex-direction: column; }
.journey-step--2 { --step: #58b8d6; --tint: #e6f5fa; }
.journey-step--3 { --step: #f0c000; --tint: #fff6d5; }
.journey-step__top { display: flex; align-items: center; gap: .65rem; padding-bottom: 1.15rem; position: relative; }
.journey-step__top::after { content: ''; height: 1px; flex: 1; background: #c6d5e5; }
.journey-step__index { flex-shrink: 0; white-space: nowrap; display: flex; align-items: baseline; gap: .5rem; color: #173d6c; font: 600 2.6rem/1 var(--font-en); }
.journey-step__index > span { font-size: .875rem; letter-spacing: .09em; }
.journey-step__dot { width: .6rem; height: .6rem; background: var(--step); border-radius: 50%; order: 1; flex-shrink: 0; margin-right: 1.5rem; }
.journey-step__content {
  flex: 1;
  padding: clamp(1.4rem, 2.6vw, 2.25rem);
  background: #fff;
  border-top: 3px solid var(--step);
  position: relative;
}
.journey-step:first-child .journey-step__content { border-radius: 0 0 0 1.5rem; }
.journey-step:last-child .journey-step__content { border-radius: 0 0 1.5rem 0; }
.journey-step + .journey-step .journey-step__content { border-left: 1px solid #e2eaf2; }
.journey-step__intro { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 1.7rem; }
.journey-step__label { margin: 0; color: #455a72; font-size: .875rem; font-weight: 700; letter-spacing: .03em; }
.journey-icon-ring { display: grid; place-items: center; flex: 0 0 6.5rem; height: 6.5rem; background: var(--tint); border-radius: 50%; }
.journey-generated-icon { width: 4.25rem; height: 4.25rem; object-fit: contain; filter: brightness(0) saturate(100%) invert(19%) sepia(38%) saturate(1556%) hue-rotate(178deg) brightness(92%) contrast(95%); }
.journey-step h3 {
  display: block;
  position: relative;
  min-height: 3.3em;
  margin: 0 0 1.5rem;
  padding-left: 1em;
  color: #142d50;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: .015em;
  overflow-wrap: anywhere;
}
.journey-step h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: .45em;
  height: .45em;
  border-radius: 50%;
  background: var(--step);
}
.journey-step__content::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -3px;
  height: 3px;
  background: var(--step);
  transform-origin: left;
}
.journey-step__body { color: #526074; font-size: 1rem; line-height: 1.95; overflow-wrap: anywhere; }
.journey-step__body p { margin: 0; }
.journey-step__body p + p { margin-top: .75rem; }
@media (max-width: 900px) {
  .journey-heading { grid-template-columns: 1.5fr 1fr; gap: 1.5rem; }
  .journey-step__top { gap: .5rem; }
  .journey-step__top::after, .journey-step__dot { display: none; }
  .journey-step__index { font-size: 2.1rem; }
}
@media (max-width: 700px) {
  #about .container { padding-inline: 1.5rem; }
  .journey-heading { grid-template-columns: 1fr; gap: 1.75rem; margin-bottom: 2.5rem; }
  #about-title { font-size: clamp(1.5rem, 5.7vw, 2.3rem); }
  .journey-eyebrow { margin-bottom: 1.25rem; }
  .journey-lead { margin: 0; padding-left: 1rem; line-height: 1.95; }
  .journey-lead br:last-child { display: none; }
  .journey-steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .journey-step__top { padding-bottom: .75rem; }
  .journey-step__dot { margin-right: 0; }
  .journey-step__index { font-size: 2.25rem; }
  .journey-step .journey-step__content { min-height: 0; border-left: 0; border-radius: 0 0 1.25rem 1.25rem; padding: 1.5rem; }
  .journey-step__intro { flex-direction: row; align-items: center; margin-bottom: 1rem; }
  .journey-step h3 { min-height: 0; font-size: 1.25rem; margin-bottom: 1rem; }
}
/* Each step completes its emphasis before the next begins; no endless loop. */
@media (prefers-reduced-motion: no-preference) {
  .journey-enter-pending .journey-step__content { border-top-color: #dce5ef; }
  .journey-enter-pending .journey-step__content::before { transform: scaleX(0); }
  .journey-entered .journey-step__content::before {
    animation: journey-line .65s ease-out both;
    animation-delay: var(--journey-delay, 0s);
  }
  .journey-entered .journey-icon-ring {
    animation: journey-icon .65s ease-out both;
    animation-delay: var(--journey-delay, 0s);
  }
  .journey-entered .journey-step__index {
    animation: journey-number .65s ease-out both;
    animation-delay: var(--journey-delay, 0s);
  }
  .journey-entered h3 {
    animation: journey-title .65s ease-out both;
    animation-delay: var(--journey-delay, 0s);
  }
  @keyframes journey-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes journey-icon {
    0% { transform: translateY(8px) scale(.9); box-shadow: 0 0 0 0 var(--tint); }
    55% { transform: translateY(-4px) scale(1.07); box-shadow: 0 0 0 10px var(--tint); }
    100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 var(--tint); }
  }
  @keyframes journey-number { 50% { transform: translateY(-4px); color: var(--color-primary); } }
  @keyframes journey-title { from { transform: translateY(8px); } to { transform: translateY(0); } }
}
