/* Shared diagram system: thin chalk outlines, a service-coloured light, and four-line icons. */
.journey-graphic,
.promise-graphic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: clamp(30px, 5vw, 72px) 0 0;
}

.editorial-symbol {
  --art: #ff823e;
  --stroke: max(1px, .018em);
  position: relative;
  isolation: isolate;
  display: block;
  flex: none;
  font-size: clamp(72px, 9vw, 144px);
  inline-size: 1em;
  block-size: 1em;
  color: var(--art);
}

.editorial-symbol::before,
.editorial-symbol::after,
.editorial-symbol i {
  position: absolute;
  display: block;
  box-sizing: border-box;
}

.editorial-symbol::before,
.editorial-symbol::after {
  content: "";
}

.editorial-symbol::before {
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, currentColor 17%, transparent), transparent 65%);
}

.editorial-symbol i {
  border: var(--stroke) solid currentColor;
  box-shadow: inset 0 0 .12em color-mix(in srgb, currentColor 12%, transparent),
              0 0 .1em color-mix(in srgb, currentColor 13%, transparent);
}

.editorial-symbol::after {
  inline-size: .055em;
  block-size: .055em;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 .13em currentColor;
  inset-inline-end: 10%;
  inset-block-start: 14%;
}

/* The route reads in document order on each row, including at narrow widths. */
.journey-graphic {
  position: relative;
  overflow: hidden;
  border: 1px solid #403630;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 0%, #432016 0%, transparent 77%),
    #12100f;
}

