/* How it works, step 2 · Shape it: Reach's three looks with one approved, its first journeys step by
   step, then its prototype with a pinned comment and the second version beside the first.
   how-frame.css draws the workbench around it. Only tokens. */

.looks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.look {
  display: grid;
  gap: 2px;
  align-content: start;
  transition: opacity 400ms var(--ease-out);
}
.look b {
  margin-top: var(--space-2);
  font-size: 15px;
  color: var(--text-strong);
}
.look small {
  font-size: 13px;
  color: var(--text-muted);
}
.shot {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-control);
  border: var(--border) solid var(--line);
  background: var(--surface-2);
  transition:
    border-color 400ms var(--ease-out),
    box-shadow 400ms var(--ease-out);
}
.shot img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top left;
}
.hw .cw .looks:has(.pick.on) .look:not(:has(.pick)) {
  opacity: 0.45;
}
.shot.pick.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-line);
}

/* The journeys: each step numbered, arriving one by one */
.jr {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-card);
  border: var(--border) solid var(--line);
}
.jr b {
  font-weight: var(--weight-semibold);
  color: var(--text-strong);
}
.jr ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: jr;
}
.jr li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-control);
  border: var(--border) solid var(--line-strong);
  color: var(--text-strong);
  counter-increment: jr;
}
.jr li::before {
  content: counter(jr);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

/* The prototype: one version with its comment, then both versions side by side */
.v-proto {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.canvas,
.compare {
  grid-area: 2 / 1;
  min-height: 0;
}
.canvas,
.compare figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-card);
  border: var(--border) solid var(--line-strong);
  background: var(--surface-2);
}
.canvas img,
.compare img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}
.compare .chip {
  position: absolute;
  inset: var(--space-2) auto auto var(--space-2);
  background: var(--surface);
}
.pin {
  position: absolute;
  inset: 18% auto auto 34%;
  display: flex;
  gap: var(--space-2);
  max-width: 300px;
  padding: var(--space-3);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-overlay);
  color: var(--text-strong);
}
.pin i {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-on-accent);
  font-size: 13px;
  font-style: normal;
  font-weight: var(--weight-semibold);
}
.pin b {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

@container (max-width: 680px) {
  .looks {
    gap: var(--space-2);
  }
  .look small {
    display: none;
  }
  .shot img {
    aspect-ratio: 9 / 16;
  }
  .look b {
    font-size: 13px;
  }
  .jr {
    padding: var(--space-3);
  }
  .jr li {
    font-size: 13px;
  }
  .pin {
    inset: auto var(--space-2) var(--space-2);
    max-width: none;
  }
  .compare {
    grid-template-columns: minmax(0, 1fr);
  }
}
