/* Personal entry point and catalogue navigation. */
.journey {
  display: grid;
  grid-template-columns: minmax(250px, .85fr) minmax(500px, 1.35fr);
  gap: 44px;
  align-items: center;
  margin-top: -21px;
  padding-bottom: 67px;
}

.journey-copy .eyebrow { margin-bottom: 13px; }
.journey-heading {
  margin: 0;
  color: var(--ink);
  font: 500 clamp(30px, 3vw, 42px)/1.04 Fraunces, serif;
  letter-spacing: -1.4px;
}
.journey-detail { max-width: 345px; margin: 13px 0 0; color: #637c82; font-size: 13px; line-height: 1.55; }

.journey-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 24px;
  padding: 24px 26px;
  border: 1px solid #d6e0db;
  background: linear-gradient(115deg, #fdfcf7 0%, #edf5f0 100%);
  box-shadow: 0 13px 34px #183f4410;
}
.journey-route { display: flex; gap: 13px; align-items: center; min-width: 0; }
.journey-route-icon {
  display: grid;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  background: #0d6476;
  color: #ddf7ef;
  font: 21px/1 Fraunces, serif;
}
.journey-route small { display: block; margin-bottom: 3px; color: #6b8b90; font: 9px 'DM Mono', monospace; letter-spacing: 1.15px; }
.journey-route strong { display: block; overflow: hidden; color: #143c4c; font: 600 16px/1.2 'DM Sans', sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.journey-route span { display: block; margin-top: 4px; color: #71878a; font-size: 11px; }
.journey-stats { display: flex; gap: 0; grid-column: 1 / -1; border-top: 1px solid #d8e3dc; padding-top: 15px; }
.journey-stats div { display: flex; min-width: 86px; flex-direction: column; padding: 0 19px; border-left: 1px solid #d8e3dc; }
.journey-stats div:first-child { padding-left: 0; border-left: 0; }
.journey-stats strong { color: #174e5c; font: 500 23px/1 Fraunces, serif; }
.journey-stats span { margin-top: 3px; color: #71888b; font-size: 10px; }
.journey-continue {
  align-self: center;
  border: 0;
  padding: 12px 15px 12px 17px;
  background: #092e43;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.journey-continue:hover { background: #09677d; transform: translateY(-2px); }
.journey-continue b { margin-left: 15px; color: #9ee1d4; font-size: 17px; }
.journey-review { grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; border:1px solid #9bc7bd; padding:9px 11px; background:#edf8f3; color:#21636b; font:600 10px 'DM Mono',monospace; letter-spacing:.2px; }.journey-review:hover { background:#dcf0e7; }.journey-review b { color:#b76a45; font-size:9px; }

.mode-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -9px 0 26px; }
.mode-filters button {
  min-height: 34px;
  border: 1px solid #ccdcd5;
  border-radius: 99px;
  padding: 0 13px;
  background: #f8faf5;
  color: #567278;
  font-size: 12px;
  font-weight: 600;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.mode-filters button:hover { border-color: #78aaa5; color: #1d6571; }
.mode-filters button.active { border-color: #0f6878; background: #0f6878; color: #fff; }
.mode-filters button:focus-visible, .journey-continue:focus-visible { outline: 3px solid #ff8067; outline-offset: 3px; }
.mode-catalog { display: grid; gap: 49px; }
.mode-collection { min-width: 0; }
.mode-collection[hidden] { display: none; }
.collection-heading { display: flex; align-items: end; justify-content: space-between; margin: 0 0 15px; }
.collection-heading p { margin: 0 0 4px; color: #6e8d91; font: 9px 'DM Mono', monospace; letter-spacing: 1.15px; }
.collection-heading h3 { margin: 0; color: #143b4b; font: 500 27px/1 Fraunces, serif; letter-spacing: -.7px; }
.collection-heading > span { padding-bottom: 2px; color: #759096; font: 10px 'DM Mono', monospace; letter-spacing: .65px; text-transform: uppercase; }
.mode-collection-grid .solar-card,
.mode-collection-grid .team-card { grid-column: span 6; }

@media (max-width: 800px) {
  .journey { grid-template-columns: 1fr; gap: 22px; margin-top: 0; padding-bottom: 49px; }
  .journey-detail { max-width: 500px; }
  .journey-summary { padding: 20px; }
  .mode-filters { overflow-x: auto; flex-wrap: nowrap; margin-bottom: 21px; padding-bottom: 4px; }
  .mode-filters button { flex: 0 0 auto; }
  .mode-catalog { gap: 39px; }
  .collection-heading h3 { font-size: 25px; }
}

@media (max-width: 1000px) and (min-width: 801px) {
  .mode-collection-grid .solar-card,
  .mode-collection-grid .team-card { grid-column: span 2; }
}

@media (max-width: 500px) {
  .journey-summary { grid-template-columns: 1fr; gap: 17px; }
  .journey-continue { width: 100%; }
  .journey-stats div { flex: 1; min-width: 0; padding: 0 10px; }
  .journey-stats div:first-child { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-continue { transition: none; }
}
