/* ===== Ways: the two ways to run it, drawn on the factory's own six stations ===== */
.ways { padding-block: var(--space-3xl); }
.ways h2 { font-size: var(--text-section); max-width: 24ch; }
.ways__sign { color: var(--color-gold); }

.ways__ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); column-gap: var(--space-2xl); margin-top: var(--space-2xl); }
.ways__way { grid-column: var(--col); grid-row: 1 / span 6; display: grid; grid-template-rows: subgrid; min-width: 0; }

.ways__title { font-size: var(--text-title); color: var(--color-ink); margin-bottom: var(--space-md); }

/* the strip: six stations as one belt, each carrying its gate and who opens it */
.ways__strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-3xs); margin: 0 0 var(--space-xl); padding: 0; list-style: none; }
.ways__st { position: relative; display: grid; grid-template-rows: 1fr auto; min-width: 0; min-height: 7.5rem; background: var(--color-paper-2); }
.ways__st::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--color-accent-2); }
.ways__name { padding: var(--space-md) var(--space-sm) var(--space-sm); font-size: var(--text-md); font-weight: 500; color: var(--color-ink); overflow-wrap: anywhere; }
.ways__gate { display: flex; align-items: center; gap: var(--space-2xs); padding: var(--space-sm); font-size: var(--text-md); font-weight: 500; color: var(--color-gold); border-top: 1px solid var(--color-gold-rule); }
.ways__gate .icon { width: 18px; height: 18px; }
.ways__st--yours .ways__gate { background: var(--color-gold-wash); --gate-mark-leaf: currentColor; }
.ways__st--ours .ways__gate { background: var(--color-paper-3); color: var(--color-ink); border-top-color: var(--color-rule-2); }
.ways__st--ours .ways__gate .icon { color: var(--color-gold); }

.ways__row { padding-bottom: var(--space-md); font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink); max-width: 40ch; }
.ways__fits { padding-top: var(--space-xs); padding-bottom: var(--space-lg); font-size: var(--text-md); color: var(--color-muted); max-width: 48ch; }
.ways__act { margin: 0; }

@media (max-width: 75rem) {
  .ways__ledger { column-gap: var(--space-xl); }
  .ways__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 60rem) {
  .ways__ledger { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--space-2xl); }
  .ways__way { grid-column: 1; grid-row: auto; display: block; }
  .ways__strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .ways__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ways__st { min-height: 6.5rem; }
}
