:root{color-scheme:dark;--bg:#090b0d;--ink:#e1e2df;--muted:#969d9e;--dim:#767f82;--gold:#c4a779;--line:#d4d9d717;--gutter:clamp(1.4rem,4vw,5rem);--header:100px;--sans:Inter,"Helvetica Neue",Arial,sans-serif;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:var(--header)}body{margin:0;background:var(--bg);color:var(--ink);font:1rem/1.65 var(--sans);-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500;line-height:1.08}button{font:inherit;color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button{border:0}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:5px}::selection{background:#b897624d;color:#fff}.wrap{width:min(1440px,100% - var(--gutter)*2);margin-inline:auto}.skip-link{position:fixed;top:-5rem;left:1rem;z-index:200;background:var(--ink);color:var(--bg);padding:.7rem 1rem}.skip-link:focus{top:1rem}.eyebrow{display:flex;align-items:center;gap:.8rem;font: .8125rem/1.5 var(--mono);letter-spacing:.11em;color:#a2a8a7}.eyebrow>span{font-size:.875rem;border:1px solid #bca37b66;color:#d4bd94;width:1.8rem;height:1.8rem;display:inline-flex;align-items:center;justify-content:center;letter-spacing:0}
.site-header{position:fixed;inset:0 0 auto;z-index:30;min-height:var(--header);display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:.9rem var(--gutter);background:linear-gradient(180deg,#111416f5,#090c0fef);border-bottom:1px solid #d5c09529;box-shadow:0 8px 25px #0003;backdrop-filter:blur(16px)}.brand{display:flex;flex-direction:column;flex-shrink:0;gap:.05rem}.brand img{width:235px;height:auto}.brand>span{font: .75rem/1.5 var(--mono);letter-spacing:.07em;color:#8b928f;margin-left:42px}.world-nav{display:flex;gap:clamp(1.2rem,3vw,3rem)}.world-nav a{display:flex;align-items:center;gap:.65rem;padding:1rem 0;position:relative;font-size:.875rem;color:#9b9f9e;transition:color .3s}.world-nav a span{font-family:var(--mono);font-size:.75rem;color:#8d8576}.world-nav a::after{content:"";height:1px;position:absolute;inset:auto 0 0;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .6s}.world-nav a[aria-current=location],.world-nav a:hover{color:#e7e5dd}.world-nav a[aria-current=location] span{color:#d4b17c}.world-nav a[aria-current=location]::after{transform:scaleX(1)}.motion-toggle{display:flex;align-items:center;gap:.5rem;background:none;color:#a0a8a7;min-height:44px;font-size:.75rem;white-space:nowrap;padding:.5rem 0 .5rem 1.25rem;border-left:1px solid var(--line)}.motion-icon{font-size:1.2rem;line-height:1;min-width:20px;text-align:center}.reading-line{height:1px;position:absolute;inset:auto 0 -1px;transform:scaleX(var(--reading-progress,0));transform-origin:left;background:linear-gradient(90deg,#b59c77,#f0d398);opacity:.9}
main{padding-top:var(--header)}.world{position:relative;scroll-margin-top:0}.world-scene{position:relative;isolation:isolate;max-width:1800px;margin-inline:auto;overflow:hidden}.world-view{position:relative;width:100%;aspect-ratio:1672/941;transform:translateY(var(--scene-drift,0px)) scale(1.015);transform-origin:center;mask-image:linear-gradient(to bottom,transparent,#000 5%,#000 88%,transparent)}.world-image{width:100%;height:100%;object-fit:contain}.ambient,.hotspots{position:absolute;inset:0;width:100%;height:100%}.ambient{pointer-events:none}.world-copy{position:absolute;left:var(--gutter);top:21%;width:25%;max-width:355px;pointer-events:auto;z-index:2;text-shadow:0 2px 18px #000}.world-copy h1,.world-copy h2{font-size:clamp(2.25rem,3.9vw,4.25rem);letter-spacing:-.05em;line-height:1.04;margin-top:1.7rem}.world-copy em{font-style:normal;color:#b8bab5}.world-description{font-size:1rem;line-height:1.8;color:#a1a8a7;margin-top:1.65rem;max-width:290px}.world-names{font-size:.875rem;line-height:1.7;color:#b5b1a5;margin-top:1.1rem}.interaction-hint{font-size:.75rem;line-height:1.5;color:#8c9494;display:flex;align-items:center;gap:.5rem;margin-top:2.1rem}.interaction-hint>span{font-size:1.125rem;color:#bda275}.world-foot{position:relative;z-index:3;margin-top:-1.6rem;display:flex;justify-content:space-between;align-items:center;gap:2rem;padding-block:1.2rem;border-top:1px solid var(--line)}.cast{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem 1.3rem}.cast-person{display:flex;align-items:center;gap:.5rem;background:transparent;padding:.6rem 0;color:#a3a9a7;font-size:.875rem;min-height:44px;transition:color .3s}.cast-person::before{content:"";width:4px;height:4px;background:var(--person-accent);opacity:.7;transition:box-shadow .5s}.cast-person:hover,.cast-person.is-selected,.cast-person:focus-visible{color:#f0e4cc}.cast-person:hover::before,.cast-person.is-selected::before{box-shadow:0 0 8px var(--person-accent)}.cast-person[data-person=thor]{color:#b5a387}.cast-person[data-person=thor]::before{height:10px;width:1px}.next-world,.director-link{display:flex;align-items:center;gap:1.2rem;font-size:.8125rem;white-space:nowrap;color:#9a9f9c;min-height:44px;background:none;padding:0}.next-world>span:last-child,.director-link>span:last-child{font-size:1.2rem;color:var(--gold);transition:transform .3s}.next-world:hover>span:last-child{transform:translateY(3px)}.next-world:hover,.director-link:hover{color:#d2c0a2}.passage{display:flex;align-items:center;gap:1rem;font: .75rem/1.5 var(--mono);letter-spacing:.12em;color:#78817f;min-height:130px}.passage-line{height:1px;width:60px;background:linear-gradient(90deg,#9d8057,#9d805700)}
.hotspot{position:absolute;padding:0;min-width:28px;min-height:44px;background:transparent;cursor:pointer;color:var(--person-accent);border:0;touch-action:manipulation}.hotspot::before{content:"";position:absolute;width:16px;height:16px;left:50%;top:55%;transform:translate(-50%,-50%) rotate(45deg);border:1px solid currentColor;opacity:.45;box-shadow:0 0 10px #0009;transition:opacity .6s,transform .6s,box-shadow .6s;background:#090b0d75}.hotspot::after{content:"";position:absolute;width:3px;height:3px;border-radius:50%;left:50%;top:55%;transform:translate(-50%,-50%);background:currentColor;opacity:.7}.hotspot:hover::before,.hotspot:focus-visible::before,.hotspot.is-selected::before{opacity:1;transform:translate(-50%,-50%) rotate(45deg) scale(1.25);box-shadow:0 0 16px #dbc79625}.hotspot-name{position:absolute;top:calc(55% + 20px);left:50%;transform:translate(-50%,5px);font-size:.8125rem;line-height:1.3;white-space:nowrap;padding:.4rem .6rem;background:#0a0c0deb;border:1px solid #ffffff1c;color:#e2dccf;opacity:0;transition:opacity .45s,transform .45s;pointer-events:none;z-index:1}.hotspot:hover .hotspot-name,.hotspot:focus-visible .hotspot-name,.hotspot.is-selected .hotspot-name{opacity:1;transform:translate(-50%,0)}.hotspot:focus-visible{outline:1px solid #d6c4964d;outline-offset:-4px}.system-note{padding-block:5rem 6rem;display:grid;grid-template-columns:1fr 1fr;column-gap:5rem;border-top:1px solid var(--line);margin-top:3.5rem}.system-note>.eyebrow{grid-column:1/-1;margin-bottom:1.5rem}.system-note h2{font-size:clamp(2.25rem,3.6vw,3.5rem);letter-spacing:-.045em;line-height:1.15}.system-note h2 span{color:#909893}.system-copy{align-self:center;max-width:480px;color:#a1a8a6}.system-copy p+p{margin-top:1rem}.system-copy strong{font-weight:500;color:#d3c4a8}.site-footer{display:flex;align-items:center;gap:2rem;justify-content:space-between;border-top:1px solid var(--line);padding-block:1.75rem;color:#8d9592;font-size:.8125rem}.site-footer img{width:204px;height:auto}.site-footer>a:last-child:hover{color:#d4bd96}.noscript-note{padding-block:2rem}
.character-panel{--person-accent:#c4a779;position:fixed;inset:auto;margin:0;padding:0;width:min(850px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 140px);overflow:auto;border:1px solid #a7a3903d;border-top-color:var(--person-accent);border-radius:3px;background:#07090b;color:var(--ink);z-index:90;box-shadow:0 32px 100px #000c,0 0 35px #0009;opacity:0;transform:translateY(18px) scale(.985);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.65,.2,1);overscroll-behavior:contain}.character-panel.is-open{opacity:1;transform:translateY(0) scale(1)}.character-panel.is-closing{opacity:0;transform:translateY(12px) scale(.99);pointer-events:none;transition:opacity .8s ease,transform .8s ease}.panel-surface{position:relative;isolation:isolate;min-height:478px;overflow:hidden;background:#07090b}.panel-close{position:absolute;right:1rem;top:1rem;z-index:5;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff25;background:#111417c9;border-radius:50%;font-size:1.5rem;line-height:1;color:#c7cbc6}.panel-close:hover{background:#292b29;color:#fff}.portrait-window{position:absolute;inset:0;z-index:-1;overflow:hidden}.portrait-art{width:100%;aspect-ratio:1672/941;position:absolute;top:50%;left:0;transform:translateY(-50%);transition:opacity .6s;opacity:1}.portrait-art.is-loading{opacity:0}.portrait-art img{display:block;width:100%;height:100%;object-fit:contain}.portrait-art canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.person-copy{position:relative;width:44%;padding:2.4rem 0 2rem 2.2rem;pointer-events:none}.person-copy .eyebrow{font-size:.75rem;color:var(--person-accent);letter-spacing:.08em;margin-bottom:1.2rem}.person-copy h2{font-size:clamp(2.4rem,4vw,3.5rem);letter-spacing:-.05em}.person-summary{font-size:1.0625rem;line-height:1.5;color:#d3d1c7;margin-top:1.4rem}.person-copy #person-description{font-size:.9375rem;line-height:1.8;color:#a2aaa5;margin-top:.8rem}.person-tags{padding:0;margin:1.3rem 0 0;display:flex;flex-wrap:wrap;gap:.4rem .65rem;list-style:none;font: .75rem/1.5 var(--mono);color:#9d9f94}.person-tags li:not(:last-child)::after{content:"/";padding-left:.65rem;color:#696f68}.person-place{font-size:.75rem;font-family:var(--mono);letter-spacing:.06em;color:#7e8882;margin-top:1.5rem}.sheet-handle{display:none}.character-panel::backdrop{background:#020304ae;backdrop-filter:blur(2px)}.character-panel.is-dragging{transition:none!important}.motion-paused .world-view{transform:none!important}
@media(min-width:1800px){.world-copy{left:72px}.world-scene{max-width:1800px}.world-copy h1,.world-copy h2{font-size:4.5rem}}
@media(max-width:1150px){:root{--header:90px}.site-header{gap:1.2rem}.brand img{width:200px}.brand>span{font-size:.75rem;margin-left:36px}.world-nav{gap:1.1rem}.world-nav a{font-size:.8125rem;gap:.5rem}.world-copy{top:17%;width:27%;max-width:290px}.world-copy h1,.world-copy h2{font-size:clamp(2rem,3.7vw,3rem)}.world-description{font-size:.9375rem;line-height:1.7;margin-top:1.2rem}.world-names{font-size:.8125rem}.interaction-hint{margin-top:1.2rem}.world-foot{gap:1rem;align-items:flex-start;flex-direction:column}.cast{gap:.2rem 1.3rem}.next-world,.director-link{align-self:flex-end}.passage{min-height:100px}}
@media(max-width:760px){:root{--header:121px;--gutter:1.25rem}.site-header{min-height:var(--header);padding:.65rem var(--gutter) 0;flex-wrap:wrap;gap:0 1rem;align-content:flex-start}.brand img{width:196px}.brand>span{font-size:.75rem;margin-left:35px}.motion-toggle{margin-left:auto;min-height:42px;padding-left:.8rem}.motion-label{display:none}.world-nav{order:3;width:100%;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);margin-top:.55rem}.world-nav a{font-size:.8125rem;padding:.7rem 0}.world-nav a span{font-size:.75rem}.world-scene{display:flex;flex-direction:column;overflow:hidden}.world-copy{position:relative;inset:auto;width:auto;max-width:none;padding:2.7rem var(--gutter) .65rem;order:-1;pointer-events:auto}.world-copy h1,.world-copy h2{font-size:clamp(2.6rem,8.5vw,3.6rem);margin-top:1.3rem;line-height:1.03}.world-copy h1 br,.world-copy h2 br{display:none}.world-copy em{margin-left:.1em}.world-description{font-size:1rem;margin-top:1.1rem;max-width:350px}.world-names{font-size:.875rem;margin-top:.7rem}.interaction-hint{margin-top:1rem;font-size:.75rem}.world-view{width:134%;margin-left:-34%;mask-image:linear-gradient(to bottom,transparent,#000 6%,#000 92%,transparent);transform:translateY(var(--scene-drift,0px))}.world-foot{margin-top:0;padding-block:1rem;gap:.5rem}.cast{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:.15rem .55rem}.cast-person{font-size:.875rem;gap:.45rem;min-height:44px}.next-world,.director-link{width:100%;justify-content:space-between;font-size:.8125rem;border-top:1px solid var(--line);margin-top:.4rem;padding-top:.65rem}.hotspot::before{width:13px;height:13px;opacity:.8}.hotspot-name{display:none}.hotspot{min-width:30px;min-height:44px}.passage{min-height:72px;font-size:.75rem;letter-spacing:.09em}.passage-line{width:34px}.system-note{padding-block:3.5rem;display:block;margin-top:2.5rem}.system-note>.eyebrow{margin-bottom:1.2rem}.system-note h2{font-size:2.7rem}.system-copy{margin-top:1.7rem;font-size:1rem}.site-footer{flex-wrap:wrap;padding-block:1.5rem;gap:1rem;font-size:.75rem}.site-footer>a:first-child{width:100%}.site-footer img{width:185px}.site-footer>a:last-child{margin-left:auto}
.character-panel{width:100%;max-width:none;max-height:90dvh;height:auto;inset:auto 0 0!important;border-radius:15px 15px 0 0;border-inline:0;margin:0;transform:translateY(65px);box-shadow:0 -12px 70px #000a;padding-bottom:env(safe-area-inset-bottom);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.65,.2,1)}.character-panel.is-open{transform:translateY(0)}.character-panel.is-closing{transform:translateY(80px)}.panel-surface{min-height:0;display:flex;flex-direction:column;overflow:visible}.sheet-handle{display:flex;position:absolute;top:0;inset-inline:0;height:34px;justify-content:center;align-items:center;z-index:4;touch-action:none;cursor:grab}.sheet-handle span{width:38px;height:4px;border-radius:4px;background:#b8b7a756}.panel-close{right:.9rem;top:1.6rem;width:36px;height:36px}.portrait-window{position:relative;inset:auto;z-index:0;width:100%;aspect-ratio:1.3;overflow:hidden;mask-image:linear-gradient(to bottom,#000 82%,transparent)}.portrait-art{width:145%;left:-45%;top:0;transform:none}.person-copy{width:100%;padding:.5rem 1.5rem 2rem}.person-copy .eyebrow{font-size:.75rem;margin-bottom:.7rem}.person-copy h2{font-size:2.8rem}.person-summary{font-size:1.125rem;margin-top:.9rem}.person-copy #person-description{font-size:1rem;line-height:1.7;margin-top:.6rem}.person-tags{font-size:.75rem;margin-top:1rem}.person-place{margin-top:1.1rem}.character-panel.is-dragging{transform:translateY(var(--drag-y,0px))}.portrait-window+.person-copy{margin-top:-.2rem}}
@media(max-width:360px){.brand img{width:178px}.brand>span{font-size:.75rem;margin-left:32px}.world-nav{gap:.6rem}.world-nav a{font-size:.75rem}.world-nav a span{font-size:.75rem}.world-copy{padding-top:2.1rem}.world-copy h1,.world-copy h2{font-size:2.5rem}.cast{grid-template-columns:repeat(2,minmax(0,1fr))}.character-panel{max-height:94dvh}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.world-view{transform:none!important}}

@media(max-width:760px){.brand>span{display:none}.world-nav a{font-size:.875rem}}

/* The native hand remains visible. Energy is purely a hover affordance. */
.energy-cursor{position:fixed;left:0;top:0;width:144px;height:164px;max-width:none;transform:translate(-72px,-82px);pointer-events:none;z-index:80;opacity:0;mix-blend-mode:screen;transition:opacity 1.2s ease}
.energy-cursor.is-visible{opacity:1;transition-duration:.8s}
@keyframes invitation{0%,100%{box-shadow:0 0 9px color-mix(in srgb,var(--person-accent) 28%,transparent);filter:brightness(.9)}50%{box-shadow:0 0 25px color-mix(in srgb,var(--person-accent) 60%,transparent);filter:brightness(1.45)}}
@media(hover:hover) and (pointer:fine){.hotspot:hover::before,.cast-person:hover::before{animation:invitation 6s ease-in-out infinite}.hotspot:hover::before{background:color-mix(in srgb,var(--person-accent) 14%,#090b0d)}}
.hotspot:focus-visible::before,.cast-person:focus-visible::before{box-shadow:0 0 22px var(--person-accent)}
.motion-paused .hotspot::before,.motion-paused .cast-person::before{animation-play-state:paused}
@media(hover:none),(pointer:coarse){.energy-cursor{display:none}}

/* Selected M2 identity: one shared mark, independent of the wordmark. */
.brand{flex-direction:row;align-items:center;gap:.65rem}
.brand .brand-mark{width:58px;height:58px;object-fit:contain;flex-shrink:0}
.brand .brand-wordmark{width:205px;height:auto}
.brand .brand-copy{display:flex;flex-direction:column;gap:.4rem;margin:0}
.brand-tagline{font:.75rem/1.3 var(--mono);letter-spacing:.045em;color:#8b928f;white-space:nowrap}
.footer-brand .brand-mark{width:48px;height:48px}
.footer-brand .brand-wordmark{width:175px}
@media(max-width:1150px){.brand .brand-mark{width:48px;height:48px}.brand .brand-wordmark{width:170px}.brand-tagline{font-size:.75rem;letter-spacing:0}}
@media(max-width:760px){.brand .brand-copy{display:flex}.brand .brand-mark{width:45px;height:45px}.brand .brand-wordmark{width:155px}.brand-tagline{display:none}.footer-brand .brand-wordmark{width:165px}}
@media(max-width:360px){.brand{gap:.45rem}.brand .brand-mark{width:40px;height:40px}.brand .brand-wordmark{width:140px}}

.portrait-hammer{position:absolute;left:70%;top:51%;width:21%;height:30%;background:transparent;border:1px solid transparent;color:#e5c38f;font:.75rem var(--mono);display:flex;align-items:flex-end;justify-content:center;padding:.5rem;cursor:pointer;z-index:2;transition:border-color .8s,box-shadow .8s}
.portrait-hammer[hidden]{display:none}.portrait-hammer:hover,.portrait-hammer:focus-visible{border-color:#d8ad7040;box-shadow:inset 0 0 24px #e7a04418}
.hotspot[data-person=mjolnir]{z-index:2}.hotspot[data-person=mjolnir]::before{border-color:#dfb774;box-shadow:0 0 14px #eaaa5435}

/* Keep motion control understandable and tappable on a phone. */
@media(max-width:760px){.motion-label{display:inline;font-size:.75rem}.motion-toggle{gap:.35rem;padding-left:.55rem;min-height:44px}.motion-toggle[aria-pressed=false]{color:#e5c896}.motion-toggle[aria-pressed=false] .motion-icon{color:#edc784}}
@media(max-width:360px){.site-header{column-gap:.6rem}.brand .brand-wordmark{width:130px}.motion-toggle{padding-left:.4rem}}

/* Core scene light is part of the document, independent of script initialization. */
.scene-motion{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden;z-index:1;mix-blend-mode:screen}.ambient{z-index:2}.hotspots{z-index:3}
.scene-motion .detail-effect{animation-duration:var(--period)!important;animation-delay:var(--delay);animation-iteration-count:infinite!important;animation-timing-function:ease-in-out;transform-box:view-box;transform-origin:0 0}
.scene-motion .actor-light{animation-name:scene-actor}.scene-motion .candle-light{animation-name:scene-candle}.scene-motion .water-light{animation-name:scene-water}
@keyframes scene-actor{0%,100%{opacity:.08;transform:translate(0,0)}50%{opacity:.72;transform:translate(var(--dx),var(--dy))}}
@keyframes scene-candle{0%,100%{opacity:.13}50%{opacity:.9}}
@keyframes scene-water{0%{opacity:0;transform:translate(0,0)}45%,65%{opacity:.35}100%{opacity:0;transform:translate(var(--dx),var(--dy))}}
.motion-paused .scene-motion .detail-effect{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.scene-motion .detail-effect{animation-play-state:paused}.motion-playing .scene-motion .detail-effect{animation-play-state:running}}
.workbench-cta{display:flex;justify-content:space-between;gap:20px;align-items:center;border:1px solid #bca47644;border-radius:4px;color:#cbb78f;padding:13px 17px;margin-top:25px;font-size:13px;background:#bca47608}.workbench-cta:hover{background:#bca47613}.workbench-link{color:#cbb78f}
.load-error{position:fixed;bottom:16px;left:16px;right:16px;z-index:300;background:#1d211e;border:1px solid #c5a86c70;padding:14px 18px;color:#ddcba5;border-radius:6px;font:13px Arial,sans-serif}.load-error button{color:#eee2c3;text-decoration:underline;margin-left:8px;background:none;border:0;cursor:pointer}
