/* Solo agent and team chapters share the typography of the transaction workspace. */
.role-story {
  --role-ink: #302b25;
  --role-text: #60564b;
  --role-accent: #785d42;
  --role-rule: #cabdae;
  color: var(--role-ink);
}
.role-width { width:min(88%, 1260px); margin-inline:auto; }
.role-cover, .role-spread, .role-ending, .role-after {
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
  gap:clamp(38px, 6vw, 104px);
}
.role-cover { align-items:center; padding-block:clamp(52px, 6vw, 94px) clamp(60px, 8vw, 114px); }
.role-story :is(h1,h2,h3,p,figure,dl,dd) { margin:0; }
.role-story h1, .role-story h2, .role-story h3, .role-visual strong {
  font-family:Ivar,Georgia,serif; font-weight:300;
}
.role-story h1 { max-width:12.5ch; font-size:clamp(60px, 5.85vw, 98px); line-height:.99; letter-spacing:-.052em; }
.role-story h1 em { display:block; }
.role-agents h1 { max-width:15.4ch; font-size:clamp(58px,5.1vw,86px); }
.role-story h1 em, .role-story h2 em { font-weight:300; color:var(--role-accent); }
.role-story h2 { max-width:15ch; font-size:clamp(41px, 4.3vw, 74px); line-height:1.04; letter-spacing:-.04em; }
.role-story .role-label, .role-panel-kicker, .screen-caption small, .role-file-head {
  font:520 11px/1.5 Inter,Arial,sans-serif; text-transform:uppercase; letter-spacing:.115em;
}
.role-story .role-label { color:#70593f; margin-bottom:clamp(14px, 1.4vw, 24px); }
.role-intro, .role-chapter-copy>p:last-child, .role-ending>div>p {
  max-width:48ch; font:400 clamp(16px, 1.22vw, 20px)/1.62 Inter,Arial,sans-serif; color:var(--role-text);
}
.role-story .role-intro, .role-chapter-copy>p:last-child, .role-ending>div>p { margin-top:clamp(16px, 2vw, 29px); }
.role-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 23px; }
.role-lead .role-actions { margin-top:clamp(18px, 2vw, 29px); }
.role-story .primary-link { padding:15px 22px; min-height:48px; text-align:center; }
.role-story .text-link { min-height:44px; display:inline-flex; gap:8px; align-items:center; }
.role-story :is(a,summary):focus-visible { outline:2px solid #9a6437; outline-offset:3px; }
.role-visual { min-width:0; }
.role-screen {
  display:block; color:#f5ecde; text-decoration:none; overflow:hidden; border:1px solid #484135;
  border-radius:7px; background:#12130f; box-shadow:0 26px 50px -40px #4e3b24;
}
.role-screen picture {
  display:grid; align-items:center; justify-items:center;
  overflow:hidden; aspect-ratio:1.52; background:#060605;
}
.role-screen img { display:block; max-width:none; width:115%; height:auto; }
.screen-caption { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:clamp(13px,1.6vw,23px) clamp(16px,1.8vw,27px); border-top:1px solid #393930; background:#1b1c17; }
.screen-caption>span:first-child { display:grid; gap:4px; }
.screen-caption small { color:#cdb898; font-size:10px; }
.screen-caption strong { color:#f5ecde; font-size:clamp(20px,2vw,31px); line-height:1.12; letter-spacing:-.015em; }
.screen-link { color:#e5d7c5; font-size:12px; line-height:1.4; text-align:right; }
.screen-link>span { display:inline-block; transition:transform .16s ease; }
@media(hover:hover) { .role-screen:hover .screen-link>span { transform:translate(2px,-2px); } }
@media(prefers-reduced-motion:no-preference){
  body:not(.paused):not(.reduced-motion) .role-file[data-interactive] .role-panel:not([hidden]) {
    animation:role-sheet-in .2s cubic-bezier(.2,.75,.25,1);
  }
}
@keyframes role-sheet-in {
  from { opacity:.78; transform:translateY(4px); }
  to { opacity:1; transform:translateY(0); }
}
.role-chapter { padding-block:clamp(58px,7.3vw,116px); background:#e9e0d3; border-block:1px solid #cdbfaf; scroll-margin-top:65px; }
.role-chapter.role-ink { color:#f3ece1; background:#21231e; border-color:#35382e; }
.role-chapter-copy { align-self:start; }
.role-chapter-copy>p:last-child { max-width:36ch; }
.role-ink .role-chapter-copy>p:last-child { color:#d7cebe; }
.role-ink .role-chapter-copy em, .role-ink .role-chapter-copy .role-label { color:#d8b994; }
.role-spread { align-items:start; }
.role-file { min-width:0; padding:clamp(16px,2.1vw,30px); background:#faf7f1; border:1px solid var(--role-rule); color:var(--role-ink); box-shadow:0 18px 36px -34px #1b180d; border-radius:8px; }
.role-file-head { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; color:#6f5943; }
.role-file-head>span:last-child { text-transform:none; letter-spacing:.01em; }
.role-step-list { display:flex; flex-wrap:wrap; margin-top:14px; border-bottom:1px solid #c6b8a5; gap:clamp(9px,1.25vw,20px); }
.role-step-list a { display:grid; align-items:center; min-height:44px; padding:4px 1px; text-decoration:none; color:#605544; border-bottom:2px solid transparent; font-size:13px; font-weight:500; }
.role-step-list a[aria-selected=true] { border-bottom-color:#815c35; color:#37281a; }
.role-panel { padding-top:20px; scroll-margin:85px; }
.role-panel + .role-panel { margin-top:16px; border-top:1px solid var(--role-rule); }
.role-file[data-interactive] .role-panel[hidden] { display:none; }
.role-file[data-interactive] .role-panel { margin-top:0; border-top:0; }
.role-file .role-panel-kicker { font-size:10px; color:#73593d; margin-bottom:6px; }
.role-file h3 { font-size:clamp(27px,2.2vw,38px); line-height:1.1; letter-spacing:-.024em; color:#33291e; }
.role-panel .role-panel-text { margin:9px 0 15px; font:400 14px/1.55 Inter,Arial,sans-serif; color:#544b3f; max-width:58ch; }
.role-file dl { font:400 13px/1.5 Inter,Arial,sans-serif; }
.role-file dl div { display:grid; grid-template-columns:minmax(110px,.72fr) minmax(0,1fr); gap:10px; padding:8px 0; border-top:1px solid #d8cdbe; }
.role-file dt { color:#645848; }
.role-file dd { font-weight:550; overflow-wrap:anywhere; }
.role-file-link { display:inline-flex; align-items:center; min-height:44px; margin-top:6px; gap:6px; color:#674a2b; text-decoration:underline; text-underline-offset:3px; font-size:13px; }
.role-draft { margin:9px 0 0; padding:10px 15px; border-left:2px solid #b49870; background:#f1eadf; color:#514739; font-size:14px; line-height:1.55; }
.role-scroll-caption { margin-top:9px; font-size:11px; color:#6d5c46; }
.role-scroll-caption:empty { display:none; }
.role-ending { align-items:center; gap:26px; padding-block:clamp(60px,7vw,110px); }
.role-ending h2 { max-width:17ch; }
.role-ending .role-actions { justify-content:flex-end; }
@media(min-width:851px){
  .role-spread:has(.scroll-tour-track[data-tour-guided]) .role-chapter-copy { position:sticky; top:clamp(95px,14vh,150px); }
}
@media(max-width:850px){
  .role-cover,.role-spread,.role-ending,.role-after { grid-template-columns:1fr; gap:30px; }
  .role-cover { padding-block:48px; }
  .role-lead h1 { max-width:15ch; }
  .role-intro,.role-chapter-copy>p:last-child { max-width:54ch; }
  .role-screen picture { aspect-ratio:1.95; }
  .role-ending .role-actions { justify-content:flex-start; }
}
@media(max-width:650px){
  .role-width { width:90%; }
  .role-cover { gap:26px; padding-block:36px 43px; }
  .role-story h1 { font-size:clamp(45px,10.6vw,64px); }
  .role-story h2 { font-size:clamp(36px,8.2vw,49px); }
  .role-intro,.role-chapter-copy>p:last-child,.role-ending>div>p { font-size:15px; }
  .role-actions { gap:6px 15px; }
  .role-story .primary-link,.role-story .text-link { font-size:12px; }
  .role-story .primary-link { gap:8px; padding:12px 15px; }
  .role-chapter { padding-block:45px; }
  .role-screen picture { aspect-ratio:1.48; position:relative; }
  .role-screen img { position:absolute; width:100%; height:100%; object-fit:cover; object-position:50% 55%; }
  .role-teams .role-screen picture { aspect-ratio:1.72; }
  .role-teams .role-screen img { object-position:50% 69.5%; }
}
@media(max-width:365px){
  .role-width { width:92%; }
  .role-file { padding:13px; }
  .role-file dl div { grid-template-columns:minmax(85px,.72fr) minmax(0,1fr); }
  .screen-link { max-width:92px; }
}
@media(prefers-reduced-motion:reduce){ .screen-link>span { transition:none; } }
@media print{
  .role-file[data-interactive] .role-panel[hidden] { display:block; }
  .role-step-list { display:none; }
}

/* Property jacket and the quieter archive chapter at the end of the buyer's file. */
.role-estate { display:block; overflow:hidden; color:var(--role-ink); text-decoration:none; border:1px solid var(--role-rule); border-radius:7px; background:#faf6ef; box-shadow:0 24px 54px -40px #58452f; }
.role-estate picture,.role-estate img { display:block; width:100%; }
.role-estate img { aspect-ratio:1.75; height:auto; object-fit:cover; object-position:center 52%; }
.estate-caption { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:clamp(16px,2.1vw,30px); }
.estate-caption>span:first-child { display:grid; gap:5px; }
.estate-caption small,.team-events small { color:#715d46; font:520 10px/1.5 Inter,Arial,sans-serif; letter-spacing:.095em; text-transform:uppercase; }
.estate-caption strong { font-size:clamp(23px,2.45vw,40px); line-height:1.12; letter-spacing:-.03em; }
.estate-monogram { font:400 20px/1 Georgia,serif; color:#67553d; }
.role-paper { background:#eae3d7; }
.role-paper + .role-ink,.role-ink + .role-paper { border-top:0; }
.team-events { list-style:none; margin:18px 0 0; padding:0; }
.team-events li { position:relative; display:grid; grid-template-columns:14px 1fr; gap:12px; padding:0 0 20px; }
.team-events li:last-child { padding-bottom:5px; }
.team-events li:not(:last-child)::before { content:""; position:absolute; top:8px; bottom:-8px; left:4px; border-left:1px solid var(--role-rule); }
.event-marker { position:relative; width:9px; height:9px; margin-top:5px; border:1px solid #947550; border-radius:50%; background:#f8f3e9; }
.team-events li:last-child .event-marker { background:#927553; }
.team-events div { display:grid; gap:4px; }
.team-events strong { font:300 clamp(20px,1.8vw,27px)/1.18 Ivar,Georgia,serif; }
.team-events div>span { font:400 14px/1.55 Inter,Arial,sans-serif; color:#544b3f; }
.role-after { align-items:start; padding-block:clamp(54px,7vw,108px); }
.role-after-copy>p,.role-future p { max-width:53ch; font:400 16px/1.65 Inter,Arial,sans-serif; color:var(--role-text); }
.role-future { margin:21px 0 18px; border-block:1px solid var(--role-rule); }
.role-future summary { min-height:48px; display:flex; align-items:center; justify-content:space-between; gap:14px; color:#5d4e3c; font:500 14px/1.5 Inter,Arial,sans-serif; cursor:pointer; }
.role-future summary::-webkit-details-marker { display:none; }
.role-future summary span::after { content:"+"; font-size:20px; font-weight:400; }
.role-future[open] summary span::after { content:"−"; }
.role-future p { padding:0 0 17px; font-size:14px; }
@media (max-width:650px) {
  .role-estate img { aspect-ratio:1.7; }
  .role-step-list { column-gap:12px; row-gap:0; }
  .role-file-head { font-size:10px; }
}
.role-file .contact-permission { margin:8px 0 0; border-bottom:0; }
.role-file .contact-permission p { padding-bottom:4px; }

.team-production { width:100%; border-collapse:collapse; color:var(--role-ink); font:400 13px/1.5 Inter,Arial,sans-serif; font-variant-numeric:tabular-nums; }
.team-production th,.team-production td { padding:7px 0; border-bottom:1px solid #d8cdbe; text-align:right; font-weight:400; }
.team-production th:first-child { text-align:left; }
.team-production thead th { font-size:11px; color:#665747; }
.team-production tfoot :is(th,td) { font-weight:600; border-bottom:0; }
.team-production caption { text-align:left; }
.team-callback { display:grid; gap:2px; padding:10px 0 4px; color:#504539; font:400 13px/1.45 Inter,Arial,sans-serif; }
