/* Compass: imagery and sequence taken directly from the supplied recording. */
.compass-story.scene-input {
  width:100%; max-width:none; padding:0; rotate:0deg; border:1px solid #586050;
  border-radius:14px; overflow:hidden; background:#f5f4f0; color:var(--ink);
  box-shadow:0 24px 70px #0004;
}
.cf-top { padding:20px 22px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid #dce0d4; }
.cf-top .mini-brand { font-size:25px; letter-spacing:-1px; }
.cf-top .mini-brand>span { color:var(--accent); }
.cf-top>span:last-child { font-size:12px; letter-spacing:.07em; color:#626a59; }
.cf-stage { position:relative; isolation:isolate; padding:18px; display:grid; grid-template-columns:1fr; align-items:center; background:#e5e8df; min-height:420px; }
.cf-website,.cf-detail { min-width:0; }
.cf-detail { position:absolute; z-index:3; top:44px; right:24px; bottom:24px; width:min(40%,330px); display:flex; flex-direction:column; align-items:center; pointer-events:none; transform-origin:bottom right; opacity:0; visibility:hidden; transform:translate(18px,24px) scale(.84); clip-path:inset(88% 0 0 0 round 10px); transition:opacity .65s ease,transform 1s cubic-bezier(.22,1,.36,1),clip-path 1s cubic-bezier(.22,1,.36,1),visibility 0s 1s; }
.compass-story:not([data-chapter="0"]) .cf-detail { opacity:1; visibility:visible; transform:translate(0,0) scale(1); clip-path:inset(0 0 0 0 round 10px); transition-delay:0s; }
.cf-detail .cf-surface-label { flex-shrink:0; padding:5px 8px; border-radius:4px; background:#e5e8dff2; text-align:center; }
.story-visual[data-stage="0"] .story-preview-label { display:none; }
.cf-surface-label { display:block; margin:0 0 11px; font-size:12px; line-height:1.45; letter-spacing:.065em; color:#59644f; }
.cf-image-button { display:block; position:relative; width:100%; padding:0; border:1px solid #ccd0c5; border-radius:6px; overflow:hidden; background:#f5f4f0; cursor:zoom-in; }
.cf-image-button img { display:block; width:100%; height:auto; aspect-ratio:1920/968; object-fit:cover; }
.cf-enlarge-label { position:absolute; left:12px; bottom:12px; background:#212b24ec; color:#fff; padding:7px 10px; border:1px solid #ffffff40; border-radius:4px; font-size:12px; }
.cf-location { display:block; min-height:3em; font-size:14px; line-height:1.5; margin-top:13px; color:#56634b; }
.cf-panel-crop { position:relative; width:100%; flex:1; min-height:0; border-radius:8px; filter:drop-shadow(0 10px 18px #28332325); }
.cf-panel-crop img { display:block; width:100%; height:100%; object-fit:contain; object-position:right bottom; border-radius:8px; }
.cf-panel-crop .cf-scene-ghost,.cf-image-button .cf-scene-ghost { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.cf-enlarge-label { z-index:2; }
#cf-current-step { color:#ba432d; font-weight:600; font-variant-numeric:tabular-nums; }
.cf-chapters { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); border-bottom:1px solid #d8ddd0; padding:0 18px; }
.cf-chapters button { padding:16px 5px 13px; min-width:0; border:0; border-bottom:2px solid transparent; background:transparent; color:#636b5a; font-size:14px; display:flex; flex-direction:column; gap:5px; align-items:center; }
.cf-chapters button>span { font-size:12px; color:#828a79; }
.cf-chapters button[aria-selected="true"] { border-color:var(--accent); color:var(--ink); font-weight:600; }
.cf-chapters button[aria-selected="true"]>span { color:#c6402a; }
.cf-caption { display:flex; gap:15px; padding:18px 22px 0; min-height:103px; align-items:start; }
.cf-time { border:1px solid #d2d9c9; border-radius:4px; background:#e9ede3; padding:6px; font:12px/1.5 var(--font); white-space:nowrap; color:#56634b; }
.cf-caption h3 { font-size:22px; line-height:1.15; letter-spacing:-.035em; font-weight:500; margin:0 0 7px; }
.cf-caption p { font-size:14px; line-height:1.5; margin:0; color:#626a59; }
.compass-story .cf-caption h3 { min-height:2.3em; }
.compass-story .cf-caption p { min-height:4.5em; }
.cf-controls { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:16px 22px; }
.cf-controls button { color:var(--ink); border:1px solid #cdd4c4; border-radius:5px; background:#edf0e7; padding:10px 12px; font-size:14px; min-height:42px; }
.cf-controls #cf-play { border-color:var(--ink); background:var(--ink); color:#fff; text-align:left; }
.cf-controls>div { display:flex; gap:6px; }
.cf-controls button:disabled { opacity:.35; cursor:default; }
.cf-note { font-size:12px; line-height:1.5; color:#737b6c; margin:0; padding:0 22px 17px; }
.compass-story [hidden],.compass-cinema [hidden],.demo-context[hidden] { display:none; }
.compass-story button:focus-visible,.compass-cinema button:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.compass-cinema { width:min(1320px,calc(100vw - 40px)); max-width:none; max-height:94svh; border:1px solid #616957; padding:0; border-radius:12px; background:#171c18; color:#f5f4f0; overflow:auto; box-shadow:0 32px 100px #0008; }
.compass-cinema::backdrop { background:#10170eed; backdrop-filter:blur(7px); }
html:has(.compass-cinema[open]) { overflow:hidden; }
.cf-cinema-header { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:20px 24px; }
.cf-cinema-header span { font-size:12px; letter-spacing:.1em; color:#fb775a; }
.cf-cinema-header h2 { font-size:24px; line-height:1.25; letter-spacing:-.025em; margin:5px 0 0; font-weight:500; }
.compass-cinema button { border:1px solid #65715b; color:#f5f4f0; background:#2b332a; padding:10px 14px; min-height:44px; border-radius:5px; font-size:14px; }
.compass-cinema button:disabled { opacity:.35; cursor:default; }
#cf-cinema-image,#cf-video { display:block; width:100%; height:auto; max-height:68svh; object-fit:contain; background:#000; }
#cf-cinema-image[hidden],#cf-video[hidden] { display:none; }
#cf-cinema-caption { font-size:16px; line-height:1.5; margin:18px 24px; }
.cf-cinema-footer { display:flex; justify-content:flex-end; align-items:center; gap:10px; padding:0 24px 22px; }
.cf-cinema-footer>span { margin-right:auto; font-size:14px; color:#bec7b3; }
.compass-film-preview { text-align:left; }
.compass-film-preview img { display:block; width:100%; height:auto; border-radius:6px; }
.compass-film-preview p { font-size:22px; letter-spacing:-.025em; margin:18px 0 8px; }
.compass-film-preview>span { font-size:14px; line-height:1.5; color:#626a59; }
@media(min-width:1001px) {
  .story-sticky { padding-left:4%; padding-right:4%; }
  .story-grid { grid-template-columns:minmax(250px,27%) minmax(0,1fr); gap:32px; padding:24px 0; }
  .story-copy h2 { font-size:clamp(40px,3.4vw,60px); }
  .story-visual { min-height:650px; }
}
.story-shell { height:auto; }
.story-sticky { position:relative; height:auto; min-height:0; }
@media(min-width:701px) and (max-width:1000px) {
  .story-grid { grid-template-columns:1fr; gap:25px; }
  .story-copy { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
  .story-copy h2 { font-size:42px; }
  .story-steps { grid-column:1/-1; flex-direction:row; max-width:none; gap:20px; }
  .story-step { flex:1; font-size:16px; gap:10px; }
  .story-visual { min-height:650px; }
  .story-shell { height:auto; }
  .story-sticky { position:relative; height:auto; min-height:0; }
}
/* The whole six-scene Compass sequence stays in view as the page scrolls.
   Its height is bounded by the viewport, including smaller laptop screens. */
.story-shell[data-scroll-story="true"] { height:800svh; }
.story-shell[data-scroll-story="true"] .story-sticky { position:sticky; top:0; height:100svh; min-height:0; padding:20px 4%; }
.story-shell[data-scroll-story="true"] .story-top { padding-bottom:14px; }
.story-shell[data-scroll-story="true"] .story-grid { min-height:0; padding:18px 0; }
.story-shell[data-scroll-story="true"] .story-visual { min-height:0; height:100%; }
.story-shell[data-scroll-story="true"] .compass-story { display:flex; flex-direction:column; height:100%; max-height:820px; margin:0; }
.story-shell[data-scroll-story="true"] .cf-top { padding:13px 18px; flex-shrink:0; }
.story-shell[data-scroll-story="true"] .cf-stage { flex:1; min-height:0; grid-template-columns:1fr; padding:14px 18px; }
.story-shell[data-scroll-story="true"] .cf-website { width:100%; height:100%; min-height:0; display:flex; flex-direction:column; justify-content:center; }
.story-shell[data-scroll-story="true"] .cf-website>.cf-surface-label,.story-shell[data-scroll-story="true"] .cf-location { flex-shrink:0; }
.story-shell[data-scroll-story="true"] .cf-image-button { flex:0 1 auto; min-height:0; aspect-ratio:1920/968; }
.story-shell[data-scroll-story="true"] .cf-image-button img { height:100%; object-fit:cover; }
.story-shell[data-scroll-story="true"] .cf-detail { width:min(40%,330px); height:auto; min-height:0; max-width:none; display:flex; flex-direction:column; align-items:center; }
.story-shell[data-scroll-story="true"] .cf-detail[hidden] { display:none; }
.story-shell[data-scroll-story="true"] .cf-detail .cf-surface-label { font-size:10px; text-align:center; flex-shrink:0; }
.story-shell[data-scroll-story="true"] .cf-panel-crop { flex:1; min-height:0; width:100%; }
.story-shell[data-scroll-story="true"] .cf-panel-crop img { width:100%; height:100%; object-fit:contain; }
.story-shell[data-scroll-story="true"] .cf-chapters { flex-shrink:0; }
.story-shell[data-scroll-story="true"] .cf-chapters button { padding:10px 4px; gap:3px; }
.story-shell[data-scroll-story="true"] .cf-caption { flex-shrink:0; min-height:0; padding:14px 18px 0; }
.story-shell[data-scroll-story="true"] .cf-caption p { display:none; }
.story-shell[data-scroll-story="true"] .cf-controls { padding:12px 18px; flex-shrink:0; }
.story-shell[data-scroll-story="true"] .cf-note { font-size:10px; padding:0 18px 12px; flex-shrink:0; }
.story-shell[data-scroll-story="true"] .story-bottom { flex-shrink:0; padding-top:12px; }
@media(min-width:1001px) and (max-height:800px) {
  .story-shell[data-scroll-story="true"] .story-copy h2 { font-size:40px; }
  .story-shell[data-scroll-story="true"] .story-copy>p { font-size:14px; line-height:1.55; }
  .story-shell[data-scroll-story="true"] .cf-location { font-size:12px; }
  .story-shell[data-scroll-story="true"] .cf-caption h3 { font-size:20px; }
}
@media(max-width:1000px) {
  .story-shell[data-scroll-story="true"] .story-sticky { padding:16px 4%; }
  .story-shell[data-scroll-story="true"] .story-top { display:none; }
  .story-shell[data-scroll-story="true"] .story-grid { display:flex; flex-direction:column; gap:12px; padding:0 0 12px; align-items:stretch; }
  .story-shell[data-scroll-story="true"] .story-copy { display:block; }
  .story-shell[data-scroll-story="true"] .story-copy h2 { font-size:26px; margin:0 0 10px; line-height:1.1; }
  .story-shell[data-scroll-story="true"] .story-copy h2 br { display:none; }
  .story-shell[data-scroll-story="true"] .story-copy>p { display:none; }
  .story-shell[data-scroll-story="true"] .story-steps { flex-direction:row; max-width:none; gap:14px; }
  .story-shell[data-scroll-story="true"] .story-step { min-height:0; flex-direction:row; align-items:center; padding:9px 0; font-size:11px; gap:7px; }
  .story-shell[data-scroll-story="true"] .story-step i { display:none; }
  .story-shell[data-scroll-story="true"] .story-visual { flex:1; min-height:0; }
  .story-shell[data-scroll-story="true"] .story-bottom>span { font-size:9px; }
  .story-shell[data-scroll-story="true"] .story-bottom>a { display:none; }
  .story-shell[data-scroll-story="true"] .cf-caption p { display:block; font-size:13px; }
  .story-shell[data-scroll-story="true"] .cf-caption h3 { font-size:20px; }
}
@media(max-width:700px) {
  .story-shell[data-scroll-story="true"] .story-bottom { display:block; }
  .story-shell[data-scroll-story="true"] .story-bottom>span { display:block; max-width:none; white-space:nowrap; font-size:8px; margin-bottom:8px; }
  .story-shell[data-scroll-story="true"] .story-track { width:100%; }
  .story-shell[data-scroll-story="true"] .story-copy h2 { font-size:22px; }
  .story-shell[data-scroll-story="true"] .story-visual:not([data-stage="0"]) .compass-story { display:none; }
  .story-shell[data-scroll-story="true"] .cf-top { padding:11px 12px; flex-wrap:nowrap; gap:8px; }
  .story-shell[data-scroll-story="true"] .cf-top .mini-brand { font-size:clamp(16px,5vw,21px); white-space:nowrap; }
  .story-shell[data-scroll-story="true"] #cf-current-step { font-size:9px; letter-spacing:0; white-space:nowrap; }
  .story-shell[data-scroll-story="true"] .cf-stage { grid-template-columns:1fr; padding:12px; }
  .story-shell[data-scroll-story="true"] .cf-detail { top:36px; right:14px; bottom:16px; width:min(66%,300px); }
  .story-shell[data-scroll-story="true"] .cf-website { align-self:start; }
  .story-shell[data-scroll-story="true"] .compass-story[data-chapter="0"] .cf-website { align-self:center; }
  .story-shell[data-scroll-story="true"] .cf-surface-label { font-size:9px; letter-spacing:.03em; margin-bottom:8px; }
  .story-shell[data-scroll-story="true"] .cf-enlarge-label { left:4px; bottom:4px; padding:4px; font-size:9px; }
  .story-shell[data-scroll-story="true"] .cf-location { font-size:11px; line-height:1.4; }
  .story-shell[data-scroll-story="true"] .cf-chapters { grid-template-columns:repeat(6,minmax(0,1fr)); padding:0 6px; }
  .story-shell[data-scroll-story="true"] .cf-chapters button { flex-direction:column; font-size:11px; padding:9px 2px; }
  .story-shell[data-scroll-story="true"] .cf-chapters button>span { font-size:10px; }
  .story-shell[data-scroll-story="true"] .cf-caption { padding:11px 12px 0; gap:8px; }
  .story-shell[data-scroll-story="true"] .cf-caption h3 { font-size:19px; }
  .story-shell[data-scroll-story="true"] .cf-controls { flex-wrap:nowrap; padding:10px 12px; gap:8px; }
  .story-shell[data-scroll-story="true"] .cf-controls #cf-play { flex:initial; padding:9px; font-size:12px; }
  .story-shell[data-scroll-story="true"] .cf-controls>div { gap:4px; }
  .story-shell[data-scroll-story="true"] .cf-controls>div button { padding:9px; min-width:36px; }
  .story-shell[data-scroll-story="true"] .cf-note { font-size:9px; padding:0 12px 10px; line-height:1.4; }
}
@media(max-width:1000px) and (max-height:740px) {
  .story-shell[data-scroll-story="true"] .cf-caption p { display:none; }
  .story-shell[data-scroll-story="true"] .story-copy h2 { font-size:20px; }
}
@media(max-height:639px) {
  .story-shell[data-scroll-story="true"] .story-sticky { padding:10px 3%; }
  .story-shell[data-scroll-story="true"] .story-top { display:none; }
  .story-shell[data-scroll-story="true"] .story-grid { padding:0 0 10px; gap:10px; }
  .story-shell[data-scroll-story="true"] .story-copy h2 { font-size:32px; margin-bottom:14px; }
  .story-shell[data-scroll-story="true"] .story-copy>p { font-size:12px; line-height:1.45; margin-bottom:14px; }
  .story-shell[data-scroll-story="true"] .story-step { padding:10px 0; }
  .story-shell[data-scroll-story="true"] .cf-top { padding:10px 12px; }
  .story-shell[data-scroll-story="true"] .cf-stage { padding:10px 12px; }
  .story-shell[data-scroll-story="true"] .cf-caption { padding:9px 12px 0; }
  .story-shell[data-scroll-story="true"] .cf-caption h3 { font-size:18px; margin-bottom:0; }
  .story-shell[data-scroll-story="true"] .cf-controls { padding:8px 12px; }
  .story-shell[data-scroll-story="true"] .cf-note { display:none; }
  .story-shell[data-scroll-story="true"] .story-bottom { padding-top:8px; }
}
@media(max-width:1000px) and (max-height:639px) {
  .story-shell[data-scroll-story="true"] .story-copy h2 { display:none; }
  .story-shell[data-scroll-story="true"] .story-step { padding:7px 0; }
  .story-shell[data-scroll-story="true"] .cf-stage { grid-template-columns:1fr; }
  .story-shell[data-scroll-story="true"] .cf-detail { width:min(40%,280px); }
}
@media(max-width:700px) {
  .story-visual { min-height:0; }
  .story-visual[data-stage="0"] .scene-connect,.story-visual[data-stage="0"] .scene-result { display:none; }
  .story-visual:not([data-stage="0"]) .compass-story { display:none; }
  .story-visual:not([data-stage="0"]) { min-height:470px; }
  .compass-story.scene-input { margin:18px 0 24px; }
  .cf-top { padding:17px 14px; gap:10px; flex-wrap:wrap; }
  .cf-top .mini-brand { font-size:23px; }
  .cf-stage { padding:14px; grid-template-columns:1fr; min-height:0; gap:20px; }
  .cf-detail { width:min(66%,300px); max-width:none; }
  .cf-detail .cf-surface-label { font-size:12px; }
  .cf-chapters { padding:0 10px; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .cf-chapters button { flex-direction:row; justify-content:center; font-size:14px; padding:13px 4px; }
  .cf-caption { padding:17px 14px 0; gap:10px; }
  .cf-caption h3 { font-size:23px; }
  .cf-controls { padding:16px 14px; flex-wrap:wrap; }
  .cf-controls #cf-play { flex:1 1 100%; }
  .cf-controls>div { margin-left:auto; }
  .cf-note { padding:0 14px 16px; }
  .compass-cinema { width:calc(100vw - 20px); }
  .cf-cinema-header { padding:16px; align-items:start; gap:12px; }
  .cf-cinema-header h2 { font-size:20px; }
  #cf-close { padding:8px; white-space:nowrap; }
  #cf-cinema-caption { margin:16px; font-size:14px; }
  .cf-cinema-footer { padding:0 16px 16px; gap:7px; }
}
@media(prefers-reduced-motion:reduce) {
  .cf-detail { transition:none; }
}

/* Give the buyer's actions and the conversation the main stage. */
.story-shell[data-stage="0"] .story-top { display:none; }
.story-shell[data-stage="0"] .story-grid { display:flex; flex-direction:column; align-items:stretch; gap:12px; padding:0 0 12px; }
.story-shell[data-stage="0"] .story-copy { display:block; }
.story-shell[data-stage="0"] .story-copy h2,.story-shell[data-stage="0"] .story-copy>p { display:none; }
.story-shell[data-stage="0"] .story-steps { flex-direction:row; gap:24px; max-width:none; }
.story-shell[data-stage="0"] .story-step { flex:1; font-size:14px; padding:10px 0; gap:10px; border-bottom:1px solid #4b4d46; }
.story-shell[data-stage="0"] .story-step i { display:none; }
.story-shell[data-stage="0"] .story-visual { flex:1; min-height:0; }
.story-shell[data-stage="0"] .compass-story { max-height:none; }
#compass-story .cf-stage { min-height:600px; padding:0; overflow:hidden; }
#compass-story .cf-website { position:absolute; inset:16px; width:auto; height:calc(100% - 32px); display:block; }
#compass-story .cf-website>.cf-surface-label { position:absolute; z-index:1; top:8px; left:12px; padding:7px 10px; background:#fffffff0; border-radius:4px; font-size:12px; }
#compass-story .cf-image-button { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; border:0; background:#e5e8df; }
#cf-browse-video { display:block; width:100%; height:100%; object-fit:contain; transition:transform 1.1s cubic-bezier(.22,1,.36,1); }
#compass-story .cf-enlarge-label { top:10px; bottom:auto; left:auto; right:10px; font-size:12px; }
#compass-story .cf-location { display:none; }
.cf-browse-evidence { position:absolute; z-index:2; bottom:18px; left:18px; width:min(510px,calc(100% - 36px)); padding:15px 18px; background:#fffffff5; color:#1f2d31; border:1px solid #dce2d9; border-radius:9px; box-shadow:0 8px 30px #1929211a; }
.cf-browse-count { display:block; color:#667460; font-size:13px; margin-bottom:5px; }
.cf-browse-evidence strong { display:block; font-size:20px; line-height:1.25; font-weight:500; letter-spacing:-.02em; }
.cf-visit-trail { display:flex; gap:7px; flex-wrap:wrap; margin-top:12px; }
.cf-visit-trail span { padding:6px 9px; font-size:12px; border:1px solid #d9dfd3; color:#78816f; border-radius:4px; transition:background .4s,color .4s,border-color .4s; }
.cf-visit-trail .is-viewed { background:#e7efe2; color:#285237; border-color:#a5b69c; }
.cf-visit-trail .is-viewed::after { content:" ✓"; }
.cf-replay { position:absolute; bottom:18px; right:18px; z-index:2; padding:10px 13px; font-size:14px; color:white; background:#1d2b26; border:1px solid #ffffff6b; border-radius:5px; }
#compass-story:not([data-chapter="0"]) .cf-replay { display:none; }
#compass-story:not([data-chapter="0"]) .cf-browse-evidence { max-width:calc(100% - 460px); }
#compass-story .cf-detail { top:14px; right:20px; bottom:auto; width:400px; max-width:calc(100% - 32px); height:calc(100% - 28px); align-items:stretch; transform-origin:bottom right; pointer-events:none; }
#compass-story:not([data-chapter="0"]) .cf-detail { pointer-events:auto; }
#compass-story .cf-detail>.cf-surface-label { align-self:flex-end; font-size:12px; margin:0 0 6px; padding:5px 8px; color:#36533a; background:#f0f4ea; }
#compass-story .cf-panel-crop { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; background:#fafaf8; border:1px solid #d6ddd0; }
#compass-story .cf-panel-crop img { width:100%; height:auto; object-fit:contain; object-position:top; }
#compass-story .cf-panel-crop .cf-scene-ghost { height:auto; }
.cf-readable-profile { min-height:0; flex:0 1 auto; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; color:#27343a; background:#fff; border:1px solid #cdd6da; border-radius:10px; box-shadow:0 18px 50px #18332930; }
.cf-profile-heading { position:relative; background:#052641; color:#fff; padding:14px 17px; }
.cf-profile-heading>span:first-child { display:block; color:#adc0d0; font-size:11px; letter-spacing:.15em; margin-bottom:5px; }
.cf-profile-heading strong { display:block; font-family:Georgia,serif; font-weight:400; font-size:23px; }
.cf-profile-check { position:absolute; right:17px; top:23px; width:27px; height:27px; border:1px solid #718d9e; border-radius:50%; text-align:center; line-height:25px; color:#c5d5de; }
.cf-profile-body { padding:15px 17px 12px; }
.cf-profile-intro { font-size:14px; line-height:1.5; margin:0 0 11px; }
.cf-profile-fields { margin:0 0 12px; }
.cf-profile-fields>div { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid #e8ece9; }
.cf-profile-fields dt { color:#728078; font-size:13px; }
.cf-profile-fields dd { margin:0; font-size:17px; font-weight:500; }
.cf-profile-features { display:grid; grid-template-columns:1fr 1fr; gap:10px 16px; margin:13px 0 16px; }
.cf-profile-features>span { display:flex; flex-direction:column; gap:5px; font-size:14px; }
.cf-profile-features i { display:block; height:5px; background:linear-gradient(to right,#ae9860 var(--interest),#eef0eb var(--interest)); border-radius:5px; }
#cf-reveal-matches { width:100%; display:flex; align-items:center; justify-content:center; gap:30px; background:#052641; color:#fff; border:0; padding:12px; border-radius:4px; font-size:14px; }
.cf-profile-body>small { display:block; text-align:center; color:#79857d; font-size:12px; margin-top:8px; }
#compass-story .cf-caption h3 { min-height:0; font-size:20px; margin:0; }
#compass-story .cf-caption p { min-height:0; }
.story-shell[data-scroll-story="true"] #compass-story .cf-stage { min-height:0; }
.story-shell[data-scroll-story="true"] #compass-story .cf-caption { padding:8px 18px 0; }
.story-shell[data-scroll-story="true"] #compass-story .cf-caption p,.story-shell[data-scroll-story="true"] #compass-story .cf-time { display:none; }
.story-shell[data-scroll-story="true"] #compass-story .cf-controls { padding:8px 18px; }
.story-shell[data-scroll-story="true"] #compass-story .cf-note { display:none; }
.story-shell[data-scroll-story="true"][data-stage="0"] .story-bottom { padding-top:5px; }
@media(max-width:1000px) {
  #compass-story:not([data-chapter="0"]) .cf-browse-evidence { display:none; }
  .story-shell[data-stage="0"] .story-step { font-size:12px; }
}
@media(max-width:700px) {
  .story-shell[data-stage="0"] .story-steps { gap:12px; }
  .story-shell[data-stage="0"] .story-step { font-size:11px; gap:5px; }
  #compass-story .cf-website { inset:10px; height:calc(100% - 20px); }
  #compass-story .cf-website>.cf-surface-label { left:5px; top:5px; font-size:10px; }
  #compass-story .cf-enlarge-label { top:auto; right:8px; bottom:8px; font-size:11px; }
  #cf-browse-video { width:300%; max-width:none; object-fit:contain; }
  #compass-story[data-views="2"] #cf-browse-video { transform:translateX(-33.333%); }
  #compass-story[data-views="3"] #cf-browse-video { transform:translateX(-66.666%); }
  .cf-browse-evidence { bottom:68px; left:8px; width:calc(100% - 16px); padding:12px; }
  .cf-browse-evidence strong { font-size:19px; }
  .cf-visit-trail { gap:4px; }
  .cf-visit-trail span { font-size:11px; padding:5px; }
  .cf-replay { left:8px; right:auto; bottom:20px; }
  #compass-story .cf-detail { right:16px; }
  #compass-story .cf-detail>.cf-surface-label { font-size:10px; }
  .cf-profile-fields>div { gap:8px; padding:7px 0; }
  .cf-profile-fields dd { font-size:16px; }
  .cf-profile-heading strong { font-size:21px; line-height:1.2; }
  .cf-profile-intro { line-height:1.45; margin-bottom:8px; }
  #compass-story .cf-caption h3 { font-size:17px; }
}
@media(max-height:680px) {
  .story-shell[data-scroll-story="true"] #compass-story .cf-caption { display:none; }
  .story-shell[data-scroll-story="true"] #compass-story .cf-detail { top:8px; height:calc(100% - 16px); }
  #compass-story .cf-detail>.cf-surface-label { line-height:1.2; padding:3px 7px; margin-bottom:4px; }
  .cf-profile-heading { padding:8px 14px; }
  .cf-profile-heading strong { font-size:20px; line-height:1.2; }
  .cf-profile-heading>span:first-child { font-size:10px; line-height:1.2; margin-bottom:3px; }
  .cf-profile-check { top:17px; }
  .cf-profile-body { padding:8px 14px; }
  .cf-profile-intro { display:none; }
  .cf-profile-fields { display:grid; grid-template-columns:1fr 1fr; gap:6px 18px; margin-bottom:8px; }
  .cf-profile-fields>div { display:block; padding:4px 0; }
  .cf-profile-fields dt { font-size:12px; line-height:1.2; margin-bottom:3px; }
  .cf-profile-fields dd { font-size:16px; line-height:1.2; }
  .cf-profile-features { margin:6px 0 10px; gap:6px 14px; }
  .cf-profile-features>span { line-height:1.1; gap:3px; }
  #cf-reveal-matches { padding:9px; }
  .cf-profile-body>small { display:none; }
}
@media(min-width:501px) {
  #compass-story #cf-browse-video { width:100%; transform:none; object-fit:contain; }
}
@media(prefers-reduced-motion:reduce) {
  #cf-browse-video { transition:none; }
}

/* Conversation text stays native and sharp at every display size. */
#compass-story .cf-readable-conversation:not([hidden]) { display:flex; flex-direction:column; overflow:hidden; filter:none; box-shadow:0 12px 28px #28332325; }
.cf-readable-conversation .cf-profile-heading { flex-shrink:0; }
.cf-profile-original { position:absolute; top:6px; right:10px; min-height:30px; padding:5px 7px; font-size:11px; border:1px solid #637d91; border-radius:4px; background:#143750; color:#e1eaf0; }
.cf-chat-content { flex:1; min-height:0; padding:15px; overflow:auto; scrollbar-width:thin; color:#27343a; background:#f8f8f4; font-size:15px; line-height:1.5; }
.cf-chat-message,.cf-chat-question { padding:13px; margin:0 0 12px; background:#fff; border:1px solid #e0e5dd; border-radius:7px; }
.cf-chat-message p { margin:0 0 10px; }
.cf-chat-message p:last-child { margin:0; }
.cf-chat-message small { font-size:13px; font-style:italic; color:#6e7a71; }
.cf-match-list { display:grid; gap:10px; margin:0 0 13px; }
.cf-match-card { display:flex; gap:12px; align-items:center; padding:8px; background:#fbf8f0; border:1px solid #cfc3a3; border-radius:6px; }
#compass-story .cf-match-card img { display:block; flex:0 0 76px; width:76px; height:84px; object-fit:cover; border-radius:3px; }
.cf-match-card>div { min-width:0; }
.cf-match-card strong { display:block; font:20px/1.2 Georgia,serif; margin-bottom:4px; }
.cf-match-card span { display:block; font-size:14px; line-height:1.35; }
.cf-match-card small { display:block; font-size:12px; color:#7b8279; margin-top:4px; }
.cf-chat-actions { display:flex; gap:10px; }
.cf-chat-actions button,.cf-chat-primary { display:block; width:100%; background:#052641; color:#fff; border:1px solid #052641; border-radius:4px; padding:12px 9px; font-size:14px; text-align:center; }
.cf-chat-actions .cf-chat-secondary { background:#fff; color:#394b50; border-color:#cfc3a3; }
.cf-recorded-fields { display:grid; gap:10px; margin-bottom:14px; }
.cf-recorded-fields>div { padding:9px 12px; border:1px solid #dbe1d6; border-radius:4px; background:#fff; }
.cf-recorded-fields span { display:block; font-size:12px; color:#768475; margin-bottom:2px; }
.cf-recorded-fields strong { font-size:16px; font-weight:500; }
.cf-agent-contact { display:flex; gap:12px; align-items:center; background:#fbf8f0; padding:16px 12px; margin-bottom:14px; border-left:3px solid #ae9860; }
.cf-agent-monogram { flex:0 0 45px; height:45px; border-radius:50%; display:grid; place-items:center; background:#052641; color:#fff; font-family:Georgia,serif; }
.cf-agent-contact>div { min-width:0; }
.cf-agent-contact strong { display:block; font:21px/1.4 Georgia,serif; }
.cf-agent-contact>div>span { display:block; font-size:14px; overflow-wrap:anywhere; }
.cf-chat-question { margin-left:20px; background:#fbf8f0; border-color:#cfc3a3; }
.cf-chat-answer strong { font-weight:600; }
@media(max-width:700px) {
  .cf-profile-body>small { margin-top:4px; }
  .cf-chat-content { padding:12px; }
  #compass-story .cf-match-card img { flex-basis:64px; width:64px; height:80px; }
  .cf-match-card { gap:9px; }
  .cf-match-card strong { font-size:18px; }
}
/* A single, unobstructed product view accompanies each narrative beat. */
#compass-story { border:1px solid #53594e; }
.compass-sequence { display:grid; grid-template-columns:repeat(6,1fr); border-bottom:1px solid #d9ddd3; padding:0 20px; flex-shrink:0; }
.compass-sequence button { display:flex; gap:8px; justify-content:center; padding:14px 4px; background:none; border:0; border-bottom:3px solid transparent; color:#666e60; font-size:14px; }
.compass-sequence button[aria-selected=true] { border-color:#fa5035; color:#20261f; }
.compass-sequence button span { opacity:.6; }
.compass-scene { display:grid; grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr); gap:clamp(20px,4vw,64px); align-items:center; padding:clamp(20px,3vw,40px); flex:1; min-height:0; overflow:auto; }
.compass-narrative>span,.compass-kicker { font-size:12px; letter-spacing:.12em; color:#bc432f; }
.compass-narrative h3 { font-size:clamp(28px,3.2vw,48px); font-weight:500; line-height:1.1; letter-spacing:-.045em; margin:18px 0; }
.compass-narrative>p { font-size:17px; line-height:1.6; color:#586050; margin:0; }
.compass-narrative .compass-takeaway { border-top:1px solid #d6dbd0; padding-top:18px; margin-top:24px; font-size:14px; color:#252d24; }
.compass-product { min-width:0; }
.compass-browser,.compass-widget { background:#fff; border:1px solid #d7ddd4; border-radius:12px; overflow:hidden; box-shadow:0 12px 32px #2833230d; }
.compass-address { padding:13px 18px; background:#e9ece5; font-size:13px; color:#596250; }
.compass-listings { padding:24px; }
.compass-listings h4 { font-size:27px; line-height:1.2; font-weight:500; margin:12px 0 24px; }
.compass-homes { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.compass-homes img { width:100%; height:120px; object-fit:cover; border-radius:5px; }
.compass-homes strong { display:block; font-size:14px; line-height:1.3; margin:10px 0 5px; }
.compass-homes span { font-size:12px; color:#57714c; }
.compass-signal { margin:24px 0 0; padding-top:16px; border-top:1px solid #e0e5da; font-size:14px; line-height:1.5; }
.compass-widget-head { background:#082a3d; color:#c0d2da; padding:18px 22px; font-size:12px; letter-spacing:.1em; }
.compass-widget-head strong { display:block; color:#fff; font-size:23px; line-height:1.3; letter-spacing:-.025em; font-weight:500; margin-top:7px; }
.compass-widget-body { padding:20px 22px; }
.compass-widget-body>p { margin:0 0 14px; color:#59635b; font-size:15px; line-height:1.5; }
.compass-widget dl { margin:0; }
.compass-widget dl>div { display:flex; justify-content:space-between; gap:16px; padding:9px 0; border-bottom:1px solid #e7eae3; font-size:15px; }
.compass-widget dt { color:#6d776b; }.compass-widget dd { margin:0; text-align:right; }
.compass-action { display:block; width:100%; border:0; border-radius:5px; background:#082a3d; color:white; padding:13px; font-size:15px; margin-top:18px; }
.compass-edit { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:16px 0; }
.compass-edit label { display:grid; gap:7px; font-size:14px; }.compass-edit select { min-width:0; width:100%; background:white; color:#202d25; padding:11px 7px; border:1px solid #aebaa6; border-radius:4px; font:inherit; }
.compass-match { display:flex; gap:20px; align-items:center; padding:16px 0; }.compass-match img { width:120px; height:150px; object-fit:cover; border-radius:5px; }.compass-match strong { font-size:21px; line-height:1.3; font-weight:500; }.compass-match p { font-size:15px; }.compass-match small,.compass-demo-note { font-size:12px; color:#697367; }
.compass-text-button { background:none; border:0; padding:14px 0 0; text-decoration:underline; font-size:14px; }
.compass-handoff { padding:18px; background:#edf1e8; border-radius:6px; }.compass-handoff>span { display:block; font-size:12px; letter-spacing:.06em; margin-bottom:12px; }.compass-handoff strong { font-size:17px; }.compass-handoff p { margin:10px 0 0; font-size:14px; line-height:1.5; }
.compass-contact-example { display:grid; gap:12px; margin:18px 0; }.compass-contact-example>span { display:flex; justify-content:space-between; font-size:14px; border-bottom:1px solid #ddd; padding-bottom:8px; }.compass-contact-example strong { font-weight:400; }
.compass-navigation { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 24px; border-top:1px solid #d9ddd3; flex-shrink:0; }.compass-navigation>div { display:flex; gap:12px; }.compass-navigation button { min-height:44px; padding:10px 15px; border:1px solid #c8d0bf; border-radius:5px; font-size:14px; background:transparent; color:#283022; }.compass-navigation #cf-next { background:#232b21; color:white; border-color:#232b21; }.compass-navigation button:disabled { opacity:.4; }
.story-shell[data-stage="0"] .story-visual>.scene-connect,.story-shell[data-stage="0"] .story-visual>.scene-result { display:none; }
@media(max-width:900px),(max-height:759px) {
 .story-shell[data-stage="0"] .story-sticky { height:auto; min-height:0; overflow:visible; padding:24px 4%; }
 .story-shell[data-stage="0"] .story-visual { height:auto; }
 #compass-story { margin:0; }
 .compass-scene { min-height:480px; }
}
@media(max-width:700px) {
 .compass-scene { grid-template-columns:1fr; gap:24px; padding:22px 16px; overflow:visible; }
 .compass-narrative h3 { font-size:30px; margin:12px 0; }.compass-narrative>p { font-size:16px; }.compass-narrative .compass-takeaway { margin-top:16px; padding-top:12px; }
 .compass-sequence { padding:0 6px; }.compass-sequence button { flex-direction:column; gap:5px; font-size:12px; padding:12px 2px; }
 .compass-listings { padding:16px; }.compass-homes { gap:8px; }.compass-homes img { height:100px; }.compass-widget-body { padding:18px 16px; }.compass-widget-head { padding:16px; }
 .compass-navigation { flex-wrap:wrap; padding:14px 16px; }.compass-navigation>div { flex:1; justify-content:flex-end; }.compass-navigation #cf-play { font-size:12px; padding:8px; }
 .compass-match { gap:12px; }.compass-match img { width:90px; height:130px; }
}
@media(prefers-reduced-motion:no-preference) { .compass-product { animation:compass-reveal .35s ease both; } @keyframes compass-reveal { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } } }
@media(min-width:901px) and (min-height:760px) {
 .story-shell[data-scroll-story="true"] #compass-story .compass-navigation { padding-right:185px; }
}
@media(max-width:700px) {
 #compass-story .compass-navigation { padding-bottom:90px; }
}
/* Primary progression lives beside the explanation it advances. */
.compass-narrative .compass-next-glow { display:inline-flex; justify-content:center; align-items:center; min-height:52px; margin-top:28px; padding:16px 24px; border:1px solid #ff765c; border-radius:8px; color:#fff; background:#b9321d; font-size:16px; font-weight:600; line-height:1.3; cursor:pointer; box-shadow:0 0 0 4px #ff583318,0 5px 25px #f4523545; transition:background .2s,transform .2s; animation:compass-cta-glow 2.6s ease-in-out infinite; }
.compass-narrative .compass-next-glow:hover { background:#9c2815; transform:translateY(-2px); }
.compass-narrative .compass-next-glow:focus-visible { outline:3px solid #183c4c; outline-offset:5px; }
@keyframes compass-cta-glow { 0%,100% { box-shadow:0 0 0 4px #ff583318,0 5px 22px #f4523538; } 50% { box-shadow:0 0 0 7px #ff583320,0 5px 32px #f4523570; } }
@media(prefers-reduced-motion:reduce) { .compass-narrative .compass-next-glow { animation:none; transition:none; } }
@media(max-width:700px) { .compass-narrative .compass-next-glow { width:100%; margin-top:22px; } }
.compass-narrative .compass-next-glow { gap:16px; animation:compass-cta-beacon 1.8s ease-in-out infinite; }
.compass-next-arrow { display:inline-block; font-size:24px; line-height:1; }
@keyframes compass-cta-beacon {
  0%,100% { box-shadow:0 0 0 3px #ff583312,0 0 12px #f4523530; }
  50% { box-shadow:0 0 0 9px #ff583335,0 0 38px 8px #f4523580; }
}
@media(prefers-reduced-motion:reduce) { .compass-narrative .compass-next-glow { animation:none; } }
.compass-budget,.compass-features { border:0; padding:0; margin:20px 0; min-width:0; }
.compass-budget legend,.compass-features legend { font-size:14px; font-weight:600; margin-bottom:12px; }
.compass-budget label { display:flex; justify-content:space-between; font-size:14px; gap:10px; }
.compass-budget input { width:100%; accent-color:#b9321d; margin:8px 0 16px; min-height:24px; cursor:pointer; }
.compass-features { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.compass-features legend small { display:block; font-size:12px; font-weight:400; color:#687160; margin-top:5px; }
.compass-features label { display:flex; align-items:center; gap:8px; padding:10px 8px; border:1px solid #d3dbcd; border-radius:5px; font-size:14px; cursor:pointer; }
.compass-features label:has(input:checked) { background:#eaf0e5; border-color:#74886a; }
.compass-features input { accent-color:#243c2a; width:17px; height:17px; flex-shrink:0; }
.compass-widget dd { overflow-wrap:anywhere; max-width:65%; }
#compass-preference-status { font-size:13px; line-height:1.5; }
@media(min-width:901px) and (min-height:760px) { #compass-story[data-chapter="3"] .compass-product { max-height:100%; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; } #compass-story[data-chapter="3"] .compass-scene { align-items:stretch; } #compass-story[data-chapter="3"] .compass-narrative { align-self:center; } }
.compass-match { align-items:flex-start; }
.compass-match>div { flex:1; min-width:0; }
.compass-match .compass-unit-price { font-size:24px; font-weight:600; color:#082a3d; margin:12px 0; }
.compass-unit-price>span { font-size:12px; font-weight:400; color:#697367; }
.compass-widget .compass-unit-facts { margin-bottom:14px; }
.compass-widget .compass-unit-facts>div { font-size:14px; gap:10px; }
.compass-match small { display:block; line-height:1.5; }
@media(max-width:700px) { .compass-match { flex-direction:column; } .compass-match img { width:100%; height:180px; } .compass-match>div { width:100%; } }
.compass-selected-property { padding:18px 0; margin-top:8px; border-bottom:1px solid #dde3d7; }
.compass-selected-property>span { display:block; font-size:12px; letter-spacing:.06em; margin-bottom:14px; }
.compass-selected-property>div { display:flex; gap:14px; align-items:center; }
.compass-selected-property img { width:100px; height:100px; object-fit:cover; border-radius:5px; }
.compass-selected-property strong { font-size:17px; font-weight:500; line-height:1.3; }
.compass-selected-property p { font-size:13px; line-height:1.5; margin:8px 0 0; color:#59635b; }
.compass-widget-body .compass-handoff-ready { font-size:14px; color:#24482f; padding:12px; background:#edf3e9; border-radius:5px; }
@media(min-width:901px) and (min-height:760px) { #compass-story[data-chapter="5"] .compass-product { max-height:100%; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; } #compass-story[data-chapter="5"] .compass-scene { align-items:stretch; } #compass-story[data-chapter="5"] .compass-narrative { align-self:center; } }
