@font-face{font-family:Portfolio CJK;src:url('./portfolio-cjk.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Portfolio CJK ExtraLight;src:url('./portfolio-cjk-extralight.woff2') format('woff2');font-style:normal;font-weight:200;font-display:swap}
@font-face{font-family:Portfolio CJK Light;src:url('./portfolio-cjk-light.woff2') format('woff2');font-style:normal;font-weight:300;font-display:swap}
.figma-frame{color:#e3e3e3;font:400 16px/1.25 'Directory Albert','Portfolio CJK',sans-serif;font-synthesis:none}
.figma-frame *{box-sizing:border-box}
.figma-frame :is(p,ul){margin:0;padding:0}
.figma-frame img{display:block}
.figma-frame a{color:inherit;text-decoration:none}
.figma-frame a:focus-visible{outline:1px solid #eee;outline-offset:4px}
.figma-tall,.profile-section.figma-profile{display:block;height:auto;min-height:0;overflow:hidden;background:#000}
.figma-profile .profile-viewport{height:calc((1630px - var(--profile-top-offset,0px)) * var(--profile-scale,1))}
.figma-profile .profile-board{height:1630px}
.profile-fit-top{translate:0 calc(-.25 * var(--profile-top-offset,0px))}
.profile-fit-mid,.profile-dot-rows>div,.profile-qr,.profile-image-frame{translate:0 calc(-.5 * var(--profile-top-offset,0px))}
.profile-fit-bottom{translate:0 calc(-1 * var(--profile-top-offset,0px))}
.figma-tall-artwork{position:absolute;inset:0;pointer-events:none}
.spa-artwork{inset:0 auto 0 237px;width:1446px}
.spa-hero,.spa-interface-grid{position:absolute;inset-inline:0}
.spa-hero{top:642px;height:572px}
.spa-interface-grid{top:1287px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.spa-interface-grid>div{aspect-ratio:16/9;overflow:hidden}
.spa-artwork img{width:100%;height:100%;max-width:none;object-fit:cover}
.figma-tall-viewport{position:relative;width:100%;overflow:hidden}
.figma-tall-board{position:absolute;inset:0 auto auto 0;transform:scale(var(--figma-board-scale,1));transform-origin:0 0}
.figma-tall-panel .figma-tall-viewport{height:calc(var(--figma-tall-design-height) * var(--figma-board-scale,1) + var(--event-content-offset))}
.figma-tall-panel .figma-tall-board,:is(#case-frame-11,#case-frame-12) .case-board,#feast-of-the-gods .feast-board{top:var(--event-content-offset)}
#case-directory .figma-frame{position:absolute!important;width:1920px!important;height:1080px!important;top:calc((var(--directory-height,1080px) - 1080px)/2)}
.cabin-section{display:grid;min-height:100dvh;place-items:center;background:linear-gradient(#f8f8f6,#dfe0e5)}
.cabin-section .figma-tall-viewport{width:100%;height:min(100dvh,56.25vw)}
.cabin-board{width:calc(1920px + var(--cabin-extra-x,0px))}
.cabin-board [data-cabin-anchor=center]{translate:calc(var(--cabin-extra-x,0px) / 2) 0}
.cabin-board [data-cabin-anchor=right]{translate:var(--cabin-extra-x,0px) 0}
.cabin-preview{position:absolute;z-index:1;translate:var(--cabin-extra-x,0px) 0;transition:transform .38s cubic-bezier(.22,.72,.24,1)}
.cabin-preview:is(:hover,:focus-visible){transform:translateX(calc(-100% + 68px))}
@media(prefers-reduced-motion:reduce){.cabin-preview{transition:none}}
.cabin-board{overflow:hidden;background:linear-gradient(180deg,#f8f8f6 0%,#dfe0e5 100%);color:#171717}
.cabin-panel{position:absolute;inset:0}
.cabin-board :is(.cabin-mask,.cabin-render){position:absolute}
@media(prefers-reduced-motion:no-preference){.cabin-panel:not([hidden]){animation:cabin-appear .26s ease-out both}}
@keyframes cabin-appear{from{opacity:.15}to{opacity:1}}
.cabin-mask{overflow:hidden}
.cabin-mask[data-node-id="1067:17"]{mask-image:linear-gradient(to bottom,#000 0 calc(100% - 180px),rgb(0 0 0 / .88) calc(100% - 136px),rgb(0 0 0 / .4) calc(100% - 75px),transparent calc(100% - 12px))}
.cabin-mask[data-node-id="1067:14"]{
  mask-image:linear-gradient(transparent,#000 54% 83%,transparent),linear-gradient(90deg,transparent,#000 18% 80%,transparent);
  mask-composite:intersect;
}
.cabin-title{position:absolute;display:grid;align-content:start;gap:2px;margin:0;font-family:'Directory Albert','Portfolio CJK ExtraLight',sans-serif;font-size:40px;font-weight:200;letter-spacing:-2px;white-space:nowrap}
.cabin-title small{display:block;font-size:22px;line-height:22px;letter-spacing:.44px;color:#777}
:is(.figma-project-title,.figma-tall-title)>p+p,.cabin-title small{font-family:'Portfolio CJK Light','Directory Albert',sans-serif;font-weight:300}
.cabin-projects{position:absolute;display:grid;gap:2px}
.cabin-projects a,.cabin-projects img{width:65px;height:65px;display:block}
.cabin-projects img{object-fit:cover;opacity:.12}
.cabin-projects a:is([aria-current],:hover,:focus-visible) img{opacity:1}
.cabin-projects a:focus-visible{outline-color:#171717}
.figma-scroll-zone{position:absolute;left:623px;top:223px;width:250px;height:539px}
.figma-scroll-mouse{position:absolute;left:68%;top:50%;width:28px;height:82px;transform:translate(-50%,-50%);border-radius:14px;background:#141d3850;box-shadow:inset 0 1px 2px #fff9;opacity:0;transition:opacity .18s ease;pointer-events:none}
.figma-scroll-mouse::before,.figma-scroll-mouse::after{content:"";position:absolute;border-radius:10px}
.figma-scroll-mouse::before{inset:9px 6px auto;height:45px;background:#fff9}
.figma-scroll-mouse::after{top:11px;left:8px;width:12px;height:35px;background:radial-gradient(ellipse,#373737,#1b1b1b)}
.figma-scroll-zone:hover .figma-scroll-mouse,#case-frame-12 .case-scroll:focus-visible .figma-scroll-mouse{opacity:1}
.figma-scroll-zone:hover .figma-scroll-mouse::after{animation:figma-scroll-down .9s ease-in-out 2}
@keyframes figma-scroll-down{0%,100%{transform:translateY(0)}55%{transform:translateY(7px)}}
@media(prefers-reduced-motion:reduce){.figma-scroll-mouse,.figma-scroll-zone:hover .figma-scroll-mouse::after{transition:none;animation:none}}
.profile-qr,.profile-image-frame{position:absolute;left:852px;width:216px;border-radius:15px}
.profile-qr{top:376px;height:216px;overflow:hidden;background:#fff}
.profile-qr img{position:absolute;height:165.41%;left:-15.62%;max-width:none;top:-39.7%;width:129.87%}
/* The front frame sits over the code. Its overlapping area stays clear for scanning. */
.profile-image-frame{top:396px;height:288px;z-index:1;pointer-events:none;background:linear-gradient(transparent 0 196px,#111 196px);box-shadow:inset 0 0 0 1px #8885}

/* Frames 10–12 share the ROAD PARTY sidebar and gallery rows. */
:is(.feast-scroll,#case-frame-11 .case-scroll,#case-frame-12 .case-scroll){
  --figma-project-art-left:650px;
  --figma-project-title-top:354px;
  --figma-project-thumbnail-bottom:960px;
  --figma-project-caption-top:358px;
  --figma-project-line-top:386px;
  --figma-project-art-top:420px;
  --figma-project-art-height:540px;
}
#feast-of-the-gods .feast-scroll{
  --figma-project-caption-top:calc(var(--figma-project-thumbnail-bottom) - 31px);
  --figma-project-line-top:calc(var(--figma-project-thumbnail-bottom) - 3px);
  --figma-project-art-top:var(--figma-project-title-top);
  --figma-project-art-height:520px;
}
#feast-of-the-gods .figma-project-line img{filter:brightness(1.65)}
.figma-project-fixed,.figma-project-track{position:absolute;inset:0}
#feast-of-the-gods :is(.figma-project-track,.figma-project-sidebar){
  /* Convert the live navigation height to the scaled board's coordinates. */
  --feast-content-shift:calc(var(--portfolio-nav-height,45px) / var(--feast-scale,1));
  inset-block:var(--feast-content-shift) calc(-1 * var(--feast-content-shift));
}
:is(#case-frame-11,#case-frame-12) :is(.figma-project-track,.figma-project-sidebar){
  --project-content-shift:calc(var(--portfolio-nav-height,45px) / var(--case-scale,1));
  inset-block:var(--project-content-shift) calc(-1 * var(--project-content-shift));
}
.figma-project-fixed{translate:var(--figma-project-pan,0px) 0;pointer-events:none}
.figma-project-sidebar{width:var(--figma-project-art-left)}
.figma-project-sidebar :is(.figma-thumbnail,.figma-project-title,.figma-project-copy){pointer-events:auto}
.figma-project-track{clip-path:inset(0 0 0 calc(var(--figma-project-art-left) + var(--figma-project-pan,0px)))}
.figma-project-title,.figma-project-copy{left:129px;width:386px}
.figma-project-title{top:var(--figma-project-title-top);text-align:center;white-space:nowrap}
.figma-project-copy{top:526px}
#feast-of-the-gods .figma-project-copy p{line-height:25px}
#feast-of-the-gods .figma-project-copy p+p{margin-top:17px}
.figma-project-sidebar>.figma-thumbnail{top:calc(var(--figma-project-thumbnail-bottom) - 65px)}
.figma-project-sidebar>.figma-thumbnail:nth-of-type(1){left:129px}
.figma-project-sidebar>.figma-thumbnail:nth-of-type(2){left:290px}
.figma-project-sidebar>.figma-thumbnail:nth-of-type(3){left:450px}
.figma-project-art{position:absolute;left:var(--figma-project-art-left);top:var(--figma-project-art-top);height:var(--figma-project-art-height)}
.figma-project-line{position:absolute;left:var(--figma-project-art-left);top:var(--figma-project-line-top);height:0}

/* Dock each caption and its marker together, within the chapter’s track segment. */
.figma-frame .figma-chapter{
  top:var(--figma-project-caption-top);
  z-index:1;
  translate:clamp(0px,calc(var(--figma-project-art-left) + var(--figma-project-pan,0px) - var(--chapter-start)),calc(var(--chapter-run) - 100% - 12px)) 0;
  text-decoration:none;
}
.figma-frame .figma-chapter::after{content:none!important}
.figma-chapter-point{position:absolute;left:0;top:25px;width:6px;height:6px;background:#d9d9d9;pointer-events:none}

#case-frame-12 .figma-scroll-zone{left:var(--figma-project-art-left);top:var(--figma-project-art-top);width:340px;height:var(--figma-project-art-height)}
