/* Home identity: a dark, quiet panel. */
.profile-panel{background:#191c19;border:1px solid #30372e;border-radius:16px;padding:24px;top:14px;min-height:calc(100svh - 28px);color:#f7f7f0}
.profile-panel .profile-name,.profile-panel .profile-name>span{color:#f7f7f0}
.profile-panel .profile-role,.profile-panel .profile-role>span,.profile-panel .profile-location,.profile-panel .profile-freelance,.profile-panel .profile-availability,.profile-panel .profile-note{color:#e7ebe2}
.profile-panel .profile-avatar{background:#292f27;border-color:#59644d;box-shadow:0 0 0 5px #252c22}
.profile-panel .profile-avatar span{color:#f0f4e9}
.profile-panel .profile-message{background:#e7eddf;color:#151a12;border:1px solid #e7eddf}
.profile-panel .profile-nav{border-color:#ffffff24;width:100%}
.profile-panel .profile-nav a{color:#dce4d5}
.profile-panel .profile-nav a:hover,.profile-panel .profile-nav a[aria-current]{background:#343e2c;color:#fff}
.home-stream,.content-view{transform-origin:0 0}
/* A long scroll chapter gives each card time to travel around the 3D circle. */
.jack-story{height:800svh}
.jack-stage{height:100svh;perspective:1400px;overflow:hidden}
.jack-gallery{position:absolute;inset:0;left:0;top:0;width:100%;height:100%;display:block;perspective:1200px;transform-style:preserve-3d;gap:0}
.jack-card{position:absolute;left:50%;top:51%;width:clamp(150px,20vw,270px);height:auto;aspect-ratio:2/3;transform-style:preserve-3d;will-change:transform,opacity}
.jack-card img{width:100%;height:100%;object-fit:contain}
.jack-finale{z-index:5}
/* Scroll first, then reveal the board; the sticky stage fills the stream. */
.home-studio .universe-chapter{height:220svh;margin:36px 0 0 0;position:relative}
.home-studio .universe{position:sticky;top:0;margin:0!important;height:100svh;min-height:0;max-height:none;padding:0 0 50px;isolation:isolate;opacity:1;filter:none;transform:none}
.home-studio .universe .playground{height:100%;border-radius:0;border:0;opacity:var(--board-reveal,0);filter:blur(calc((1 - var(--board-reveal,0))*12px));transform:translateY(calc((1 - var(--board-reveal,0))*65px)) scale(calc(.87 + var(--board-reveal,0)*.13));transform-origin:50% 50%;will-change:transform,opacity;transition:none}
.home-studio .universe .universe-footer{opacity:var(--board-reveal,0);position:absolute;bottom:0;left:22px;right:22px;height:50px;display:flex;align-items:center;justify-content:space-between}
.universe-invitation{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;text-align:center;pointer-events:none;padding:30px;color:#253020}
.universe-invitation>span{font-size:13px;letter-spacing:.09em}
.universe-invitation>strong{font-size:clamp(28px,3.5vw,52px);font-weight:400;max-width:650px;line-height:1.2}
@media(max-width:760px){.profile-panel{padding:22px;border-radius:14px;min-height:0;top:auto}.jack-story{height:650svh}.jack-card{width:clamp(135px,34vw,210px)}.home-studio .universe-chapter{margin-top:24px;height:200svh}.home-studio .universe{height:100svh;min-height:0}.home-studio .universe .universe-footer{left:12px;right:12px;font-size:10px;gap:14px}.home-studio .universe .universe-footer a{font-size:12px}.profile-panel .profile-avatar{grid-row:1/4}.profile-panel .profile-note{display:none}}
@media(prefers-reduced-motion:reduce){.jack-story{height:auto}.jack-stage{height:auto;perspective:none}.jack-gallery{position:relative;inset:auto;display:flex;height:auto;perspective:none;overflow-x:auto}.jack-card{position:relative;left:auto;top:auto;flex-shrink:0}.home-studio .universe-chapter{height:auto}.home-studio .universe{position:relative;height:100svh}.home-studio .universe .playground{transform:none;filter:none;opacity:1;will-change:auto}.universe-invitation{display:none}}
