/* The coastline, disbursement desk and closing file finish the same sale. */
.role-agents #chapter-6 .jd-date-strip div + div {
  position:relative;
  padding-left:clamp(27px,3.6vw,56px);
}
.role-agents #chapter-6 .jd-date-strip div + div::before {
  content:"→";
  position:absolute;
  top:50%; left:0;
  transform:translate(-50%,-50%);
  padding:1px 2px;
  color:#f4e9d3; background:#3e4840;
  font:400 12px/1 Ivar,Georgia,serif;
}

.role-agents #chapter-7 {
  --spread-bg:#f2eee4;
  background:radial-gradient(ellipse at 82% 36%,#fffdf5 0%,#f5f0e6 46%,#e8dfd0 100%);
}
.role-agents #chapter-7 .journey-inner {
  width:min(88%,1190px); display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.13fr);
  align-items:center; gap:clamp(36px,6vw,98px); padding-block:clamp(68px,7.4vw,118px);
}
.role-agents #chapter-7 .journey-copy {
  text-align:left; padding:0; max-width:37ch;
}
.role-agents #chapter-7 .journey-copy .role-label { justify-content:flex-start; }
.role-agents #chapter-7 .journey-copy h2 { font-size:clamp(58px,6.3vw,104px); line-height:.95; }
.role-agents #chapter-7 .journey-copy h2 em { display:block; }
.role-agents #chapter-7 .journey-copy p { text-wrap:pretty; }
.role-agents #chapter-7 .journey-copy .role-future { margin:20px 0 5px; }
.role-agents #chapter-7 .journey-product { width:100%; max-width:630px; }
.role-agents #chapter-7 .journey-switch { justify-content:flex-start; }
.role-agents #chapter-7 .listing-ledger {
  position:relative; isolation:isolate; padding:clamp(19px,2.6vw,36px); border-radius:3px;
  background:linear-gradient(150deg,#fffcf3 0%,#f8f3e8 72%,#f5ecdc);
  box-shadow:0 2px 0 -1px #f6f0e5,0 4px 0 -2px #b6aa97,0 7px 0 -4px #eee4d4,0 22px 43px -28px #4b3b29a6;
}
.role-agents #chapter-7 .ledger-paid {
  display:inline-flex; align-items:center; gap:6px; border:1px solid #a5ad92; padding:3px 7px;
  border-radius:2px; color:#43543a; letter-spacing:.055em;
}
.role-agents #chapter-7 .ledger-paid::before { content:"";width:5px;height:5px;border-radius:100%;background:#687e53; }
.role-agents #chapter-7 .ledger-feature {
  grid-template-columns:minmax(0,1fr) minmax(62px,24%); gap:16px; padding:clamp(19px,2.2vw,31px) 0;
}
.role-agents #chapter-7 .ledger-paper {
  height:clamp(77px,8vw,112px); transform:rotate(6deg);
  transform-origin:60% 80%; background:#f5ecdc;
}
.role-agents #chapter-7 .ledger-paper img {height:100%; object-fit:cover;object-position:left top;}
.role-agents #chapter-7 .ledger-net { color:#2e443c; font-size:clamp(54px,5.4vw,89px); }
.role-agents #chapter-7 .ledger-band { height:6px;transform-origin:0 50%; }
.role-agents #chapter-7 .ledger-agreement,.role-agents #chapter-7 .ledger-payees {font-size:14px;}
.role-agents #chapter-7 .ledger-reconciled {padding-block:11px 0;}
.role-agents #chapter-7 .ledger-open {margin-top:2px;}

