/* Quill's November 30 visual direction, integrated by Main.
   All story text remains in HTML; the illustrations contain no customer data. */
.journey-visual, .case-visual { padding: clamp(22px, 3.5vw, 44px); margin: 0 0 56px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg-deep); }
.visual-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 20px 36px; margin-bottom: 28px; }
.visual-heading > div { flex: 1 1 420px; }
.visual-heading h2 { max-width: 24ch; }
.visual-heading .kicker, .journey-branch-intro .kicker, .case-panel .kicker { font-size: 0.74rem; }
.visual-example { flex: 0 1 290px; margin: 0; font-size: 0.86rem; color: var(--soft); }
.visual-example strong { display: inline-block; padding: 4px 9px; margin-bottom: 8px; background: var(--cream); color: var(--bg); font: 600 0.74rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.visual-example span { display: block; }
.journey-main, .journey-recovery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.journey-stage { min-width: 0; }
.journey-stage h3 { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 14px; margin: 0 0 12px; border: 1px solid var(--lantern); border-radius: 10px; font-family: var(--sans); font-size: 1.05rem; line-height: 1.3; }
.journey-number { color: var(--lantern); font: 500 0.82rem/1 var(--mono); }
.journey-stage dl { display: grid; gap: 10px; margin: 0; }
.journey-cell { min-height: 104px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 8px; font-size: 0.95rem; line-height: 1.5; }
.journey-cell dt { margin-bottom: 7px; font: 500 0.66rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--soft); }
.journey-cell dd { margin: 0; }
.journey-cell.response { background: var(--card); border-style: solid; min-height: 120px; }
.journey-cell.response dt { color: var(--lantern); }
.journey-cell.outcome { border: 0; border-left: 2px solid var(--cream); border-radius: 0; color: var(--soft); min-height: 100px; }
.journey-recovery { margin-top: 28px; padding-top: 28px; border-top: 1px dashed var(--line-2); }
.journey-branch-intro h3 { color: var(--lantern); font-style: italic; font-size: 1.55rem; line-height: 1.3; }
.journey-branch-intro p { font-size: 0.95rem; color: var(--soft); }
.journey-stage.quiet h3 { border-style: dashed; border-color: var(--soft); }
.journey-stage.payment h3 { border-color: #78a6f5; }
.journey-stage.payment .journey-number { color: #a2c2fa; }
.journey-stage.payment .outcome { border-left-color: #78a6f5; }
.visual-note, .visual-footnote { color: var(--soft); font-size: 0.84rem; line-height: 1.6; }
.visual-footnote { max-width: 90ch; margin: 26px 0 0; }
.illustration-banner { max-width: none; padding: 16px 20px; background: var(--lantern); color: var(--bg-deep); border-radius: 8px; font-size: 0.95rem; line-height: 1.5; margin-bottom: 24px; }
.illustration-banner strong { color: inherit; }
.case-visual-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 22px; }
.case-panel { padding: 22px; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; min-width: 0; }
.case-panel h3 { font-size: 1.45rem; }
.case-panel p { color: var(--soft); font-size: 0.95rem; line-height: 1.55; }
.case-panel p:last-child { margin-bottom: 0; }
.case-panel .kicker { color: var(--lantern); }
.member-pattern { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; width: 100%; max-width: 260px; margin: 24px 0; }
.member-pattern span { aspect-ratio: 1; border: 2px solid #6e6563; border-radius: 50%; }
.member-pattern .amber { background: #f0a04b; border-color: #f0a04b; }
.member-pattern .sand { background: #e3dace; border-color: #e3dace; }
.member-pattern .blue { background: #78a6f5; border-color: #78a6f5; }
.case-example { border: 1px dashed var(--lantern); }
.member-steps { margin: 22px 0; padding: 0; list-style: none; }
.member-steps li { display: flex; flex-direction: column; gap: 6px; padding-block: 14px; border-bottom: 1px solid var(--line-2); font-size: 0.95rem; line-height: 1.5; }
.member-steps li:first-child { padding-top: 0; }
.member-steps li:last-child { border-bottom: 0; }
.member-steps span { color: var(--soft); }
@media (max-width: 900px) {
  .journey-main, .journey-recovery, .case-visual-grid { grid-template-columns: minmax(0, 1fr); }
  .journey-stage h3 { min-height: 0; }
  .journey-cell, .journey-cell.response, .journey-cell.outcome { min-height: 0; }
  .journey-stage { padding-bottom: 12px; }
  .journey-branch-intro { max-width: 56ch; }
  .visual-heading > div { flex-basis: 100%; }
  .case-panel { padding: 20px; }
  .member-pattern { max-width: 220px; }
}
@media (max-width: 450px) {
  .journey-visual, .case-visual { padding: 18px; margin-inline: -4px; }
  .journey-visual h2, .case-visual h2 { font-size: 1.8rem; }
  .visual-heading { margin-bottom: 22px; }
}
