html{scroll-padding-top:75px}.hero{min-height:650px}.hero-copy{padding:130px 7% 90px;pointer-events:none}.hero h1{font-size:clamp(64px,7.3vw,116px);letter-spacing:-5px}.hero-copy .eyebrow{font-size:13px;letter-spacing:1px}.hero-copy>p:last-child{font-size:14px;max-width:480px}.notebook{position:absolute;top:64px;left:50%;transform:translateX(-50%);font-size:10px;letter-spacing:3px;white-space:nowrap;z-index:3}#fullscreen{position:absolute;right:35px;top:28px;z-index:5;font-size:25px;border:0;padding:4px 10px}.shade{pointer-events:none}.scroll-cue{position:absolute;right:5%;bottom:70px;display:flex;align-items:center;flex-direction:column;gap:18px;z-index:5;animation:breathe 2.7s ease-in-out infinite}.scroll-cue span{font-size:11px;letter-spacing:3px}.scroll-cue svg{width:22px;height:60px}@keyframes breathe{0%,100%{opacity:.45;transform:translateY(-3px)}50%{opacity:1;transform:translateY(4px)}}.chapter{padding-top:55px;padding-bottom:10px}.chapter-head{column-gap:42px;margin-bottom:25px}.chapter-head>.eyebrow{margin-bottom:14px}.chapter h2{font-size:clamp(30px,3.2vw,47px);letter-spacing:-1.5px}.chapter-head>p:last-child{font-size:14px;line-height:1.75}.player{position:relative;overflow:hidden;background:#080d0f}.player:not(.hero){aspect-ratio:16/9}.player:not(.hero) video{width:100%;height:100%;object-fit:contain}.video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:76px;height:54px;background:#111b;border:1px solid #ffffff70;border-radius:14px;display:grid;place-items:center;padding:10px 19px;z-index:4;transition:opacity .25s}.video-play svg{width:32px;height:32px}.player.playing .video-play{opacity:0}.player.playing:hover .video-play,.player.playing:focus-within .video-play{opacity:.85}.hero .video-play{left:50%}.technical{font-size:13px;margin:18px 0 0;padding-left:18px;border-left:1px solid #82968b}.decor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:8px 0 24px}.enlarge{display:block;border:0;border-radius:0;padding:0;position:relative;width:100%;overflow:hidden}.enlarge img{aspect-ratio:16/9;object-fit:cover}.enlarge span{position:absolute;bottom:9px;right:9px;background:#0c151ad9;border:1px solid #ffffff60;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;font-size:20px}.decor-grid figcaption{padding:9px 0;font-size:9px}.compare{aspect-ratio:16/9}.prompt-frame{aspect-ratio:16/9;overflow:auto;scrollbar-color:#667976 #101010;background:#050505;border:1px solid #ffffff20;padding:30px 35px;color:white}.prompt-frame pre{font-family:Consolas,'Courier New',monospace;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.85;margin:0;color:#f5f5f5}.interface{position:relative}.mask{position:absolute;background:#202122;pointer-events:none}.m1{left:2.5%;top:19%;width:6%;height:2.6%}.m2{left:2.5%;top:69.6%;width:7.6%;height:2.8%}.m3,.m4,.m5{display:none}.contact-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px}.closing{padding:55px 6% 60px}.closing h2{font-size:clamp(42px,6.2vw,88px)}.closing .closing-statement{font-size:clamp(17px,2vw,25px);line-height:1.65;color:#e1e8e2;font-weight:600;max-width:950px;margin:25px auto}.closing a{margin-top:4px}#lightbox{border:0;padding:45px 20px 15px;max-width:94vw;width:1400px;max-height:94svh;background:#101819;color:#fff}#lightbox::backdrop{background:#000e;backdrop-filter:blur(8px)}#lightbox img{max-height:78svh;object-fit:contain}#lightbox p{text-align:center;margin:12px 0 0;font-size:12px}.close-lightbox{position:absolute;top:4px;right:9px;border:0;font-size:28px;padding:0 10px}nav a{padding:19px 18px}#contact h2{font-size:clamp(29px,3.2vw,44px)}@media(max-width:760px){.hero h1{font-size:clamp(48px,10.5vw,76px);letter-spacing:-2px}.hero-copy{padding:115px 7% 150px}.hero-copy>p:last-child{max-width:80%;font-size:12px}.hero .video-play{top:76%}.notebook{top:42px;font-size:8px;letter-spacing:2px}#fullscreen{top:18px;right:14px}.scroll-cue{right:7%;bottom:35px}.scroll-cue svg{height:40px}.chapter{padding-top:35px}.chapter-head{margin-bottom:20px}.chapter-head>p:last-child{margin-top:18px;font-size:13px}.chapter h2{font-size:32px}.decor-grid{gap:8px;margin-bottom:16px}.enlarge span{width:25px;height:25px;right:5px;bottom:5px}.decor-grid figcaption{font-size:7px;letter-spacing:.5px}.prompt-frame{padding:15px}.prompt-frame pre{font-size:10px;line-height:1.7}.contact-pair{gap:12px;grid-template-columns:1fr}.video-play{width:60px;height:44px;padding:8px 14px}.video-play svg{width:25px;height:25px}nav a{padding:16px 8px}nav a:first-child span{display:inline;font-size:8px}.technical{font-size:12px}.closing h2{font-size:43px}.closing .closing-statement{font-size:18px}.closing-statement br{display:none}}@media(prefers-reduced-motion:reduce){.scroll-cue{animation:none}}