.role-agents #chapter-8 {
  --spread-bg:#1c2420;--spread-accent:#dfc9a6;
  background:radial-gradient(ellipse at 16% 68%,#424a3a 0,#263029 37%,#17211d 82%); 
}
.role-agents #chapter-8 .journey-inner {
  display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);grid-template-areas:"file copy";
  width:min(88%,1170px);gap:clamp(42px,8vw,132px);padding-block:clamp(72px,8.5vw,138px);
}
.role-agents #chapter-8 .journey-copy {grid-area:copy;max-width:47ch;padding-left:0;}
.role-agents #chapter-8 .journey-copy h2 {font-size:clamp(46px,4.2vw,76px);}
.role-agents #chapter-8 .journey-product {grid-area:file;min-width:0;max-width:580px;}
.role-agents #chapter-8 .journey-stage {position:relative;isolation:isolate;padding:0 0 7px 5px;}
.role-agents #chapter-8 .journey-stage::before,
.role-agents #chapter-8 .journey-stage::after {
  content:"";position:absolute;inset:9px 8px 4px 3px;z-index:-1;
  border-radius:5px;transform:rotate(-2.6deg);background:#b4a78d;
  box-shadow:0 18px 36px -22px #09120dbd;transform-origin:35% 100%;
}
.role-agents #chapter-8 .journey-stage::after {inset:5px 5px 0 7px;transform:rotate(1.6deg);background:#857965;}
.role-agents #chapter-8 .archive-file {
  background:#f1e8d9;overflow:hidden;border-radius:6px;border:1px solid #b2a58c;
  box-shadow:0 10px 20px -10px #0e170f97;
}
.role-agents .archive-cover {
  display:grid;position:relative;isolation:isolate;align-items:end;
  width:100%;min-width:0;aspect-ratio:2.35;min-height:146px;overflow:hidden;
}
.role-agents .archive-cover img {
  position:absolute;z-index:-2;inset:0;height:100%;width:100%;object-fit:cover;object-position:50% 52%;
}
.role-agents .archive-cover::after {
  content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,#101b14ed,#151f185a 49%,transparent 80%);
}
.role-agents .archive-property {padding:18px 22px;color:#fff6e1;}
.role-agents .archive-property small {display:block; color:#f0e8d4;font:500 10px/1.4 Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;}
.role-agents .archive-property strong {display:block; margin-top:3px; font:300 clamp(28px,2.55vw,42px)/1.08 Ivar,Georgia,serif;letter-spacing:-.025em;}
.role-agents .archive-record {display:block;padding:clamp(8px,.8vw,12px);background:#e9dfcf;}
.role-agents .archive-record picture {display:block;overflow:hidden;border-radius:5px;}
.role-agents #chapter-8 .journey-frame-foot {color:#383d30; background:#f4eee2;}
.role-agents #chapter-8 .journey-callback {
  display:flex;align-items:center;gap:16px; margin:22px 0 5px;padding:18px 0;
  border-color:#78806d;color:#f6efdf;
}
.role-agents .journey-callback time {
  flex:0 0 49px;background:#ece3d1;color:#343b2e;border-radius:4px;overflow:hidden;text-align:center;
  box-shadow:0 4px 12px #10170f52;
}
.role-agents .journey-callback time span {display:block;background:#bdae95;font-size:9px;line-height:1.65;font-weight:650;}
.role-agents .journey-callback time b {display:block;padding:2px 0 4px;font:400 26px/1.15 Ivar,Georgia,serif;letter-spacing:-.06em;}
.role-agents #chapter-8 .journey-callback strong {font-size:clamp(23px,2.2vw,32px);}
.role-agents #chapter-8 .role-future {margin:4px 0 0;border-top:0;}

@media(max-width:820px) {
  .role-agents #chapter-7 .journey-inner,.role-agents #chapter-8 .journey-inner {
    width:min(90%,610px);grid-template-columns:minmax(0,1fr);gap:28px;padding-block:clamp(48px,8vw,68px);
  }
  .role-agents #chapter-8 .journey-inner {grid-template-areas:"copy" "file";}
  .role-agents #chapter-7 .journey-copy {max-width:47ch;}
  .role-agents #chapter-7 .journey-copy h2 {font-size:clamp(43px,8vw,64px);}
  .role-agents #chapter-7 .journey-copy h2 em {display:inline;}
  .role-agents #chapter-8 .journey-copy h2 {font-size:clamp(39px,7.8vw,61px);}
  .role-agents #chapter-7 .ledger-paper {height:80px;}
  .role-agents #chapter-8 .journey-product {width:100%;margin-inline:auto;}
}
@media(max-width:650px) {
  .role-agents #chapter-7 .journey-product{padding:0 3px 0 0;}
  .role-agents #chapter-7 .ledger-paper {height:70px;}
  .role-agents #chapter-8 .archive-record picture {aspect-ratio:1.78;overflow:hidden;}
  .role-agents #chapter-8 .archive-record img {object-position:0 0;}
  .role-agents .archive-property {padding:13px 16px;}
  .role-agents #chapter-8 .journey-stage {margin:0 7px;}
}
@media(prefers-reduced-motion:no-preference) {
  .role-agents #chapter-7 .journey-arrived .ledger-band {animation:ledger-allocation .65s cubic-bezier(.2,.7,.28,1) both;}
  .role-agents #chapter-8 .journey-arrived .journey-stage::before {animation:file-settles .55s cubic-bezier(.15,.8,.3,1) both;}
  @keyframes ledger-allocation {from{transform:scaleX(.08)}to{transform:none}}
  @keyframes file-settles {from{transform:rotate(0)}to{transform:rotate(-2.6deg)}}
}
