/* "Follow one enquiry" as a rail and one picture, in the manner of the Trust page.
   All five steps are readable at once; the picture beside them follows the step
   under the pointer or keyboard focus. Nothing depends on scrolling. */
.enquiry-rail > .container {
  padding-block: clamp(46px, 4.8vw, 70px);
  border-top: 1px solid #39423c;
}
.enquiry-rail h2 {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 570;
  line-height: 1.05;
  letter-spacing: -.045em;
  margin-bottom: 24px;
}
.er {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.er-steps { border-top: 1px solid #465348; }
.er-step {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 4px 10px;
  align-items: baseline;
  padding: 14px 16px 15px 14px;
  border-bottom: 1px solid #465348;
  border-left: 2px solid transparent;
  cursor: default;
  transition: background-color .2s ease, border-color .2s ease;
}
.er-step:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.er-n { font: 500 12px/1 var(--f-mono); color: var(--amber); }
.er-step h3 {
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 590;
  line-height: 1.24;
  letter-spacing: -.02em;
}
.er-step p {
  margin-top: 4px;
  max-width: 52ch;
  color: var(--reading);
  font-size: 15.5px;
  line-height: 1.5;
}
.er-step.is-active { background: var(--sheet); border-left-color: var(--amber); }

.er-stage {
  position: relative;
  margin: 8px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgb(244 240 232 / 14%),
    0 0 0 7px var(--sheet),
    0 0 0 8px #47534b,
    0 34px 48px -30px rgb(0 0 0 / 70%);
}
.er-art {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  opacity: 0;
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1);
}
.er-art.is-active { opacity: 1; }
.er-art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.03); }
.er-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(13 21 16 / 78%), transparent 46%);
  pointer-events: none;
}
/* what just happened, in the step's own words */
.er-chip {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: fit-content;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #a6b3a9;
  border-radius: 10px;
  background: #1b2421f2;
  color: var(--ink);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.25;
}
.er-chip::before {
  content: "";
  flex: none;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: translateY(-2px) rotate(-45deg);
}
.er-art .scene-credit { left: auto; right: 10px; top: 10px; bottom: auto; z-index: 1; }

@media (max-width: 860px) {
  .er { grid-template-columns: 1fr; gap: 22px; }
  .er-stage { order: -1; aspect-ratio: 16 / 10; }
  .er-step { padding: 13px 12px 14px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .er-art, .er-step { transition: none; }
}