/* Align chapter copy from the same top edge as its title. */
.chapter-head{align-items:start}.chapter-head h2,.chapter-head>p:last-child{align-self:start}
#contact .chapter-head{display:flex;flex-direction:column;align-items:center;text-align:center}
#contact .chapter-head h2{max-width:1050px;align-self:center}
#contact .chapter-head>p:last-child{max-width:810px;margin:22px auto 0;align-self:center}
.closing h2{max-width:1150px;margin:20px auto 35px;font-size:clamp(36px,4.8vw,68px);line-height:1.18}
@media(max-width:760px){.closing h2{font-size:36px}.closing h2 br{display:none}#contact .chapter-head>p:last-child{margin-top:18px}}

.notebook{font-size:clamp(28px,3vw,44px);font-weight:700;letter-spacing:1px}.hero-copy .eyebrow{font-size:clamp(17px,1.6vw,24px)}.hero-description{display:flex;align-items:center;gap:38px;max-width:650px;pointer-events:auto}.hero-description p{font-size:16px;line-height:1.8;max-width:530px;color:#e1e7e3;margin:0}.hero-description .scroll-cue{position:static;flex:none;gap:8px;animation:breathe 2.7s ease-in-out infinite}.hero-description .scroll-cue svg{width:30px;height:55px;stroke-width:2.5}.hero-description .scroll-cue path{stroke-width:2.5}
#tournage .chapter-head,#decor .chapter-head,#generation .chapter-head,#montage .chapter-head{align-items:end}#tournage .chapter-head h2,#decor .chapter-head h2,#generation .chapter-head h2,#montage .chapter-head h2,#tournage .chapter-head>p:last-child,#decor .chapter-head>p:last-child,#generation .chapter-head>p:last-child,#montage .chapter-head>p:last-child{align-self:end}
.prompt-frame{aspect-ratio:32/9}
@media(max-width:760px){.notebook{font-size:28px}.hero-description{gap:20px}.hero-description p{font-size:13px}.hero-description .scroll-cue svg{height:42px}.hero-copy{padding-bottom:100px}.prompt-frame{aspect-ratio:32/9}}

.return-site{position:fixed;bottom:18px;left:18px;z-index:30;background:#101819dd;border:1px solid #ffffff55;border-radius:24px;padding:10px 16px;font-size:12px;color:#f1f0e9}.closing{padding-bottom:90px}
.notebook{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;color:#fff}nav{background:#000}nav a,nav a.active{color:#fff}.return-site{top:22px;right:75px;bottom:auto;left:auto}#fullscreen{right:20px}@media(max-width:760px){.return-site{top:20px;right:60px;padding:7px 12px}.notebook{left:25px;transform:none}}

.return-site{background:#c41c1c;color:#fff;border-color:#c41c1c}.return-site:hover{background:#a71818}.prompt-frame{height:clamp(180px,28vw,340px);min-height:0;aspect-ratio:auto;overflow-y:scroll;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:thin}@media(max-width:760px){.prompt-frame{height:220px;aspect-ratio:auto;font-size:12px}.prompt-frame pre{font-size:12px}}

/* Home position: independent editor settings, bounded to the viewport. */
.return-site{right:clamp(8px,calc(75px - var(--home-x,0px)),calc(100vw - 88px));top:clamp(8px,calc(22px + var(--home-y,0px)),calc(100dvh - 52px));left:auto;bottom:auto}
@media(max-width:760px),(orientation:landscape) and (max-height:520px) and (max-width:1100px){.return-site{right:clamp(8px,calc(60px - var(--home-x-mobile,0px)),calc(100vw - 88px));top:clamp(8px,calc(20px + var(--home-y-mobile,0px)),calc(100dvh - 52px))}}

/* User-started playback reveals the film, then restores the introduction. */
.hero.clean-playback .hero-copy,.hero.clean-playback .notebook,.hero.clean-playback .shade{visibility:hidden;pointer-events:none}
