/* One native scroll scene: product → cited finding → connected information. */
.reference-hero[data-project-story],.reference-hero[data-project-story] *{box-sizing:border-box}
.reference-hero[data-project-story]{display:block;max-width:none;margin:68px 0 0;padding:0;min-height:0;overflow:clip;background:#161616;color:#fff;font-family:Montserrat,Arial,sans-serif}
.reference-hero[data-project-story] .story-stage{position:relative;padding:36px 6% 0}
.reference-hero[data-project-story] .rh-hero-copy{display:block;max-width:none;margin:0 auto 24px;padding:0}
.reference-hero[data-project-story] h1{font-family:Montserrat,Arial,sans-serif;font-size:clamp(54px,5.5vw,79.2px);font-weight:600;line-height:1.02;letter-spacing:-.045em;max-width:1100px;margin:0;color:#fff;text-align:left}
.reference-hero[data-project-story] h1>span{color:#EF4129}
.reference-hero[data-project-story] .rh-hero-value{font:500 18px/1.5 Montserrat,Arial,sans-serif;color:#d3d3d3;margin:14px 0 0;max-width:900px}
.reference-hero[data-project-story] .rh-hero-intro{font:400 16px/1.6 Montserrat,Arial,sans-serif;color:#b8b8b8;margin:6px 0 0;max-width:900px}
.reference-hero[data-project-story] .rh-product-preview{position:relative;top:auto;width:100%;max-width:none;margin:0 auto;padding:0;transform:none}
.reference-hero[data-project-story] .rh-platform-shell{height:auto;aspect-ratio:auto;border:1px solid #505050;border-radius:8px;box-shadow:none;background:#202020;color:#f4f4f4;user-select:text;font-family:Montserrat,Arial,sans-serif;container-type:normal}
.reference-hero[data-project-story] .story-browser{height:34px;display:flex;align-items:center;gap:24px;background:#303030;border-bottom:1px solid #414141;padding:0 16px;font-size:10px;color:#c2c2c2}
.reference-hero[data-project-story] .story-browser-dots{display:flex;gap:6px}
.reference-hero[data-project-story] .story-browser-dots i{width:6px;height:6px;border:1px solid #909090;border-radius:50%}
.reference-hero[data-project-story] .story-browser-tab{align-self:end;padding:7px 28px;background:#262626;border-radius:5px 5px 0 0}
.reference-hero[data-project-story] .story-browser-address{margin:auto;width:35%;text-align:center;font-size:9px;letter-spacing:.02em;color:#909090}
.reference-hero[data-project-story] .rh-platform-top{height:52px;padding:0 20px;gap:18px;border-color:#414141;background:#262626}
.reference-hero[data-project-story] .rh-platform-brand{width:110px;color:#EF4129}
.reference-hero[data-project-story] .rh-platform-project{font-size:12px;border-color:#414141}
.reference-hero[data-project-story] .rh-platform-search{font-size:11px;color:#b8b8b8;background:#202020;border-radius:3px}
.reference-hero[data-project-story] .rh-platform-body{height:auto;display:flex}
.reference-hero[data-project-story] .rh-platform-sidebar{display:none;width:18%;padding:14px 12px;background:#262626;border-color:#414141}
.reference-hero[data-project-story] .rh-platform-nav-item{font-size:12px;line-height:1.5;padding:8px 10px;gap:10px;color:#d0d0d0;border-radius:2px}
.reference-hero[data-project-story] .rh-platform-nav-item.rh-active{background:#383838;color:#fff}
.reference-hero[data-project-story] .story-source-hint{font-size:8px;letter-spacing:.08em;color:#999;margin:16px 10px}
.reference-hero[data-project-story] .rh-platform-workspace{width:100%;min-height:0;display:grid;grid-template-columns:minmax(0,64fr) minmax(0,36fr);background:#202020;overflow:hidden}
.reference-hero[data-project-story] .rh-hero-dwg-viewer{position:relative;min-height:0;min-width:0;width:100%;padding:0;border:0;background:#201f1e;overflow:hidden}
.reference-hero[data-project-story] .rh-platform-breadcrumb{padding:16px 16px 10px;font-size:11px;line-height:1.5;color:#b8b8b8}
.reference-hero[data-project-story] .rh-hero-viewer-toolbar{padding:10px 16px;gap:10px;flex-wrap:wrap;border-color:#414141;background:#262626}
.reference-hero[data-project-story] .rh-hero-viewer-toolbar>strong,.reference-hero[data-project-story] .rh-viewer-legend,.reference-hero[data-project-story] .rh-viewer-compare{font-size:10px;color:#c8c8c8}
.reference-hero[data-project-story] .rh-hero-viewer-canvas{display:flex;align-items:center;overflow:hidden;background:#201f1e}
.reference-hero[data-project-story] .rh-drawing-image{position:relative;width:100%;aspect-ratio:1920/1032;overflow:hidden;flex:none}
.reference-hero[data-project-story] .rh-drawing-image img{position:absolute;top:-4.651163%;left:0;display:block;width:100%;height:auto;max-width:none;object-fit:contain}
.reference-hero[data-project-story] .rh-ai-panel{min-width:0;border-left:1px solid #414141;background:#262626;overflow:auto}
.reference-hero[data-project-story] .rh-ai-panel .rh-platform-heading{padding:16px 18px 8px}
.reference-hero[data-project-story] .rh-platform-heading h3{font-size:17px;color:#fff}
.reference-hero[data-project-story] .rh-ai-panel .rh-platform-review-label{font-size:10px;margin:0 18px;gap:8px;color:#b8b8b8}
.reference-hero[data-project-story] .rh-platform-review-label>span{font-size:10px;color:#b8b8b8}
.reference-hero[data-project-story] .rh-hero-review-tabs{margin-top:8px;padding:0 18px;gap:12px;border-color:#414141;flex-wrap:wrap;white-space:normal}
.reference-hero[data-project-story] .rh-hero-review-tabs button{font-size:10px;padding:10px 0;color:#b8b8b8;white-space:normal}
.reference-hero[data-project-story] .rh-hero-review-tabs button[aria-selected=true]{color:#fff;border-color:#EF4129}
.reference-hero[data-project-story] .rh-platform-tabs b{font-size:9px;background:#383838;color:#d0d0d0}
.reference-hero[data-project-story] .rh-platform-findings{height:auto;flex:none;overflow:visible}
.reference-hero[data-project-story] .rh-platform-finding{height:auto;min-height:0;padding:18px;gap:10px;border-color:#414141;background:transparent}
.reference-hero[data-project-story] .rh-platform-finding[data-finding-kind=conflict]{border-left:2px solid #EF4129;background:rgba(239,65,41,.05);box-shadow:none}
.reference-hero[data-project-story] .rh-finding-dot{width:17px;height:17px;font-size:11px;background:#696b6c}
.reference-hero[data-project-story] [data-finding-kind=conflict] .rh-finding-dot{background:#b6b8b2}
.reference-hero[data-project-story] .rh-platform-finding .rh-finding-kind{font-size:9px;letter-spacing:.04em;color:#b8b8b8;margin-bottom:8px}
.reference-hero[data-project-story] .rh-platform-finding strong{font-size:15px;font-weight:600;line-height:1.4;color:#fff}
.reference-hero[data-project-story] .rh-platform-finding p{font-size:11px;line-height:1.7;color:#c2c2c2;margin:10px 0 14px}
.reference-hero[data-project-story] .rh-finding-sources{display:grid;gap:7px}
.reference-hero[data-project-story] .rh-platform-finding .rh-file-tag{display:block;font-size:10px;line-height:1.5;padding:5px 7px;color:#d4d4d4;background:#303030;border:1px solid #444;border-radius:2px;text-decoration:none}
.reference-hero[data-project-story] a.rh-file-tag:hover,.reference-hero[data-project-story] a.rh-file-tag:focus-visible{outline:1px solid #EF4129;outline-offset:2px}
/* Static layout is complete without animation, JS or a desktop viewport. */
.reference-hero[data-project-story] .project-intelligence{display:block;max-width:none;margin:64px -6.818182% 0;padding:64px 7%;background:#f5f5f3;color:#262626;border:0;overflow:visible}
.reference-hero[data-project-story] .pi-copy{max-width:1100px;margin:auto}
.reference-hero[data-project-story] .pi-copy h2{font:600 clamp(30px,3.6vw,56px)/1.1 Montserrat,Arial,sans-serif;letter-spacing:-.04em;margin:0 0 20px}
.reference-hero[data-project-story] .pi-copy p{font:15px/1.8 Montserrat,Arial,sans-serif;color:#696b6c;max-width:620px;margin:0}
.reference-hero[data-project-story] .story-system{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:9%;max-width:1100px;margin:56px auto}
.reference-hero[data-project-story] .story-inputs{display:grid;gap:6px}
.reference-hero[data-project-story] .story-source{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:0;min-height:42px;font-size:12px;line-height:1.4}
.reference-hero[data-project-story] .story-source svg,.reference-hero[data-project-story] .story-result svg{width:18px;height:18px;flex-shrink:0;color:#696b6c}
.reference-hero[data-project-story] .story-franklin{text-align:center;color:#EF4129;display:flex;flex-direction:column;align-items:center;gap:18px}
.reference-hero[data-project-story] .story-franklin svg{display:block;width:64px;height:64px}
.reference-hero[data-project-story] .story-franklin>span{font-size:19px;font-weight:600;letter-spacing:-.04em}
.reference-hero[data-project-story] .story-results h3{font-size:10px;font-weight:500;color:#696b6c;margin:0 0 24px}
.reference-hero[data-project-story] .story-result{display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.5;padding:18px 0;border-bottom:1px solid #cfcec9}
.reference-hero[data-project-story] .story-result svg{color:#EF4129}
.reference-hero[data-project-story] .story-circuits{display:none}
/* Enhanced desktop coordinates are relative to the sticky stage, including through display:contents wrappers. */
.reference-hero:is([data-story-motion],[data-story-preparing]){height:440svh;overflow:clip}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-stage{height:calc(100svh - 68px);position:sticky;top:68px;padding:0;background:var(--scene-bg,#161616);overflow:hidden}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-hero-copy{position:absolute;top:36px;left:6%;right:6%;margin:0;transform:translate3d(0,var(--copy-y,0px),0);opacity:var(--copy-opacity,1)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-product-preview{position:absolute;top:0;left:0;align-self:start;max-width:none;margin:0;width:var(--product-w);height:var(--product-h);transform:translate3d(var(--product-x),var(--product-y),0);opacity:var(--product-opacity,1);will-change:transform,opacity}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-body{height:calc(100% - 86px)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-sidebar{display:block}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-workspace{width:82%}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-finding[data-finding-kind=conflict] strong{font-size:calc(15px + 5px * var(--finding-focus,0))}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-finding[data-finding-kind=conflict] p{font-size:calc(11px + 2px * var(--finding-focus,0))}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-shell{height:100%;border-radius:var(--product-radius,8px)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-hero-viewer-canvas,.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-breadcrumb,.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-hero-viewer-toolbar{opacity:var(--drawing-opacity,1)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-finding[data-finding-kind=conflict]{background:rgba(239,65,41,var(--finding-tint,.05))}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-drawing-change-finding{opacity:var(--drawing-opacity,1)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .project-intelligence{position:absolute;inset:0;margin:0;padding:0;background:transparent;pointer-events:none}
.reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy{position:absolute;top:6%;left:9%;right:9%;max-width:none}
.reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy h2{font-size:clamp(32px,3.1vw,48px);opacity:var(--headline-opacity,0);transform:translate3d(0,var(--headline-y,12px),0)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy p{max-width:820px;font-size:14px;opacity:var(--diagram-opacity,0);transform:translate3d(0,var(--diagram-y,24px),0)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-system,.reference-hero:is([data-story-motion],[data-story-preparing]) .story-inputs{display:contents}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-source{position:absolute;top:0;left:0;width:var(--source-w);height:42px;min-height:0;padding:8px 10px;font-size:14px;line-height:1.4;gap:10px;transform:translate3d(var(--source-x),var(--source-y),0);border-bottom:0;color:var(--source-color,#cfcfcf);background:var(--source-bg,#262626);z-index:3;will-change:transform}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-source svg{width:16px;height:16px;color:inherit}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-franklin{position:absolute;left:50%;top:var(--system-center-y);transform:translate3d(-50%,-50%,0) scale(var(--logo-scale,.8));opacity:var(--logo-opacity,0)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-franklin svg{width:64px;height:auto}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-results{position:absolute;left:69%;right:7%;top:var(--results-y)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-results h3{opacity:var(--logo-opacity,0);margin:0 0 16px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-result{font-size:clamp(12px,1.1vw,16px);height:58px;padding:12px 0;opacity:var(--result-opacity,0);transform:translate3d(var(--result-x,20px),0,0)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-circuits{display:block;position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#B9B9B6;stroke-width:1.15;opacity:var(--wire-opacity,0)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-circuits path{stroke-dasharray:1;stroke-dashoffset:var(--wire-offset,1);vector-effect:non-scaling-stroke}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-output-circuits path{stroke-dashoffset:var(--output-wire-offset,1)}
/* Stacking follows viewport width; short windows and reduced motion retain the desktop grid. */
@media(max-width:999px){
.reference-hero[data-project-story] .rh-platform-shell{height:auto}
.reference-hero[data-project-story] .rh-platform-body{height:auto}
.reference-hero[data-project-story] .rh-platform-sidebar{display:none}
.reference-hero[data-project-story] .rh-platform-workspace{width:100%;grid-template-columns:minmax(0,1fr);overflow:visible}
.reference-hero[data-project-story] .rh-hero-dwg-viewer{overflow:visible;flex:none}
.reference-hero[data-project-story] .rh-ai-panel{overflow:visible;border-left:0;border-top:1px solid #414141;order:-1}
.reference-hero[data-project-story] .rh-platform-findings{display:grid;grid-template-columns:1fr 1fr}
.reference-hero[data-project-story] .rh-platform-finding strong{font-size:16px}
.reference-hero[data-project-story] .rh-platform-finding p{font-size:12px}
.reference-hero[data-project-story] .story-system{gap:5%}
}
@media(max-width:700px){
.reference-hero[data-project-story] .story-stage{padding:32px 5% 0}
.reference-hero[data-project-story] h1{font-size:clamp(29px,7.2vw,47px);line-height:1.05;letter-spacing:-.05em}
.reference-hero[data-project-story] .rh-hero-value{font-size:16px;margin-top:12px;max-width:420px}
.reference-hero[data-project-story] .rh-hero-intro{font-size:14px;line-height:1.65;margin-top:6px;max-width:420px}
.reference-hero[data-project-story] .rh-platform-top{height:48px;padding:0 12px;gap:12px}
.reference-hero[data-project-story] .rh-platform-brand{width:88px}
.reference-hero[data-project-story] .rh-platform-project{font-size:10px;white-space:normal;border:0;padding:0;margin-left:auto}
.reference-hero[data-project-story] .rh-platform-search{display:none}
.reference-hero[data-project-story] .story-browser{gap:12px;padding:0 12px;height:30px}
.reference-hero[data-project-story] .story-browser-address{font-size:8px}
.reference-hero[data-project-story] .rh-platform-findings{display:block}
.reference-hero[data-project-story] .rh-hero-review-tabs button{font-size:11px}
.reference-hero[data-project-story] .rh-platform-finding .rh-file-tag{font-size:12px}
.reference-hero[data-project-story] .rh-drawing-image{aspect-ratio:1.25}
.reference-hero[data-project-story] .rh-drawing-image img{width:150%;left:-42%;top:-6.976745%}
.reference-hero[data-project-story] .project-intelligence{margin:48px -5.555556% 0;padding:48px 6%}
.reference-hero[data-project-story] .pi-copy h2{font-size:32px}
.reference-hero[data-project-story] .story-system{display:flex;flex-direction:column;gap:32px;margin:36px 0}
.reference-hero[data-project-story] .story-inputs{width:100%;grid-template-columns:1fr 1fr;gap:8px 18px}
.reference-hero[data-project-story] .story-source{font-size:11px;align-items:center;min-height:48px;padding:8px 0;overflow-wrap:anywhere}
.reference-hero[data-project-story] .story-franklin::before,.reference-hero[data-project-story] .story-franklin::after{content:"";height:32px;width:1px;background:#000}
.reference-hero[data-project-story] .story-franklin svg{width:72px;height:72px}
.reference-hero[data-project-story] .story-results{width:100%}
.reference-hero[data-project-story] .story-results h3{margin-bottom:12px}
.reference-hero[data-project-story] .story-result{font-size:14px;padding:16px 0}
}
@media(prefers-reduced-motion:reduce){.reference-hero[data-project-story] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Standalone recovered facade and native floor plan share the drawing viewport. */
.reference-hero[data-project-story] [hidden]{display:none!important}
.reference-hero[data-project-story] .rh-platform-shell{border-color:#646464;border-radius:10px;box-shadow:0 24px 80px #0005,0 1px 0 #ffffff18 inset;overflow:hidden}
.reference-hero[data-project-story] .story-browser{background:linear-gradient(#363636,#2b2b2b);height:36px}
.reference-hero[data-project-story] .story-browser-address{border:1px solid #454545;border-radius:4px;padding:4px;background:#222}
.reference-hero[data-project-story] .rh-hero-dwg-viewer{display:flex;flex-direction:column}
.reference-hero[data-project-story] .rh-hero-viewer-canvas{position:relative;flex:1;min-height:0;justify-content:center}
.reference-hero[data-project-story] .story-facade{display:block;width:100%;height:100%;min-height:280px;filter:contrast(1.18) brightness(1.15)}
.reference-hero[data-project-story] .rh-drawing-image{filter:contrast(1.22) brightness(1.2);transition:none}
.reference-hero[data-project-story] .story-version-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 16px;border-bottom:1px solid #414141;font-size:10px}
.reference-hero[data-project-story] .story-version-controls select{font:inherit;color:#eee;background:#303030;border:1px solid #555;border-radius:4px;padding:6px}
.reference-hero[data-project-story] .rh-drawing-image[data-version=v1] img{width:180%;left:0;top:-8.37%}
.reference-hero[data-project-story] .rh-drawing-image[data-version=v2] img{width:180%;left:-80%;top:-8.37%}
.reference-hero[data-project-story] .story-trust{max-width:1100px;margin:24px auto 0;display:flex;justify-content:space-between;gap:24px;font-size:11px;line-height:1.7;color:#696b6c}
.reference-hero[data-project-story] .story-trust>span{display:flex;gap:7px;align-items:baseline}
.reference-hero[data-project-story] .story-trust i{font-style:normal;color:#696b6c}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-trust{position:absolute;left:9%;right:9%;bottom:7%;opacity:var(--diagram-opacity,0);margin:0}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-finding[data-current=true]{border-left:2px solid #EF4129;background:#ef412910}
.reference-hero[data-project-story] :is(button,select,a):focus-visible{outline:2px solid #EF4129;outline-offset:3px}
@media(max-width:999px){.reference-hero[data-project-story] .story-facade{height:auto;aspect-ratio:821/473}.reference-hero[data-project-story] .rh-platform-findings{display:block}}
@media(max-width:700px){.reference-hero[data-project-story] .story-trust{flex-direction:column;gap:12px}.reference-hero[data-project-story] .story-source{font-size:13px}.reference-hero[data-project-story] .rh-drawing-image{aspect-ratio:1.5}.reference-hero[data-project-story] .rh-drawing-image img{width:100%;left:0;top:-4.651163%}}
/* Shared editorial grid and opaque product stack. */
.reference-hero[data-project-story]{--story-grid:clamp(24px,5vw,96px)}
.reference-hero[data-project-story] .story-stage{padding:36px var(--story-grid) 0}
.reference-hero[data-project-story] .rh-platform-shell{isolation:isolate;background:#202020;border-radius:7px;box-shadow:0 16px 48px #0003}
.reference-hero[data-project-story] .rh-platform-body{background:#202020}
.reference-hero[data-project-story] .story-browser{height:34px;background:#303030}
.reference-hero[data-project-story] .story-browser-address{font-size:11px}
.reference-hero[data-project-story] .rh-platform-sidebar{display:block;flex:none;width:18%;min-width:155px;padding:16px 10px;overflow:auto}
.reference-hero[data-project-story] .rh-platform-workspace{flex:1;width:auto;grid-template-columns:minmax(0,64fr) minmax(0,36fr)}
.reference-hero[data-project-story] .story-nav-context{display:flex;justify-content:space-around;gap:8px;font-size:11px;padding:8px 0 16px;color:#aaa}
.reference-hero[data-project-story] .story-nav-context strong{color:#fff;font-weight:500}
.reference-hero[data-project-story] .story-nav-section{font-size:10px;color:#999;padding:18px 10px 6px}
.reference-hero[data-project-story] .rh-platform-nav-item{font-size:12px;padding:9px 10px}
.reference-hero[data-project-story] .rh-platform-finding{padding:15px 16px}
.reference-hero[data-project-story] .rh-platform-finding strong{font-size:15px;line-height:1.4}
.reference-hero[data-project-story] .rh-platform-finding p{font-size:11px;line-height:1.5;margin:8px 0 10px}
.reference-hero[data-project-story] .rh-platform-finding .rh-file-tag{overflow-wrap:anywhere;font-size:10px}
.reference-hero[data-project-story] .rh-drawing-image{width:100%;height:100%;aspect-ratio:600/364;filter:none;display:flex;align-items:center}
.reference-hero[data-project-story] .story-plan{display:block;width:100%;height:100%;max-height:100%;font-family:Montserrat,Arial,sans-serif}
.reference-hero[data-project-story] .rh-drawing-image[data-version=v1] .story-plan-added,.reference-hero[data-project-story] .rh-drawing-image[data-version=v2] .story-plan-removed{display:none}
.reference-hero[data-project-story] .story-facade{filter:none}
.reference-hero[data-project-story] .project-intelligence{background:#F5F4F1;margin:64px calc(-1 * var(--story-grid)) 0;padding:56px var(--story-grid)}
.reference-hero[data-project-story] .pi-copy{max-width:none;margin:0}
.reference-hero[data-project-story] .pi-copy h2{color:#161616;font-size:clamp(40px,4vw,60px);font-weight:600;line-height:1.08;letter-spacing:-.04em;margin:0 0 20px}
.reference-hero[data-project-story] .pi-copy p{max-width:780px;font-size:18px;line-height:1.5;color:#555}
.reference-hero[data-project-story] .story-system{position:relative;display:grid;grid-template-columns:30% 20% 30%;gap:10%;width:70%;max-width:none;margin:44px auto;min-height:332px}
.reference-hero[data-project-story] .story-inputs{display:grid;gap:9px}
.reference-hero[data-project-story] .story-source{min-height:48px;padding:10px 0;font-size:16px;font-weight:500;line-height:1.4;color:#262626;border-bottom:0;background:transparent}
.reference-hero[data-project-story] .story-franklin{gap:0}
.reference-hero[data-project-story] .story-franklin img{display:block;width:90px;height:90px;max-width:100%;object-fit:contain}
.reference-hero[data-project-story] .story-results h3{font-size:12px;font-weight:500;line-height:1.5;color:#696B6C;letter-spacing:.04em;text-transform:uppercase;margin:0 0 12px}
.reference-hero[data-project-story] .story-result{height:56px;padding:10px 0;font-size:16px;font-weight:500;line-height:1.4;color:#262626;border-bottom:1px solid #dcdcd7}
.reference-hero[data-project-story] .story-trust{max-width:none;font-size:14px;font-weight:500;line-height:1.5;color:#555;gap:30px;margin:32px 0 0}
.reference-hero[data-project-story] .story-trust i{color:#EF4129}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-stage{padding:0;isolation:isolate}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-hero-copy{left:var(--story-grid);right:var(--story-grid);z-index:0;opacity:1}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-product-preview{z-index:2;transform-origin:50% 50%;transform:translate3d(var(--product-x),var(--product-y),0) scale(var(--product-scale,1));visibility:var(--product-visibility,visible)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-body{height:calc(100% - 86px)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-finding[data-finding-kind=conflict] strong{font-size:15px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-finding[data-finding-kind=conflict] p{font-size:11px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .project-intelligence{padding:0;margin:0;background:transparent;z-index:3}
.reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy{top:40px;left:var(--story-grid);right:var(--story-grid)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy h2{font-size:clamp(40px,4vw,60px)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy p{font-size:18px;line-height:1.5;max-width:780px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-system,.reference-hero:is([data-story-motion],[data-story-preparing]) .story-inputs{display:contents}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-source{height:48px;padding:10px 0;font-size:16px;color:#262626;opacity:var(--source-opacity,0);visibility:var(--source-visibility,hidden);background:transparent;z-index:3;border-color:#dcdcd7}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-franklin{top:var(--system-center-y);left:50%;z-index:2}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-results{left:var(--results-x);right:auto;width:var(--results-w);top:var(--results-y)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-result{font-size:16px;height:56px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-circuits{stroke:#000;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;z-index:0}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-trust{left:var(--story-grid);right:var(--story-grid);bottom:44px;opacity:var(--trust-opacity,0)}
@media(min-width:1000px) and (max-height:780px){
.reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy{top:24px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy h2{font-size:44px;margin-bottom:14px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy p{font-size:17px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-trust{bottom:22px;font-size:13px}
.reference-hero[data-project-story] .rh-platform-finding{padding:10px 14px}
.reference-hero[data-project-story] .rh-platform-finding p{font-size:10px}
}
@media(max-width:999px){
.reference-hero[data-project-story] .story-system{width:100%;grid-template-columns:30% 20% 30%;gap:10%}
.reference-hero[data-project-story] .rh-platform-workspace{grid-template-columns:1fr}
.reference-hero[data-project-story] .rh-ai-panel{border-left:0;border-top:1px solid #414141}
.reference-hero[data-project-story] .rh-platform-findings{display:grid;grid-template-columns:1fr 1fr}
.reference-hero[data-project-story] .story-franklin::before,.reference-hero[data-project-story] .story-franklin::after{display:none}
}
@media(max-width:700px){
.reference-hero[data-project-story] .rh-platform-sidebar{min-width:0;width:128px;padding:8px 5px}
.reference-hero[data-project-story] .rh-platform-nav-item{font-size:10px;padding:8px 4px;gap:5px}
.reference-hero[data-project-story] .story-nav-section{font-size:9px;padding:12px 4px 5px}
.reference-hero[data-project-story] .story-nav-context{font-size:9px;gap:4px}
.reference-hero[data-project-story] .rh-platform-findings{display:block}
.reference-hero[data-project-story] .story-system{display:flex;width:100%;flex-direction:column;gap:28px;margin:32px 0}
.reference-hero[data-project-story] .story-inputs{width:100%;grid-template-columns:1fr}
.reference-hero[data-project-story] .story-source{font-size:16px}
.reference-hero[data-project-story] .story-franklin img{width:90px;height:90px}
.reference-hero[data-project-story] .pi-copy h2{font-size:36px}
.reference-hero[data-project-story] .pi-copy p{font-size:17px}
.reference-hero[data-project-story] .project-intelligence{padding:40px var(--story-grid)}
}
.reference-hero[data-project-story] .story-finding-select{display:block;font:inherit;text-align:left;color:inherit;border:0;padding:0;background:transparent;cursor:pointer}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-source{color:var(--source-color,#262626)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-hero-copy{opacity:var(--copy-opacity,1)}

.reference-hero[data-project-story] .story-static-circuits{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#000;stroke-width:1.25;pointer-events:none}
.reference-hero[data-project-story] .story-static-circuits path{vector-effect:non-scaling-stroke}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-static-circuits{display:none}
@media(max-width:700px){.reference-hero[data-project-story] .story-static-circuits{display:none}}

/* Shared 1140px composition and persistent product-to-diagram nodes. */
.reference-hero[data-project-story]{--story-grid:max(24px,calc((100% - 1140px)/2))}
.reference-hero[data-project-story] .rh-hero-copy{text-align:center;margin:0 auto 88px}
.reference-hero[data-project-story] h1{text-align:center;margin-inline:auto;font-size:clamp(40px,5.5vw,72px)}
.reference-hero[data-project-story] .rh-hero-value,.reference-hero[data-project-story] .rh-hero-intro{margin-left:auto;margin-right:auto}
.reference-hero[data-project-story] .rh-product-preview{max-width:1140px}
.reference-hero[data-project-story] .story-system{width:100%;max-width:1000px}
.reference-hero[data-project-story] .story-source,.reference-hero[data-project-story] .story-result{border:0;line-height:1.5}
.reference-hero[data-project-story] .story-trust{justify-content:center;flex-wrap:wrap;column-gap:28px;row-gap:12px;text-align:center}
.reference-hero[data-project-story] .story-facade{object-fit:contain;min-height:0}
.reference-hero[data-project-story] .story-product-inputs,.reference-hero[data-project-story] .story-product-results{display:none}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-hero-copy{left:var(--story-grid);right:var(--story-grid);top:48px;pointer-events:none}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-product-preview{opacity:1;transform-origin:50% 50%;z-index:2}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-sidebar{width:21%;padding:12px 10px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-nav-item{font-size:11px;padding:5px 8px;line-height:1.4}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-nav-section{font-size:9px;padding:10px 8px 4px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-nav-context{padding:3px 0 10px;font-size:10px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-workspace{grid-template-columns:minmax(0,60fr) minmax(0,40fr)}
/* Independent information sources stay in the diagram, never in the navigation. */
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-results{display:contents}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-source,.reference-hero:is([data-story-motion],[data-story-preparing]) .story-result{position:absolute;left:0;top:0;width:var(--node-w);height:var(--node-h);min-height:0;transform:translate3d(var(--node-x),var(--node-y),0);font-size:16px;padding:8px 0;gap:10px;line-height:1.5;opacity:var(--node-opacity,0);visibility:visible;color:#262626;background:transparent;border:0;z-index:5;pointer-events:none}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-source svg,.reference-hero:is([data-story-motion],[data-story-preparing]) .story-result svg{width:18px;height:18px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-source svg{color:inherit}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-result svg{color:#EF4129}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-results h3{position:absolute;left:var(--results-x);top:calc(var(--results-y) - 32px);opacity:var(--outputs-opacity,0);color:#696b6c}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-franklin{opacity:var(--logo-opacity,0)}
.reference-hero[data-project-story] .rh-platform-finding[data-current=false]{border-left:2px solid transparent;background:transparent}
.reference-hero[data-project-story] .rh-platform-finding[data-current=true] .rh-finding-dot{background:#EF4129;color:#fff}
.reference-hero[data-project-story] .rh-platform-finding[data-current=false] .rh-finding-dot{background:#696b6c;color:#fff}
.reference-hero[data-project-story] .story-facade{width:100%;height:auto;aspect-ratio:820/473;flex:none;object-fit:contain}
.reference-hero[data-project-story] .rh-hero-viewer-canvas{align-items:center}
.reference-hero[data-project-story] .story-trust{font-size:16px;color:#262626;max-width:980px;justify-content:center;flex-wrap:wrap;gap:12px 28px;margin-inline:auto}
.reference-hero[data-project-story] .story-trust i{font-size:18px;color:#EF4129;font-weight:700}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-trust{left:24px;right:24px;bottom:32px;opacity:var(--trust-opacity,0)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-product-preview::before{content:'';position:absolute;inset:0;border-radius:7px;box-shadow:0 28px 64px #0006,0 7px 20px #0003;opacity:var(--depth-opacity,0);pointer-events:none;z-index:-1}
@media(max-width:999px),(prefers-reduced-motion:reduce){
.reference-hero[data-project-story] .rh-hero-copy{margin-bottom:64px}
.reference-hero[data-project-story] .story-product-inputs,.reference-hero[data-project-story] .story-product-results{display:none}
}
@media(max-width:700px){.reference-hero[data-project-story]{--story-grid:20px}.reference-hero[data-project-story] h1{font-size:clamp(29px,7.2vw,47px)}.reference-hero[data-project-story] .story-trust{align-items:center;text-align:center;flex-direction:row}.reference-hero[data-project-story] .rh-hero-copy{margin-bottom:56px}}

/* The exact published comparison is cropped uniformly around both changed rooms. */
.reference-hero[data-project-story] .story-comparison-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 16px;border-bottom:1px solid #414141;font-size:10px}
.reference-hero[data-project-story] .story-comparison-controls select{font:inherit;color:#eee;background:#303030;border:1px solid #555;border-radius:4px;padding:6px}
.reference-hero[data-project-story] .story-filter-definitions{position:absolute;pointer-events:none}
.reference-hero[data-project-story] .rh-hero-viewer-canvas{background:#202020;container-type:size}
.reference-hero[data-project-story] .rh-drawing-image{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;display:block;background:#202020;filter:none;overflow:hidden;--room-focus:0;--room-reveal:1}
.reference-hero[data-project-story] .story-room-image-stack{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
.reference-hero[data-project-story] .rh-drawing-image img{position:absolute;inset:auto;left:calc(50% - 118.2763cqh - 2.6612cqh * var(--room-focus));top:calc(-6.35cqh - 2.4cqh * var(--room-focus));width:calc(208.31296cqh + 4.68704cqh * var(--room-focus));height:auto;max-width:none;object-fit:contain}
.reference-hero[data-project-story] .story-room-neutral{filter:grayscale(1)}
.reference-hero[data-project-story] .story-room-colour{filter:url(#story-neutral-cad);clip-path:inset(0 calc(100% * (1 - var(--room-reveal))) 0 0)}
.reference-hero[data-project-story] button.rh-file-tag{font-family:inherit;text-align:left;width:100%;cursor:pointer}
/* Bounded showcase: generous margins, no full-screen growth. */
.reference-hero[data-project-story] .rh-product-preview{max-width:1120px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-workspace{grid-template-columns:minmax(0,66fr) minmax(0,34fr)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-facade{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:72% 50%}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-shell{clip-path:inset(var(--handoff-inset,0%) round var(--handoff-radius,7px));height:100%}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-franklin{z-index:4}
.reference-hero[data-project-story] .story-trust{max-width:1120px;gap:12px;font-size:15px;align-items:stretch}
.reference-hero[data-project-story] .story-trust>span{align-items:center;justify-content:center;flex:0 1 auto;max-width:460px;padding:12px 16px;border:1px solid #dcdad4;border-radius:8px;background:#ecebe7;box-shadow:none}
@media(max-width:999px),(prefers-reduced-motion:reduce){
.reference-hero[data-project-story] .rh-hero-viewer-canvas{flex:none;height:auto;min-height:0;aspect-ratio:1.12}
.reference-hero[data-project-story] .story-facade{width:100%;height:100%;position:absolute;inset:0;aspect-ratio:auto;object-fit:cover;object-position:72% 50%}
.reference-hero[data-project-story] .story-trust>span{flex:0 1 auto}
}
/* Showcase-only source group; authentic navigation keeps its labels and order. */
.reference-hero[data-project-story] .rh-platform-sidebar{padding:10px 10px}
.reference-hero[data-project-story] .story-nav-context{padding:5px 0 10px}
.reference-hero[data-project-story] .story-nav-section{padding:10px 10px 4px}
.reference-hero[data-project-story] .rh-platform-nav-item{padding:5px 10px;min-height:28px;font-size:12px;line-height:1.5}
.reference-hero[data-project-story] .story-demo-source svg{width:18px;height:18px;flex:none}
.reference-hero[data-project-story] .story-demo-source>span{min-width:0}
.reference-hero[data-project-story] .story-source-icon{width:18px;flex:none;font-size:18px;line-height:1;text-align:center}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-shell{clip-path:none}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-product-preview{transform:translate3d(var(--product-x),var(--product-y),0);opacity:var(--product-opacity,1)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy{top:var(--composition-top)}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-trust{top:var(--trust-top);bottom:auto;margin-top:0}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-source{transform-origin:0 0}
.reference-hero[data-project-story] .story-flight-layer{position:absolute;inset:0;z-index:6;pointer-events:none;overflow:visible}
.reference-hero[data-project-story] .story-flight-copy{position:absolute;left:0;top:0;display:flex;align-items:center;gap:10px;line-height:1.5;font-weight:500;transform-origin:0 0;pointer-events:none;background:transparent;border:0;box-shadow:none;border-radius:0;will-change:transform;visibility:hidden}
.reference-hero[data-project-story] .story-flight-copy svg{width:18px;height:18px;flex:none}
.reference-hero[data-project-story] .story-flight-copy>span:first-child[aria-hidden]{width:18px;flex:none;text-align:center}

.reference-hero[data-project-story] .rh-platform-nav-item{margin:0;gap:10px;font-weight:500}
.reference-hero[data-project-story] [data-story-origin]>span:first-child[aria-hidden]{width:18px;flex:none;text-align:center}

.reference-hero[data-project-story] [data-story-origin]>span:first-child[aria-hidden],.reference-hero[data-project-story] .story-flight-copy>span:first-child[aria-hidden]{font-size:18px;line-height:1}

/* Deliberate attention and extraction phases, driven entirely by scroll position. */
.reference-hero:is([data-story-motion],[data-story-preparing]){height:760svh}
.reference-hero[data-project-story] .rh-platform-findings{position:relative}
.reference-hero[data-project-story] .story-finding-indicator{display:none;pointer-events:none}
.reference-hero[data-finding-motion] .story-finding-indicator{display:block;position:absolute;left:0;top:0;width:2px;height:var(--indicator-h);background:#EF4129;transform:translateY(var(--indicator-y));z-index:2}
.reference-hero[data-finding-motion] .rh-platform-finding[data-finding-kind]{border-left:2px solid transparent}
.reference-hero[data-finding-motion] .rh-platform-finding[data-finding-kind=conflict]{background:rgba(239,65,41,calc(.065 * var(--first-activation,1)))}
.reference-hero[data-finding-motion] .rh-platform-finding[data-finding-kind=change]{background:rgba(239,65,41,calc(.10 * var(--second-activation,0)));transform:translateX(var(--finding-nudge,0px))}
.reference-hero[data-finding-motion] .rh-platform-finding[data-finding-kind=change] strong{color:rgb(calc(220 + 35 * var(--second-activation,0)),calc(220 + 35 * var(--second-activation,0)),calc(220 + 35 * var(--second-activation,0)))}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-facade{position:absolute;inset:0}
.reference-hero:is([data-story-motion],[data-story-preparing]) :is(.story-browser,.rh-platform-top,.rh-platform-workspace,.story-nav-context,.story-nav-section,.rh-platform-nav-item:not([data-story-origin]):not([data-story-extract])){opacity:calc(1 - .18 * var(--isolate,0))}
.reference-hero:is([data-story-motion],[data-story-preparing]) :is([data-story-origin]:not([data-story-origin=drawings-models]),[data-story-extract]){color:rgb(calc(208 + 47 * var(--isolate,0)),calc(208 + 47 * var(--isolate,0)),calc(208 + 47 * var(--isolate,0)));background:rgba(239,65,41,calc(.085 * var(--isolate,0)))}
.reference-hero[data-project-story] .story-flight-copy{opacity:1;gap:6px;line-height:1.4;overflow:visible}
.reference-hero[data-project-story] .story-flight-copy>span{min-width:0}
.reference-hero[data-project-story] .story-flight-copy svg,.reference-hero[data-project-story] .story-flight-copy>span:first-child[aria-hidden]{width:16px;flex:none;font-size:16px}
/* Keep the five real extraction origins visible inside the unchanged 650px product frame. */
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-nav-item{min-height:26px;padding:4px 10px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-nav-section{padding:7px 10px 3px}

/* Refined connections and a single reversible activation of the original logomark. */
.reference-hero[data-project-story] .story-franklin svg{transform:rotate(var(--logo-angle,0deg));transform-origin:50% 50%}
.reference-hero[data-project-story] .story-trust{max-width:1000px;gap:12px;font-size:15px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.reference-hero[data-project-story] .story-trust>span{min-width:0;max-width:none;min-height:68px;padding:12px 16px;border-radius:8px;gap:8px}
.reference-hero[data-project-story] .story-trust>span>span{min-width:0}
.reference-hero[data-project-story] .story-trust i{flex:none}
.reference-hero:is([data-story-motion],[data-story-preparing]) .story-trust{left:0;right:0;width:calc(100% - 48px);margin-inline:auto}
@media(max-width:700px){.reference-hero[data-project-story] .story-trust{grid-template-columns:1fr;width:100%;max-width:380px}.reference-hero[data-project-story] .story-trust>span{min-height:68px}.reference-hero[data-project-story] .story-franklin::before,.reference-hero[data-project-story] .story-franklin::after{background:#B9B9B6}}
@media(prefers-reduced-motion:reduce){.reference-hero[data-project-story] .story-franklin svg{transform:none}}

.reference-hero[data-project-story] .story-system{margin-bottom:44px}
.reference-hero[data-project-story] .story-trust{margin-top:0}

/* A shared icon slot keeps every showcase menu label on the same column. */
.reference-hero[data-project-story] .rh-platform-sidebar>.rh-platform-nav-item{display:flex;align-items:center;gap:10px;margin:0;padding:5px 10px;min-height:28px}
.reference-hero:is([data-story-motion],[data-story-preparing]) .rh-platform-sidebar>.rh-platform-nav-item{padding:4px 10px;min-height:26px}
.reference-hero[data-project-story] .rh-platform-sidebar>.rh-platform-nav-item>:is(span[aria-hidden],svg):first-child{display:flex;align-items:center;justify-content:center;flex:none;width:18px;height:18px;text-align:center}
.reference-hero[data-project-story] .rh-platform-sidebar>.rh-platform-nav-item>span:not([aria-hidden]){min-width:0;overflow-wrap:anywhere}
.reference-hero[data-project-story] .rh-platform-sidebar>.story-nav-section{padding-left:38px;overflow-wrap:anywhere}

/* Hero actions reuse the existing rectangular closing-invitation button. */
.reference-hero[data-project-story] .rh-hero-ctas{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:30px;margin-top:30px}
.reference-hero[data-project-story] .rh-hero-ctas a{pointer-events:auto}
.reference-hero[data-project-story] .rh-hero-demo{background:#f5f4f1;color:#262626}
.reference-hero[data-project-story] .rh-hero-demo:hover{background:#e7e6e3;color:#262626}
.reference-hero[data-project-story] .rh-hero-plans{display:inline-flex;align-items:center;gap:6px;font:600 12px/1.5 Montserrat,Arial,sans-serif;color:#fff;text-decoration:none;transition:color .15s}
.reference-hero[data-project-story] .rh-hero-plans:hover{color:#d3d3d3}
.reference-hero[data-project-story] .rh-hero-plans:focus-visible{outline:2px solid #ef4129;outline-offset:5px}
.reference-hero[data-project-story] .rh-hero-copy[inert] .rh-hero-ctas{visibility:hidden}
.reference-hero[data-project-story] .rh-hero-copy[inert] .rh-hero-ctas a{pointer-events:none}
@media(prefers-reduced-motion:reduce){.reference-hero[data-project-story] .rh-hero-plans{transition:none}}

/* Keep the requested two-line headline rhythm on desktop only. */
.reference-hero[data-project-story] .rh-hero-desktop-break{display:none}
@media(min-width:1000px){
 .reference-hero[data-project-story] h1{font-size:clamp(40px,5.5vw,68px);white-space:nowrap}
 .reference-hero[data-project-story] .rh-hero-desktop-break{display:initial}
}

/* Reserve the same first frame while fonts and hero artwork become measurable. */
@media(width > 999px) and (prefers-reduced-motion:no-preference){
 .reference-hero[data-story-preparing]{height:760svh;overflow:clip}
 .reference-hero[data-story-preparing] .story-stage{height:calc(100svh - 68px);position:sticky;top:68px;padding:48px var(--story-grid) 0;overflow:hidden;background:#161616}
 .reference-hero[data-story-preparing] .rh-hero-copy{position:relative;top:auto;left:auto;right:auto;margin:0;transform:none;opacity:1}
 .reference-hero[data-story-preparing] .rh-product-preview{position:relative;top:auto;left:auto;transform:none;opacity:1;visibility:visible;width:min(1120px,calc(100vw - 96px));height:min(650px,calc(100svh - 116px));margin:70px auto 0}
 .reference-hero[data-story-preparing] .rh-platform-shell{height:100%}
 .reference-hero[data-story-preparing] .rh-platform-body{height:calc(100% - 86px)}
 .reference-hero[data-story-preparing] .rh-platform-sidebar{display:block;width:21%}
 .reference-hero[data-story-preparing] .rh-platform-workspace{width:82%;grid-template-columns:minmax(0,66fr) minmax(0,34fr)}
 .reference-hero[data-story-preparing] .story-facade{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:72% 50%}
 .reference-hero[data-story-preparing] .project-intelligence{position:absolute;visibility:hidden}
}

/* Short desktop stages retain choreography, fitting the browser and the final diagram separately. */
@media(min-width:1000px) and (max-height:759px){
 .reference-hero:is([data-story-motion],[data-story-preparing]) .rh-hero-copy{top:24px}
 .reference-hero:is([data-story-motion],[data-story-preparing]) .rh-hero-ctas{margin-top:18px}
 .reference-hero:is([data-story-motion],[data-story-preparing]) .rh-product-preview{transform-origin:0 0;transform:translate3d(var(--product-x),var(--product-y),0) scale(var(--product-fit,1))}
 .reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy h2{font-size:32px;margin-bottom:12px}
 .reference-hero:is([data-story-motion],[data-story-preparing]) .pi-copy p{font-size:14px;line-height:1.5}
 .reference-hero:is([data-story-motion],[data-story-preparing]) .story-source,.reference-hero:is([data-story-motion],[data-story-preparing]) .story-result{font-size:14px;padding:6px 0}
 .reference-hero:is([data-story-motion],[data-story-preparing]) .story-trust{font-size:12px}
 .reference-hero:is([data-story-motion],[data-story-preparing]) .story-trust>span{min-height:52px;padding:8px 12px}
 .reference-hero[data-story-preparing] .story-stage{padding-top:24px}
 .reference-hero[data-story-preparing] .rh-hero-copy{top:auto}
 .reference-hero[data-story-preparing] .rh-product-preview{height:650px;margin-top:32px;transform:scale(min(1,calc((100svh - 116px)/650px)));transform-origin:top center}
}

/* Original 90px diagram mark; only its four components move. */
.reference-hero[data-project-story] .story-franklin .story-logomark{display:block;width:90px;height:90px;max-width:100%;overflow:visible;transform:none}
.reference-hero[data-project-story] .story-franklin .story-mark-piece{transform-box:fill-box;transform-origin:center;transform:none}
@media(prefers-reduced-motion:reduce){.reference-hero[data-project-story] .story-franklin .story-mark-piece{transform:none!important}}
