html{scroll-behavior:smooth;background:#F0EEE6;overscroll-behavior-y:none}body{margin:0;background:#F0EEE6;overscroll-behavior-y:none}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid currentColor;outline-offset:6px}.page-section{min-height:100svh;position:relative;display:flex;align-items:center;justify-content:center;background:#000}.board-fit{width:1440px;height:900px;transform-origin:center center;flex-shrink:0;will-change:transform,opacity}.paper-board{flex-shrink:0}.paper-nav{z-index:4}.paper-nav nav{white-space:nowrap}.paper-footer a{white-space:nowrap}.contact-glow{transition:filter .35s ease,transform .2s ease;pointer-events:none}.contact-button{z-index:2;border-radius:999px;transition:transform .2s ease}.contact:has(.contact-button:hover) .contact-glow,.contact:has(.contact-button:focus-visible) .contact-glow{filter:blur(0)!important}.contact:has(.contact-button:active) .contact-glow,.contact-button:active{transform:scale(.96)}.contact-button.clicked{animation:press .4s ease}@keyframes press{45%{transform:scale(.94)}75%{transform:scale(1.04)}100%{transform:scale(1)}}#journey{background:#363841}#stage{border-radius:0}.page-section{overflow:clip}.research-sticky{position:sticky;top:0;height:100svh;display:flex;align-items:center;justify-content:center;overflow:clip}.research-fit{width:1440px;height:900px;position:relative;flex-shrink:0;transform-origin:center}#research-scroll{height:350vh;background:#000}.research-layer{position:absolute;inset:0;opacity:0;pointer-events:none}.research-layer:first-child{opacity:1;pointer-events:auto}.research-layer .paper-board{background-color:transparent!important}.research-fit{background:#69675f}.research-layer svg circle{visibility:hidden}#research-morph{position:absolute;left:88px;top:316px;width:1264px;height:322px;pointer-events:none}.research-controls{position:absolute;left:50%;bottom:5px;transform:translateX(-50%);display:flex;gap:12px;z-index:10}.research-controls button{padding:10px 18px;background:#717AAF;color:#F3EFDC;border-radius:22px;font:14px Arial;white-space:nowrap}.research-controls button[aria-current=true]{background:#232957}.research-layer:not(:first-child) .paper-nav,.research-layer:not(:first-child) .paper-footer{visibility:hidden}.research-layer:first-child .paper-nav,.research-layer:first-child .paper-footer{pointer-events:auto}.research-link,.back-link{transition:opacity .2s}.research-link:hover,.back-link:hover{opacity:.65}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media(max-width:700px){.research-fit{width:100vw!important;height:100svh!important;transform:none!important}.research-fit>.paper-nav{top:22px!important;width:90%!important}.research-fit>.paper-footer{position:absolute!important;bottom:74px;top:auto!important;left:24px!important;width:calc(100% - 48px)!important;margin:0;font-size:12px;gap:14px}.research-fit>.paper-footer>div{display:none!important}.research-layer .paper-board{width:100%!important;height:100%!important}.research-layer .paper-board>div:first-child{left:24px!important;top:126px!important;width:calc(100% - 48px)!important;height:auto!important}.research-layer .paper-board>div:first-child>div{width:100%!important;padding-top:0!important}.research-layer .paper-board>div:first-child>div:nth-child(2){display:none!important}.research-layer .paper-board>div:first-child>div>div:last-child{font-size:30px!important;line-height:34px!important}.research-layer .paper-board>div:nth-child(2){left:24px!important;top:275px!important;transform:scale(var(--chart-scale));transform-origin:top left}.research-layer .paper-board>div:nth-child(3){left:24px!important;top:calc(285px + 322px * var(--chart-scale))!important;width:calc(100% - 48px)!important;height:auto!important;min-height:110px;padding:18px!important;gap:14px!important}.research-layer .paper-board>div:nth-child(3)>div:last-child{font-size:14px!important;line-height:20px!important}.research-layer .paper-board>div:nth-child(3)>div:first-child{font-size:12px!important;flex-shrink:0}#research-morph{left:24px;top:275px;transform:scale(var(--chart-scale));transform-origin:top left}.research-controls{bottom:22px;gap:5px}.research-controls button{padding:10px;font-size:12px}}

/* Paper artboards use translucent cream over Paper canvas #eee. */
.page-section{background:#F0EEE6;padding:0;display:flex;align-items:center;justify-content:center}.board-fit{opacity:1;filter:none;will-change:transform;background:#EEE}.paper-board.arrival,.paper-board.contact{width:1440px;height:900px}.research-fit{background:#F0EEE6}

/* Take scaled artboards out of document sizing: no phantom 900px box. */
.page-section{height:100svh;min-height:0}.board-fit{position:absolute;left:50%;top:50%;width:1470px;height:717px;transform-origin:center}.paper-board.arrival,.paper-board.contact{width:1470px;height:717px}

/* Match the Paper surface beyond the fitted research artboard. */
#research-scroll,.research-sticky{background:#F0EEE6}#journey .pill{opacity:0;visibility:hidden}

/* Lenis owns easing; avoid competing native CSS smooth scrolling. */
html.lenis{scroll-behavior:auto!important}

/* Exact Paper final geometry; motion only changes the reveal en route. */
:root{--herlabs-logo:#FFF5C9}
.herlabs-logo,#journey .pill strong{color:var(--herlabs-logo)!important}
#arrival{height:145svh;display:block;overflow:visible}
.arrival-sticky{position:sticky;top:0;height:100svh;overflow:clip}
.arrival-panel,.arrival-answer{will-change:transform,opacity;transform-origin:50% 100%}
.contact-button .contact-glow{transition:filter .35s ease,transform .2s ease}
body[data-reveal="fade"] #arrival{height:135svh}
body[data-reveal="fade"] .arrival-panel,body[data-reveal="fade"] .arrival-answer{opacity:0;transition:none;will-change:opacity}
@media(prefers-reduced-motion:reduce){#arrival{height:100svh}.arrival-panel,.arrival-answer{will-change:auto}}

/* Stable chart paint prevents crossfade color contamination. */
.research-chart-surface{z-index:0;pointer-events:none}
.research-layer{z-index:1}
#research-morph{z-index:2}
@media(max-width:700px){.research-chart-surface{left:24px!important;top:275px!important;transform:scale(var(--chart-scale));transform-origin:top left}}

@media(prefers-reduced-motion:reduce){body[data-reveal="fade"] #arrival{height:100svh}}

/* One header instance spans arrival, Control, Resolve, and contact. */
.mobile-fit,#mobile-research{display:none}
body:has(#site-pill) .paper-nav,body:has(#site-pill) #journey .pill{visibility:hidden!important}
#site-pill{position:fixed;z-index:40;left:50%;top:var(--pill-top,34px);width:318.667px;height:57.36px;padding:0 22.3067px;border-radius:28.68px;background:#717AAF;display:flex;align-items:center;justify-content:space-between;transform:translate(-50%,var(--pill-scroll-y,0px)) scale(var(--pill-scale,1));transform-origin:top center;color:#F3F1E8;font:11.95px/14.34px Inter,Arial,sans-serif}
#site-pill strong{font:italic 900 23.9px/28.68px Inter,Arial,sans-serif;letter-spacing:-.06em;color:#FFF5C9}
#site-pill a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:700px){
 .mobile-fit{display:block;position:relative;width:390px;transform-origin:top left;flex-shrink:0}
 .mobile-board{position:relative}
 #arrival .arrival-sticky,#contact>.board-fit,#research-scroll{display:none!important}
 #arrival,body[data-reveal="fade"] #arrival{height:calc(952px * var(--mobile-scale,1));display:block;overflow:clip}
 #contact{height:calc(1040px * var(--mobile-scale,1));display:block;overflow:clip}
 #mobile-research{display:block;background:#F0EEE6}
 .mobile-research-section{position:relative;overflow:clip}
 .mobile-board .arrival-panel,.mobile-board .arrival-answer{transition:none}
 .mobile-board .paper-nav{visibility:visible}
 #site-pill{width:342px;height:60px;border-radius:29px}
 #stage{height:100svh}.intro{left:24px;right:24px;top:128px}.intro h1{font-size:28px;line-height:34px}
 .caption-wrap{bottom:16px;width:calc(100% - 40px);height:292px;display:block;transform:translateX(-50%)}
 .caption{position:absolute;top:0;width:100%;height:232px;min-height:232px;padding:20px;border-radius:24px}
 .caption h2{font:400 23px/28px Inter,Arial,sans-serif;margin:14px 0}
 .caption p{font:400 16px/23px Inter,Arial,sans-serif;color:#bbb}
 .caption #count{top:26px;right:26px}
 #prev,#next{position:absolute;bottom:0;width:44px;height:44px;z-index:2}#prev{left:0}#next{right:0}
 .steps{bottom:18px}.steps button{position:relative}.steps button:after{content:'';position:absolute;inset:-18px}
}
