:root { color-scheme: light; }
html { scroll-behavior: auto; }
body.home { display: block; height: calc(100svh + 1100px); background: #fff; }
.home .home-stage { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mhoo-text { touch-action: pan-y; transform-origin: 50% 50%; }
.mhoo-legal-footer { z-index: 5; }
.mhoo-social-orbit { position:fixed; top:clamp(1rem,3vw,2.5rem); right:clamp(1rem,3vw,2.5rem); z-index:6; display:flex; gap:.55rem; }
.mhoo-social-orbit a { position:relative; display:grid; place-items:center; width:2.45rem; height:2.45rem; border:1px solid #45627e24; border-radius:50%; color:#33485d; background:#ffffff9c; text-decoration:none; backdrop-filter:blur(10px); transition:transform .35s cubic-bezier(.2,.7,.2,1),color .3s,border-color .3s,box-shadow .35s; }
.mhoo-social-orbit a::before { content:''; position:absolute; inset:-7px; border-radius:50%; opacity:.26; background:radial-gradient(circle at 18% 32%,currentColor 0 1px,transparent 1.5px),radial-gradient(circle at 78% 28%,currentColor 0 1px,transparent 1.4px),radial-gradient(circle at 82% 76%,currentColor 0 1px,transparent 1.5px),radial-gradient(circle at 25% 78%,currentColor 0 1px,transparent 1.3px); }
.mhoo-social-orbit svg { width:1.05rem; height:1.05rem; fill:currentColor; }
.mhoo-social-orbit span { position:absolute; top:calc(100% + .45rem); left:50%; transform:translate(-50%,3px); padding:.2rem .38rem; border-radius:.3rem; color:#33485d; background:#ffffffd9; font:9px/1.3 ui-monospace,monospace; letter-spacing:.08em; text-transform:uppercase; opacity:0; pointer-events:none; transition:opacity .25s,transform .25s; }
.mhoo-social-orbit a:is(:hover,:focus-visible) { color:#075cff; border-color:#075cff55; transform:scale(1.09); box-shadow:0 0 28px #075cff18; outline:none; }
.mhoo-social-orbit a:is(:hover,:focus-visible) span { opacity:1; transform:translate(-50%,0); }
body[data-scene='content'] .mhoo-social-orbit { opacity:.46; }
@media(max-width:520px){.mhoo-social-orbit{top:.85rem;right:.85rem}.mhoo-social-orbit a{width:2.2rem;height:2.2rem}}
#particle-world { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; transition: opacity .75s ease,filter .9s ease; }
#enter-particle-world { position: fixed; left: 50%; bottom: 5rem; transform: translateX(-50%); opacity: 0; pointer-events: none; z-index: 6; border: 1px solid #075cff; border-radius: 1rem; padding: .7rem 1rem; background: white; color: #075cff; }
#enter-particle-world:focus-visible { opacity: 1; pointer-events: auto; }
#particle-links { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
#particle-links :is(button,a) { position: absolute; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #34485f; padding: 0; pointer-events: auto; cursor: pointer; border-radius: 50%; font: 500 12px/1.5 Inter, ui-sans-serif, system-ui, sans-serif; }
#particle-links :is(button,a)::before { content:''; width: 42px; height: 42px; border-radius: 50%; opacity: .42; transform: scale(.82); transition: opacity .35s ease,transform .5s cubic-bezier(.2,.7,.2,1); background: radial-gradient(circle at 50% 50%,#172033 0 1px,transparent 1.5px),radial-gradient(circle at 30% 34%,#17203399 0 1px,transparent 1.7px),radial-gradient(circle at 68% 28%,#17203388 0 1px,transparent 1.5px),radial-gradient(circle at 72% 68%,#17203377 0 1px,transparent 1.8px),radial-gradient(circle at 28% 72%,#17203366 0 1px,transparent 1.6px); }
.particle-hologram { position: absolute; left: 50%; top: 50%; width: clamp(220px,26vw,340px); aspect-ratio: 16/9; overflow: hidden; border-radius: 48% 52% 46% 54% / 54% 44% 56% 46%; opacity: 0; transform: translate(-50%,-50%) scale(.28); filter: blur(6px); pointer-events: none; isolation:isolate; transition:opacity .3s ease,transform .65s cubic-bezier(.16,.8,.2,1),filter .45s ease,border-radius .65s ease; background:radial-gradient(ellipse at center,#ffffffee 0 24%,#e9eef1d9 52%,transparent 76%); box-shadow:0 0 var(--hologram-glow,52px) #16283c24,inset 0 0 42px #fff; }
.particle-hologram::before,.particle-hologram::after { content:''; position:absolute; inset:0; z-index:2; }
.particle-hologram::before { opacity:.62; mix-blend-mode:screen; background: repeating-linear-gradient(0deg,transparent 0 3px,#9bc9ed26 4px 5px),radial-gradient(circle at 18% 33%,#fff 0 1px,transparent 1.8px),radial-gradient(circle at 72% 21%,#b8dfff 0 1px,transparent 2px),radial-gradient(circle at 82% 67%,#fff 0 1.2px,transparent 2.1px),radial-gradient(circle at 36% 78%,#8cc7f1 0 1px,transparent 2px); background-size:auto,37px 31px,43px 39px,53px 47px,61px 57px; animation:hologram-drift 7s linear infinite; }
.particle-hologram::after { inset:auto 8% 3%; height:12%; border-radius:50%; background:#6bb5ed35; filter:blur(9px); transform:perspective(80px) rotateX(62deg); }
.particle-hologram-media,.particle-hologram-fallback { position:absolute; inset:8%; border-radius:inherit; overflow:hidden; }
.particle-hologram-media :is(img,video) { width:100%; height:100%; object-fit:cover; opacity:.68; filter:grayscale(.7) contrast(1.08) brightness(1.12); mix-blend-mode:multiply; }
.particle-hologram-fallback { opacity:.82; background: radial-gradient(circle at 35% 42%,#18232f 0 1.2px,transparent 2px),radial-gradient(circle at 64% 30%,#40586b 0 1px,transparent 1.9px),radial-gradient(circle at 58% 69%,#0c1822 0 1.3px,transparent 2.1px),radial-gradient(circle at 30% 73%,#6d8292 0 1px,transparent 1.9px); background-size:19px 17px,23px 21px,29px 27px,31px 33px; animation:hologram-drift 9s linear infinite reverse; mask-image:radial-gradient(ellipse,#000 28%,#000b 55%,transparent 78%); }
#particle-links :is(button,a)[data-has-preview='true'] .particle-hologram-fallback { opacity:.2; }
#particle-links :is(button,a)[data-preview='true'] .particle-hologram { opacity:min(.98,var(--hologram-intensity,.94)); transform:translate(calc(-50% + var(--preview-x,0px)),calc(-50% + var(--preview-y,0px))) scale(1); filter:blur(0); border-radius:10% 13% 11% 14% / 12% 10% 14% 11%; }
#particle-links :is(button,a)[data-preview='true'] .particle-label { opacity:1; }
@keyframes hologram-drift { to { background-position:0 0,37px -31px,-43px 39px,53px -47px,-61px 57px; } }
.particle-label { position: absolute; top: 60%; left: 50%; transform: translateX(-50%) translateY(3px); width: 220px; padding: .45rem .7rem; text-align: center; opacity: 0; pointer-events: none; transition: opacity .35s,transform .35s; background: #ffffffa8; border-radius: .4rem; }
.particle-label small { display: block; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #6b7d92; margin-bottom: .2rem; }
#particle-links :is(button,a)[data-in-view="true"] .particle-label { opacity: .62; transform: translateX(-50%) translateY(0); }
.particle-summary { display: block; margin-top: .28rem; color: #68778a; font-size: 10px; font-weight: 400; line-height: 1.35; }
#particle-links :is(button,a)[data-revealed="true"] .particle-label, #particle-links :is(button,a):focus-visible .particle-label { opacity: 1; transform: translateX(-50%) translateY(0); }
#particle-links :is(button,a)[data-revealed="true"]::before, #particle-links :is(button,a):hover::before, #particle-links :is(button,a):focus-visible::before { opacity: .92; transform: scale(1.12); }
#particle-links :is(button,a):hover { color: #075cff; }
#particle-links :is(button,a):focus-visible { outline: 2px solid #075cff; outline-offset: 8px; }
#particle-links :is(button,a)[hidden] { display: none; }
#particle-story { width: min(34rem, calc(100vw - 2rem)); padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid #e3e7ed; border-radius: 1rem; color: #172033; box-shadow: 0 20px 100px #10234920; }
#particle-story::backdrop { background: #ffffffdc; backdrop-filter: blur(8px); }
#particle-story h1 { margin: .3rem 0 1rem; font-size: 2rem; letter-spacing: -.05em; }
#particle-story p { line-height: 1.7; }
.story-kind, .story-note { color: #667384; font-size: .8rem; }
.story-close { float: right; color: #172033; border: 0; background: transparent; font-size: 1.7rem; cursor: pointer; }
.particle-fallback #particle-links { position: relative; inset: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 75svh 1rem 7rem; }
.particle-fallback #particle-links :is(button,a) { position: static; min-width: 220px; }
.particle-fallback .particle-label { position: static; transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
 body.home { height: auto; min-height: 100svh; padding-bottom: 9rem; }
 .home .home-stage { position: relative; left: auto; top: auto; transform: none; margin: auto; min-height: 75svh; }
 #particle-world { display: none; }
 #particle-links { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; padding: 1rem; }
 #particle-links :is(button,a) { position: static; color: #1c58bd; opacity: 1; font: inherit; width: auto !important; height: auto !important; }
 .particle-label { position: static; transform: none; opacity: 1; transition: none; }
 .particle-hologram,.particle-hologram::before,.particle-hologram-fallback { animation:none; transition:none; }
}

#particle-links a { text-decoration: none; }
#particle-story { width: min(43rem,calc(100vw - 2rem)); max-height: calc(100svh - 3rem); overflow-y: auto; }
#particle-story h2 { font-size: 1.15rem; margin-top: 2rem; }
#particle-story a { color: #185bbb; text-underline-offset: .2em; }
#particle-story article>nav { border-top: 1px solid #e5eaf0; margin-top: 2rem; padding-top: .5rem; }
#particle-story li { margin: .55rem 0; }
.story-field-return { border: 0; padding: 0; background: none; color: #185bbb; font: inherit; text-decoration: underline; cursor: pointer; }
.no-motion-writing { position: fixed; bottom: 5rem; left: 1rem; z-index: 8; }

/* One persistent world, with an editorial surface resolving inside it.
   No modal backdrop, opaque page, or scene teardown during navigation. */
#particle-story {
 position: fixed; inset: 0; z-index: 4; box-sizing: border-box;
 width: 100%; height: 100svh; max-height: none; margin: 0;
 padding: clamp(1.5rem,4vw,4rem) clamp(1.5rem,8vw,9rem) 9rem;
 border: 0; border-radius: 0; box-shadow: none;
 background: linear-gradient(105deg,#fbfaf7fa 0%,#fffefbf5 58%,#faf9f5eb 82%,#f8f7f2d1 100%);
 overflow-y: auto; overscroll-behavior: contain;
 opacity: 0; visibility: hidden; pointer-events: none;
 transform: translate3d(0,24px,0) scale(.985);
 transition: opacity .65s ease,transform .9s cubic-bezier(.2,.7,.2,1),visibility 0s .9s;
}
#particle-story.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.story-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font: 10px/1.5 ui-monospace,monospace; letter-spacing: .18em; }
#particle-story .story-close { float: none; font: inherit; font-size: 13px; letter-spacing: 0; padding: .8rem 1rem; border: 1px solid #17203322; border-radius: 2rem; background: #ffffff55; }
.story-composition { max-width: 76rem; margin: clamp(3rem,9vh,7rem) auto 0; transform: translate(var(--depth-x,0px),var(--depth-y,0px)); }
#particle-story .story-kind { text-transform: uppercase; letter-spacing: .18em; font-size: 11px; color: #486d9a; }
#particle-story h1 { max-width: 16ch; font-size: clamp(2.7rem,6.5vw,7rem); font-weight: 500; line-height: 1.03; letter-spacing: -.065em; margin: 1.5rem 0 3rem; text-wrap: balance; }
#story-copy article { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: 0 clamp(2rem,6vw,6rem); }
#story-copy article > * { grid-column: 1; }
#story-copy article > p { max-width: 55ch; margin: 0 0 1.5rem; font-size: clamp(1rem,1.4vw,1.2rem); line-height: 1.85; }
#story-copy article > p:has(.story-media), #story-copy article > figure { grid-column: 1 / -1; max-width: none; margin: 2rem 0 3rem; }
#story-copy .story-media { display: block; }
#story-copy :is(img,video) { display: block; width: 100%; max-height: 68vh; object-fit: contain; border-radius: 4px; background: #eaf0f655; box-shadow: 0 25px 80px #2449690a; }
#story-copy :is(figcaption,.media-caption) { display: block; font-size: .8rem; color: #597089; margin-top: 1rem; }
#particle-story h2 { font-size: clamp(1.2rem,2vw,1.8rem); font-weight: 500; letter-spacing: -.035em; margin: 2rem 0 1rem; }
#story-copy article > nav { grid-column: 2; grid-row: 1 / span 5; align-self: start; border: 0; border-left: 1px solid #537dab33; padding: 0 0 0 2rem; margin-top: 0; }
#story-copy nav ul { list-style: none; padding: 0; }
#story-copy nav a { display: block; padding: .9rem 0; text-decoration: none; border-bottom: 1px solid #537dab22; }
#story-copy nav a::after { content: ' ↗'; }
.story-note { margin-top: 4rem; }
body[data-scene='content'] #particle-links, body[data-scene='travel'] #particle-links { pointer-events: none; }
body[data-scene='content'] #particle-world { opacity: var(--reading-particle-opacity,.06); filter: saturate(.35) contrast(.62); }
body[data-scene='travel'] #particle-world { opacity: .88; }
#particle-story[data-presentation='founder-timeline'] { --timeline-progress:0; background:linear-gradient(90deg,#fbfaf7f7 0%,#fffefbf0 55%,#faf9f4d8 100%); }
#particle-story[data-presentation='founder-timeline']::after { content:''; position:fixed; top:0; left:clamp(1rem,4vw,4rem); width:1px; height:100svh; z-index:-1; transform-origin:top; transform:scaleY(var(--timeline-progress)); background:linear-gradient(#17203318,#17203388); }
#particle-story[data-presentation='founder-timeline'] .story-composition { max-width:88rem; }
#particle-story[data-presentation='founder-timeline'] #story-copy article { display:block; }
#particle-story[data-presentation='founder-timeline'] #story-copy article>p:first-child { max-width:48rem; font-size:clamp(1.15rem,2vw,1.65rem); line-height:1.65; margin-bottom:18vh; }
#particle-story[data-presentation='founder-timeline'] .founder-chapter { position:relative; min-height:78vh; width:min(60rem,82vw); margin:0 auto; padding:18vh 0 12vh clamp(1rem,8vw,8rem); opacity:.4; transform:translate3d(0,7vh,0) scale(.975); transition:opacity .7s ease,transform 1s cubic-bezier(.2,.7,.2,1); }
#particle-story[data-presentation='founder-timeline'] .founder-chapter::before { content:attr(data-chapter); position:absolute; left:0; top:19vh; color:#57718e88; font:10px/1 ui-monospace,monospace; letter-spacing:.2em; }
#particle-story[data-presentation='founder-timeline'] .founder-chapter[data-active='true'] { opacity:1; transform:none; }
#particle-story[data-presentation='founder-timeline'] .founder-chapter h2 { max-width:17ch; margin:0 0 2rem; font-size:clamp(2.3rem,5vw,5.8rem); line-height:1.02; letter-spacing:-.06em; }
#particle-story[data-presentation='founder-timeline'] .founder-chapter p { max-width:48ch; font-size:clamp(1rem,1.45vw,1.25rem); line-height:1.85; }
#particle-story[data-presentation='founder-timeline'] #story-copy article>nav { display:block; width:min(60rem,82vw); margin:10vh auto 0; padding:3rem 0 0; border:0; border-top:1px solid #537dab33; }
@media(max-width:700px) {
 #story-copy article { display: block; }
 #story-copy article > nav { margin-top: 3rem; padding: 0; border: 0; }
 #particle-story { background: linear-gradient(105deg,#fbfaf7fc,#fffefbf7 72%,#f8f7f2eb); }
 #particle-story[data-presentation='founder-timeline'] .founder-chapter { width:100%; padding-left:2.2rem; }
}
@media(prefers-reduced-motion:reduce) { #particle-story { transition: none; transform: none; } .story-composition { transform: none; } }
