/* A cinematic entrance; all other portfolio chapters keep their own layout. */
html[data-page=index]{background:#02060f;scroll-padding-top:0}
.motion-home{background:#02060f;min-height:100svh;min-height:100dvh;display:flex;flex-direction:column;isolation:isolate;color:#fff}
.home-film,.home-veil{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-2}
.home-film{object-fit:cover;object-position:center;background:#02060f}
.home-veil{z-index:-1;background:radial-gradient(ellipse at 50% 35%,#03091999,transparent 75%),linear-gradient(180deg,#02060f55,#02060f22 50%,#02060fcc)}
.motion-home header{position:relative;background:transparent;backdrop-filter:none;border:0;padding:25px 4%;gap:18px;flex:none}
.motion-home .identity{flex-shrink:0}.motion-home .identity img{border-radius:50%}.motion-home .identity small{color:#c8d1dc}
.motion-home .language select{font-size:14px;max-width:140px;background:#0c142699;border-color:#aabbd255;min-height:44px}
.motion-home .page-menu a{font-size:14px;line-height:1.5;min-height:44px;display:flex;align-items:center;color:#eaf0f8}
.motion-home .page-menu a:hover{color:#fff;text-shadow:0 0 15px #a8ceff}
.motion-home main{flex:1;display:flex;align-items:center;justify-content:center;min-width:0}
.motion-home .hero{width:100%;height:auto;max-height:none;min-height:0;overflow:visible;padding:40px 6% 110px;display:flex;flex-direction:column;align-items:center}
.motion-home .eyebrow{color:#d8e2f1;font-size:14px;letter-spacing:.15em;line-height:1.8}
.motion-home .hero h1{font-size:clamp(38px,4.8vw,76px);line-height:1.23;letter-spacing:-.035em;font-weight:500;max-width:1100px;margin:24px 0;text-shadow:0 2px 32px #02060f99;opacity:1;transform:none;transition:none}
.motion-home .intro{font-size:clamp(16px,1.7vw,21px);line-height:1.7;color:#d1d8e4;max-width:720px;margin:0 0 35px;text-wrap:balance}
.motion-home .pill{position:relative;color:white;min-height:52px;padding:15px 32px;font-size:16px;border:1px solid #dbeaff99;background:linear-gradient(100deg,#ffe2b22c,#ffffff10 55%,#96c4f42b);backdrop-filter:blur(22px) saturate(.6);box-shadow:0 -2px 25px #ffe0b333,0 0 34px #a8ccfc25,inset 0 1px #fff8;transition:background .25s,translate .25s;transform:none}
.motion-home .pill:hover{background:linear-gradient(100deg,#ffe2b24a,#ffffff25 55%,#96c4f444);translate:0 -2px}
.motion-home .hero-bottom{position:static;display:flex;justify-content:center;gap:30px;margin-top:65px;color:#e2e9f4;font-size:12px;letter-spacing:.15em;flex-wrap:wrap}
.motion-home footer{position:relative;background:none;border:0;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:20px 4%;font-size:13px;color:#c4cedd}
.motion-home .language-index,.motion-home .reading-progress{display:none}
.motion-toggle{border:1px solid #ffffff50;border-radius:50%;width:44px;height:44px;background:#06102277;color:#fff;cursor:pointer;font-size:16px;flex:none}
@media(min-width:1150px){.motion-home .page-menu{gap:10px!important;flex-wrap:wrap;justify-content:center}.motion-home .page-menu a{padding:3px 5px}.motion-home .menu{min-width:0}}
@media(max-width:1149px){.motion-home header{flex-wrap:wrap;gap:12px}.motion-home .menu{margin-inline-start:auto}.motion-home .menu summary{min-width:44px;min-height:44px;border:1px solid #ffffff60;border-radius:24px;display:grid;place-items:center;cursor:pointer}.motion-home .page-menu{position:absolute;top:100%;inset-inline:4%;width:auto;max-height:65dvh;overflow:auto;background:#081224f2;border:1px solid #c7d9ef55;border-radius:20px;padding:20px;display:flex;flex-direction:column;align-items:stretch;backdrop-filter:blur(24px)}.motion-home .menu:not([open]) .page-menu{display:none}.motion-home .page-menu a{padding:8px 16px}.motion-home .hero{padding-bottom:65px}}
@media(max-width:600px){.motion-home header{padding:20px}.motion-home .identity>span{font-size:12px}.motion-home .identity small{font-size:9px}.motion-home .language select{max-width:115px}.motion-home .hero{padding:50px 24px 55px}.motion-home .hero h1{font-size:clamp(36px,9vw,52px);overflow-wrap:anywhere}.motion-home .hero-bottom{gap:15px;margin-top:48px}.home-veil{background:radial-gradient(ellipse at 50% 42%,#02060fbf,transparent 90%),linear-gradient(180deg,#02060f55,transparent,#02060fcc)}.motion-home footer{padding:18px 24px;justify-content:center;text-align:center}}
@media(prefers-reduced-motion:no-preference){.motion-home .eyebrow,.motion-home .intro,.motion-home .pill,.motion-home .hero-bottom{animation:home-enter 1s cubic-bezier(.16,1,.3,1) both}.motion-home .hero h1{animation:home-enter 1.2s cubic-bezier(.16,1,.3,1) .15s both!important}.motion-home .intro{animation-delay:.3s}.motion-home .pill{animation-delay:.5s}.motion-home .hero-bottom{animation-delay:.65s}@keyframes home-enter{from{opacity:0;translate:0 16px}to{opacity:1;translate:0 0}}}
@media(prefers-reduced-motion:reduce){.motion-home *{animation:none!important;transition:none!important}}
