/* V16 — production spaces, smoked surfaces and restrained practical light.
   Layout and the shared spatial camera remain in cinema.css / cinema-scene.js. */
:root{
  color-scheme:dark;
  --paper:#0b1012;
  --ink:#e1e5df;
  --orange:#c5ae88;
  --set-muted:#a4ada9;
  --set-line:rgba(211,222,216,.22);
}
html,body{background:#0b1012;color:var(--ink)}
#experience{background:var(--scene-bg,#0b1012)}
#film-grain{opacity:.027}
#static-intro{background:#0b1012;color:var(--ink)}
.film-scene{color:var(--ink)}
.scene-back{
  background:#080e10;
  transform:translateZ(-240px) scale(1.5);
  overflow:clip;
  opacity:var(--back-alpha,1);
}
.scene-back>img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:.56;filter:saturate(.9) brightness(.6) contrast(1.05);
}
.scene-back:after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(7,13,15,.56),rgba(7,13,15,.13) 65%,rgba(7,13,15,.42)),linear-gradient(0deg,#080e10aa,transparent 55%,#080e1055);
}
.scene-portrait .scene-back>img{opacity:.83;object-position:50% 27%;filter:brightness(.65)}
.scene-roots .scene-back>img{opacity:.57;object-position:70% 50%}
.scene-press .scene-back>img{opacity:.42;object-position:52% 40%}
.scene-work .scene-back>img{opacity:.34;object-position:75% 28%;filter:saturate(.85) brightness(.5)}
.scene-hyper .scene-back>img{opacity:.5;object-position:50% 45%}
.scene-contact .scene-back>img{opacity:.65;object-position:35% 45%}
.set-air{inset:-5%;pointer-events:none;transform:translateZ(-65px) scale(1.1);overflow:clip}
.set-air:before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 76% -8%,rgba(160,185,189,.11),transparent 48%),linear-gradient(117deg,transparent 60%,rgba(192,209,211,.045) 67%,transparent 75%);
  animation:set-light 19s ease-in-out infinite alternate;
}
.set-air:after{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 8% 64%,rgba(155,121,73,.055),transparent 50%);
}
.set-motes{inset:0;transform:translateZ(65px);pointer-events:none;transform-style:preserve-3d}
.set-motes i{
  position:absolute;left:var(--mx);top:var(--my);width:var(--ms);height:var(--ms);
  border-radius:50%;background:#cad5ce;opacity:0;
  animation:set-mote var(--md) linear var(--mt) infinite;
  box-shadow:0 0 5px #b9c9c933;
}
.set-registration{inset:9% 3.4% 11%;pointer-events:none;transform:translateZ(8px);color:#dce4dd1f}
.set-registration:before,.set-registration:after{
  content:'';position:absolute;width:16px;height:16px;border:1px solid currentColor;
}
.set-registration:before{left:0;top:0;border-right:0;border-bottom:0}
.set-registration:after{right:0;bottom:0;border-top:0;border-left:0}
@keyframes set-light{from{opacity:.6}to{opacity:1}}
@keyframes set-mote{
  0%{transform:translate3d(-8px,20px,0);opacity:0}
  20%{opacity:.19}
  78%{opacity:.1}
  100%{transform:translate3d(37px,-58px,20px);opacity:0}
}
.scene-kicker{
  font-family:FilmMono,monospace;font-weight:400;
  letter-spacing:.13em;color:#aab6b1;
}
.film-scene h2{font-weight:500;letter-spacing:-.065em}
.film-scene h2 em{font-family:Manrope,Arial,sans-serif;font-style:normal;font-weight:500;letter-spacing:-.065em;color:#aab5b0}
.scene-copy{color:#c0c9c3}
.scene-action{font-family:FilmMono,monospace;font-weight:400;letter-spacing:.015em;color:#e1e5df;border-color:#b7c4ba66}
.scene-action:hover{color:#dec7a4;border-color:#dec7a4}
.photo button{
  border:1px solid rgba(211,224,218,.23);
  box-shadow:0 18px 60px #0007,0 0 0 3px #0a101244;
  background:rgba(10,16,18,.24);
}
.photo button:after{
  content:'';position:absolute;inset:0;pointer-events:none;
  box-shadow:inset 0 1px 0 #ecf4eb33;
  background:linear-gradient(132deg,rgba(210,230,225,.07),transparent 24%,transparent 88%,rgba(176,197,194,.035));
}
.photo img{filter:none}
.photo figcaption{font-family:FilmMono,monospace;color:#9aa9a2;font-size:9px;letter-spacing:.01em}
.hero-heading>.scene-kicker{color:#b9c4bf;letter-spacing:.13em}
.hero-heading h1{
  color:#e0e4df;font-weight:800;letter-spacing:-.065em;
  text-shadow:0 3px 40px #0005;
}
.name-dot{color:#b4a58a}
.hero-role{color:#b1beb6;font-size:11px}
.hero-role>span:first-child{padding-left:12px;border-left:1px solid #baa58099}
.hero-picture{top:39%;left:3.4%;right:3.4%;height:min(49vh,38.83vw);background:transparent}
.hero-picture button{border-color:#c6d5cc30;background:#080e1055;box-shadow:0 24px 80px #0008}
.hero-picture img{filter:none}
.hero-picture figcaption{left:max(16px,calc((100% - 117.6vh)/2 + 16px));bottom:12px;color:#e1e4da;font-size:9px;max-width:70%;text-shadow:0 1px 9px #000}
.hero-reel{right:5.5%;bottom:13%}
.scene-action.round-action{
  color:#e2e7e0;background:linear-gradient(135deg,#293133bb,#11191bcc);
  border:1px solid #d0dcd65c;box-shadow:0 12px 42px #0008,inset 0 1px 0 #e9f1e322;
  backdrop-filter:blur(10px);font-size:10px;
}
.round-action:before{content:'';position:absolute;inset:7px;border:1px solid #d0dcd61a;border-radius:50%;pointer-events:none}
.round-action:hover{background:#34413ae6;color:#f0eee4;border-color:#d4c3a0}
.hero-explore{bottom:9.7%;left:3.4%;font-family:FilmMono,monospace;font-size:9px;color:#b5bfb7;letter-spacing:.06em;text-shadow:0 2px 7px #000}
.hero-explore span{font-size:16px}
.scene-roots{color:var(--ink)}
.roots-copy .scene-action:hover{color:#dec7a4}
.roots-number{color:transparent;-webkit-text-stroke:1px #b7c5bc20;opacity:.8;font-weight:500;letter-spacing:-.065em}
.skate-one,.skate-two{box-shadow:0 30px 80px #0009}
.skate-one figcaption{top:auto;bottom:calc(100% + 12px);left:0;right:0;text-align:right}
.skate-two{top:47%;width:25%;height:24%}
.skate-one img,.skate-two img{filter:none}
.roots-timeline{padding:17px 21px;background:linear-gradient(100deg,#17202280,#0b12144d);border:1px solid #bacbb61f;box-shadow:inset 0 1px 0 #d6dfce0a}
.roots-timeline span{font-family:FilmMono,monospace;color:#d5dace;font-size:25px;letter-spacing:-.04em}
.roots-timeline p{font-family:FilmMono,monospace;font-size:10px;color:#a3b1a6}
.roots-timeline i{background:#a4b2a83d}
.leap-location{background:linear-gradient(90deg,#080e12d9 10%,#080e12a8 51%,#080e127a),url('./assets/chapters/burgsteinfelsen.webp') center/cover;filter:none}
.fall-picture button{background:transparent;border-color:transparent;box-shadow:none}
.fall-picture button:after{display:none}
.fall-picture img{filter:none}
.distance-number{color:#e0e6df;font-weight:500}
.distance-unit{font-family:Manrope,Arial,sans-serif;font-style:normal;font-weight:400;font-size:clamp(40px,5.2vw,85px);color:#a8b6ad;letter-spacing:-.055em;line-height:1.4}
.leap-copy .scene-action{color:#cfbea0;border-color:#bda98480}
.fall-depth-scale{color:#bbc8bb}
.fall-depth-scale i{background:#a6b6a34d}
.fall-depth-scale i:after{background:repeating-linear-gradient(to bottom,#b8c1b1 0 1px,transparent 1px 22px)}
.press-copy .scene-copy{color:#b6c2b8}
.press-picture button{background:#f1eee4;border-color:#e7e5d5aa;box-shadow:0 25px 90px #000a}
.press-picture img{filter:none}
.press-quote{color:#a7b1a33d;font-size:3.8vw;top:74%;left:34%}
.paper-pdf{font-family:FilmMono,monospace;color:#9caaa0;font-size:10px}
.scene-work{color:var(--ink)}
.work-heading .scene-kicker{color:#aeb9ac}
.work-film-image{position:relative;border:1px solid #bfcdc133;box-shadow:0 16px 50px #0008;background:#10171855}
.work-film-image:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 1px 0 #e0ead92a}
.work-film-image img{filter:none}
.work-film:hover{filter:none}
.work-film:hover .work-film-image{border-color:#d6c39b99}
.work-film:hover .work-film-image img{filter:none}
.work-film-bottom{border-bottom:1px solid #a9b9ad26}
.work-film-bottom>span{color:#aebcaf}
.work-note{font-family:FilmMono,monospace;color:#a1aea2;font-size:10px;line-height:1.8}
.jawan-ambient{background:linear-gradient(90deg,#080f12f5 18%,#080f12ba),url('./assets/films/jawan-set.webp') center/cover;filter:saturate(.85)}
.jawan-copy .scene-kicker,.jawan-copy .scene-action{color:#b8c4b8}
.jawan-wordmark{filter:none}
.jawan-film{border:1px solid #c3d2c444;box-shadow:0 25px 75px #0009;background:#0b1113}
.jawan-film-tag{font-family:FilmMono,monospace;color:#e0e8dc;background:linear-gradient(transparent,#030a0bd9)}
.jawan-context img{filter:none}
.invention-picture button{border:0;box-shadow:none;background:#0b1012}
.invention-picture button:after{display:none}
.invention-picture img{filter:brightness(.9)}
.invention-shade{background:linear-gradient(90deg,#070d12ec 4%,#070d1248 78%),linear-gradient(0deg,#070d12bf,transparent 52%)}
.invention-copy .scene-kicker,.invention-copy .scene-action{color:#c5b89f}
.invention-picture figcaption{color:#aab6a8}
.invention-detail{box-shadow:0 20px 80px #000a}
.invention-detail img{filter:none}
.hyper-copy .scene-kicker{color:#adb9ad}
.hyper-picture button{background:#11191a88}
.hyper-picture img{filter:none}
.hyper-side-label{color:#839487}
.scene-contact{color:var(--ink)}
.contact-copy .scene-copy{color:#bbc6b9}
.contact-action{border:1px solid #d2dbc54d;background:linear-gradient(130deg,#26322aa3,#1019158c);color:#e0e6d8;box-shadow:inset 0 1px 0 #e5eac80c;backdrop-filter:blur(7px)}
.contact-action:hover{background:#29372deb;color:#f1f1df;border-color:#c6b88f}
.contact-picture img{filter:none}
.contact-profiles{padding:9px 14px;border:1px solid #aab99c21;background:#0b15134d;gap:21px;bottom:10.8%}
.contact-profiles a{color:#b6c4b5}
.contact-profiles img[src*="crew-united"]{filter:brightness(0) invert(.86)}
.contact-profiles img[src*="wikipedia"]{filter:brightness(0) invert(.86)}
.contact-profiles img[src*="imdb"]{filter:none}
@media(min-aspect-ratio:18/10) and (min-width:700px){
  .hero-picture{top:40%;height:45vh}.hero-role{font-size:10px}.hero-explore{bottom:10.3%}
  .hero-picture figcaption{left:max(16px,calc((100% - 108vh)/2 + 16px))}
  .distance-unit{font-size:5vw}.roots-timeline{padding:11px 18px}
}
@media(max-width:699px){
  .scene-back{transform:translateZ(-180px) scale(1.6)}
  .scene-back>img{opacity:.5}.scene-portrait .scene-back>img{opacity:.75;object-position:66% 30%}
  .scene-back:after{background:linear-gradient(90deg,#080e1073,#080e103b),linear-gradient(0deg,#080e10bb,transparent 50%,#080e1033)}
  .set-registration{inset:11% 6% 12.5%}.set-registration:before,.set-registration:after{width:12px;height:12px}
  .set-motes i:nth-child(n+9){display:none}
  .film-scene h2 em{letter-spacing:-.07em}
  .photo figcaption{font-size:9px;color:#b9c4b6}
  .scene-kicker{font-size:9px;letter-spacing:.095em}
  .hero-heading>.scene-kicker{font-size:9px;letter-spacing:.06em;max-width:320px}
  .hero-role{font-size:10px;color:#bac7bb}
  .hero-role>span:first-child{padding-left:10px}
  .hero-picture{left:4%;right:auto;width:92%;top:47.5%;height:auto;aspect-ratio:2.4}
  .hero-picture button{background:#0b11127a;border-color:#cbd9c43d;box-shadow:0 20px 55px #0009}
  .hero-picture figcaption{left:0;right:0;top:calc(100% + 12px);bottom:auto;color:#b8c5b7;font-size:9px;max-width:90%;text-shadow:none}
  .hero-reel{right:7%;bottom:15%}
  .scene-action.round-action{font-size:9px}
  .hero-explore{left:6%;bottom:17.4%;font-size:8px;color:#becabd;max-width:180px}
  .hero-explore span{display:block;margin-top:12px}
  .roots-number{opacity:.6;-webkit-text-stroke-color:#a9b9a522}
  .skate-two{width:48%;height:19%;left:7%;top:56%}
  .roots-timeline{left:6%;right:6%;padding:12px 14px;bottom:12.5%;gap:13px}
  .roots-timeline span{font-size:20px}.roots-timeline p{font-size:8px;margin-top:4px}
  .roots-timeline i{max-width:60px}
  .distance-unit{font-size:8.6vw;line-height:1.35;margin-top:9px}
  .scene-leap:after{color:#b5c4b7;font-size:12px}
  .leap-copy .scene-action{font-size:9px}
  .press-picture img{filter:none}
  .press-quote{font-size:6.8vw;left:6%;top:65%;color:#b5c0aa3b}
  .work-film-bottom{border-bottom-color:#b9c7ab2a}
  .work-film-1 .work-film-bottom{gap:15px}
  .jawan-context{bottom:16%}
  .invention-shade{background:linear-gradient(180deg,#080f14dd 4%,#080f1466 68%,#080f14d6)}
  .invention-picture figcaption{color:#b1bca9}
  .contact-picture figcaption{top:auto;bottom:0;left:0;right:0;padding:5px 6px;background:#071012ad;color:#dce3d7;font-size:8px;line-height:1.4}
  .contact-profiles{left:6%;right:6%;bottom:11.7%;padding:6px 10px;gap:10px}
  .contact-profiles a{font-size:9px;gap:4px;min-height:32px}
  .contact-profiles img{height:13px;max-width:20px}
  .contact-action{font-size:10px;min-width:124px}
}
@media(max-width:699px) and (max-height:700px){
  .hero-heading{top:14%}.hero-heading h1{font-size:18vw}
  .hero-role{font-size:9px;margin-top:12px}
  .hero-reel{bottom:15.7%}.hero-explore{bottom:17%;font-size:8px}
  .hero-explore span{display:inline;margin-left:12px}
  .roots-timeline{padding:10px 12px;bottom:14%}.roots-timeline span{font-size:18px}
  .skate-two{top:55%}
  .scene-leap:after{font-size:11px}
  .jawan-context{bottom:17.5%}
  .contact-profiles{bottom:12.7%;padding:4px 8px}
}
@media(prefers-reduced-motion:reduce){.set-motes{display:none}.set-air:before{animation:none;opacity:.75}}

.world-paused .set-motes i,.world-paused .set-air:before{animation-play-state:paused}

/* Opacity belongs to individual flat surfaces, never the preserve-3d camera
   or work-gallery parent. This avoids flattening the world during a passage. */
.film-scene>:not(.scene-back):not(.work-gallery):not(.hero-motion):not(.hero-motion-shade):not(.roots-number),.work-gallery>.work-film{opacity:var(--content-alpha,1)}
.roots-number{opacity:calc(var(--content-alpha,1)*.6)}
