/* One continuous illustrated walkthrough, with a complete still-reading fallback. */
html:root body.first-mortgage-story-page main.fm-experience .fm-step[id]{scroll-margin-top:var(--fm-top)}
html:root body.first-mortgage-story-page main .fm-caption-title{font-size:clamp(1.7rem,3.2vw,3.1rem);line-height:1.08;margin:0 0 13px}
html:root body.first-mortgage-story-page main .fm-caption-copy{font-size:1rem;line-height:1.65;margin:0}
html:root body.first-mortgage-story-page main .fm-caption-risk{font-size:.875rem;line-height:1.55;margin:15px 0 0}
@media(max-width:700px){html:root body.first-mortgage-story-page main .fm-caption-title{font-size:1.6rem;line-height:1.12;margin-bottom:9px}html:root body.first-mortgage-story-page main .fm-caption-copy{font-size:1rem;line-height:1.5}html:root body.first-mortgage-story-page main .fm-caption-risk{font-size:.8rem;line-height:1.45;margin-top:10px}}
.fm-experience{--fm-accent:#ff8bc9;--fm-header:83px;--fm-top:151px;--fm-screen:calc(100svh - 151px);--fm-panel:rgba(9,23,42,.93);--fm-copy:#eef3fb;--fm-line:#ff8bc95e;background:#081528;color:#fff;isolation:isolate}
html[data-theme="light"] .fm-experience{--fm-accent:#c4a9ff;--fm-panel:rgba(248,246,255,.96);--fm-copy:#223d59;--fm-line:#7e39e66b}
.fm-experience>.breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding-block:12px;color:#c5d2e5;font-size:.9rem}
.fm-toolbar{position:sticky;top:var(--fm-header);z-index:9;display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;padding:10px max(24px,calc((100vw - 1240px)/2));background:#091729f5;border-bottom:1px solid #ffffff24;backdrop-filter:blur(16px)}
.fm-toolbar nav{display:flex;gap:20px;flex:1;min-width:290px;overflow-x:auto;scrollbar-width:thin;padding:4px 0}.fm-toolbar nav a{color:#cbd8e9;text-decoration:none;white-space:nowrap;min-height:35px;display:flex;align-items:center;font-size:.9rem;font-weight:650;border-bottom:2px solid transparent}.fm-toolbar nav a[aria-current="step"]{color:var(--fm-accent);border-color:var(--fm-accent)}
.fm-walk-controls{display:flex;gap:9px;align-items:center}.fm-walk-controls[hidden],.fm-cinema[hidden]{display:none!important}.fm-walk-controls button{font:inherit;font-size:.875rem;min-height:40px;padding:8px 13px;border:1px solid #ffffff50;border-radius:99px;background:transparent;color:#fff;cursor:pointer;white-space:nowrap}.fm-walk-controls button:disabled{opacity:.5;cursor:default}.fm-walk-controls [data-fm-motion]{border-color:var(--fm-accent);color:var(--fm-accent)}.fm-count{font-size:.875rem;color:#ced9eb;min-width:65px;text-align:center;font-variant-numeric:tabular-nums}
.fm-walkthrough{position:relative}.fm-cinema{position:sticky;top:var(--fm-top);height:var(--fm-screen);min-height:320px;overflow:hidden;background:#0a182a;isolation:isolate;pointer-events:none}
.fm-cinema-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none;will-change:transform,opacity;transform:scale(1.025)}.fm-cinema-image[data-fm-layer="next"]{opacity:0}.fm-cinema:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#03101cbd,transparent 62%);pointer-events:none}
.fm-cinema-label{position:absolute;top:25px;left:32px;z-index:2;padding:8px 13px;border:1px solid #ffffff35;background:#08172bb8;border-radius:99px;color:#eef4fc;font-size:.875rem;backdrop-filter:blur(8px)}
.fm-caption{position:absolute;right:clamp(25px,4vw,65px);bottom:32px;z-index:2;width:min(520px,45%);padding:25px 29px;background:var(--fm-panel);border:1px solid var(--fm-line);border-radius:18px;box-shadow:0 16px 65px #0004;backdrop-filter:blur(14px)}
.fm-caption-kicker{display:block;color:var(--fm-accent);font-size:.875rem;letter-spacing:.09em;text-transform:uppercase;font-weight:750;margin-bottom:10px}.fm-caption-title{font-size:clamp(1.7rem,3.2vw,3.1rem);line-height:1.08;letter-spacing:-.025em;color:#fff;font-weight:750;margin:0 0 13px;text-wrap:balance}.fm-caption-copy{font-size:1rem;line-height:1.65;color:var(--fm-copy);margin:0}.fm-caption-risk{font-size:.875rem;line-height:1.55;border-top:1px solid var(--fm-line);padding-top:12px;margin:15px 0 0;color:var(--fm-copy)}
html[data-theme="light"] .fm-caption-title{color:#14273f}html[data-theme="light"] .fm-caption-kicker{color:#7534d6}
.fm-film-progress{position:absolute;bottom:0;left:0;width:100%;height:3px;background:#ffffff22;z-index:3}.fm-film-progress span{display:block;height:100%;width:100%;transform-origin:left;transform:scaleX(0);background:var(--fm-accent)}
.fm-step{position:relative;scroll-margin-top:var(--fm-top)}.fm-step-content{margin:0;position:relative}.fm-step-content>img{display:block;width:100%;max-height:80svh;height:auto;object-fit:cover}.fm-step-caption{padding:30px max(24px,calc((100vw - 1000px)/2));background:var(--fm-panel);color:var(--fm-copy)}.fm-step-caption .fm-eyebrow{color:var(--fm-accent);font-size:.875rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.fm-step-caption :is(h1,h2){font-size:clamp(1.9rem,3.5vw,3.2rem);line-height:1.12;color:#fff;margin:12px 0}.fm-step-caption p{line-height:1.8;max-width:760px}.fm-step-caption .fm-risk{border-color:var(--fm-accent)}
html[data-theme="light"] .fm-step-caption :is(h1,h2){color:#14273f}html[data-theme="light"] .fm-step-caption .fm-eyebrow{color:#7534d6}
.fm-experience[data-fm-cinematic="true"] .fm-steps{margin-top:calc(-1 * var(--fm-screen))}.fm-experience[data-fm-cinematic="true"] .fm-step{height:85svh;min-height:420px;pointer-events:none}.fm-experience[data-fm-cinematic="true"] .fm-step-content{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.fm-closing{padding:80px 24px;background:var(--bg);color:var(--text)}.fm-closing-inner{max-width:1000px;margin:auto}.fm-closing .kicker{color:var(--blue)}.fm-closing h2{font-size:clamp(2rem,4vw,3.5rem);line-height:1.12;max-width:720px}.fm-closing p{line-height:1.8;max-width:760px}.fm-closing .actions{display:flex;flex-wrap:wrap;gap:15px;margin:25px 0}.fm-closing .btn{white-space:normal;text-align:center}.fm-risk{font-size:1rem;font-weight:650;border-left:3px solid var(--blue);padding-left:18px;margin:25px 0}.fm-sources{border-top:1px solid var(--line);margin-top:36px;padding-top:24px;font-size:.92rem}.fm-sources summary{font-weight:700;cursor:pointer;padding:10px 0}.fm-sources ul{padding-left:21px;line-height:1.8}.fm-sources li+li{margin-top:10px}.fm-sources a{color:var(--blue)}
.fm-experience :is(a,button,summary):focus-visible{outline:3px solid var(--fm-accent);outline-offset:4px}.fm-story-invite{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:36px;padding:35px;border:1px solid var(--line);border-radius:24px;background:var(--card);margin:30px 0}.fm-story-invite img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:16px}.fm-story-invite h2{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.15}.fm-story-invite p{line-height:1.8}.fm-story-invite a{font-weight:700;color:var(--blue)}
@media(max-width:1000px){.fm-toolbar nav{flex-basis:100%}.fm-walk-controls{margin-left:auto}.fm-toolbar{gap:4px 12px}.fm-caption{width:min(510px,58%)}}
@media(max-width:700px){.fm-experience{--fm-header:141px;--fm-top:246px;--fm-screen:calc(100svh - 322px)}.fm-toolbar{padding:7px 16px;gap:3px}.fm-toolbar nav{gap:18px;min-width:0;padding:2px 0}.fm-toolbar nav a{font-size:.875rem;min-height:30px}.fm-walk-controls{width:100%;justify-content:space-between;gap:7px}.fm-walk-controls button{font-size:.8rem;min-height:36px;padding:7px 11px}.fm-count{font-size:.8rem;min-width:56px}.fm-cinema{min-height:300px}.fm-caption{left:14px;right:14px;bottom:16px;width:auto;padding:16px 18px;border-radius:14px}.fm-caption-title{font-size:1.6rem;line-height:1.12;margin-bottom:9px}.fm-caption-copy{font-size:1rem;line-height:1.5}.fm-caption-kicker{font-size:.8rem;margin-bottom:7px}.fm-caption-risk{font-size:.8rem;line-height:1.45;margin-top:10px;padding-top:9px}.fm-cinema-label{left:16px;top:14px;font-size:.8rem;padding:6px 10px}.fm-experience[data-fm-cinematic="true"] .fm-step{height:80svh;min-height:440px}.fm-step-content>img{max-height:none}.fm-step-caption{padding:24px 20px 35px}.fm-closing{padding:55px 20px 80px}.fm-story-invite{grid-template-columns:1fr;padding:23px;gap:22px}.fm-story-invite img{order:-1}}
@media(prefers-reduced-motion:reduce){.fm-cinema{display:none!important}.fm-experience .fm-steps{margin-top:0!important}.fm-experience .fm-step{height:auto!important;min-height:0!important;pointer-events:auto!important}.fm-experience .fm-step-content{position:relative!important;width:auto!important;height:auto!important;margin:0!important;overflow:visible!important;clip-path:none!important;white-space:normal!important}}
@media print{.fm-toolbar,.fm-cinema{display:none!important}.fm-experience .fm-steps{margin-top:0!important}.fm-experience .fm-step{height:auto!important;min-height:0!important;break-inside:avoid}.fm-experience .fm-step-content{position:relative!important;width:auto!important;height:auto!important;margin:0!important;overflow:visible!important;clip-path:none!important;white-space:normal!important}.fm-step-content>img{max-height:200px;object-fit:contain}.fm-step-caption{background:white;color:#111;padding:15px}.fm-step-caption :is(h1,h2){color:#111!important}.fm-closing{break-before:page}}

/* Moving footage is self-hosted and only loaded when the moving view is used. */
.fm-cinema-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;opacity:0;transition:opacity .22s linear;max-width:none}
.fm-experience[data-fm-film-ready="true"] .fm-cinema-film{opacity:1}
.fm-experience[data-fm-film-ready="true"] .fm-cinema-image{visibility:hidden}
.fm-walk-controls [data-fm-watch]{background:var(--fm-accent);border-color:var(--fm-accent);color:#101b30;font-weight:750}
.fm-walk-controls [data-fm-prev],.fm-walk-controls [data-fm-next]{min-width:40px}
html.fm-film-open{overflow:hidden}
.fm-film-dialog:not([open]){display:none!important}
.fm-film-dialog{width:min(1100px,calc(100vw - 30px));max-width:none;max-height:calc(100dvh - 30px);padding:0;border:1px solid var(--line);border-radius:18px;background:var(--bg);color:var(--text);box-shadow:0 30px 100px #0008;overflow:auto}
.fm-film-dialog::backdrop{background:#03101ce6;backdrop-filter:blur(6px)}
.fm-film-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 22px}
.fm-film-dialog h2{font-size:1.3rem;margin:0;color:var(--text)}
.fm-film-dialog button{font:inherit;min-height:40px;border-radius:99px;border:1px solid var(--line);background:var(--card);color:var(--text);padding:8px 16px;cursor:pointer}
.fm-film-dialog video{display:block;width:100%;max-height:calc(100dvh - 230px);background:#050d17}
html:root body.first-mortgage-story-page main .fm-film-dialog p{font-size:.875rem;line-height:1.55;margin:14px 22px}
.fm-film-dialog a{color:var(--blue)}
@media(max-width:700px){.fm-cinema-film{height:var(--fm-video-space,230px);object-fit:contain;object-position:50% 0}.fm-walk-controls{gap:5px}.fm-walk-controls button{padding:7px 8px}.fm-count{min-width:42px}.fm-film-dialog header{padding:12px}.fm-film-dialog h2{font-size:1.05rem}.fm-film-dialog button{padding:7px 12px}.fm-film-dialog video{max-height:calc(100dvh - 220px)}}
@media(prefers-reduced-motion:reduce){.fm-cinema-film{transition:none}}