.journey-station {
  --rail: linear-gradient(90deg, #ab3995, #ee292f 45%, #f27123 78%, #ffc000);
  display: grid;
  justify-items: center;
  align-content: start;
  padding-block: clamp(17px, 3.2vw, 37px) clamp(16px, 3vw, 32px);
  padding-inline: 8px;
  min-inline-size: 0;
}

[dir="rtl"] .journey-station {
  --rail: linear-gradient(270deg, #ab3995, #ee292f 45%, #f27123 78%, #ffc000);
}

.journey-station:nth-child(1) .editorial-symbol { --art: #db86cc; }
.journey-station:nth-child(2) .editorial-symbol { --art: #fb6c75; }
.journey-station:nth-child(3) .editorial-symbol { --art: #ff9450; }
.journey-station:nth-child(4) .editorial-symbol { --art: #ffd264; }

.journey-node {
  position: relative;
  display: grid;
  place-items: center;
  inline-size: calc(100% + 16px);
  block-size: 22px;
  margin-block: 4px 12px;
}

.journey-node::before,
.journey-node::after {
  content: "";
  position: absolute;
}

.journey-node::before {
  inset-inline: 0;
  block-size: 1px;
  background: var(--rail);
  opacity: .67;
}

.journey-station:first-child .journey-node::before { inset-inline-start: 50%; }
.journey-station:last-child .journey-node::before { inset-inline-end: 50%; }

.journey-node::after {
  block-size: 7px;
  inline-size: 7px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px #1a1410, 0 0 16px 2px #f2712370;
}

.journey-name {
  font-size: clamp(.88rem, 1.5vw, 1.1rem);
  font-weight: 750;
  text-align: center;
}

.symbol-brief i:first-child {
  inset: 15% 27% 15% 25%;
  border-radius: 5% 14% 4% 4%;
  transform: rotate(-12deg);
}

.symbol-brief i:nth-child(2) {
  inset: 23% 19% 14% 34%;
  border-radius: 5% 14% 4% 4%;
  background: #241626;
  transform: rotate(10deg);
}

.symbol-brief i:nth-child(3) {
  inset: 39% 27% 35% 43%;
  border: 0;
  background: repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 7px);
  opacity: .65;
  transform: rotate(10deg);
}

.symbol-workshop i {
  inset: 22% 19%;
  border-radius: 7%;
  transform: rotateX(52deg) rotateZ(-32deg);
  background: repeating-linear-gradient(120deg, transparent 0 9%, #ff735622 9.5% 10%);
}

.symbol-workshop i:nth-child(2) { translate: 0 13%; opacity: .8; }
.symbol-workshop i:nth-child(3) { translate: 0 26%; opacity: .55; }

.symbol-site i:first-child,
.symbol-site i:nth-child(2) {
  inset: 20% 15% 20%;
  border-radius: 52% 52% 2% 2%;
  border-block-end: 0;
}

.symbol-site i:nth-child(2) { inset: 32% 26% 20%; opacity: .66; }

.symbol-site i:nth-child(3) {
  inset: auto 7% 20%;
  block-size: .105em;
  border-radius: 0 0 .06em .06em;
  background: #301d14;
}

.symbol-screen i:first-child {
  inset: 22% 10% 26%;
  border-radius: 8%;
  background: #241a10;
}

.symbol-screen i:nth-child(2) {
  inset: 36% 39% 40% 43%;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.symbol-screen i:nth-child(3) {
  inset: auto 31% 18%;
  block-size: .025em;
  border: 0;
  background: currentColor;
}

/* Promise: four large plan views, one per approved step. */
.promise-graphic {
  gap: 14px;
}

.promise-phase {
  min-inline-size: 0;
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid var(--graphite);
  border-radius: 19px;
  background: #151312;
}

.phase-visual {
  --phase: #db86cc;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.45;
  margin-block-end: 15px;
  overflow: hidden;
  border-radius: 11px;
  background:
    radial-gradient(ellipse at 50% 65%, color-mix(in srgb, var(--phase) 22%, transparent), transparent 68%),
    linear-gradient(112deg, #191215, #100f0f);
}

.phase-build { --phase: #f87c69; }
.phase-run { --phase: #ff9761; }
.phase-film { --phase: #ffcb64; }

.phase-visual::before {
  content: "";
  position: absolute;
  inset: 11%;
  background-image:
    linear-gradient(#f7bd9230 1px, transparent 1px),
    linear-gradient(90deg, #f7bd9230 1px, transparent 1px);
  background-size: 10px 10px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 73%);
}

.phase-count {
  position: absolute;
  inset-inline-start: 9px;
  inset-block-start: 8px;
  color: var(--phase);
  font: 500 .74rem/1.45 "IBM Plex Mono", monospace;
  letter-spacing: .1em;
}

.phase-visual .editorial-symbol { --art: var(--phase); }
.promise-phase h3 { margin-block: 0 8px; }
.promise-phase p { margin: 0; color: var(--quiet); }

.symbol-design i:first-child {
  inset: 17% 12%;
  border-style: dashed;
  opacity: .55;
}

.symbol-design i:nth-child(2) {
  inset: 25% 27% 25% 29%;
  border-radius: .065em;
}

.symbol-design i:nth-child(3) {
  inset: 38% 33% 37% 35%;
  border: 0;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}

.symbol-build i {
  inset: 18% 18% 31%;
  border-radius: .06em;
  transform: rotateX(48deg) rotateZ(45deg);
  background: #1f1311;
}

.symbol-build i:nth-child(2) { translate: 0 18%; opacity: .78; }
.symbol-build i:nth-child(3) { translate: 0 36%; opacity: .58; }

.symbol-run i:first-child {
  inset: 18% 16%;
  border-radius: 50%;
  border-block-start-color: transparent;
  transform: rotate(-30deg);
}

.symbol-run i:nth-child(2) {
  inset: 30% 26%;
  border-radius: 50%;
  border-inline-end-color: transparent;
  transform: rotate(37deg);
}

.symbol-run i:nth-child(3) {
  inset: 44% 41%;
  border: 0;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 .2em currentColor;
}

.symbol-film i:first-child {
  inset: 24% 18% 27%;
  border-radius: .06em;
}

.symbol-film i:nth-child(2) {
  inset: 36% 37% 39% 43%;
  border: 0;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.symbol-film i:nth-child(3) {
  inset: 17% 25% 20%;
  border-inline: 0;
  opacity: .52;
}

@media (max-width: 740px) {
  .promise-graphic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-station { padding-inline: 5px; }
  .journey-node { inline-size: calc(100% + 10px); }
}

@media (max-width: 440px) {
  .journey-graphic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-station:nth-child(2) .journey-node::before { inset-inline-end: 50%; }
  .journey-station:nth-child(3) .journey-node::before { inset-inline-start: 50%; }
  .journey-station:nth-child(n + 3) { border-block-start: 1px solid #403630; }
  .promise-graphic { gap: 8px; }
  .promise-phase { padding: 10px; }
  .phase-visual { aspect-ratio: 1.28; margin-block-end: 9px; }
}
