/* Presentation-only: native document scroll over one persistent 3D world. */
.monkey-welcome { --core-bg:#04060e; --core-cyan:#58d9ff; --core-purple:#8c63ff; margin:0; color:#f5f3ef; background:var(--core-bg); font-family:'Inter','Prompt',sans-serif; overflow-x:clip; }
.monkey-welcome * { box-sizing:border-box; }
.monkey-welcome a { color:inherit; text-decoration:none; }
.monkey-welcome button { font:inherit; cursor:pointer; }
.monkey-welcome :is(a,button):focus-visible { outline:2px solid #71e4ff; outline-offset:5px; }
.core-gold { color:#e7c789; }
.core-header { position:fixed; z-index:30; top:0; left:0; right:0; height:90px; padding:0 clamp(24px,5.8vw,112px); display:flex; align-items:center; justify-content:space-between; gap:24px; background:linear-gradient(#04060ef8,#04060eef 72%,#04060ed1); backdrop-filter:blur(16px); }
.core-brand { display:flex; align-items:center; gap:11px; flex:none; }
.core-brand img { width:34px; height:34px; border-radius:50%; object-fit:cover; }
.core-brand>span { font-size:30px; font-weight:750; letter-spacing:-1.8px; line-height:1; }
.core-brand small { display:block; font:7px/1.5 'Inter',sans-serif; letter-spacing:1.85px; color:#8a95aa; margin-top:7px; }
.core-nav { display:flex; gap:32px; font-size:11px; color:#a9b0c0; }
.core-nav a { padding:10px 0; }
.core-nav a:hover { color:#fff; }
.core-header-actions { display:flex; align-items:center; gap:20px; }
.core-account { font-size:12px; color:#c1cce0 !important; }
.core-button { display:inline-flex; align-items:center; justify-content:center; gap:22px; min-height:58px; padding:8px 9px 8px 25px; border:1px solid #efede7; background:#efede7; color:#10131b !important; font:500 13px/1.65 'Prompt',sans-serif; border-radius:40px; box-shadow:0 5px 30px #00000018; transition:background .18s,border-color .18s,box-shadow .18s; white-space:nowrap; }
.core-button>span { display:grid; place-items:center; width:38px; height:38px; flex:none; border-radius:50%; background:#171c29; color:#f4f1ea; font:21px/1 sans-serif; transition:transform .18s,background .18s; }
.core-button:hover { background:#fff; border-color:#fff; box-shadow:0 0 38px #8dbeff17; }
.core-button:hover>span { background:#282e43; transform:rotate(45deg); }
.core-button-small { min-height:43px; padding:7px 16px; font-size:11px; gap:17px; color:#eeeae3 !important; border-color:#a1abc83b; background:transparent; box-shadow:none; }
.core-button-small>span { width:auto; height:auto; font-size:19px; background:none; }
.core-button-small:hover { background:#ffffff0d; border-color:#c3cadd80; }
.core-button-small:hover>span { background:none; }
.core-button-outline { color:#f1f0f4 !important; border-color:#a2adc055; background:#090d1880; box-shadow:none; }
.core-button-outline>span { background:#dfe7f2; color:#121927; }
.core-button-outline:hover { background:#11182a; border-color:#a1b6d8; }
.core-button-outline:hover>span { background:#fff; }
.core-menu-button { width:44px; height:44px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; border:1px solid #91a6cc33; border-radius:50%; background:transparent; transition:border-color .18s; }
.core-menu-button:hover { border-color:#bbc9e577; }
.core-menu-button span { width:15px; height:1px; background:#d8e7ff; }
.core-story { position:relative; }
.core-stage { position:sticky; top:0; height:100vh; height:100svh; width:100%; overflow:hidden; isolation:isolate; background:var(--core-bg); }
.core-stage canvas,.core-fallback { position:absolute; inset:0; width:100%; height:100%; display:block; pointer-events:none; }
.core-fallback img { width:100%; height:100%; object-fit:cover; display:block; }
.core-stage canvas { opacity:0; visibility:hidden; transition:opacity .5s; }
.core-stage.is-rendered canvas { opacity:1; visibility:visible; }
.core-stage.is-rendered .core-fallback { visibility:hidden; }
.core-vignette { position:absolute; z-index:1; inset:0; pointer-events:none; background:linear-gradient(90deg,#04060ed9, #04060e8a 25%,transparent 55%),linear-gradient(0deg,#04060e9c,transparent 20%,transparent 85%,#04060e77); }
.core-chapters { position:relative; z-index:2; margin-top:-100vh; margin-top:-100svh; pointer-events:none; }
.core-chapter { min-height:100vh; min-height:100svh; padding:152px clamp(40px,6.3vw,132px) 104px; display:flex; align-items:center; scroll-margin-top:0; }
.core-copy { width:min(680px,49%); pointer-events:auto; }
.core-kicker { display:flex; align-items:center; gap:13px; color:#adb1c5; font:9px/1.7 'Inter',sans-serif; letter-spacing:2.9px; margin:0 0 25px; }
.core-kicker>span { display:block; width:29px; height:1px; flex:none; background:#cbbd9e; }
.core-copy h1,.core-copy h2 { font:400 clamp(56px,6.35vw,112px)/1.27 'Prompt',sans-serif; letter-spacing:-.04em; margin:0 0 27px; color:#f4f2ed; text-shadow:0 4px 40px #02040d30; }
.core-copy h2 { font-size:clamp(48px,5.55vw,94px); }
.core-copy em { font-style:normal; font-weight:500; color:#c8d7f1; background:linear-gradient(110deg,#e4e6fa 10%,#bfcce9 65%,#9fc4ed); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.core-description { font:400 14px/2.05 'Prompt',sans-serif; color:#aeb5c7; margin:0 0 30px; max-width:485px; text-wrap:pretty; }
.core-copy-actions { display:flex; align-items:center; gap:25px; flex-wrap:wrap; }
.core-text-link { display:inline-flex; align-items:center; gap:12px; font:400 11px/1.6 'Prompt',sans-serif; min-height:44px; color:#b9bfce !important; }
.core-text-link:hover { color:#fff !important; }
.core-scroll-cue { display:flex; align-items:center; gap:13px; margin:42px 0 0; font:400 9px/1.6 'Prompt',sans-serif; color:#8a94aa; }
.core-scroll-cue span { display:flex; justify-content:center; align-items:center; width:21px; height:30px; color:#a8b3c9; font:20px/1 sans-serif; }
.core-object-label { position:absolute; z-index:2; pointer-events:none; bottom:14%; right:9%; text-align:right; font:8px/1.7 'Inter',sans-serif; letter-spacing:2.5px; color:#b1bacb; }
.core-object-label>span { display:inline-block; width:4px; height:4px; border-radius:50%; background:#b5e0fb; margin-right:9px; box-shadow:0 0 13px #58d9ff; }
.core-object-label i { display:block; margin:6px 0 0 14px; font:6px/1.5 'Inter',sans-serif; color:#68788f; letter-spacing:2.1px; }
.core-chapter-nav { position:absolute; z-index:5; right:24px; top:50%; transform:translateY(-50%); display:flex; flex-direction:column; gap:9px; }
.core-chapter-nav a { position:relative; min-width:44px; min-height:44px; display:grid; place-items:center; color:#68728a; font:8px/1 'Inter',sans-serif; letter-spacing:1px; }
.core-chapter-nav a::before { content:''; position:absolute; left:1px; width:2px; height:0; background:#bedcf8; transition:height .2s; }
.core-chapter-nav a[aria-current=step] { color:#e3e8f3; }
.core-chapter-nav a[aria-current=step]::before { height:16px; }
.core-chapter-nav a:hover { color:#fff; }
.core-scene-controls { position:absolute; z-index:5; bottom:24px; right:clamp(24px,5.8vw,112px); display:flex; align-items:center; gap:16px; }
.core-load-state { font:10px/1.7 'Prompt',sans-serif; color:#97a9c6; }
.core-load-state:empty { display:none; }
.core-motion { min-height:44px; padding:9px 13px; font:9px/1.5 'Prompt',sans-serif !important; color:#9da9bd; background:#060b1580; border:1px solid #8b9ab22b; border-radius:25px; }
.core-motion:hover { border-color:#91a8c577; color:#fff; }
.core-motion[hidden] { display:none; }
.core-progress { position:absolute; bottom:0; height:1px; width:100%; z-index:6; background:#6d7b9924; }
.core-progress span { display:block; width:100%; height:100%; background:linear-gradient(90deg,#8fd0ed,#ada4df); transform:scaleX(var(--story-progress,0)); transform-origin:left; }
.core-feature-line { color:#91a9c6; font:11px/1.8 'Prompt',sans-serif; margin:0 0 28px; }
.core-feature-line span { margin:0 12px; color:#757cd0; }
.core-fine-print { color:#7c8fa9; font:10px/1.8 'Prompt',sans-serif; margin-top:16px; }
.core-tools { display:grid; gap:0; max-width:420px; margin-top:30px; border-top:1px solid #86a2d333; }
.core-tools a { display:flex; align-items:center; gap:16px; padding:15px 6px; border-bottom:1px solid #86a2d333; background:#04060e66; transition:background .18s; }
.core-tools a:hover { background:#17203880; }
.core-tools a>span:nth-child(2) { flex:1; font:400 14px/1.5 'Prompt',sans-serif; color:#d6e2f6; }
.core-tools small { display:block; margin-top:4px; color:#91a3bf; font:10px/1.7 'Prompt',sans-serif; }
.core-tool-symbol { width:28px; height:34px; flex:none; display:grid; place-items:center; color:#b0bed9; font:24px/1 sans-serif; }
.core-tools b { font:18px/1 sans-serif; color:#84a5c3; }
.core-final-links { display:flex; gap:24px; flex-wrap:wrap; border-top:1px solid #7689b52b; padding-top:25px; margin-top:38px; color:#849ab8; font:11px/1.7 'Prompt',sans-serif; }
.core-footer { position:relative; z-index:3; display:flex; align-items:center; gap:28px; padding:30px clamp(24px,5.8vw,112px); border-top:1px solid #52638433; background:var(--core-bg); color:#8590a7; font-size:10px; }
.core-footer-brand { font-size:28px; font-weight:750; letter-spacing:-1.5px; color:#ecf0fb !important; }
.core-footer nav { margin-left:auto; display:flex; gap:22px; }
.core-menu { position:fixed; inset:0 0 0 auto; height:100dvh; max-height:none; width:min(420px,100%); max-width:100%; margin:0; padding:30px; background:#0c1323fa; color:#e0eafb; border:0; border-left:1px solid #88a1d145; overflow:auto; z-index:100; }
.core-menu::backdrop { background:#030611b0; backdrop-filter:blur(8px); }
.monkey-welcome:has(.core-menu[open]) { overflow:hidden; }
.core-menu-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.core-menu-heading h2 { font:500 20px/1.6 'Prompt',sans-serif; }
.core-menu-heading button { width:44px; height:44px; border:1px solid #6e8ab04d; background:#12213a; color:#c4d7f1; border-radius:50%; font-size:25px; }
.core-menu nav { display:grid; }
.core-menu nav a { display:flex; justify-content:space-between; align-items:center; min-height:48px; padding:12px 4px; border-bottom:1px solid #7589b324; color:#bdcde3; font:400 13px/1.6 'Prompt',sans-serif; }
.core-menu nav a:hover { color:#8adfff; }
.core-skip { position:fixed; top:-100px; left:18px; z-index:200; padding:12px 18px; color:#071022 !important; background:#a9edff; border-radius:5px; }
.core-skip:focus { top:12px; }
.core-no-script { position:fixed; bottom:10px; left:10px; z-index:10; padding:10px; background:#142138; color:#dbe8ff; font-size:12px; }
@media (min-width:1800px) { .core-copy { width:730px; } }
@media (max-width:1150px) { .core-nav { display:none; } .core-copy { width:52%; } .core-chapter { padding-left:6vw; padding-right:6vw; } .core-copy h1 { font-size:clamp(54px,6.2vw,72px); } .core-copy h2 { font-size:clamp(46px,5.5vw,64px); } .core-description { font-size:14px; } .core-copy-actions { gap:16px; } .core-button { font-size:12px; gap:16px; padding-left:20px; } .core-chapter-nav { right:8px; } }
@media (max-width:700px) {
  .core-header { height:74px; padding:0 18px; gap:12px; }
  .core-brand { gap:8px; } .core-brand img { width:27px; height:27px; } .core-brand>span { font-size:25px; } .core-brand small { font-size:5.5px; letter-spacing:1.1px; margin-top:5px; }
  .core-header-actions { gap:10px; } .core-account { display:none; } .core-button-small { min-height:44px; padding:8px 12px; font-size:10px; gap:8px; } .core-menu-button { width:44px; height:44px; }
  .core-chapter { min-height:100svh; padding:50svh 26px 90px; align-items:flex-start; }
  .core-copy { width:100%; max-width:500px; padding-top:4px; }
  .core-copy h1,.core-copy h2 { font-size:clamp(39px,11.3vw,68px); line-height:1.3; letter-spacing:-.035em; margin-bottom:17px; }
  .core-kicker { font-size:7px; letter-spacing:1.65px; gap:10px; margin-bottom:14px; }
  .core-kicker>span { width:21px; }
  .core-description { font-size:12.5px; line-height:1.9; margin-bottom:21px; max-width:390px; }
  .core-description br { display:none; }
  .core-vignette { background:linear-gradient(0deg,#04060ef5 5%,#04060eee 30%,#04060e8a 45%,transparent 62%,#04060e55 93%); }
  .core-object-label { top:16%; bottom:auto; right:7%; font-size:6px; letter-spacing:1.4px; opacity:.7; } .core-object-label i { font-size:5px; letter-spacing:1.2px; }
  .core-copy-actions { gap:13px; } .core-button { min-height:50px; padding:7px 8px 7px 18px; font-size:10px; gap:14px; } .core-button>span { width:32px; height:32px; font-size:18px; } .core-text-link { font-size:10px; min-height:44px; gap:7px; }
  .core-button-small { min-height:44px; padding:7px 12px; gap:9px; } .core-button-small>span { width:auto; height:auto; }
  .core-scroll-cue { font-size:8px; margin-top:21px; } .core-scroll-cue span { height:22px; width:17px; font-size:17px; }
  .core-chapter-nav { top:auto; bottom:18px; left:16px; right:auto; transform:none; flex-direction:row; gap:0; }
  .core-chapter-nav a { min-width:33px; min-height:44px; font-size:7px; }
  .core-chapter-nav a::before { width:0; height:1px; left:50%; bottom:4px; transform:translateX(-50%); transition:width .2s; }
  .core-chapter-nav a[aria-current=step]::before { width:12px; height:1px; }
  .core-scene-controls { bottom:19px; right:18px; max-width:calc(100% - 210px); }
  .core-motion { font-size:8px !important; min-height:44px; padding:8px 10px; } .core-load-state { font-size:8px; }
  .core-feature-line { font-size:10px; margin-bottom:20px; } .core-feature-line span { margin:0 6px; }
  .core-fine-print { font-size:9px; max-width:270px; }
  .core-tools { margin-top:19px; max-width:100%; } .core-tools a { padding:11px 0; gap:12px; } .core-tools a>span:nth-child(2) { font-size:12px; } .core-tools small { font-size:9px; }
  .core-chapter[data-core-chapter="3"] { padding-top:42svh; }
  .core-chapter[data-core-chapter="3"] h2 { font-size:clamp(34px,9.5vw,56px); }
  .core-final-links { gap:19px; margin-top:22px; padding-top:17px; font-size:10px; }
  .core-footer { padding:25px 24px; flex-wrap:wrap; gap:12px 20px; } .core-footer>span { font-size:9px; } .core-footer nav { width:100%; margin-left:0; font-size:10px; gap:18px; }
}
@media (max-width:370px) { .core-brand img { display:none; } .core-header { padding-inline:16px; } .core-chapter { padding-inline:20px; } .core-copy-actions { gap:6px 12px; } .core-copy h1,.core-copy h2 { font-size:39px; } .core-description { font-size:12.5px; } .core-button { gap:9px; padding-left:14px; font-size:9px; } .core-text-link { font-size:9px; } }
@media (min-width:701px) and (max-height:650px) { .core-chapter { padding-top:118px; padding-bottom:74px; } .core-copy h1 { font-size:68px; } .core-copy h2 { font-size:57px; } .core-kicker { margin-bottom:14px; } .core-description { margin-bottom:20px; } .core-scroll-cue { margin-top:24px; } }
@media (prefers-reduced-motion:reduce) { .monkey-welcome *, .core-stage canvas { scroll-behavior:auto !important; transition:none !important; } }
@media print { .core-stage,.core-header,.core-menu { display:none; } .core-chapters { margin:0; } .core-chapter { min-height:0; padding:24px; break-inside:avoid; } .core-copy { width:100%; } .core-copy h1,.core-copy h2 { font-size:30px; } }
